/* ========================================
   MENU SIDEBAR - ESTILO DARK WINNERS
   ======================================== */

/* 🔥 FORÇA HEADER TRANSPARENTE */
header.header-app-header,
header.header-app-header *:not(.btn-link) {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Modal Background */
#mobileMenu .modal-content {
    background: #0a0e17 !important;
    color: #ffffff;
}

/* Header do Modal */
#mobileMenu .app-header {
    background: linear-gradient(135deg, #1a1f2e 0%, #252b3d 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
}

/* Card de Usuário */
.card-usuario {
    background: linear-gradient(135deg, #1a1f2e 0%, #252b3d 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.card-usuario::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
}

.card-usuario .img-perfil {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(251, 191, 36, 0.3);
    flex-shrink: 0;
}

.card-usuario--informacoes {
    flex: 1;
    min-width: 0;
}

.card-usuario--informacoes h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-usuario--informacoes .email {
    color: #8b92a7;
    font-size: 13px;
}

.card-usuario--sair .btn {
    color: #8b92a7 !important;
    transition: all 0.3s ease;
}

.card-usuario--sair .btn:hover {
    color: #ef4444 !important;
    transform: scale(1.1);
}

/* Navegação Vertical */
.nav-vertical {
    background: transparent;
    margin-bottom: 20px;
}

.nav-vertical ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-vertical li {
    margin-bottom: 8px;
}

.nav-vertical a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #1a1f2e 0%, #252b3d 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-vertical a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-vertical a:hover {
    background: linear-gradient(135deg, #252b3d 0%, #2d3548 100%);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.nav-vertical a:hover::before {
    transform: scaleY(1);
}

.nav-vertical a:active {
    transform: translateX(2px) scale(0.98);
}

.nav-vertical .icone {
    font-size: 20px;
    color: #fbbf24;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

.nav-vertical span {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
}

/* Botões de Ação */
#mobileMenu .btn-danger,
#mobileMenu .btn-primary {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#mobileMenu .btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

#mobileMenu .btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

#mobileMenu .btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a1f2e !important;
}

#mobileMenu .btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

/* Botão de Fechar */
#mobileMenu .menu-mobile--button {
    color: #8b92a7 !important;
    transition: all 0.3s ease;
}

#mobileMenu .menu-mobile--button:hover {
    color: #ffffff !important;
    transform: rotate(90deg);
}

/* ========================================
   HEADER PRINCIPAL - SÓ MENU FLUTUANTE
   ======================================== */

/* Header INVISÍVEL - sem barra */
.header-app-header,
.header-app-header.campanha,
.header-app-header * {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.header-app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    pointer-events: none; /* Deixa passar cliques */
}

.header-app-header-container {
    padding: 0 !important;
}

.header-app-header .container > div {
    padding: 0 !important;
}

/* Ocultar logo do header principal */
.header-app-header .header-app-brand,
.header-app-header .flex-grow-1 {
    display: none !important;
}

/* Ocultar suporte do header principal */
.header-app-header .duvida,
.header-app-header a[href*="contato"],
.header-app-header a[href*="whatsapp"] {
    display: none !important;
}

/* Botão do Menu - FLUTUANTE */
.header-app-header .btn-link {
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(10px);
    padding: 12px 16px !important;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 28px;
    transition: all 0.3s ease;
    margin: 15px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    pointer-events: auto; /* Botão recebe cliques */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.header-app-header .btn-link:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    color: #fbbf24 !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

.header-app-header .btn-link i {
    margin: 0 !important;
}

/* Black Bar - Remover */
.black-bar,
.black-bar.fuse {
    display: none !important;
    height: 0 !important;
    background: none !important;
}

/* ========================================
   ESPAÇAMENTO DO CONTEÚDO
   ======================================== */

/* Adiciona espaço no topo para não ficar sob o botão */
#__next {
    padding-top: 80px !important;
}

/* Alternativa: espaço no body */
body {
    padding-top: 0 !important;
}

/* Container principal */
.container-600,
.container {
    margin-top: 0 !important;
}

/* ======================================== */

/* Responsivo */
@media (max-width: 600px) {
    .card-usuario {
        padding: 16px;
        gap: 12px;
    }
    
    .card-usuario .img-perfil {
        width: 50px;
        height: 50px;
    }
    
    .card-usuario--informacoes h3 {
        font-size: 16px;
    }
    
    .nav-vertical a {
        padding: 12px 14px;
        gap: 12px;
    }
    
    .nav-vertical .icone {
        font-size: 18px;
    }
    
    .nav-vertical span {
        font-size: 14px;
    }
    
    /* Botão menu mobile - menor e mais compacto */
    .header-app-header .btn-link {
        width: 45px !important;
        height: 45px !important;
        padding: 10px 12px !important;
        font-size: 24px;
        margin: 10px !important;
    }
}

/* Animações */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#mobileMenu.show .card-usuario {
    animation: slideInLeft 0.3s ease;
}

#mobileMenu.show .nav-vertical li {
    animation: slideInLeft 0.4s ease;
}

#mobileMenu.show .nav-vertical li:nth-child(2) {
    animation-delay: 0.05s;
}

#mobileMenu.show .nav-vertical li:nth-child(3) {
    animation-delay: 0.1s;
}

#mobileMenu.show .nav-vertical li:nth-child(4) {
    animation-delay: 0.15s;
}

#mobileMenu.show .nav-vertical li:nth-child(5) {
    animation-delay: 0.2s;
}

#mobileMenu.show .nav-vertical li:nth-child(6) {
    animation-delay: 0.25s;
}

#mobileMenu.show .nav-vertical li:nth-child(7) {
    animation-delay: 0.3s;
}

#mobileMenu.show .nav-vertical li:nth-child(8) {
    animation-delay: 0.35s;
}

/* Saldo Value */
.saldo-value {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 4px;
    font-weight: 600;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Modal Backdrop */
#mobileMenu.modal.show {
    background: rgba(0, 0, 0, 0.85);
}

/* Scrollbar Customizada */
#mobileMenu .modal-body::-webkit-scrollbar {
    width: 8px;
}

#mobileMenu .modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

#mobileMenu .modal-body::-webkit-scrollbar-thumb {
    background: rgba(251, 191, 36, 0.3);
    border-radius: 10px;
}

#mobileMenu .modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(251, 191, 36, 0.5);
}