* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('../img/background.png'); /* Substitua o caminho pela sua imagem */
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    min-height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.login-container:hover {
    transform: translateY(-5px);
}

}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

.subtitle {
    color: #666;
    margin-bottom: 20px;
    font-size: 12px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-weight: 500;
    font-size: 12px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 13px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.login-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.small-button {
    padding: 8px 15px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 20px;
}

.small-button:hover {
    background: #3a3f43;
}

.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.error-message {
    color: #e74c3c;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.success-message {
    color: #10b981;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.loading {
    display: none;
    margin-top: 10px;
}

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer {
    margin-top: 30px;
    color: #999;
    font-size: 12px;
}

/* Responsividade para celular */
@media (max-width: 465px) {
    .login-container {
        padding: 15px 12px;
        max-width: 220px;   /* box bem menor */
    }

    h1 {
        font-size: 18px;    /* título menor */
        margin-bottom: 8px;
    }

    .subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }

    input[type="text"],
    input[type="password"] {
        padding: 10px 12px; /* inputs mais compactos */
        font-size: 13px;
    }

    .login-button {
        padding: 10px;
        font-size: 13px;
    }

    .message {
        font-size: 12px;
    }
}









