/* Estilos para o Relatório de Expiração LifterLMS */

/* CSS específico apenas para o item de expiração - sem afetar outros itens */
.dashlifter-menu-content .dashlifter-item a[href*="expiration-reports"] {
    /* Garantir que o item de expiração use os estilos padrão do sistema */
    display: inline-block;
    width: 100%;
    padding: 8px 25px;
    text-decoration: none;
    color: #000;
    border-radius: 0px 5px 5px 0px;
    outline: none;
    transition: background-color 0.2s ease;
}

.dashlifter-menu-content .dashlifter-item a[href*="expiration-reports"]:hover {
    background: #e6eaf7;
}

.dashlifter-menu-content .dashlifter-item a[href*="expiration-reports"].active {
    background-color: #eeeeee;
}

.dashlifter-menu-content .dashlifter-item a[href*="expiration-reports"] i {
    margin-right: 25px;
    width: 16px;
    text-align: center;
    color: #000;
    font-size: 16px;
}


/* Ajustes mínimos para o relatório dentro do Dashlifter - FULL WIDTH */
.dashlifter-content .llms-exp-wrapper {
    margin: 0 !important;
    box-shadow: none;
    border: 1px solid #e0e0e0;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
}

/* Forçar o container principal dashlifter-main-content a ocupar toda a largura */
body.dashlifter-dashboard .dashlifter-main-content {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Forçar o container dashlifter-content a ocupar toda a largura */
body.dashlifter-dashboard .dashlifter-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Forçar a área central do dashlifter a ocupar toda a largura */
body.dashlifter-dashboard .dashlifter-central {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Forçar o wrapper a ocupar 100% sem margens */
body.dashlifter-dashboard .dashlifter-content .llms-exp-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.dashlifter-content .llms-exp-report {
    padding: 20px;
    width: 100% !important;
    max-width: none !important;
}

/* Forçar full width para todos os elementos dentro do Dashlifter */
.dashlifter-content .llms-exp-report-filters,
.dashlifter-content .llms-exp-unified-filter-box,
.dashlifter-content .llms-exp-table {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Remover margens e paddings dos containers pai do dashlifter */
body.dashlifter-dashboard .dashlifter-container {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.dashlifter-dashboard .dashlifter-main {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.dashlifter-dashboard main {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Forçar o painel a ocupar toda a largura disponível */
body.dashlifter-dashboard .dashlifter-content > * {
    width: 100% !important;
    max-width: none !important;
}

/* ===== ESTILOS EXCLUSIVOS PARA /dash/my/expiration-reports/ ===== */

/* FORÇAR FILTROS ESPAÇADOS NO PAINEL ADMIN */
body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 25px !important;
    padding: 30px !important;
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    margin: 20px 0 !important;
    width: 100% !important;
    max-width: none !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-filter-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: 0 !important;
    width: 100% !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-filter-group-course {
    grid-column: 1 / -1 !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-filter-group-course label {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    line-height: 1.6 !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-filter-group-course select {
    height: auto !important;
    min-height: 45px !important;
    
    line-height: 1.4 !important;
    white-space: normal !important;
    font-size: 14px !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-filter-group label {
    font-weight: 600 !important;
    color: #1f2937 !important;
    font-size: 15px !important;
    margin: 0 0 6px 0 !important;
    display: block !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box select,
body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-days-dropdown,
body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-company-dropdown,
body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-course-dropdown {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    padding: 11px 16px !important;
    font-size: 14px !important;
    min-height: 45px !important;
    height: 45px !important;
    max-height: 45px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    line-height: 1.1 !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    display: block !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box select option {
    padding: 8px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-date-inputs {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    width: 100% !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-date-inputs input {
    flex: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 12px !important;
    font-size: 13px !important;
    min-height: 45px !important;
    height: 45px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-filter-actions {
    grid-column: 1 / -1 !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 25px !important;
    padding-top: 25px !important;
    border-top: 2px solid #e2e8f0 !important;
}

/* FORÇAR CARDS DE CURSO MAIORES E SEM CORTAR */
body .dashlifter-content .llms-exp-wrapper .llms-exp-course-settings-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)) !important;
    gap: 25px !important;
    margin: 30px 0 !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-course-setting-item {
    background: #f8f9fa !important;
    padding: 25px !important;
    border-radius: 8px !important;
    border: 1px solid #e9ecef !important;
    min-height: 140px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-course-setting-item label {
    display: block !important;
    margin-bottom: 15px !important;
    color: #1f2937 !important;
    font-weight: 700 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.6 !important;
    font-size: 18px !important;
    min-height: 65px !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-course-setting-input {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: auto !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-course-setting-input input {
    flex: 1 !important;
    padding: 16px 20px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 6px !important;
    font-size: 18px !important;
    min-height: 60px !important;
    height: 60px !important;
    box-sizing: border-box !important;
    font-weight: 600 !important;
}

body .dashlifter-content .llms-exp-wrapper .llms-exp-course-setting-input .llms-exp-input-suffix {
    color: #374151 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

/* Estilos para a aba de configurações por curso */
.course-settings-container {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.course-settings-container h3 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.course-settings-container p {
    color: #666;
    margin-bottom: 30px;
}

.llms-exp-course-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.llms-exp-course-setting-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    min-height: 100px;
}

.llms-exp-course-setting-item label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.4;
}

.llms-exp-course-setting-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.llms-exp-course-setting-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.llms-exp-course-setting-input input:focus {
    outline: none;
    border-color: #8e9aaf;
    box-shadow: 0 0 0 2px rgba(142, 154, 175, 0.2);
}

.llms-exp-input-suffix {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.llms-exp-course-settings-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.llms-exp-course-settings-actions .button {
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: "Inter", "Segoe UI", sans-serif;
}

/* 🔘 Botão principal */
.llms-exp-course-settings-actions .button-primary {
    background: #0f172a; /* tom mais escuro que #1e293b */
    border-color: #0f172a;
    color: #f8fafc; /* branco suave e legível */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.llms-exp-course-settings-actions .button-primary:hover {
    background: #1e293b; /* muda para o cinza elegante ao passar o mouse */
    border-color: #1e293b;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.llms-exp-course-settings-actions .button-primary:active {
    background: #0a0f1f;
    border-color: #0a0f1f;
    transform: scale(0.98);
}

/* 🔘 Botões secundários */
.llms-exp-course-settings-actions .button:not(.button-primary) {
    background: #1a1a46;
    border-color: #dee2e6;
    color: #212529;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.llms-exp-course-settings-actions .button:not(.button-primary):hover {
    background: #1a1a46;
    border-color: #adb5bd;
    color: #000;
}


/* Toggle para modo de configuração */
.llms-exp-mode-selector {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.llms-exp-mode-option {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.llms-exp-mode-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.llms-exp-mode-toggle input[type="checkbox"] {
    display: none;
}

.llms-exp-toggle-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.llms-exp-toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.llms-exp-mode-toggle input[type="checkbox"]:checked + .llms-exp-toggle-slider {
    background: #8e9aaf;
}

.llms-exp-mode-toggle input[type="checkbox"]:checked + .llms-exp-toggle-slider::before {
    transform: translateX(26px);
}

.llms-exp-toggle-label {
    font-weight: 500;
    color: #333;
}

.llms-exp-mode-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.llms-exp-course-settings-section {
    border-top: 1px solid #e9ecef;
    padding-top: 30px;
    margin-top: 20px;
}

.llms-exp-course-settings-section h4 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.llms-exp-course-settings-section p {
    color: #666;
    margin-bottom: 20px;
}

.llms-exp-form-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    margin-top: 30px;
}

.llms-exp-form-actions .button-primary {
    background: #8e9aaf;
    border-color: #8e9aaf;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.llms-exp-form-actions .button-primary:hover {
    background: #6c757d;
    border-color: #6c757d;
}

/* Indicador de modo de configuração no relatório */
.llms-exp-configuration-mode-indicator {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #8e9aaf;
}

.llms-exp-mode-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 500;
}

.llms-exp-mode-badge.llms-exp-mode-global {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border: 1px solid #bbdefb;
    color: #1565c0;
}

.llms-exp-mode-badge.llms-exp-mode-per-course {
    background: linear-gradient(135deg, #fff3e0 0%, #fce4ec 100%);
    border: 1px solid #ffcc02;
    color: #e65100;
}

.llms-exp-mode-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.llms-exp-mode-text {
    font-size: 16px;
    font-weight: 600;
}

.llms-exp-mode-description {
    font-size: 14px;
    opacity: 0.8;
    margin-left: auto;
}

/* Seções de configuração */
.llms-exp-settings-section {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.llms-exp-settings-section h3 {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #8e9aaf;
}

.llms-exp-settings-section .form-table {
    margin: 0;
}

.llms-exp-settings-section .form-table th {
    width: 200px;
    padding: 15px 10px 15px 0;
    font-weight: 500;
    color: #333;
}

.llms-exp-settings-section .form-table td {
    padding: 15px 0;
}

.llms-exp-settings-section .form-table input[type="number"] {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.llms-exp-settings-section .form-table input[type="number"]:focus {
    outline: none;
    border-color: #8e9aaf;
    box-shadow: 0 0 0 2px rgba(142, 154, 175, 0.2);
}

.llms-exp-settings-section .description {
    color: #666;
    font-size: 13px;
    margin-top: 5px;
}

/* Filtro por período - agora integrado no layout unificado */
.llms-exp-date-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.llms-exp-date-inputs input[type="date"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
}

.llms-exp-date-inputs input[type="date"]:focus {
    outline: none;
    border-color: #8e9aaf;
    box-shadow: 0 0 0 2px rgba(142, 154, 175, 0.2);
}

/* Estilos das colunas da tabela */
.llms-exp-table td:nth-child(1) {
    font-weight: 500;
    color: #333;
}

.llms-exp-table td:nth-child(2) {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Responsividade para filtros - agora integrada no layout unificado */

/* Responsividade para configurações de curso */
@media (max-width: 768px) {
    .llms-exp-course-settings-grid {
        grid-template-columns: 1fr;
    }
    
    .llms-exp-course-settings-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .llms-exp-course-settings-actions .button {
        text-align: center;
    }
    
    .llms-exp-mode-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .llms-exp-form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .llms-exp-form-actions .button {
        text-align: center;
    }
    
    .llms-exp-mode-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .llms-exp-mode-description {
        margin-left: 0;
        margin-top: 5px;
    }
}

.llms-exp-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 100% !important;
    width: 100% !important;
    margin: 20px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.llms-exp-report {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0;
    padding: 30px;
}

/* Navegação por Abas */
.llms-exp-nav-tab-wrapper {
    background: linear-gradient(135deg, #8e9aaf 0%, #6c757d 100%) !important;
    margin: 0;
    padding: 0;
    border-bottom: none;
    display: flex;
    border-radius: 0;
}

h2.llms-exp-nav-tab-wrapper {
    background: linear-gradient(135deg, #8e9aaf 0%, #6c757d 100%) !important;
}

.llms-exp-nav-tab {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.8);
    padding: 15px 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
}

.llms-exp-nav-tab:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
}

.llms-exp-nav-tab-active {
    background: rgba(255,255,255,0.2);
    color: white;
    font-weight: 600;
}

.llms-exp-nav-tab-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: white;
    border-radius: 2px 2px 0 0;
}

/* Filtros de Relatório - FULL WIDTH */
.llms-exp-report-filters {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.llms-exp-report .llms-exp-report-filters {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

.llms-exp-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #dee2e6;
}

.llms-exp-report-filters h4 {
    margin: 0;
    color: #495057;
    font-size: 1.2em;
    font-weight: 600;
}

.llms-exp-filter-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}


.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.llms-exp-filter-button {
    display: inline-block;
    padding: 12px 24px;
    background: #6c757d !important;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    align-self: flex-start;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 150px;
    text-align: center;
}

.llms-exp-filter-button:hover {
    background: #5a6268 !important;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.llms-exp-filter-button.active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.llms-exp-filter-button.active:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
}

.llms-exp-clear-filter-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
    min-width: 150px;
    text-align: center;
}

.llms-exp-clear-filter-button:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.3);
}

.llms-exp-export-button {
    display: inline-block;
    padding: 12px 24px;
    background: #28a745 !important;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
    align-self: flex-start;
    min-width: 150px;
    text-align: center;
}

.llms-exp-export-button:hover {
    background: #218838 !important;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}


/* Filtros Unificados em Uma Única Caixa - FULL WIDTH */
.llms-exp-unified-filter-box {
    background: #ffffff !important;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Garantir alinhamento perfeito dos filtros */
.llms-exp-unified-filter-box .llms-exp-filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.llms-exp-unified-filter-box .llms-exp-filter-group label {
    margin-bottom: 5px;
    display: block;
}

.llms-exp-unified-filter-box .llms-exp-filter-group input,
.llms-exp-unified-filter-box .llms-exp-filter-group select {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.2;
    vertical-align: top;
}

.llms-exp-filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 250px;
    align-items: flex-start;
}

/* Alinhar todos os inputs na mesma altura */
.llms-exp-filter-group input,
.llms-exp-filter-group select {
    height: 40px;
    vertical-align: top;
    align-self: flex-start;
}

.llms-exp-filter-group label {
    font-weight: 600;
    color: #374151;
    margin: 0 0 6px 0;
    font-size: 15px;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.llms-exp-date-inputs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
}

.llms-exp-date-inputs input[type="date"] {
    flex: 1;
    min-width: 120px;
    height: 45px !important;
    line-height: 1.2;
    vertical-align: top;
    padding: 10px 12px;
    font-size: 13px;
}

.llms-exp-filter-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.llms-exp-days-dropdown {
    padding: 14px 20px;
    border: 1px solid #d1d5db !important;
    border-radius: 8px;
    background: #f9fafb !important;
    font-size: 1em;
    color: #374151 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    height: 40px !important;
    line-height: 1.2;
    vertical-align: top;
}

.llms-exp-days-dropdown:focus {
    outline: none;
    border-color: #6b7280 !important;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
    background: #ffffff !important;
}

.llms-exp-days-dropdown:hover {
    border-color: #9ca3af !important;
    background: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.llms-exp-apply-button {
    padding: 14px 24px;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.llms-exp-apply-button:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.llms-exp-apply-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.llms-exp-no-results {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin: 20px 0;
}

.llms-exp-no-results p {
    color: #6c757d;
    font-size: 1.1em;
    margin: 0;
}

/* Resultados do Filtro */
.llms-exp-filter-results {
    margin: 20px 0;
}

.llms-exp-filter-results .llms-exp-no-results {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-radius: 12px;
    padding: 30px;
}

.llms-exp-filter-results .llms-exp-no-results h4 {
    color: #856404;
    margin: 0 0 15px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.llms-exp-filter-results .llms-exp-no-results p {
    color: #856404;
    font-size: 1.1em;
    margin: 10px 0;
}

.llms-exp-filter-info {
    font-style: italic;
    font-size: 0.95em !important;
    opacity: 0.8;
}

.llms-exp-report h3 {
    color: #495057;
    border-bottom: 3px solid #6c757d;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 1.5em;
    font-weight: 600;
    position: relative;
}

.llms-exp-report h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border-radius: 2px;
}

.llms-exp-report h4 {
    color: #495057;
    margin: 20px 0 10px 0;
    font-size: 1.2em;
}

.llms-exp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.llms-exp-table thead {
    background: linear-gradient(135deg, #8e9aaf 0%, #6c757d 100%) !important;
    color: white;
}

.llms-exp-report .llms-exp-table thead {
    background: linear-gradient(135deg, #8e9aaf 0%, #6c757d 100%) !important;
}

.llms-exp-table th {
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.llms-exp-table td {
    padding: 12px;
    border-bottom: 1px solid #ecf0f1;
    vertical-align: middle;
}

.llms-exp-table tbody tr:hover {
    background-color: #8e9aaf !important;
    transition: background-color 0.3s ease;
}

.llms-exp-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.llms-exp-table tbody tr:nth-child(even):hover {
    background-color: #8e9aaf !important;
}

/* Status: Vencido */
.llms-exp-status-expired {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
    display: inline-block;
}

/* Status: Próximo do Vencimento */
.llms-exp-status-approaching {
    background: linear-gradient(135deg, #8e9aaf 0%, #6c757d 100%) !important;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(142, 154, 175, 0.3);
    display: inline-block;
}

/* Seções de status */
.llms-exp-expired-section {
    margin-bottom: 30px;
}

.llms-exp-approaching-section {
    margin-bottom: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .llms-exp-wrapper {
        margin: 10px;
        border-radius: 8px;
    }
    
    .llms-exp-report {
        padding: 20px;
    }
    
    .llms-exp-table {
        font-size: 0.9em;
        border-radius: 8px;
    }
    
    .llms-exp-table th,
    .llms-exp-table td {
        padding: 8px 6px;
    }
    
    .llms-exp-report h3 {
        font-size: 1.3em;
        margin-bottom: 20px;
    }
    
    .llms-exp-report h4 {
        font-size: 1.1em;
    }
    
    .llms-exp-filters-header {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        text-align: center;
    }
    
    .llms-exp-filter-actions {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .llms-exp-filter-button,
    .llms-exp-clear-filter-button,
    .llms-exp-export-button {
        width: 100%;
        text-align: center;
    }
    
    .llms-exp-unified-filter-box {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .llms-exp-filter-group {
        min-width: auto;
    }
    
    .llms-exp-date-inputs {
        flex-direction: column;
        gap: 10px;
    }
    
    .llms-exp-date-inputs input[type="date"] {
        width: 100%;
        min-width: auto;
    }
    
    .llms-exp-days-dropdown {
        width: 100%;
    }
    
    .llms-exp-nav-tab-wrapper {
        flex-direction: column;
    }
    
    .llms-exp-nav-tab {
        text-align: center;
        border-radius: 0;
    }
}

@media (max-width: 480px) {
    .llms-exp-report-filters {
        padding: 15px;
    }
    
    .days-filter {
        padding: 15px;
    }
    
    .llms-exp-filter-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .llms-exp-table {
        font-size: 0.8em;
    }
    
    .llms-exp-table th,
    .llms-exp-table td {
        padding: 6px 4px;
    }
    
    .llms-exp-status-expired,
    .llms-exp-status-approaching {
        font-size: 0.75em;
        padding: 3px 6px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.llms-exp-report {
    animation: fadeIn 0.6s ease-out;
}

.llms-exp-table tbody tr {
    animation: fadeIn 0.4s ease-out;
    animation-fill-mode: both;
}

.llms-exp-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.llms-exp-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.llms-exp-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.llms-exp-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.llms-exp-table tbody tr:nth-child(5) { animation-delay: 0.5s; }

/* Nardo Gray Theme - Updated v1.2.1 */

/* Forçar cores nardo gray - Cache Buster */
.llms-exp-wrapper * {
    box-sizing: border-box;
}

.llms-exp-wrapper .nav-tab-wrapper {
    background: linear-gradient(135deg, #8e9aaf 0%, #6c757d 100%) !important;
}

.llms-exp-wrapper .llms-exp-table thead {
    background: linear-gradient(135deg, #8e9aaf 0%, #6c757d 100%) !important;
}

.llms-exp-wrapper .llms-exp-table tbody tr:hover {
    background-color: #8e9aaf !important;
}

.llms-exp-wrapper .llms-exp-status-expired,
.llms-exp-wrapper .llms-exp-status-approaching {
    background: linear-gradient(135deg, #8e9aaf 0%, #6c757d 100%) !important;
}

/* Layout dos filtros unificados - LIMPO SEM CAIXAS */
.llms-exp-unified-filter-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 20px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.llms-exp-unified-filter-box .llms-exp-filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
}

.llms-exp-unified-filter-box .llms-exp-filter-group-course {
    grid-column: 1 / -1 !important;
}

.llms-exp-unified-filter-box .llms-exp-filter-group-course label {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    line-height: 1.6 !important;
}

.llms-exp-unified-filter-box .llms-exp-filter-group-course select {
    height: auto !important;
    min-height: 45px !important;
    
    line-height: 1.4 !important;
    white-space: normal !important;
    font-size: 14px !important;
}

.llms-exp-unified-filter-box .llms-exp-filter-group label {
    font-weight: 600;
    color: #1f2937;
    font-size: 15px;
    margin: 0 0 6px 0;
    padding: 0;
    line-height: 1.4;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Filtro de período com dois inputs */
.llms-exp-unified-filter-box .llms-exp-filter-group:nth-child(2) .llms-exp-date-inputs {
    display: flex;
    gap: 8px;
}

.llms-exp-unified-filter-box .llms-exp-filter-group:nth-child(2) .llms-exp-date-inputs input {
    flex: 1;
}

/* Estilos para todos os inputs dos filtros */
.llms-exp-unified-filter-box .llms-exp-days-dropdown,
.llms-exp-unified-filter-box .llms-exp-date-inputs input,
.llms-exp-unified-filter-box .llms-exp-company-dropdown,
.llms-exp-unified-filter-box .llms-exp-course-dropdown {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    height: 40px;
    line-height: 1.2;
    vertical-align: top;
    width: 100%;
}

.llms-exp-unified-filter-box .llms-exp-days-dropdown,
.llms-exp-unified-filter-box .llms-exp-company-dropdown,
.llms-exp-unified-filter-box .llms-exp-course-dropdown {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.llms-exp-unified-filter-box .llms-exp-days-dropdown:focus,
.llms-exp-unified-filter-box .llms-exp-date-inputs input:focus,
.llms-exp-unified-filter-box .llms-exp-company-dropdown:focus,
.llms-exp-unified-filter-box .llms-exp-course-dropdown:focus {
    outline: none;
    border-color: #6b7280;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1);
    background: #ffffff;
}

.llms-exp-unified-filter-box .llms-exp-days-dropdown:hover,
.llms-exp-unified-filter-box .llms-exp-date-inputs input:hover,
.llms-exp-unified-filter-box .llms-exp-company-dropdown:hover,
.llms-exp-unified-filter-box .llms-exp-course-dropdown:hover {
    border-color: #9ca3af;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Botão de aplicar filtro */
.llms-exp-unified-filter-box .llms-exp-filter-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.llms-exp-unified-filter-box .llms-exp-apply-button {
    padding: 12px 24px;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 150px;
}

.llms-exp-unified-filter-box .llms-exp-apply-button:hover {
    background: #4b5563;
}

/* Responsividade para filtros unificados */
@media (max-width: 768px) {
    .llms-exp-unified-filter-box {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .llms-exp-unified-filter-box .llms-exp-filter-group:last-child {
        grid-column: 1;
    }
    
    .llms-exp-unified-filter-box .llms-exp-days-dropdown,
    .llms-exp-unified-filter-box .llms-exp-date-inputs input,
    .llms-exp-unified-filter-box .llms-exp-company-dropdown,
    .llms-exp-unified-filter-box .llms-exp-course-dropdown {
        width: 100%;
    }
}

/* ===== CORREÇÕES ESPECÍFICAS PARA CONFLITOS ===== */

/* Container principal - ocupar quase todo o espaço */
.dashlifter-content .llms-exp-wrapper {
    width: 98% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

/* Expansão específica para o painel administrativo /dash/ */
body.dashlifter-dashboard .dashlifter-content {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.dashlifter-dashboard .dashlifter-content .llms-exp-wrapper {
    width: 98% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 25px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

/* Tabelas responsivas - EXPANDIDAS */
.dashlifter-content .llms-exp-wrapper .llms-exp-table {
    width: 100% !important;
    table-layout: auto !important;
    font-size: 14px !important;
}

.dashlifter-content .llms-exp-wrapper .llms-exp-table th,
.dashlifter-content .llms-exp-wrapper .llms-exp-table td {
    padding: 15px 12px !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    vertical-align: top !important;
}

/* Colunas específicas com larguras adequadas */
.dashlifter-content .llms-exp-wrapper .llms-exp-table th:nth-child(1),
.dashlifter-content .llms-exp-wrapper .llms-exp-table td:nth-child(1) {
    width: 15% !important;
    min-width: 150px !important;
}

.dashlifter-content .llms-exp-wrapper .llms-exp-table th:nth-child(2),
.dashlifter-content .llms-exp-wrapper .llms-exp-table td:nth-child(2) {
    width: 20% !important;
    min-width: 200px !important;
}

.dashlifter-content .llms-exp-wrapper .llms-exp-table th:nth-child(3),
.dashlifter-content .llms-exp-wrapper .llms-exp-table td:nth-child(3) {
    width: 25% !important;
    min-width: 250px !important;
}

.dashlifter-content .llms-exp-wrapper .llms-exp-table th:nth-child(4),
.dashlifter-content .llms-exp-wrapper .llms-exp-table td:nth-child(4) {
    width: 15% !important;
    min-width: 150px !important;
}

.dashlifter-content .llms-exp-wrapper .llms-exp-table th:nth-child(5),
.dashlifter-content .llms-exp-wrapper .llms-exp-table td:nth-child(5) {
    width: 12% !important;
    min-width: 120px !important;
}

.dashlifter-content .llms-exp-wrapper .llms-exp-table th:nth-child(6),
.dashlifter-content .llms-exp-wrapper .llms-exp-table td:nth-child(6) {
    width: 15% !important;
    min-width: 150px !important;
}

.dashlifter-content .llms-exp-wrapper .llms-exp-table th:nth-child(7),
.dashlifter-content .llms-exp-wrapper .llms-exp-table td:nth-child(7) {
    width: 10% !important;
    min-width: 100px !important;
}

.dashlifter-content .llms-exp-wrapper .llms-exp-table th:nth-child(8),
.dashlifter-content .llms-exp-wrapper .llms-exp-table td:nth-child(8) {
    width: 8% !important;
    min-width: 80px !important;
}

/* Filtros com mais espaço */
.dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 25px !important;
    padding: 30px !important;
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    margin: 20px 0 !important;
    width: 100% !important;
}

/* Melhorar espaçamento dos filtros */
.dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-filter-group {
    min-width: 0 !important;
    flex: 1 !important;
}

/* Labels com quebra de linha */
.dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-filter-group label {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    line-height: 1.3 !important;
}

/* Inputs e selects responsivos */
.dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box select,
.dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box input {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    text-overflow: ellipsis !important;
}

/* Seções com mais espaço */
.dashlifter-content .llms-exp-wrapper .llms-exp-section {
    margin: 20px 0 !important;
    padding: 20px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
}

/* Container da tabela com scroll horizontal */
.dashlifter-content .llms-exp-wrapper .llms-exp-table-container {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    margin: 20px 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Melhorar os filtros para ocupar mais espaço */
.dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    padding: 35px !important;
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin: 20px 0 !important;
    width: 100% !important;
}

/* Inputs dos filtros com mais espaço */
.dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box select,
.dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box input {
    padding: 12px 16px !important;
    font-size: 15px !important;
    min-height: 50px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    transition: all 0.3s ease !important;
}

.dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box select:focus,
.dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box input:focus {
    border-color: #8e9aaf !important;
    box-shadow: 0 0 0 3px rgba(142, 154, 175, 0.1) !important;
    outline: none !important;
}

/* Labels dos filtros com melhor espaçamento */
.dashlifter-content .llms-exp-wrapper .llms-exp-unified-filter-box .llms-exp-filter-group label {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* ===== FULLWIDTH ESPECÍFICO PARA .llms-exp-report ===== */

/* Forçar fullwidth para a div específica */
.llms-exp-report {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* CORREÇÕES ESPECÍFICAS PARA PROBLEMAS DE LAYOUT */

/* Corrigir título cortado */
.llms-exp-section h4 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

/* Container da seção com mais espaço */
.llms-exp-section {
    width: 100% !important;
    max-width: none !important;
    margin: 20px 0 !important;
    padding: 25px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    overflow: visible !important;
}

/* Tabela com largura adequada */
.llms-exp-table {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* Cabeçalho da tabela */
.llms-exp-table thead {
    background: linear-gradient(135deg, #8e9aaf 0%, #6c757d 100%) !important;
    color: white !important;
}

.llms-exp-table th {
    padding: 15px 12px !important;
    text-align: left !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    min-width: 120px !important;
}

/* Células da tabela */
.llms-exp-table td {
    padding: 15px 12px !important;
    border-bottom: 1px solid #ecf0f1 !important;
    vertical-align: middle !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    max-width: 200px !important;
}

/* Linhas da tabela */
.llms-exp-table tbody tr:hover {
    background-color: #f8f9fa !important;
    transition: background-color 0.3s ease !important;
}

.llms-exp-table tbody tr:nth-child(even) {
    background-color: #f8f9fa !important;
}

/* Status badges */
.llms-exp-status-expired {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

.llms-exp-status-approaching {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
    color: #212529 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

/* Botões de ação */
.llms-exp-table .button {
    padding: 6px 12px !important;
    font-size: 11px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

.llms-exp-table .button-secondary {
    background: #6c757d !important;
    color: white !important;
    border: 1px solid #6c757d !important;
}

.llms-exp-table .button-secondary:hover {
    background: #5a6268 !important;
    border-color: #5a6268 !important;
    color: white !important;
}

/* Container principal da div específica */
.dashlifter-content .llms-exp-wrapper .llms-exp-report {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Filtros dentro da div específica */
.llms-exp-report .llms-exp-report-filters {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 25px !important;
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Tabela dentro da div específica */
.llms-exp-report .llms-exp-table {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

/* Seção da tabela */
.llms-exp-report .llms-exp-section {
    width: 100% !important;
    max-width: none !important;
    margin: 20px 0 !important;
    padding: 20px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Container da tabela com scroll horizontal */
.llms-exp-report .llms-exp-section {
    overflow-x: auto !important;
    overflow-y: visible !important;
}

/* Filtros unificados dentro da div específica */
.llms-exp-report .llms-exp-unified-filter-box {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    padding: 35px !important;
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin: 20px 0 !important;
}

/* Headers dos filtros */
.llms-exp-report .llms-exp-filters-header {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    padding-bottom: 20px !important;
    border-bottom: 2px solid #dee2e6 !important;
}

/* Ações dos filtros */
.llms-exp-report .llms-exp-filter-actions {
    display: flex !important;
    gap: 15px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

/* ===== CORREÇÕES CRÍTICAS PARA LAYOUT QUEBRADO ===== */

/* Forçar container principal a ocupar 100% da largura */
body.dashlifter-dashboard .dashlifter-main-content,
body.dashlifter-dashboard .dashlifter-content,
body.dashlifter-dashboard .dashlifter-central,
body.dashlifter-dashboard .dashlifter-main,
body.dashlifter-dashboard main {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Wrapper principal com largura total */
.llms-exp-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

/* Report container */
.llms-exp-report {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Filtros com largura total */
.llms-exp-report-filters {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 20px 0 !important;
    padding: 25px !important;
    background: #f8f9fa !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* Seção da tabela com scroll horizontal */
.llms-exp-section {
    width: 100% !important;
    max-width: none !important;
    margin: 20px 0 !important;
    padding: 25px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
}

/* Título da seção sem corte */
.llms-exp-section h4 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
    display: block !important;
}

/* Tabela com largura adequada - SEM SCROLL HORIZONTAL - SOLUÇÃO DEFINITIVA */
.llms-exp-table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    table-layout: fixed !important;
    word-wrap: break-word !important;
}

/* Cabeçalho da tabela */
.llms-exp-table thead {
    background: linear-gradient(135deg, #8e9aaf 0%, #6c757d 100%) !important;
    color: white !important;
}

.llms-exp-table th {
    padding: 15px 12px !important;
    text-align: left !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    min-width: 120px !important;
}

/* Células da tabela */
.llms-exp-table td {
    padding: 15px 12px !important;
    border-bottom: 1px solid #ecf0f1 !important;
    vertical-align: middle !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    max-width: 200px !important;
}

/* Linhas alternadas */
.llms-exp-table tbody tr:nth-child(even) {
    background-color: #f8f9fa !important;
}

.llms-exp-table tbody tr:hover {
    background-color: #e9ecef !important;
    transition: background-color 0.3s ease !important;
}

/* Status badges melhorados */
.llms-exp-status-expired {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3) !important;
}

.llms-exp-status-approaching {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
    color: #212529 !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3) !important;
}

/* Botões de ação */
.llms-exp-table .button {
    padding: 6px 12px !important;
    font-size: 11px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.llms-exp-table .button-secondary {
    background: #6c757d !important;
    color: white !important;
    border: 1px solid #6c757d !important;
}

.llms-exp-table .button-secondary:hover {
    background: #5a6268 !important;
    border-color: #5a6268 !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

/* ===== SISTEMA DE DROPDOWN PARA DETALHES DO ALUNO ===== */

/* Linha do aluno */
.llms-exp-student-row {
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}

.llms-exp-student-row:hover {
    background-color: #f8f9fa !important;
}

.llms-exp-student-row.llms-exp-student-expanded {
    background-color: #e3f2fd !important;
    border-left: 4px solid #2196f3 !important;
}

/* Nome do aluno clicável */
.llms-exp-student-name {
    padding: 0 !important;
}

.llms-exp-student-toggle {
    background: none !important;
    border: none !important;
    padding: 15px 12px !important;
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
}

.llms-exp-student-toggle:hover {
    background-color: #f1f5f9 !important;
    color: #2196f3 !important;
}

.llms-exp-student-name-text {
    flex: 1 !important;
    margin-right: 10px !important;
}

.llms-exp-dropdown-arrow {
    font-size: 12px !important;
    color: #6b7280 !important;
    transition: transform 0.3s ease !important;
    margin-left: 10px !important;
}

.llms-exp-student-expanded .llms-exp-dropdown-arrow {
    transform: rotate(180deg) !important;
    color: #2196f3 !important;
}

/* Linha de detalhes (dropdown) */
.llms-exp-student-details {
    background-color: #f8f9fa !important;
    border-left: 4px solid #2196f3 !important;
}

.llms-exp-student-details td {
    padding: 0 !important;
    border-top: none !important;
    background-color: #f8f9fa !important;
}

.llms-exp-student-details-content {
    padding: 20px !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-radius: 8px !important;
    margin: 10px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.llms-exp-details-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 15px !important;
}

.llms-exp-detail-item {
    background: #ffffff !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    border-left: 3px solid #2196f3 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
}

.llms-exp-detail-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

.llms-exp-detail-item strong {
    color: #374151 !important;
    font-weight: 600 !important;
    margin-right: 8px !important;
}

/* Responsividade para o dropdown */
@media (max-width: 768px) {
    .llms-exp-details-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    
    .llms-exp-student-details-content {
        padding: 15px !important;
        margin: 5px !important;
    }
    
    .llms-exp-detail-item {
        padding: 10px 12px !important;
    }
}

/* ===== CORREÇÕES PARA LINHA INTEIRA CLICÁVEL ===== */

/* Larguras específicas das colunas - SEM SCROLL - SOLUÇÃO DEFINITIVA */
.llms-exp-table th:nth-child(1),
.llms-exp-table td:nth-child(1) {
    width: 16% !important;
    min-width: 120px !important;
    max-width: 180px !important;
}

.llms-exp-table th:nth-child(2),
.llms-exp-table td:nth-child(2) {
    width: 42% !important;
    min-width: 200px !important;
    max-width: 350px !important;
}

.llms-exp-table th:nth-child(3),
.llms-exp-table td:nth-child(3) {
    width: 20% !important;
    min-width: 160px !important;
    max-width: 200px !important;
}

.llms-exp-table th:nth-child(4),
.llms-exp-table td:nth-child(4) {
    width: 22% !important;
    min-width: 180px !important;
    max-width: 220px !important;
}

/* Linha inteira clicável */
.llms-exp-student-row {
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.llms-exp-student-row:hover {
    background-color: #f8f9fa !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

.llms-exp-student-row.llms-exp-student-expanded {
    background-color: #e3f2fd !important;
    border-left: 4px solid #2196f3 !important;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2) !important;
}

/* Nome do aluno simplificado */
.llms-exp-student-name {
    padding: 15px 12px !important;
}

.llms-exp-student-name-text {
    font-weight: 600 !important;
    color: #1f2937 !important;
}

/* Célula de ações com seta no final */
.llms-exp-actions-cell {
    position: relative !important;
    padding: 15px 12px !important;
}

.llms-exp-actions-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
}

.llms-exp-actions-cell form {
    flex: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

.llms-exp-dropdown-arrow {
    font-size: 14px !important;
    color: #6b7280 !important;
    transition: transform 0.3s ease !important;
    cursor: pointer !important;
    padding: 5px !important;
    border-radius: 50% !important;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    min-width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.llms-exp-dropdown-arrow:hover {
    background: #e9ecef !important;
    color: #495057 !important;
}

.llms-exp-student-expanded .llms-exp-dropdown-arrow {
    transform: rotate(180deg) !important;
    color: #2196f3 !important;
    background: #e3f2fd !important;
    border-color: #2196f3 !important;
}

/* Remover scroll horizontal */
.llms-exp-section {
    overflow-x: visible !important;
    overflow-y: visible !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Tabela sem scroll */
.llms-exp-table {
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Container principal sem scroll */
.llms-exp-wrapper {
    overflow-x: visible !important;
    overflow-y: visible !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Células da tabela com quebra de texto */
.llms-exp-table td {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    max-width: none !important;
}

/* Treinamento com quebra de linha */
.llms-exp-table td:nth-child(2) {
    word-break: break-word !important;
    line-height: 1.4 !important;
}

/* ===== SOLUÇÃO DEFINITIVA PARA SCROLL HORIZONTAL ===== */

/* Forçar container principal a não ter scroll */
.llms-exp-wrapper,
.llms-exp-report,
.llms-exp-section {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Tabela com comportamento responsivo */
.llms-exp-table {
    table-layout: fixed !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
}

/* Células com comportamento responsivo */
.llms-exp-table td,
.llms-exp-table th {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    box-sizing: border-box !important;
    padding: 8px 6px !important;
}

/* Detalhes do dropdown responsivos */
.llms-exp-details-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 5px !important;
}

.llms-exp-detail-item {
    background: #ffffff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 6px !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

/* Botões responsivos */
.llms-exp-actions-content {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.llms-exp-actions-content form {
    flex: 1 !important;
    min-width: 0 !important;
}

.llms-exp-actions-content button {
    font-size: 11px !important;
    padding: 6px 10px !important;
    white-space: nowrap !important;
    min-width: 80px !important;
    max-width: none !important;
    overflow: visible !important;
    text-overflow: unset !important;
    width: auto !important;
}

.llms-exp-dropdown-arrow {
    flex-shrink: 0 !important;
    min-width: 24px !important;
    width: 24px !important;
    height: 24px !important;
}

/* ===== RESPONSIVIDADE PARA TELAS PEQUENAS ===== */

/* Para telas menores que 1200px */
@media (max-width: 1200px) {
    .llms-exp-table th:nth-child(1),
    .llms-exp-table td:nth-child(1) {
        width: 20% !important;
        max-width: 150px !important;
    }
    
    .llms-exp-table th:nth-child(2),
    .llms-exp-table td:nth-child(2) {
        width: 50% !important;
        max-width: 300px !important;
    }
    
    .llms-exp-table th:nth-child(3),
    .llms-exp-table td:nth-child(3) {
        width: 15% !important;
        max-width: 120px !important;
    }
    
    .llms-exp-table th:nth-child(4),
    .llms-exp-table td:nth-child(4) {
        width: 15% !important;
        max-width: 150px !important;
    }
}

/* Para telas menores que 768px */
@media (max-width: 768px) {
    .llms-exp-details-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    .llms-exp-actions-content {
        flex-direction: column !important;
        gap: 5px !important;
    }
    
    .llms-exp-actions-content button {
        font-size: 11px !important;
        padding: 3px 6px !important;
    }
    
    .llms-exp-table td,
    .llms-exp-table th {
        padding: 6px 4px !important;
        font-size: 12px !important;
    }
}

/* Forçar quebra de linha em textos longos */
.llms-exp-table td:nth-child(2) {
    word-break: break-all !important;
    hyphens: auto !important;
    line-height: 1.3 !important;
}

/* Status com texto completo visível */
.llms-exp-status-approaching,
.llms-exp-status-expired {
    font-size: 11px !important;
    padding: 6px 10px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
    max-width: none !important;
    min-width: 160px !important;
    display: inline-block !important;
    text-align: center !important;
    width: auto !important;
    max-width: 100% !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

/* Célula de status com espaço adequado */
.llms-exp-table td:nth-child(3) {
    text-align: center !important;
    vertical-align: middle !important;
    padding: 8px 6px !important;
    min-width: 180px !important;
    max-width: 220px !important;
    overflow: visible !important;
}

/* Garantir que o texto do status não seja cortado */
.llms-exp-table td:nth-child(3) span {
    display: inline-block !important;
    width: auto !important;
    max-width: 100% !important;
    overflow: visible !important;
    text-overflow: unset !important;
    white-space: nowrap !important;
}
.llms-exp-status-ignored {
    background: #28a745 !important;
    color: #ffffff !important;
    border: 1px solid #1e7e34 !important;
    border-radius: 15px !important;
    padding: 6px 12px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    min-width: 100px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
    display: inline-block !important;
}