/* FCW Stable - Authentication Pages Styles */

/* Layout para páginas de autenticação */
body.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f8f6 0%, #ececea 100%);
    min-height: 100vh;
}

.login-container, .register-container, .reset-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    max-width: 450px;
    width: 100%;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.login-container::before, .register-container::before, .reset-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
}

.logo-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-section h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.logo-section p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.forgot-password {
    text-align: right;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.forgot-password a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.links {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.links a {
    color: var(--accent);
    font-size: 0.9rem;
}

.divider {
    margin: 1rem 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.back-home {
    text-align: center;
    margin-top: 1rem;
}

.back-home a {
    color: var(--text-light);
    font-size: 0.85rem;
}

.error-message {
    background: #ffe6e6;
    color: var(--error);
    padding: 0.8rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    display: none;
}

.error-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

.password-requirements {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

.info-box {
    background: #f0f7ff;
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.info-box strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #3b82f6;
}

.strength-meter {
    margin-top: 0.5rem;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.strength-meter-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
}

.strength-weak { background: #c94d4d; width: 33%; }
.strength-medium { background: var(--warning); width: 66%; }
.strength-strong { background: var(--success); width: 100%; }

.strength-text {
    font-size: 0.8rem;
    margin-top: 0.3rem;
    text-align: right;
}

@media (max-width: 768px) {
    .login-container, .register-container, .reset-container {
        padding: 2rem;
    }

    .logo-section h1 {
        font-size: 2rem;
    }
}
