* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}
/*#a3ccd2 - mais claro, #5e9ca4 - intermediario e #005592 - mais escuro*/
body { 
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #005592 0%, #a3ccd2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 400px;
    width: 100%;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 48px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: #24292f;
}

.logo {
    text-align: center;
    margin-bottom: 32px;
}

.logo h1 {
    font-size: 2rem;
    color: #005592;
    margin-bottom: 8px;
}

.logo p {
    color: #57606a;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #24292f;
}

input[type="email"], 
input[type="password"], 
input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d9e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

input:focus {
    outline: none;
    border-color: #005592;
}

.btn {
    width: 100%;
    background: #005592;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn:hover {
    background: #005592;
}

.btn:disabled {
    background: #8c959f;
    cursor: not-allowed;
}

.error, .success {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    display: none;
}

.error {
    background: #ffebee;
    color: #c62828;
}

.success {
    background: #e8f5e8;
    color: #2e7d32;
}

.loading {
    display: none;
    text-align: center;
    margin-top: 16px;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #005592;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.auth-link {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e1e4e8;
}

.auth-link p {
    color: #57606a;
    font-size: 14px;
    margin-bottom: 12px;
}

.auth-link a {
    color: #005592;
    text-decoration: none;
    font-weight: 600;
}

.password-requirements {
    font-size: 12px;
    color: #57606a;
    margin-top: 4px;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .card {
        padding: 32px 24px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .logo p {
        font-size: 1rem;
    }
}

.info-box {
    background: #e8f4fd;
    border: 1px solid #a3ccd2;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.info-box h3 {
    color: #005592;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.info-box p {
    color: #57606a;
    margin-bottom: 8px;
    font-size: 14px;
}

.info-box strong {
    color: #24292f;
    font-size: 16px;
}
