/* ==========================================
   TELA DE LOGIN - Estilo Hupa Bar
   ========================================== */
.login-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cor-primaria) 0%, var(--cor-destaque) 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.login-card {
    background-color: var(--cor-fundo);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: 50px 45px;
    width: 100%;
    max-width: 480px;
    animation: fadeInUp 0.6s ease;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.1);
}

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

.login-logo {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--cor-menu-cards);
}

.logo-login {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.4);
    padding: 0;
    background: rgba(255,255,255,0.95);
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.3);
}

.login-logo h1 {
    font-size: 2.2rem;
    color: var(--cor-botao);
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}

.login-logo p {
    color: var(--cor-texto-secundario);
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.3;
}

.login-form {
    margin-top: 20px;
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--cor-cinza);
    cursor: pointer;
    padding: 5px 10px;
    font-size: 1.1rem;
}

.toggle-password:hover {
    color: var(--cor-botao);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.forgot-password {
    color: var(--cor-botao);
    font-size: 0.9rem;
    text-decoration: none;
}

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

.login-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--cor-texto-claro);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Alerts dentro do login */
.login-card .alert {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
/* Mobile */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 25px;
    }
    
    .logo-login {
        width: 140px;
        height: 140px;
        margin-bottom: 5px;
    }
    
    .login-logo h1 {
        font-size: 1.8rem;
    }
    
    .login-logo p {
        font-size: 0.95rem;
    }
    
    .login-logo {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
}