/* =================================================================
   7. PÁGINA DE LOGIN E REGISTRO
   ================================================================= */
.body-login {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    overflow: hidden;
    max-width: 480px;
    width: 100%;
    margin: 60px auto;
    animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-main);
    position: relative;
}

:root.dark-mode .login-container {
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(var(--brand-primary-rgb), 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.login-header {
    background: transparent;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-main);
    padding: 2.5rem 2rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.login-header h3 {
    margin: 0;
    font-weight: 800;
    font-size: 2.5rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -1px;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header .subtitle {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.login-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.login-container:hover .login-logo {
    transform: scale(1.1) rotate(5deg);
}

.login-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary), var(--brand-danger));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 12px rgba(var(--brand-primary-rgb), 0.3));
}

.login-body {
    padding: 2rem;
    background: transparent;
    position: relative;
    z-index: 1;
}

.login-body .text-muted {
    color: var(--text-muted) !important;
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.register-link a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
