        .max-h-99 { max-height: 26rem; }
        html { overflow-y: scroll; }
        .nav-button.active { background-color: #6d28d9; color: white; }
        .content-section { display: none; }
        .content-section.active { display: block; }
        .tab-button.active { background-color: #6d28d9; color: white; }
        .tab-content { display: none; }
        .tab-content.active { display: block; }
        .accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
        .accordion-item.active .accordion-content { max-height: 500px; padding: 1rem; }

        .cursor-pointer { cursor: pointer; }
        
        /* Navegação Responsiva Customizada */
        .desktop-nav { display: none; }
        .mobile-nav { display: flex; }
        
        @media (min-width: 1024px) {
            .desktop-nav { display: flex; }
            .mobile-nav { display: none; }
        }
        
        /* Mobile Navigation Styles */
        .mobile-nav {
            padding: 1rem;
            background: white;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .mobile-nav-container {
            display: grid;
            grid-template-columns: auto 1fr;
            align-items: center;
            gap: 1rem;
            max-width: 100%;
        }
        
        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            background: #f3f4f6;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .mobile-menu-btn:hover {
            background: #e5e7eb;
            transform: scale(1.05);
        }
        
        .hamburger-line {
            width: 20px;
            height: 2px;
            background: #374151;
            margin: 2px 0;
            transition: all 0.3s ease;
            border-radius: 1px;
        }
        
        .mobile-menu-btn.active .hamburger-line:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }
        
        .mobile-menu-btn.active .hamburger-line:nth-child(2) {
            opacity: 0;
        }
        
        .mobile-menu-btn.active .hamburger-line:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -6px);
        }
        
        /* Mobile User Section */
        .mobile-user-section {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            width: 100%;
        }
        
        .mobile-user-menu {
            position: relative;
        }
        
        .mobile-user-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            background: none;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            font-weight: 500;
            color: #374151;
        }
        
        .mobile-user-btn:hover {
            background: #f3f4f6;
            color: #7c3aed;
        }
        
        .user-name {
            max-width: 100px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .user-arrow {
            width: 16px;
            height: 16px;
            transition: transform 0.3s ease;
        }
        
        .mobile-user-btn.active .user-arrow {
            transform: rotate(180deg);
        }
        
        .mobile-user-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 8px;
            width: 200px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            padding: 8px 0;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }
        
        .mobile-user-dropdown.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .dropdown-item {
            display: block;
            width: 100%;
            padding: 12px 16px;
            text-decoration: none;
            color: #374151;
            font-size: 14px;
            transition: all 0.3s ease;
            border: none;
            background: none;
            text-align: left;
            cursor: pointer;
        }
        
        .dropdown-item:hover {
            background: #f3f4f6;
            color: #7c3aed;
        }
        
        .dropdown-item.logout {
            color: #dc2626;
        }
        
        .dropdown-item.logout:hover {
            background: #fef2f2;
            color: #dc2626;
        }
        
        .dropdown-divider {
            height: 1px;
            background: #e5e7eb;
            margin: 8px 0;
        }
        
        .mobile-login-btn {
            padding: 8px 16px;
            border-radius: 20px;
            background: linear-gradient(135deg, #6366f1, #0ea5e9, #10b981);
            color: white;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            display: inline-block;
            white-space: nowrap;
        }
        
        .mobile-login-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
        }
        
        /* Mobile Overlay */
        .mobile-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .mobile-overlay.show {
            opacity: 1;
            visibility: visible;
        }
        
        /* Mobile Sidebar */
        .mobile-sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: 320px;
            height: 100%;
            background: white;
            box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
            z-index: 9999;
            transform: translateX(-100%);
            transition: transform 0.3s ease;
            overflow-y: auto;
        }
        
        .mobile-overlay.show .mobile-sidebar {
            transform: translateX(0);
        }
        
        .mobile-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px;
            border-bottom: 1px solid #e5e7eb;
            background: #f9fafb;
        }
        
        .mobile-title {
            font-size: 18px;
            font-weight: 600;
            color: #111827;
            margin: 0;
        }
        
        .mobile-close-btn {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: none;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .mobile-close-btn:hover {
            background: #e5e7eb;
        }
        
        .close-icon {
            width: 20px;
            height: 20px;
            color: #6b7280;
        }
        
        .mobile-menu-content {
            padding: 20px;
        }
        
        .mobile-nav-item {
            display: flex;
            align-items: center;
            width: 100%;
            padding: 16px;
            margin-bottom: 8px;
            background: none;
            border: none;
            border-radius: 12px;
            text-align: left;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 16px;
            font-weight: 500;
            color: #374151;
            position: relative;
        }
        
        .mobile-nav-item:hover {
            background: #f3f4f6;
            color: #7c3aed;
            transform: translateX(4px);
        }
        
        .mobile-nav-item.disabled {
            color: #9ca3af;
            cursor: not-allowed;
        }
        
        .mobile-nav-item.disabled:hover {
            background: #f9fafb;
            color: #9ca3af;
            transform: none;
        }
        
        .nav-icon {
            font-size: 20px;
            margin-right: 12px;
            min-width: 24px;
        }
        
        .nav-text {
            flex: 1;
            line-height: 1.4;
        }
        
        .nav-badge {
            background: #7c3aed;
            color: white;
            font-size: 10px;
            font-weight: 600;
            padding: 4px 8px;
            border-radius: 12px;
            margin-left: 8px;
        }
        
        /* Responsive adjustments */
        @media (max-width: 480px) {
            .mobile-sidebar {
                width: 280px;
            }
            
            .mobile-nav-item {
                padding: 14px;
                font-size: 15px;
            }
            
            .nav-icon {
                font-size: 18px;
            }
        }
        
        th[id^='sort-'] {
            position: relative;
            padding-right: 18px; /* Adiciona um espaço fixo à direita do texto do cabeçalho */
        }

        th[id^='sort-']::after {
            content: '▲'; /* Usa um caractere para a seta */
            font-size: 0.8em;
            position: absolute;
            right: 5px; /* Posiciona a seta no espaço do padding */
            top: 50%;
            transform: translateY(-50%);
            opacity: 0; /* A seta é invisível por padrão */
            transition: opacity 0.2s, transform 0.2s; /* Animação suave */
        }

        th.sort-asc::after {
            opacity: 0.8; /* Torna a seta visível */
            transform: translateY(-50%) rotate(0deg); /* Aponta para baixo */
        }

        th.sort-desc::after {
            opacity: 0.8; /* Torna a seta visível */
            transform: translateY(-50%) rotate(180deg); /* Aponta para cima */
        }

        .stat-badge {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 12px;
            font-weight: 600;
            color: white;
            background-color: #a855f7; /* Roxo */
            font-size: 0.8rem;
        }
        
        .stat-badge-low {
            background-color: #dc2626;
        }
        
        .stat-badge-high {
            background-color: #2563eb;
        }

        .progress-bar-container {
            display: flex;
            align-items: center;
            gap: 8px; /* Espaço entre a barra e o texto */
        }

        .progress-bar {
            width: 100%;
            height: 12px;
            background-color: #e9d5ff; /* Fundo da barra roxo claro */
            border-radius: 6px;
            overflow: hidden;
        }

        .progress-bar-fill {
            height: 100%;
            background-color: #9333ea; /* Preenchimento da barra roxo mais escuro */
            border-radius: 6px;
            transition: width 0.5s ease-in-out;
        }
        #ext-chrome-link {
            transition: background 0.15s ease;
        }
        #ext-chrome-link:hover {
            background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%) !important;
        }
        #ext-chrome-link:hover .ext-chrome-icon-wrap {
            background: linear-gradient(135deg, #ede9fe, #ddd6fe) !important;
            border-color: #c4b5fd !important;
        }
        #ext-chrome-link:hover .ext-chrome-arrow {
            color: #7c3aed !important;
        }
