/* Animações para a notificação */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Animações para o Aviso +18 */
@keyframes avisoFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes avisoFadeOut {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
}


/* Estilos específicos das seções de bloqueio */
#tela-bloqueio .rounded-2xl {
    border-radius: 1.25rem;
}

#tela-bloqueio .shadow-xl {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

#tela-bloqueio .hover\:shadow-purple-400\/40:hover {
    box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.3), 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

#tela-bloqueio .hover\:shadow-blue-400\/40:hover {
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.3), 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

#tela-bloqueio .hover\:shadow-red-400\/40:hover {
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.3), 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

/* Gradientes e cores específicas */
#tela-acesso-exclusivo {
    background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #581c87 100%);
}

#tela-acesso-expirado {
    background: linear-gradient(135deg, #374151 0%, #1f2937 50%, #7f1d1d 100%);
}

/* Estilos para a seção de problemas */
#problemas .rounded-2xl {
    border-radius: 1.25rem;
}

#problemas .shadow-xl {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

#problemas .hover\:shadow-red-400\/40:hover {
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.3), 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

#problemas .border-red-400\/30 {
    border-color: rgba(248, 113, 113, 0.3);
}

#problemas .border-red-400\/20 {
    border-color: rgba(248, 113, 113, 0.2);
}

/* Estilos para o aviso +18 */
#aviso-18 {
    font-family: 'Segoe UI', Arial, sans-serif;
}

#aviso-18 .rounded-3xl {
    border-radius: 1.5rem;
}

#aviso-18 .shadow-2xl {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

/* Overlay para o Aviso +18 */
.aviso-18-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2147483640;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.aviso-18-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Estilos para a notificação do Aviso +18 */
.aviso-18-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
    color: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 77, 77, 0.3);
    z-index: 2147483641;
    max-width: 450px;
    width: 90%;
    text-align: left;
    border: 2px solid #ff4d4d;
    animation: avisoFadeIn 0.4s ease-out forwards;
}

.aviso-18-notification.closing {
    animation: avisoFadeOut 0.4s ease-in forwards;
}

/* Classes utilitárias reutilizáveis */

/* Bordas arredondadas */
.rounded-card {
    border-radius: 1.25rem;
}

.rounded-card-sm {
    border-radius: 0.75rem;
}

/* Sombras */
.shadow-premium {
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

.shadow-soft {
    box-shadow: 0 6px 24px 0 rgba(80, 60, 120, 0.18), 0 2px 8px 0 rgba(0, 0, 0, 0.18);
}

/* Efeitos hover para sombras coloridas */
.hover-shadow-purple:hover {
    box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.3), 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

.hover-shadow-blue:hover {
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.3), 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

.hover-shadow-yellow:hover {
    box-shadow: 0 0 0 4px rgba(253, 224, 71, 0.3), 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

.hover-shadow-green:hover {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3), 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

.hover-shadow-red:hover {
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.3), 0 8px 32px 0 rgba(0, 0, 0, 0.25);
}

/* Gradientes comuns */
.gradient-dark {
    background: linear-gradient(135deg, #232946 0%, #181926 60%, #10111a 100%);
}

.gradient-purple {
    background: linear-gradient(90deg, #7c3aed 0%, #6d28d9 100%);
}

.gradient-blue {
    background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 100%);
}

.gradient-yellow {
    background: linear-gradient(90deg, #b45309 0%, #f59e42 100%);
}

/* ===== SIDEBAR STYLES ===== */
/* Sidebar Styles - Otimizado para Performance e Acessibilidade */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #1e293b;
    transition: transform 0.2s ease-out;
    /* Reduzido de 0.25s para 0.2s */
    z-index: 99997;
    /* Mantém consistente com botão toggle mas ainda menor que slider/UI fake */
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform;
    transform: translateX(0);
    overflow: hidden;
    border-radius: 0 12px 12px 0;
    /* Proteções contra bugs de layout */
    min-height: 100vh;
    max-height: 100vh;
    box-sizing: border-box;
    contain: layout style;
}

/* Otimizações de performance para animações */
.sidebar,
.sidebar-overlay,
.sidebar-toggle,
.sidebar-nav a,
.sidebar-nav a::before {
    will-change: transform, opacity;
    transform: translateZ(0);
    /* Força aceleração de hardware */
}

.sidebar.active {
    transform: translateX(300px);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.4);
    z-index: 100050;
    /* Mesmo z-index do player de música */
}

.sidebar-header {
    background: #1e293b;
    /* Substituído o gradiente por cor sólida */
    padding: 8px 12px;
    /* Reduzido significativamente */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.sidebar-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: shimmer 3s infinite;
}

/* Reduzir complexidade das animações */
@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.sidebar-header h2 {
    margin: 0;
    font-size: 1.3rem;
    /* Reduzido de 1.5rem */
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
    overflow-x: visible;
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #1e293b;
    /* Proteções contra bugs de layout */
    min-height: 0;
    max-height: calc(100vh - 200px);
    box-sizing: border-box;
    contain: layout style;
}

.sidebar-nav::-webkit-scrollbar {
    display: none;
}

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

.sidebar-nav li {
    margin: 0;
    padding: 2px 10px;
    /* Proteções contra bugs de layout */
    position: relative;
    box-sizing: border-box;
    contain: layout style;
    overflow: visible;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
    /* Reduzido de 0.3s para 0.2s */
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    position: relative;
    overflow: hidden;
    /* Proteções contra bugs de layout */
    box-sizing: border-box;
    contain: layout style;
    white-space: nowrap;
    min-height: 50px;
}

/* Permitir que badge de notificação seja exibido completamente */
.sidebar-nav a#sidebar-announcements-btn,
.sidebar-nav a#sidebar-regras-btn {
    overflow: visible;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #3b82f6;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.sidebar-nav a:hover {
    background: #334155;
    color: #60a5fa;
    transform: translateX(3px);
}



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



.sidebar-nav a:focus {
    outline: none;
    box-shadow: 0 0 0 2px #3b82f6;
}

/* Regras CSS específicas removidas - botão agora usa estilo padrão */



.sidebar-nav a i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.sidebar-nav a:hover i {
    transform: scale(1.1);
}


/* Botão Filtro de Extensões - usa o mesmo estilo dos outros botões */
.sidebar-nav a[href="#filtro-extensoes"] {
    /* Garantir que o botão mantenha o estilo padrão sempre */
    padding: 12px 15px !important;
    font-size: 1rem !important;
    margin: 0 !important;
    border-radius: 0 8px 8px 0 !important;
    background: transparent !important;
    border-left: 3px solid transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    box-shadow: none !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow: visible !important;
    transform: none !important;
    position: relative !important;
    color: #e5e7eb !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.sidebar-nav a[href="#filtro-extensoes"]:hover {
    background: rgba(59, 130, 246, 0.1) !important;
    border-left-color: #3b82f6 !important;
    color: #ffffff !important;
    transform: translateX(3px) !important;
}

.sidebar-nav a[href="#filtro-extensoes"] i {
    display: inline-block !important;
    width: 20px !important;
    text-align: center !important;
    margin-right: 12px !important;
    font-size: 1.1rem !important;
    transition: transform 0.3s ease !important;
}

.sidebar-nav a[href="#filtro-extensoes"]:hover i {
    transform: scale(1.1) !important;
}

.sidebar-nav a[href="#filtro-extensoes"] span {
    display: inline-block !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}



/* Estilo especial para o botão Guia Inicial */
.sidebar-nav .guia-inicial-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 8px;
    margin: 0 10px 8px 10px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    border-left: 3px solid #34d399;
    position: relative;
    overflow: hidden;
}

.sidebar-nav .guia-inicial-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-nav .guia-inicial-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    border-left-color: #6ee7b7;
}

.sidebar-nav .guia-inicial-btn:hover::after {
    opacity: 1;
}

/* Regras CSS conflitantes removidas - botão agora usa estilo padrão */

/* Estilo específico para mobile */
@media (max-width: 768px) {
    .sidebar-nav .filtro-extensoes-btn {
        /* Usar exatamente o mesmo estilo dos outros botões no mobile */
        padding: 14px 15px !important;
        font-size: 1rem !important;
        margin: 0 !important;
        border-radius: 0 8px 8px 0 !important;
        background: transparent !important;
        border-left: 3px solid transparent !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        box-shadow: none !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        overflow: visible !important;
        transform: none !important;
        transform-origin: unset !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        direction: ltr !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        flex-basis: auto !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
    }
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid #475569;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-pix-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #8b5cf6;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.sidebar-pix-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.sidebar-pix-button:hover {
    background: linear-gradient(135deg, #6d28d9, #7c3aed);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.sidebar-pix-button:hover::before {
    left: 100%;
}

.sidebar-pix-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 2px solid #a855f7;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.sidebar-pix-text {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sidebar-theme-toggle {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

#theme-toggle {
    background: #334155;
    border: none;
    color: #e2e8f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#theme-toggle:hover {
    background: #475569;
    transform: scale(1.1);
}

.sidebar-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    /* Reduzido de 50px */
    height: 40px;
    /* Reduzido de 50px */
    background: #1e293b;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    color: #3b82f6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99998;
    /* Menor que slider de obras (100000) e UI fake (100004) */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: visible;
}

.sidebar-toggle i {
    font-size: 1.2rem;
    /* Reduzido de 1.5rem */
}

.sidebar-toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.sidebar-toggle:hover {
    background: #334155;
    border-color: #60a5fa;
    transform: scale(1.05);
}

.sidebar-toggle:hover::after {
    width: 150%;
    height: 150%;
    opacity: 0.2;
}

.sidebar-toggle.active {
    background: #dc2626;
    border-color: #ef4444;
    color: white;
    transform: rotate(90deg);
}

.sidebar-toggle.active:hover {
    background: #b91c1c;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: none;
    /* Removido o blur para melhorar performance */
    z-index: 100045;
    /* Menor que sidebar aberta (100050) */
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-out;
    /* Reduzido de 0.25s para 0.2s */
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Tema escuro */
.dark-theme {
    --bg-color: #0f172a;
    --text-color: #e2e8f0;
    --border-color: #334155;
}

.dark-theme body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Animações para o menu */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-5px);
        opacity: 0;
    }

    /* Reduzido de -10px para -5px */
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.sidebar-nav li {
    animation: slideIn 0.2s ease forwards;
    /* Reduzido de 0.25s para 0.2s */
    opacity: 0;
}

/* Garantir que todos os itens da sidebar sejam visíveis após a animação */
.sidebar-nav li.animated,
.sidebar-nav li[style*="opacity: 1"],
.sidebar-nav li[style*="opacity:1"] {
    opacity: 1 !important;
}

.sidebar-nav li:nth-child(1) {
    animation-delay: 0.02s;
}

/* Reduzido de 0.05s */
.sidebar-nav li:nth-child(2) {
    animation-delay: 0.04s;
}

/* Reduzido de 0.1s */
.sidebar-nav li:nth-child(3) {
    animation-delay: 0.06s;
}

/* Reduzido de 0.15s */
.sidebar-nav li:nth-child(4) {
    animation-delay: 0.08s;
}

/* Reduzido de 0.2s */
.sidebar-nav li:nth-child(5) {
    animation-delay: 0.1s;
}

/* Reduzido de 0.25s */
.sidebar-nav li:nth-child(6) {
    animation-delay: 0.12s;
}

/* Reduzido de 0.3s */
.sidebar-nav li:nth-child(7) {
    animation-delay: 0.14s;
}

/* Reduzido de 0.35s */
.sidebar-nav li:nth-child(8) {
    animation-delay: 0.16s;
}

/* Novo botão do filtro */

/* Regras CSS específicas removidas - botão agora usa estilo padrão */



/* Destaque no botão do menu */
.sidebar-toggle.menu-highlighted {
    animation: menuButtonHighlight 2s ease-in-out infinite;
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.6),
        0 0 40px rgba(59, 130, 246, 0.4),
        0 0 60px rgba(59, 130, 246, 0.2);
}

/* Novas animações */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}





@keyframes menuButtonHighlight {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes iconSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsividade - SOLUÇÃO DEFINITIVA */
@media (max-width: 768px) {
    .sidebar {
        width: 280px;
        left: -280px;
        /* Fora da tela */
    }

    .sidebar.active {
        transform: translateX(280px);
        /* Move para posição 0 */
    }

    .sidebar-toggle {
        width: 45px;
        height: 45px;
        top: 15px;
        left: 15px;
        font-size: 1.1rem;
    }

    /* Ocultar botão quando sidebar ativa */
    .sidebar.active~.sidebar-toggle {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 260px;
        /* Tamanho fixo em vez de vw */
        left: -260px;
        /* Fora da tela */
        border-radius: 0;
    }

    .sidebar.active {
        transform: translateX(260px);
        /* Move para posição 0 */
    }

    .sidebar-nav a {
        padding: 14px 15px;
        font-size: 1rem;
    }

    .sidebar-nav a i {
        font-size: 1.2rem;
        margin-right: 15px;
    }

    .sidebar-toggle {
        width: 42px;
        height: 42px;
        top: 10px;
        left: 10px;
        font-size: 1.1rem;
    }

    .sidebar-header {
        padding: 20px 15px;
    }

    .sidebar-header h2 {
        font-size: 1.2rem;
    }

    /* Ocultar botão quando sidebar ativa */
    .sidebar.active~.sidebar-toggle {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

@media (max-width: 360px) {
    .sidebar {
        width: 240px;
        /* Tamanho fixo menor */
        left: -240px;
        /* Fora da tela */
    }

    .sidebar.active {
        transform: translateX(240px);
        /* Move para posição 0 */
    }

    .sidebar-nav a {
        padding: 12px;
    }

    /* Ocultar botão quando sidebar ativa */
    .sidebar.active~.sidebar-toggle {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Ajustes específicos para filtro em telas muito pequenas */
    .filtro-extensoes.filtro-ativo,
    #filtro-extensoes.filtro-ativo,
    [class*="filtro"].filtro-ativo,
    [id*="filtro"].filtro-ativo {
        padding: 12px 8px !important;
        margin: 8px auto !important;
        max-width: 95% !important;
        width: 95% !important;
    }

    .filtro-extensoes.filtro-ativo select,
    #filtro-extensoes.filtro-ativo select,
    [class*="filtro"].filtro-ativo select,
    [id*="filtro"].filtro-ativo select {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }

    .filtro-extensoes.filtro-ativo button,
    #filtro-extensoes.filtro-ativo button,
    [class*="filtro"].filtro-ativo button,
    [id*="filtro"].filtro-ativo button {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }

    /* Garantir que o botão Filtro Extensões tenha o mesmo estilo dos outros botões em telas pequenas */
    .sidebar-nav .filtro-extensoes-btn {
        padding: 12px !important;
        font-size: 1rem !important;
        margin: 0 !important;
        border-radius: 0 8px 8px 0 !important;
        background: transparent !important;
        border-left: 3px solid transparent !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        box-shadow: none !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        overflow: visible !important;
        transform: none !important;
        transform-origin: unset !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        direction: ltr !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        flex-basis: auto !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
    }
}



/* Efeito de partículas (opcional) */
.menu-notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 139, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
    border-radius: 20px;
    pointer-events: none;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0px);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-5px);
    }
}

/* Ocultar elementos originais */
.btn-grid {
    display: none !important;
}

#quickStartBtn {
    display: none !important;
}

/* Suporte para movimento reduzido */
@media (prefers-reduced-motion: reduce) {

    .sidebar,
    .sidebar-overlay,
    .sidebar-toggle,
    .sidebar-nav a {
        transition: none;
    }
}

/* Garantir que a seção de obras seja sempre visível */
#slider-obras-section {
    display: block !important;
    position: relative !important;
}

/* Ocultar o botão voltar quando a seção está integrada na página */
#slider-obras-section .slider-back-btn {
    display: none !important;
}

/* ===== FILTRO DE EXTENSÕES ===== */
/* Filtros sempre visíveis - não ocultar mais */
.filtros-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Quando o filtro é ativado via sidebar */
.filtro-extensoes.filtro-ativo,
#filtro-extensoes.filtro-ativo,
[class*="filtro"].filtro-ativo,
[id*="filtro"].filtro-ativo,
.filtros-container.filtro-ativo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: filtroAppear 0.5s ease-out forwards !important;
}

/* Animação de aparecimento do filtro */
@keyframes filtroAppear {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Efeito de destaque quando o filtro está ativo */
.filtro-extensoes.filtro-ativo,
#filtro-extensoes.filtro-ativo,
[class*="filtro"].filtro-ativo,
[id*="filtro"].filtro-ativo {
    /* Removida a borda azul para manter o visual inicial */
    border-radius: 12px !important;
}

/* Garantir que o filtro permaneça visível permanentemente após ativação */
.filtro-extensoes.filtro-ativo,
#filtro-extensoes.filtro-ativo,
[class*="filtro"].filtro-ativo,
[id*="filtro"].filtro-ativo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Melhorias específicas para mobile no filtro */
@media (max-width: 768px) {

    /* Garantir que .filtros-container seja visível no mobile */
    .filtros-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 15px 10px !important;
        margin: 10px auto !important;
        border-radius: 12px !important;
        max-width: 90% !important;
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .filtro-extensoes.filtro-ativo,
    #filtro-extensoes.filtro-ativo,
    [class*="filtro"].filtro-ativo,
    [id*="filtro"].filtro-ativo,
    .filtros-container.filtro-ativo {
        /* Filtro mais compacto e centralizado no mobile */
        padding: 15px 10px !important;
        margin: 10px auto !important;
        border-radius: 12px !important;
        max-width: 90% !important;
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Melhorar dropdowns no mobile */
    .filtro-extensoes.filtro-ativo select,
    #filtro-extensoes.filtro-ativo select,
    [class*="filtro"].filtro-ativo select,
    [id*="filtro"].filtro-ativo select {
        width: 100% !important;
        padding: 10px 12px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
        border: 2px solid rgba(59, 130, 246, 0.3) !important;
        background: #1e293b !important;
        color: white !important;
        text-align: center !important;
        margin: 5px 0 !important;
    }

    /* Melhorar labels no mobile */
    .filtro-extensoes.filtro-ativo label,
    #filtro-extensoes.filtro-ativo label,
    [class*="filtro"].filtro-ativo label,
    [id*="filtro"].filtro-ativo label {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        margin-bottom: 5px !important;
        color: white !important;
    }

    /* Melhorar botão no mobile */
    .filtro-extensoes.filtro-ativo button,
    #filtro-extensoes.filtro-ativo button,
    [class*="filtro"].filtro-ativo button,
    [id*="filtro"].filtro-ativo button {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        border-radius: 8px !important;
        margin-top: 10px !important;
        font-weight: 600 !important;
        text-align: center !important;
    }

    /* Melhorar espaçamento entre seções */
    .filtro-extensoes.filtro-ativo>div,
    #filtro-extensoes.filtro-ativo>div,
    [class*="filtro"].filtro-ativo>div,
    [id*="filtro"].filtro-ativo>div {
        margin-bottom: 15px !important;
        padding: 10px !important;
        border-radius: 8px !important;
        background: rgba(59, 130, 246, 0.1) !important;
        border: 1px solid rgba(59, 130, 246, 0.2) !important;
    }
}

.comments-tabs {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.tab-btn:hover {
    color: #3b82f6;
    background-color: #f8fafc;
}

.comments-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.comments-header .comments-btn {
    flex: 1;
}

/* Botão Enviar Sugestão - Mesmo estilo dos outros botões */
.sidebar-nav .sugestao-pagina-btn {
    /* Usar exatamente o mesmo estilo dos outros botões */
    background: transparent;
    border-left: 3px solid transparent;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.sidebar-nav .sugestao-pagina-btn:hover {
    background: #334155;
    color: #60a5fa;
    transform: translateX(3px);
    border-left-color: #3b82f6;
}

.sidebar-nav .sugestao-pagina-btn i {
    color: inherit;
    transition: transform 0.3s ease;
}

.sidebar-nav .sugestao-pagina-btn:hover i {
    transform: scale(1.1);
}

/* Botão Plano de Fundo - Mesmo estilo dos outros botões */
.sidebar-nav .plano-fundo-btn {
    /* Usar exatamente o mesmo estilo dos outros botões */
    background: transparent;
    border-left: 3px solid transparent;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.sidebar-nav .plano-fundo-btn:hover {
    background: #334155;
    color: #a855f7;
    transform: translateX(3px);
    border-left-color: #9333ea;
}

.sidebar-nav .plano-fundo-btn i {
    color: inherit;
    transition: transform 0.3s ease;
}

.sidebar-nav .plano-fundo-btn:hover i {
    transform: scale(1.1);
}

/* Responsividade para o botão de sugestão */
@media (max-width: 768px) {
    .sidebar-nav .sugestao-pagina-btn {
        padding: 15px 15px;
        font-size: 1rem;
        margin: 8px 0;
        border-radius: 12px;
        text-align: left;
        align-items: center;
        justify-content: flex-start;
    }

    .sidebar-nav .sugestao-pagina-btn i {
        margin-right: 12px;
        font-size: 1.1rem;
    }

    .sidebar-nav .sugestao-pagina-btn span {
        font-weight: 500;
        line-height: 1.3;
        font-size: 1rem;
    }

    /* Responsividade para o botão Plano de Fundo */
    .sidebar-nav .plano-fundo-btn {
        padding: 15px 15px;
        font-size: 1rem;
        margin: 8px 0;
        border-radius: 12px;
        text-align: left;
        align-items: center;
        justify-content: flex-start;
        background: rgba(147, 51, 234, 0.1);
    }

    .sidebar-nav .plano-fundo-btn i {
        margin-right: 12px;
        font-size: 1.1rem;
    }

    .sidebar-nav .plano-fundo-btn span {
        font-weight: 500;
        line-height: 1.3;
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .sidebar-nav .sugestao-pagina-btn {
        padding: 12px 12px;
        font-size: 1rem;
        margin: 6px 0;
        border-radius: 10px;
    }

    .sidebar-nav .sugestao-pagina-btn i {
        margin-right: 10px;
        font-size: 1rem;
    }

    .sidebar-nav .sugestao-pagina-btn span {
        font-size: 1rem;
        font-weight: 500;
    }

    /* Responsividade para telas muito pequenas - Botão Plano de Fundo */
    .sidebar-nav .plano-fundo-btn {
        padding: 12px 12px;
        font-size: 1rem;
        margin: 6px 0;
        border-radius: 10px;
    }

    .sidebar-nav .plano-fundo-btn i {
        margin-right: 10px;
        font-size: 1rem;
    }

    .sidebar-nav .plano-fundo-btn span {
        font-size: 1rem;
        font-weight: 500;
    }
}

/* Modal de Instalação do App - Design Moderno */

/* Overlay do modal de instalação */
.install-modal-overlay {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Animações suaves para o modal */
.install-modal {
    will-change: transform, opacity;
}

.install-modal-overlay {
    will-change: opacity;
}

/* Garantir que o modal não cause problemas de desfoque */
.install-modal * {
    box-sizing: border-box;
}

.install-modal button {
    outline: none;
    border: none;
    font-family: inherit;
}

.install-modal button:focus {
    outline: 2px solid rgba(59, 130, 246, 0.5);
    outline-offset: 2px;
}

/* Responsividade do modal */
@media (max-width: 480px) {
    .install-modal {
        max-width: 95% !important;
        padding: 20px !important;
        margin: 0 10px;
    }

    .install-modal h3 {
        font-size: 18px !important;
    }

    .install-modal h4 {
        font-size: 14px !important;
    }

    .install-modal ol {
        font-size: 14px !important;
    }

    .install-modal p {
        font-size: 13px !important;
    }
}

/* Barra de rolagem do modal de sugestões */
.sugestao-pagina-modal::-webkit-scrollbar {
    width: 4px;
}

.sugestao-pagina-modal::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.2);
    border-radius: 2px;
    margin: 8px 0;
}

.sugestao-pagina-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(29, 78, 216, 0.5));
    border-radius: 2px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    min-height: 40px;
}

.sugestao-pagina-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.7), rgba(29, 78, 216, 0.7));
    border-color: rgba(59, 130, 246, 0.4);
}

/* Ajustes para cantos da barra de rolagem */
.sugestao-pagina-modal::-webkit-scrollbar-corner {
    background: transparent;
}

.sugestao-pagina-modal::-webkit-scrollbar-button {
    display: none;
}

/* ===== SISTEMA DE AUTENTICAÇÃO ===== */
/* Cabeçalho da sidebar com autenticação */
.auth-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px;
}

.auth-buttons {
    width: 100%;
}

/* Botões para usuários não logados */
.guest-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}

.btn-login,
.btn-register {
    width: auto;
    min-width: 120px;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.btn-login {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-register {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-register:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Perfil do usuário logado */
.user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(251, 191, 36, 0.5);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a1a;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 2px solid #1a1a1a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: crownGlow 2s ease-in-out infinite alternate;
}

@keyframes crownGlow {
    0% {
        box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    }

    100% {
        box-shadow: 0 2px 15px rgba(251, 191, 36, 0.6);
    }
}

.user-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.user-name {
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.user-email {
    color: #9ca3af;
    font-size: 0.8rem;
}

.user-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

/* Botões do perfil do usuário (versão antiga - manter para compatibilidade) */
.btn-profile,
.btn-logout {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-profile {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-profile:hover {
    background: rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.btn-logout {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.05);
}

/* NOVOS BOTÕES MELHORADOS PARA O SIDEBAR */
.btn-admin-sidebar,
.btn-profile-sidebar,
.btn-logout-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 45px;
    min-height: 45px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-admin-sidebar {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a1a;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.btn-admin-sidebar:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.btn-profile-sidebar {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-profile-sidebar:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-logout-sidebar {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-logout-sidebar:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-admin-sidebar i,
.btn-profile-sidebar i,
.btn-logout-sidebar i {
    font-size: 1.2rem;
}

/* Modais de autenticação */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2147483642;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: authModalIn 0.3s ease-out;
}

.auth-modal-content {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

/* Barra de rolagem personalizada para modais de autenticação */
.auth-modal-content::-webkit-scrollbar {
    width: 8px;
}

.auth-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 8px 0;
}

.auth-modal-content::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.6);
    border-radius: 10px;
    min-height: 40px;
}

.auth-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.8);
}

.auth-modal-content::-webkit-scrollbar-corner {
    background: transparent;
}

.auth-modal-content::-webkit-scrollbar-button {
    display: none;
}

.auth-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.auth-modal-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.auth-modal-close:hover {
    background: rgba(156, 163, 175, 0.1);
    color: #e5e7eb;
    transform: scale(1.1);
}

.auth-modal-body {
    padding: 20px 30px 30px;
}

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

.auth-modal .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-modal .form-group label {
    font-weight: 600;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.auth-modal .form-group input {
    padding: 12px 16px;
    border: 2px solid rgba(75, 85, 99, 0.5);
    border-radius: 10px;
    background: rgba(55, 65, 81, 0.8);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.auth-modal .form-group input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: rgba(55, 65, 81, 0.9);
}

.auth-modal .form-group input::placeholder {
    color: #9ca3af;
}

.btn-submit {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9), rgba(29, 78, 216, 0.9));
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.9), rgba(30, 64, 175, 0.9));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

/* Modal de perfil */
.profile-modal .profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.profile-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(59, 130, 246, 0.3);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-change-avatar {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.9);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.btn-change-avatar:hover {
    background: rgba(59, 130, 246, 1);
    transform: scale(1.1);
}

.profile-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-save-profile,
.btn-change-password {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-save-profile {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-save-profile:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
}

.btn-change-password {
    background: rgba(107, 114, 128, 0.8);
    color: white;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.btn-change-password:hover {
    background: rgba(75, 85, 99, 0.9);
    transform: translateY(-2px);
}

/* Notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 10003;
    animation: notificationIn 0.3s ease-out;
    max-width: 300px;
}

.notification-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.notification-info {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.notification-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

@keyframes authModalIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes notificationIn {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== NOTIFICAÇÃO DE COMANDOS DE TECLADO REMOVIDA - Sistema administrativo oculto ===== */

/* ===== PAINEL ADMINISTRATIVO ===== */

/* Modal administrativo */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: adminModalIn 0.4s ease-out;
}

.admin-modal-content {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    border: 3px solid rgba(168, 139, 250, 0.5);
    position: relative;
}

.admin-modal-header {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    padding: 25px 30px;
    border-radius: 22px 22px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgba(168, 139, 250, 0.3);
}

.admin-modal-header h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.admin-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.admin-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.admin-modal-body {
    padding: 30px;
}

.admin-sections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.admin-section h4 {
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #e2e8f0;
    border-bottom: 2px solid rgba(168, 139, 250, 0.3);
    padding-bottom: 10px;
}

/* Estatísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(168, 139, 250, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(168, 139, 250, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(168, 139, 250, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #a855f7;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 600;
}

/* Configurações */
.config-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.config-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(168, 139, 250, 0.05);
    border: 1px solid rgba(168, 139, 250, 0.2);
    border-radius: 12px;
}

.config-item label {
    font-weight: 600;
    color: #e2e8f0;
    font-size: 1rem;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #475569;
    transition: 0.3s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #a855f7;
}

input:checked+.slider:before {
    transform: translateX(30px);
}

/* Botões de ação */
.content-actions,
.security-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.btn-admin-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    background: linear-gradient(135deg, rgba(168, 139, 250, 0.2), rgba(124, 58, 237, 0.2));
    color: white;
    border: 1px solid rgba(168, 139, 250, 0.3);
}

.btn-admin-action:hover {
    background: linear-gradient(135deg, rgba(168, 139, 250, 0.3), rgba(124, 58, 237, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 139, 250, 0.2);
}

.btn-admin-action.btn-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-admin-action.btn-danger:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.3));
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2);
}

/* Badge de administrador */
.admin-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: 2px solid #1e293b;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.admin-role {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 5px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    animation: adminRoleGlow 2s ease-in-out infinite alternate;
}

@keyframes adminRoleGlow {
    0% {
        box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    }

    100% {
        box-shadow: 0 2px 15px rgba(251, 191, 36, 0.5);
    }
}

/* Botão administrativo */
.btn-admin {
    background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
    color: white !important;
    border: 1px solid rgba(168, 139, 250, 0.5) !important;
}

.btn-admin:hover {
    background: linear-gradient(135deg, #6d28d9, #7c3aed) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 15px rgba(168, 139, 250, 0.4) !important;
}

/* Animações */
@keyframes adminModalIn {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-2deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Modo de manutenção */
.maintenance-mode::before {
    content: '🔧 SISTEMA EM MANUTENÇÃO';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    z-index: 10002;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Melhorar visualização dos botões de aba no mobile */
@media (max-width: 768px) {

    /* Container dos botões de aba */
    .flex.justify-center.mb-8 {
        padding: 0 1rem;
    }

    /* Container interno dos botões */
    .flex.justify-center.mb-8>div {
        width: 100% !important;
        max-width: 400px;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
        padding: 0.5rem !important;
    }

    /* Botões de aba individuais */
    .tab-button {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 1.1rem !important;
        font-weight: 600 !important;
        text-align: center !important;
        border-radius: 12px !important;
        margin: 0 !important;
        transition: all 0.3s ease !important;
        min-height: 56px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Botão ativo */
    .tab-button.active {
        background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
        color: white !important;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
        transform: scale(1.02) !important;
    }

    /* Botão inativo */
    .tab-button:not(.active) {
        background: rgba(55, 65, 81, 0.8) !important;
        color: #d1d5db !important;
        border: 2px solid rgba(75, 85, 99, 0.5) !important;
    }

    /* Hover para botão inativo */
    .tab-button:not(.active):hover {
        background: rgba(75, 85, 99, 0.9) !important;
        color: white !important;
        border-color: rgba(107, 114, 128, 0.7) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
    }

    /* Melhorar design do card Saikô Animes no mobile */
    #conteudo-animes div[style*="display: grid"] {
        padding: 0 1rem !important;
    }

    #conteudo-animes div[style*="background: rgba(17, 24, 39, 0.95)"] {
        padding: 1.5rem !important;
        margin: 0 !important;
        border-radius: 1.25rem !important;
        box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.4) !important;
    }

    /* Header do card - logo e título */
    #conteudo-animes div[style*="display: flex; align-items: center; gap: 0.75rem"] {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    #conteudo-animes img[alt="Saikô Animes Logo"] {
        width: 4rem !important;
        height: 4rem !important;
        border-radius: 1rem !important;
        box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.3) !important;
    }

    #conteudo-animes h3[style*="font-size: 1.5rem"] {
        font-size: 1.75rem !important;
        margin: 0 !important;
    }

    /* Descrição do card */
    #conteudo-animes p[style*="margin-bottom: 1rem; color: #e5e7eb"] {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 0.5rem !important;
    }

    /* Seção de preço */
    #conteudo-animes div[style*="background: rgba(88, 28, 135, 0.3)"] {
        padding: 1.25rem !important;
        margin-bottom: 1.5rem !important;
        border-radius: 1rem !important;
    }

    #conteudo-animes div[style*="background: rgba(88, 28, 135, 0.3)"] h4 {
        font-size: 1.25rem !important;
        margin-bottom: 0.75rem !important;
    }

    #conteudo-animes div[style*="background: rgba(88, 28, 135, 0.3)"] p {
        font-size: 1.25rem !important;
    }

    /* Seção "Como Usar" */
    #conteudo-animes div[style*="width: 100%; margin-bottom: 1rem"] {
        margin-bottom: 1.5rem !important;
    }

    #conteudo-animes h4[style*="margin-bottom: 0.75rem; text-align: center"] {
        font-size: 1.25rem !important;
        margin-bottom: 1rem !important;
    }

    #conteudo-animes ol[style*="list-style: decimal"] {
        padding-left: 1rem !important;
        font-size: 0.95rem !important;
        line-height: 1.7 !important;
    }

    #conteudo-animes ol li {
        margin-bottom: 0.75rem !important;
        padding-left: 0.5rem !important;
    }

    /* Links dentro da lista */
    #conteudo-animes ol a {
        color: #60a5fa !important;
        text-decoration: underline !important;
        font-weight: 500 !important;
    }

    /* Botões de ação */
    #conteudo-animes div[style*="display: flex; gap: 0.75rem"] {
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
    }

    #conteudo-animes div[style*="display: flex; gap: 0.75rem"] a {
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        font-size: 1.1rem !important;
        border-radius: 0.75rem !important;
        text-align: center !important;
        font-weight: 600 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
        transition: all 0.3s ease !important;
    }

    #conteudo-animes div[style*="display: flex; gap: 0.75rem"] a:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
    }
}

/* Estilos para o rodapé */
footer {
    background: linear-gradient(135deg, #1f2937, #111827);
    border-top: 1px solid #374151;
    margin-top: 5rem;
    padding: 2rem 1rem;
}

footer p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #9ca3af;
}

footer .flex {
    gap: 2rem;
}

footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(55, 65, 81, 0.5);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

footer a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: currentColor;
}

footer a i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    footer {
        padding: 1.5rem 1rem;
        margin-top: 3rem;
    }

    footer p {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    footer .flex {
        gap: 1.5rem;
    }

    footer a {
        width: 2.75rem;
        height: 2.75rem;
    }

    footer a i {
        font-size: 1.25rem;
    }
}

/* Estilos para o modal do Guia Inicial */
.guia-modal-overlay {
    backdrop-filter: blur(8px);
}

.guia-modal {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.guia-modal-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: scale(1.1);
}

/* Barra de rolagem personalizada para o modal do guia */
#guiaModalContent::-webkit-scrollbar {
    width: 8px;
}

#guiaModalContent::-webkit-scrollbar-track {
    background: rgba(31, 41, 55, 0.3);
    border-radius: 4px;
    margin: 8px 0;
}

#guiaModalContent::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

#guiaModalContent::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

#guiaModalContent::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

/* Para Firefox */
#guiaModalContent {
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 rgba(31, 41, 55, 0.3);
}

/* Garantir que a barra de rolagem não saia para fora */
#guiaModalContent {
    box-sizing: border-box;
    padding-right: 4px;
}

/* Estilos para os botões do modal do guia */
.guia-modal-btn {
    transition: all 0.3s ease !important;
}

.guia-modal-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.guia-modal-btn:active {
    transform: translateY(0) !important;
}

/* Melhorar responsividade dos botões no mobile */
@media (max-width: 768px) {
    .guia-modal-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.875rem 1.25rem !important;
        font-size: 0.95rem !important;
        margin: 0.375rem 0 !important;
        box-sizing: border-box !important;
    }

    /* Ajustar layout dos passos no mobile */
    .guia-modal-content>div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: stretch !important;
    }

    .guia-modal-content>div[style*="display: flex"]>div:first-child {
        align-self: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .guia-modal-content>div[style*="display: flex"]>div:last-child {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        /* Mais espaço entre botões */
        align-items: stretch !important;
    }

    /* Botões específicos no layout vertical */
    .guia-modal-content .guia-modal-btn {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Melhorar seções numeradas - manter formato circular */
    .guia-modal-content .numero-etapa {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 1.25rem !important;
        height: 1.25rem !important;
        min-width: 1.25rem !important;
        min-height: 1.25rem !important;
        margin-right: 0.75rem !important;
        font-weight: bold !important;
        color: #ffffff !important;
        background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
        border-radius: 50% !important;
        border: 1px solid rgba(59, 130, 246, 0.4) !important;
        font-size: 0.75rem !important;
        line-height: 1 !important;
        flex-shrink: 0 !important;
        box-shadow: 0 1px 3px rgba(59, 130, 246, 0.3) !important;
        position: relative !important;
        top: -1px !important;
    }

    /* Garantir que as listas fiquem legíveis */
    .guia-modal-content ul,
    .guia-modal-content ol {
        padding-left: 1.25rem !important;
        margin: 0.75rem 0 !important;
    }

    .guia-modal-content li {
        margin-bottom: 0.5rem !important;
        line-height: 1.5 !important;
    }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .guia-modal {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem) !important;
        width: calc(100vw - 1rem) !important;
        max-height: 95vh;
        box-sizing: border-box;
    }

    .guia-modal-header {
        padding: 1rem 1.25rem !important;
    }

    .guia-modal-header h2 {
        font-size: 1.375rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        word-wrap: break-word;
        hyphens: auto;
    }

    .guia-modal-content {
        padding: 1rem 1.25rem !important;
        max-height: calc(95vh - 80px) !important;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .guia-modal-close {
        width: 2rem !important;
        height: 2rem !important;
        top: 0.5rem !important;
        right: 0.5rem !important;
        font-size: 1.25rem !important;
    }

    /* Garantir que o texto não fique espremido */
    .guia-modal-content p {
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word;
        hyphens: auto;
    }

    .guia-modal-content h3 {
        font-size: 1.125rem !important;
        margin: 1.5rem 0 0.75rem 0 !important;
        line-height: 1.4 !important;
        word-wrap: break-word;
    }

    /* Melhorar botões no mobile - estrutura consistente */
    .guia-modal-btn {
        min-height: 44px !important;
        /* Tamanho mínimo para toque */
        font-size: 0.95rem !important;
        padding: 0.875rem 1.25rem !important;
        margin: 0.375rem 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        flex-shrink: 0 !important;
        box-sizing: border-box !important;
    }

    .guia-modal-btn i {
        font-size: 1rem !important;
        flex-shrink: 0 !important;
    }

    .guia-modal-btn span {
        flex: 1 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
}

/* Melhor responsividade para telas muito pequenas */
@media (max-width: 480px) {
    .guia-modal {
        margin: 0.25rem;
        max-width: calc(100vw - 0.5rem) !important;
        width: calc(100vw - 0.5rem) !important;
    }

    .guia-modal-header {
        padding: 0.875rem 1rem !important;
    }

    .guia-modal-header h2 {
        font-size: 1.25rem !important;
    }

    .guia-modal-content {
        padding: 0.875rem 1rem !important;
        max-height: calc(95vh - 70px) !important;
    }

    .guia-modal-close {
        width: 1.75rem !important;
        height: 1.75rem !important;
        top: 0.375rem !important;
        right: 0.375rem !important;
        font-size: 1rem !important;
    }
}

/* Melhorias gerais para mobile */
@media (max-width: 768px) {
    .guia-modal-overlay {
        padding: 0.5rem !important;
    }

    /* Garantir que o modal seja totalmente visível */
    .guia-modal {
        display: flex !important;
        flex-direction: column !important;
        max-height: calc(100vh - 1rem) !important;
    }

    /* Melhorar header */
    .guia-modal-header {
        flex-shrink: 0 !important;
        position: relative !important;
    }

    /* Melhorar conteúdo */
    .guia-modal-content {
        flex: 1 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Melhorar aparência dos elementos internos */
    .guia-modal-content strong {
        color: #3b82f6 !important;
        font-weight: 600 !important;
    }

    .guia-modal-content code {
        background: rgba(0, 0, 0, 0.3) !important;
        padding: 0.125rem 0.25rem !important;
        border-radius: 3px !important;
        font-family: 'Monaco', 'Menlo', monospace !important;
        font-size: 0.875em !important;
        word-break: break-all !important;
    }

    /* Melhorar links */
    .guia-modal-content a {
        color: #60a5fa !important;
        text-decoration: underline !important;
        word-break: break-all !important;
    }

    /* Melhorar imagens se houver */
    .guia-modal-content img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        margin: 0.5rem 0 !important;
    }
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .auth-header {
        padding: 15px;
    }

    .guest-buttons {
        gap: 8px;
    }

    .btn-login,
    .btn-register {
        min-width: 100px;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .user-profile {
        padding: 12px;
        gap: 12px;
    }

    .user-avatar {
        width: 50px;
        height: 50px;
    }

    .user-name {
        font-size: 0.9rem;
    }

    .user-email {
        font-size: 0.75rem;
    }

    .btn-profile,
    .btn-logout {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    /* Responsividade para os novos botões do sidebar */
    .btn-admin-sidebar,
    .btn-profile-sidebar,
    .btn-logout-sidebar {
        padding: 10px;
        min-width: 40px;
        min-height: 40px;
    }

    .auth-modal-content {
        width: 95%;
        margin: 20px;
    }

    .auth-modal-header {
        padding: 20px 20px 15px;
    }

    .auth-modal-header h3 {
        font-size: 1.3rem;
    }

    .auth-modal-body {
        padding: 15px 20px 25px;
    }

    .profile-avatar {
        width: 70px;
        height: 70px;
    }

    .btn-change-avatar {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
    }

    /* Painel administrativo mobile */
    .admin-modal-content {
        width: 98%;
        margin: 10px;
        max-height: 95vh;
    }

    .admin-modal-header {
        padding: 20px 20px;
    }

    .admin-modal-header h3 {
        font-size: 1.4rem;
    }

    .admin-modal-body {
        padding: 20px;
    }

    .admin-sections {
        gap: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .content-actions,
    .security-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .btn-admin-action {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .config-item {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Botão de Compra */
.btn-comprar {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
    text-decoration: none;
}

.btn-comprar:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-comprar i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.btn-comprar span {
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-comprar small {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

@media (max-width: 768px) {
    .btn-comprar {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .btn-comprar span {
        font-size: 1rem;
    }

    .btn-comprar small {
        font-size: 0.8rem;
    }
}

/* Tela de Usuário Não Aprovado */
.info-message {
    text-align: center;
    color: #fff;
}

.info-message h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-message p {
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item i {
    color: #10b981;
    font-size: 1.2rem;
}

.feature-item span {
    color: #fff;
    font-weight: 500;
}

.pricing-info {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-info h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

.price-display {
    text-align: center;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    display: block;
}

.price-note {
    color: #ccc;
    font-size: 0.9rem;
    font-style: italic;
}

.btn-comprar-modal {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 15px;
    padding: 20px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    width: 100%;
    justify-content: center;
}

.btn-comprar-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.login-options {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-options p {
    color: #ccc;
    margin-bottom: 15px;
}

.btn-login {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .features-list {
        grid-template-columns: 1fr;
    }

    .btn-comprar-modal {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .price {
        font-size: 2rem;
    }
}

/* Barra de rolagem personalizada para janela de acesso exclusivo */
.auth-box::-webkit-scrollbar {
    width: 4px;
}

.auth-box::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.2);
    border-radius: 2px;
    margin: 8px 0;
}

.auth-box::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(29, 78, 216, 0.5));
    border-radius: 2px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    min-height: 40px;
}

.auth-box::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.7), rgba(29, 78, 216, 0.7));
    border-color: rgba(59, 130, 246, 0.4);
}

.auth-box::-webkit-scrollbar-corner {
    background: transparent;
}

.auth-box::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.auth-box::-webkit-scrollbar-button:start:decrement,
.auth-box::-webkit-scrollbar-button:end:increment {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Barra de rolagem personalizada para modal de pagamento */
.modal-pagamento::-webkit-scrollbar {
    width: 4px;
}

.modal-pagamento::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.2);
    border-radius: 2px;
    margin: 8px 0;
}

.modal-pagamento::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(29, 78, 216, 0.5));
    border-radius: 2px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    min-height: 40px;
}

.modal-pagamento::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.7), rgba(29, 78, 216, 0.7));
    border-color: rgba(59, 130, 246, 0.4);
}

.modal-pagamento::-webkit-scrollbar-corner {
    background: transparent;
}

/* ===== ESTILOS MELHORADOS PARA CARDS DE EXTENSÕES ===== */

/* Wrapper do carrossel com posicionamento relativo */
.carousel-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Botões de navegação externos */
.carousel-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-nav-button:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-button.prev {
    left: -20px;
}

.carousel-nav-button.next {
    right: -20px;
}

.carousel-nav-button .arrow-icon {
    width: 18px;
    height: 18px;
    fill: white;
    transition: transform 0.3s ease;
}

.carousel-nav-button:hover .arrow-icon {
    transform: scale(1.1);
}

/* Carrossel principal */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.carousel:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Container interno do carrossel */
.carousel-inner {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

/* Itens do carrossel */
.carousel-item {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    position: relative;
}

/* Indicadores de página */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.3);
}

/* Indicadores de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.scroll-indicator:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator .arrow-icon {
    width: 16px;
    height: 16px;
    fill: white;
    animation: bounce 2s infinite;
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-4px);
    }

    60% {
        transform: translateY(-2px);
    }
}

/* Estilos para itens com scroll */
.carousel-item.with-scroll {
    justify-content: flex-start;
    align-items: flex-start;
    padding: 32px;
    overflow-y: auto;
    max-height: 100%;
}

.carousel-item.with-scroll::-webkit-scrollbar {
    width: 4px;
}

.carousel-item.with-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.carousel-item.with-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.carousel-item.with-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .carousel-nav-button {
        width: 36px;
        height: 36px;
    }

    .carousel-nav-button.prev {
        left: -18px;
    }

    .carousel-nav-button.next {
        right: -18px;
    }

    .carousel-item {
        padding: 20px;
    }

    .carousel-item.with-scroll {
        padding: 24px;
    }

    .indicator {
        width: 6px;
        height: 6px;
    }

    .scroll-indicator {
        width: 28px;
        height: 28px;
        bottom: 12px;
    }
}

/* Animações suaves para transições */
.carousel-inner {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    transition: opacity 0.3s ease;
}

/* Efeitos de hover melhorados */
.carousel-wrapper:hover .carousel-nav-button {
    opacity: 1;
    visibility: visible;
}

.carousel-nav-button {
    opacity: 0.7;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Melhorias para acessibilidade */
.carousel-nav-button:focus,
.indicator:focus,
.scroll-indicator:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Estilos para extensões obsoletas */
.carousel-wrapper.obsolete .carousel {
    position: relative;
}

.carousel-wrapper.obsolete .carousel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 48%, rgba(239, 68, 68, 0.8) 49%, rgba(239, 68, 68, 0.8) 51%, transparent 52%);
    pointer-events: none;
    z-index: 10;
}

.obsolete-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 48px;
    font-weight: 900;
    color: #ef4444;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 15;
    pointer-events: none;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.9;
    }

    50% {
        opacity: 0.6;
    }
}

.obsolete-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 3;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.obsolete-timer {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
}

.modal-pagamento::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.modal-pagamento::-webkit-scrollbar-button:start:decrement,
.modal-pagamento::-webkit-scrollbar-button:end:increment {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* ====================================
   ESTILOS DE BLOQUEIO COMPLETO
   Para tela de manutenção e segurança
==================================== */

/* Bloqueio completo da página */
.tela-bloqueio-ativa {
    overflow: hidden !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
}

/* Bloquear scroll e interações */
.tela-bloqueio-ativa * {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Permitir interações apenas na tela de bloqueio */
.tela-bloqueio-ativa #maintenance-screen,
.tela-bloqueio-ativa #tela-bloqueio {
    pointer-events: auto !important;
}

.tela-bloqueio-ativa #maintenance-screen *,
.tela-bloqueio-ativa #tela-bloqueio * {
    pointer-events: auto !important;
    user-select: auto !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    -ms-user-select: auto !important;
}

/* Bloquear DevTools e outras ferramentas */
.tela-bloqueio-ativa {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* Bloquear contexto e seleção */
.tela-bloqueio-ativa::selection {
    background: transparent !important;
}

.tela-bloqueio-ativa::-moz-selection {
    background: transparent !important;
}

/* Bloquear arrastar e soltar */
.tela-bloqueio-ativa * {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
}

/* Bloquear zoom e outras interações */
.tela-bloqueio-ativa {
    touch-action: none !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
}