* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #a3d977 0%, #2ecc71 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.auth-header .logo {
    font-size: 1.75rem;
    font-weight: bold;
    color: #22c55e;
}

.auth-header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.auth-header nav ul li a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.auth-header nav ul li a:hover {
    color: #22c55e;
}


.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}


.auth-form-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.auth-form-section h1 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 10px;
    font-weight: 600;
}

.auth-subtitle {
    color: #718096;
    margin-bottom: 30px;
    font-size: 1rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
}

.auth-form input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    transition: all 0.3s;
}

.auth-form input:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.auth-button {
    padding: 15px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(34, 197, 94, 0.4);
}

.auth-link {
    margin-top: 25px;
    color: #718096;
    font-size: 0.875rem;
}

.auth-link a {
    color: #22c55e;
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

.auth-captcha {
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 0;
}
.auth-captcha[hidden] { display: none; }

.auth-captcha-status {
    margin: 0;
    color: #64748b;
    font-size: .8rem;
    line-height: 1.4;
    text-align: left;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 12px;
    color: #718096;
    font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #d8e2e8;
}

.google-auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin-top: 0 !important;
    border: 0;
    background: transparent;
}

.google-auth-button[hidden] { display: none; }
.google-auth-button [data-google-web-button] { display: flex; justify-content: center; min-width: 0; }

.google-auth-native-button {
    width: min(100%, 400px);
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #1f2937;
    font: 600 15px Arial, sans-serif;
    cursor: pointer;
}

.google-auth-native-button:disabled { opacity: .7; cursor: wait; }
.google-auth-native-button[hidden] { display: none; }

.auth-provider-status {
    min-height: 0;
    margin: 8px 0 0;
    color: #64748b;
    font-size: .85rem;
    line-height: 1.45;
}


.health-footer {
    background: #ffffff;
    color: #2d3748;
    padding: 20px 0 10px;
    margin-top: auto;
    border-top: 1px solid #e2e8f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.8em;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-section h3 {
    color: #22c55e;
    margin: 0;
    font-size: 2em;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #22c55e;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.5em;
    font-weight: 500;
}

.footer-links a:hover {
    color: #16a34a;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 15px auto 0;
    padding: 10px 20px 0;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #64748b;
    font-size: 1em;
}

/* Responsividade */
@media (max-width: 768px) {
    .auth-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .auth-header nav ul {
        gap: 20px;
    }
    
    .auth-form-section {
        padding: 30px 20px;
        margin: 20px 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .auth-form-section h1 {
        font-size: 1.75rem;
    }
    
    .auth-form input {
        padding: 12px 15px;
    }
    
    .auth-button {
        padding: 12px;
    }
}
