/**
 * Estilos customizados premium para os Painéis do Solomon (Anúncios & Vendas)
 * Contém o tema Glassmorphism para Anúncios e o simulador de planilha Excel (Workbook Emulator) para Vendas.
 */

:root {
    --glass-bg: rgba(22, 28, 45, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-glow-blue: rgba(0, 123, 255, 0.15);
    --glass-glow-green: rgba(0, 230, 118, 0.12);
    --text-muted: #8b9bb4;
    --gold-color: #ffd700;
    --full-green: #00e676;
    --card-fundo: rgba(255, 255, 255, 0.02);
}

/* =========================================================================
 * 🌐 COMMON & GLASSMORPHIC CONTAINER STYLES
 * ========================================================================= */

.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: all 0.3s ease;
}

.glass-container:hover {
    box-shadow: 0 8px 32px 0 var(--glass-glow-green);
}

.panel-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.glass-container .panel-subtitle,
.glass-container .text-muted {
    color: #b0c4de !important; /* Cor clara com alto contraste sobre fundo escuro */
}

/* Animações */
.animate-fade-in {
    animation: fadeIn 0.4s ease-out;
}

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

/* Cards de KPI (Indicadores) */
.kpi-card {
    background: var(--card-fundo);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.kpi-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.08);
}

.kpi-card .kpi-title {
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    color: #b0c4de !important; /* Cor clara com alto contraste sobre fundo escuro */
}

.kpi-value {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
}

/* =========================================================================
 * 📢 PANEL 1: MEUS ANÚNCIOS (DARK GLASSMORPHIC THEME)
 * ========================================================================= */

/* Filtros */
.filter-bar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-control-dark, .form-select-dark {
    background: rgba(10, 15, 30, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.form-control-dark:focus, .form-select-dark:focus {
    border-color: #007bff !important;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5) !important;
}

.search-input-group {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

#searchAnuncio {
    padding-left: 38px;
}

/* Tabela Glassmorphic */
.glass-table-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.glass-table {
    border-collapse: separate;
    border-spacing: 0;
}

.glass-table th {
    background: rgba(10, 15, 30, 0.7) !important;
    color: var(--text-muted) !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px !important;
    border-bottom: 1px solid var(--glass-border) !important;
}

.glass-tr {
    transition: background 0.2s ease;
}

.glass-tr td {
    padding: 14px 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
    background: transparent !important;
    color: #ffffff !important;
}

.glass-tr:hover td {
    background: rgba(255, 255, 255, 0.02) !important;
}

/* Elementos Visuais */
.product-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #007bff, #6610f2);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-title-text {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

/* Badges */
.badge-full {
    background: rgba(0, 230, 118, 0.15) !important;
    color: var(--full-green) !important;
    border: 1px solid rgba(0, 230, 118, 0.25);
    padding: 6px 10px !important;
    font-weight: 600;
    border-radius: 6px;
}

.badge-normal {
    background: rgba(0, 123, 255, 0.15) !important;
    color: #007bff !important;
    border: 1px solid rgba(0, 123, 255, 0.25);
    padding: 6px 10px !important;
    font-weight: 600;
    border-radius: 6px;
}

.bg-gold {
    background: rgba(255, 215, 0, 0.15) !important;
    color: var(--gold-color) !important;
    border: 1px solid rgba(255, 215, 0, 0.25);
    padding: 6px 10px !important;
    border-radius: 6px;
}

/* =========================================================================
 * 📊 PANEL 2: HISTÓRICO DE VENDAS (EXCEL WORKBOOK EMULATOR CLASSIC)
 * ========================================================================= */

/* Grupo de Botões de Período Estilo Glass */
.btn-group-glass {
    display: inline-flex;
    background: rgba(10, 15, 30, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 4px;
    overflow: hidden;
}

.btn-period {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-period:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.btn-period.active {
    color: #ffffff;
    background: #28a745; /* Verde para combinar com a planilha */
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.4);
}

/* Contêiner de Planilha Excel */
.excel-spreadsheet-container {
    background: #ffffff !important;
    border-radius: 12px;
    border: 1px solid #d4d4d4;
    overflow: auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Tabela Estilo Excel */
.excel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #ffffff !important;
    color: #333333 !important;
}

/* Células de Cabeçalho de Coluna (A, B, C...) */
.excel-col-header {
    background: #f3f3f3 !important;
    color: #555555 !important;
    font-weight: normal;
    text-align: center;
    font-size: 11px;
    padding: 3px 6px !important;
    border: 1px solid #d4d4d4 !important;
    user-select: none;
}

/* Células de Número de Linha (1, 2, 3...) */
.excel-row-num {
    background: #f3f3f3 !important;
    color: #555555 !important;
    font-weight: normal;
    text-align: center;
    font-size: 11px;
    padding: 3px 6px !important;
    border: 1px solid #d4d4d4 !important;
    width: 35px;
    user-select: none;
}

/* Corrige o alinhamento, padding, peso da fonte e cor do número "1" do cabeçalho da planilha */
.excel-header-row th.excel-row-num {
    text-align: center !important;
    padding: 3px 6px !important;
    font-weight: normal !important;
    color: #555555 !important;
}

/* Intersecção de Linha/Coluna (Canto Superior Esquerdo) */
.excel-intersection {
    background: #e6e6e6 !important;
    border: 1px solid #d4d4d4 !important;
    width: 35px;
}

/* Linha de Cabeçalho do Filtro (Verde Excel) */
.excel-header-row th {
    background: #a9d08e !important; /* Verde Folha Muted Excel */
    color: #000000 !important;      /* Texto preto conforme screenshot */
    font-weight: bold;
    font-size: 12px;
    padding: 6px 24px 6px 10px !important; /* Espaço para o ícone de filtro */
    border: 1px solid #d4d4d4 !important;
    text-align: left;
    position: relative;
    user-select: none;
}

/* Adiciona o ícone do filtro dropdown no estilo Excel */
.excel-header-row th::after {
    content: "▼";
    font-size: 8px;
    color: #333333;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #f3f3f3;
    border: 1px solid #a6a6a6;
    padding: 1px 3px;
    border-radius: 2px;
    cursor: pointer;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.excel-header-row th.no-filter::after {
    display: none;
}

/* Células de Dados Estilo Excel */
.excel-cell {
    border: 1px solid #d4d4d4 !important;
    padding: 5px 10px !important;
    background: #ffffff !important;
    color: #333333 !important;
    font-family: "Segoe UI", Arial, sans-serif;
    vertical-align: middle;
}

/* Efeito Zebra-Striping */
.excel-tr-even .excel-cell {
    background: #f9f9f9 !important;
}

/* Alinhamento de dados */
.excel-cell-left {
    text-align: left;
}

.excel-cell-center {
    text-align: center;
}

.excel-cell-right {
    text-align: right;
}

/* Células de moeda, números e status */
.excel-price-muted {
    color: #7f7f7f !important;
}

.excel-price-bold {
    font-weight: bold;
    color: #000000 !important;
}

/* Badges de Status Estilo Excel */
.excel-badge-paid {
    background: #e2f0d9 !important;
    color: #385723 !important;
    border: 1px solid #c5e0b4 !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.excel-badge-cancelled {
    background: #fce4d6 !important;
    color: #c65911 !important;
    border: 1px solid #f8cbad !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.excel-badge-pending {
    background: #fff2cc !important;
    color: #7f6000 !important;
    border: 1px solid #ffe599 !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

/* Lista de Itens Compacta para Excel */
.excel-items-list {
    display: flex;
    flex-direction: column;
}

.excel-item-detail {
    border-bottom: 1px dashed #e0e0e0;
    padding: 2px 0;
    font-size: 12px;
}

.excel-item-detail:last-child {
    border-bottom: none;
}

.excel-item-title {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    color: #212529 !important;
}

.excel-item-qty {
    font-weight: bold;
    color: #555555 !important;
}

/* Rodapé de abas estilo Excel */
.excel-footer-tabs {
    background: #f3f3f3 !important;
    border-top: 1px solid #d4d4d4;
    padding: 4px 8px;
    height: 32px;
    font-size: 11px;
    font-family: "Segoe UI", sans-serif;
    user-select: none;
}

.excel-tab-arrow-buttons {
    display: flex;
    border-right: 1px solid #ccc;
    padding-right: 8px;
    margin-right: 8px;
}

.excel-sheet-tabs-container {
    display: flex;
}

.excel-sheet-tab {
    background: #e6e6e6 !important;
    border: 1px solid #ccc;
    border-bottom: none;
    padding: 3px 12px;
    margin-right: 2px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    color: #555555 !important;
    position: relative;
    top: -4px; /* Alinha com a borda */
    height: 25px;
    display: flex;
    align-items: center;
}

.excel-sheet-tab.active {
    background: #ffffff !important;
    border-color: #d4d4d4;
    border-bottom: 2px solid #70AD47 !important; /* Linha verde Excel */
    color: #70AD47 !important;
    font-weight: bold;
    z-index: 10;
}

.excel-tab-add-btn {
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 3px;
}

.excel-tab-add-btn:hover {
    background: #e0e0e0 !important;
}

/* Estilo do botão de ação compacto */
.excel-btn-action {
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
    color: #555555 !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.1s ease;
}

.excel-btn-action:hover {
    background: #f3f3f3 !important;
    border-color: #adadad !important;
    color: #333333 !important;
}

/* Badges do Excel para Anúncios */
.excel-badge-full {
    background: #e2f0d9 !important;
    color: #385723 !important;
    border: 1px solid #c5e0b4 !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.excel-badge-normal {
    background: #ddebf7 !important;
    color: #1f4e78 !important;
    border: 1px solid #bdd7ee !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.excel-badge-premium {
    background: #fff2cc !important;
    color: #7f6000 !important;
    border: 1px solid #ffe599 !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

.excel-badge-classico {
    background: #f2f2f2 !important;
    color: #595959 !important;
    border: 1px solid #d9d9d9 !important;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
}

/* Botões de número de página estilo Excel */
.excel-page-num-btn {
    background: #ffffff !important;
    border: 1px solid #dcdcdc !important;
    color: #555555 !important;
    padding: 1px 6px !important;
    min-width: 22px;
    height: 18px;
    border-radius: 3px !important;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
    text-decoration: none;
    line-height: 1;
}

.excel-page-num-btn:hover {
    background: #f3f3f3 !important;
    border-color: #adadad !important;
    color: #333333 !important;
}

.excel-page-num-btn.active {
    background: #70AD47 !important; /* Verde Excel */
    border-color: #5b9237 !important;
    color: #ffffff !important;
}

.excel-page-dots {
    color: #777777;
    font-size: 11px;
    padding: 0 2px;
    font-weight: bold;
    user-select: none;
}

/* =========================================================================
 * 🔍 EXCEL HEADER COLUMN FILTER DROPDOWN
 * ========================================================================= */
.excel-filter-dropdown {
    position: absolute;
    z-index: 9999;
    width: 240px;
    background: rgba(20, 26, 40, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6) !important;
    padding: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #ffffff !important;
    display: none;
    flex-direction: column;
    gap: 8px;
}

.excel-filter-search-container {
    position: relative;
    width: 100%;
}

.excel-filter-search {
    width: 100% !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    font-size: 11px !important;
    padding: 6px 8px 6px 26px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.excel-filter-search::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.excel-filter-search-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

.excel-filter-options-list {
    max-height: 160px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 6px;
}

/* Custom Scrollbar */
.excel-filter-options-list::-webkit-scrollbar {
    width: 6px;
}
.excel-filter-options-list::-webkit-scrollbar-track {
    background: transparent;
}
.excel-filter-options-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}
.excel-filter-options-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

.excel-filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    cursor: pointer;
    user-select: none;
    padding: 4px 6px;
    border-radius: 3px;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.15s ease;
}

.excel-filter-option:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.excel-filter-option input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
    accent-color: #70AD47;
}

.excel-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 8px;
    margin-top: 4px;
}

.excel-filter-actions button {
    font-size: 11px;
    font-weight: bold;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    border: none;
}

.btn-excel-ok {
    background: #70AD47 !important;
    color: #ffffff !important;
}

.btn-excel-ok:hover {
    background: #5b9237 !important;
}

.btn-excel-cancel {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.btn-excel-cancel:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

/* Indica visualmente que o filtro do Excel está ativo na coluna correspondente */
.excel-header-row th.excel-header-filtered::after {
    background: #70AD47 !important;
    border-color: #5b9237 !important;
    color: #ffffff !important;
    content: "▼ ⚡" !important;
}

/* =========================================================================
   📈 REDIMENSIONAMENTO E INTERATIVIDADE PREMIUM ESTILO EXCEL (GLOBAL)
   ========================================================================= */

/* Cabeçalhos de coluna posicionados relativamente para conter as alças do resizer */
.excel-col-header {
    position: relative !important;
}

/* Alça divisória de arrasto (resizer) */
.excel-resizer {
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    cursor: col-resize;
    user-select: none;
    z-index: 100;
}

.excel-resizer:hover,
.excel-resizer.resizing {
    background-color: #2ecc71 !important;
    opacity: 0.8;
}

/* Tabela em modo fixed para forçar a renderização estrita de largura de colunas */
.excel-table {
    table-layout: fixed !important;
    width: 100% !important;
    border-collapse: collapse !important;
}

/* Inputs e selects transparentes que ocupam toda a célula */
.excel-input-inline,
.excel-select-inline {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    padding: 4px 6px !important;
    box-sizing: border-box !important;
    font-size: 13px !important;
    color: #333333 !important;
    border-radius: 0 !important;
    transition: background-color 0.15s ease;
}

.excel-input-inline:focus,
.excel-select-inline:focus {
    background-color: #e2f0d9 !important; /* Realce verde claro típico do Excel */
    box-shadow: inset 0 0 0 2px #70AD47 !important;
}

/* Truncamento dinâmico inteligente com reticências para textos longos em células redimensionadas */
.product-title-text,
.excel-item-title {
    max-width: 100% !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.excel-cell {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* =========================================================================
   Sidebar Premium (Estilo WebDFe / Dark Modern Acordeão)
   ========================================================================= */

.solomon-sidebar {
    background-color: #1c1f26 !important;
    color: #b0c4de !important;
    font-family: 'Roboto', 'Outfit', 'Inter', sans-serif;
    min-height: 100vh;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #16181e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
}

.brand-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
}

.sidebar-toggle-btn {
    background: none;
    border: none;
    color: #8b9bb4;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.solomon-sidebar-menu {
    padding: 15px 0;
    flex: 1;
    overflow-y: auto;
}

.menu-group {
    margin-bottom: 8px;
}

.menu-group-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 20px;
    background: none;
    border: none;
    color: #8b9bb4;
    font-weight: 600;
    font-size: 0.88rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    border-left: 3px solid transparent;
}

.menu-group-header:hover {
    background-color: rgba(255, 255, 255, 0.02);
    color: #ffffff;
}

.menu-group-header.active-header {
    color: #2ecc71;
}

.menu-group-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-group-title i {
    width: 18px;
    text-align: center;
    font-size: 1rem;
}

.chevron-icon {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
    color: #8b9bb4;
}

.menu-group-header.expanded .chevron-icon {
    transform: rotate(90deg);
}

.menu-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.15);
}

.menu-submenu.open {
    max-height: 500px;
    opacity: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 48px;
    color: #8b9bb4;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border-left: 3px solid transparent;
    cursor: pointer;
}

.menu-item:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.03);
}

.menu-item.active {
    color: #ffffff;
    background-color: rgba(46, 204, 113, 0.08);
    border-left-color: #2ecc71;
}

.menu-item i {
    font-size: 0.85rem;
    width: 14px;
    text-align: center;
}

/* Para itens sem submenus */
.single-menu-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    background: none;
    border: none;
    color: #8b9bb4;
    font-weight: 600;
    font-size: 0.88rem;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.single-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.02);
    color: #ffffff;
}

.single-menu-item.active {
    color: #ffffff;
    background-color: rgba(46, 204, 113, 0.08);
    border-left-color: #2ecc71;
}

/* Transições e Estilos de Colapso do Menu Lateral */
.solomon-sidebar {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.solomon-sidebar.collapsed-menu {
    width: 70px !important;
    max-width: 70px !important;
    flex: 0 0 70px !important;
}

.solomon-sidebar.collapsed-menu .sidebar-brand span,
.solomon-sidebar.collapsed-menu .menu-group-title span,
.solomon-sidebar.collapsed-menu .single-menu-item span,
.solomon-sidebar.collapsed-menu .chevron-icon,
.solomon-sidebar.collapsed-menu .menu-submenu {
    display: none !important;
}

.solomon-sidebar.collapsed-menu .menu-group-header,
.solomon-sidebar.collapsed-menu .single-menu-item {
    justify-content: center !important;
    padding: 12px 0 !important;
}

.solomon-sidebar.collapsed-menu .sidebar-header {
    justify-content: center !important;
    padding: 16px 0 !important;
}

.solomon-sidebar.collapsed-menu .sidebar-toggle-btn {
    display: block !important;
    margin: 0 auto !important;
}

/* Destaque de linha selecionada na planilha */
.excel-table tr.excel-row-selected .excel-cell {
    background-color: #c5d9f1 !important; /* Azul claro estilo Excel para seleção */
    color: #000000 !important;
}

