/* Custom styles for the application */

/* Welcome banner */
.welcome-banner {
    background: linear-gradient(135deg, #4099ff 0%, #00bcd4 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.welcome-banner h2 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.welcome-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.img-welcome-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Card customizations */
.card {
    border-radius: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 1rem 1.25rem;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
}

.card-body {
    padding: 1.25rem;
}

/* Table styling */
.table th {
    border-top: none;
    font-weight: 600;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Badge styling */
.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}

/* Button styling */
.btn-buy {
    border: 2px solid white;
    font-weight: 600;
}

.btn-buy:hover {
    background-color: white;
    color: #4099ff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .welcome-banner .img-welcome-banner {
        margin-top: 1.5rem;
    }

    .card-body {
        padding: 1rem;
    }
    
    /* Mobile table improvements */
    .table-responsive {
        font-size: 0.875rem;
    }
    
    /* Mobile button improvements */
    .btn-group-vertical .btn {
        margin-bottom: 0.25rem;
    }
}

/* Additional mobile navbar fixes */
@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Ensure proper spacing for mobile menu */
    .navbar-nav .dropdown-menu {
        border-radius: 0.375rem;
        margin-top: 0.25rem;
    }
    
    /* Mobile-friendly notification button */
    .notification-trigger {
        width: 100%;
        justify-content: center;
    }
}

/* Global search suggestions */
.search-results-panel {
    display: grid;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    box-shadow: 0 0.65rem 1.75rem rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-result-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    background: rgba(99, 102, 241, 0.04);
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.search-result-item:hover,
.search-result-item:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.16);
    border-color: rgba(99, 102, 241, 0.35);
    background: rgba(99, 102, 241, 0.08);
    color: inherit;
}

.search-result-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #475569 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
}

.search-result-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.search-result-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1f2937;
}

.search-result-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
}

.search-result-chevron {
    color: #475569;
    font-size: 1.25rem;
    opacity: 0.7;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.search-result-item:hover .search-result-chevron,
.search-result-item:focus .search-result-chevron {
    opacity: 1;
    transform: translateX(2px);
}

@media (max-width: 576px) {
    .search-results-panel {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .search-result-item {
        padding: 0.75rem;
    }
}

/* ========================================
   GLOBAL DARK MODE SUPPORT
   ======================================== */

/* Card dark mode */
[data-pc-theme="dark"] .card {
    background-color: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e0e6ed;
}

[data-pc-theme="dark"] .card-header {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

/* Table dark mode */
[data-pc-theme="dark"] .table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Search results dark mode */
[data-pc-theme="dark"] .search-results-panel {
    background: #252830;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0.65rem 1.75rem rgba(0, 0, 0, 0.35);
}

[data-pc-theme="dark"] .search-result-item {
    background: rgba(255, 255, 255, 0.04);
}

[data-pc-theme="dark"] .search-result-item:hover,
[data-pc-theme="dark"] .search-result-item:focus {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

[data-pc-theme="dark"] .search-result-title {
    color: #f1f5f9;
}

[data-pc-theme="dark"] .search-result-subtitle {
    color: #94a3b8;
}

/* Breadcrumbs dark mode */
[data-pc-theme="dark"] .breadcrumb {
    background: transparent;
}

[data-pc-theme="dark"] .breadcrumb-item a {
    color: #818cf8;
}

[data-pc-theme="dark"] .breadcrumb-item.active {
    color: #94a3b8;
}

[data-pc-theme="dark"] .breadcrumb-item + .breadcrumb-item::before {
    color: #64748b;
}

/* Page headers dark mode */
[data-pc-theme="dark"] .page-header-title h4,
[data-pc-theme="dark"] .page-header-title h3,
[data-pc-theme="dark"] .page-header-title h2 {
    color: #f1f5f9;
}

/* Modals dark mode */
[data-pc-theme="dark"] .modal-content {
    background: #1e2228;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-pc-theme="dark"] .modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-pc-theme="dark"] .modal-title {
    color: #f1f5f9;
}

[data-pc-theme="dark"] .modal-body {
    color: #e0e6ed;
}

[data-pc-theme="dark"] .modal-footer {
    border-top-color: rgba(255, 255, 255, 0.08);
}

[data-pc-theme="dark"] .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Offcanvas dark mode */
[data-pc-theme="dark"] .offcanvas {
    background: #1e2228;
    color: #e0e6ed;
}

[data-pc-theme="dark"] .offcanvas-header {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-pc-theme="dark"] .offcanvas-title {
    color: #f1f5f9;
}

/* Alerts dark mode adjustments */
[data-pc-theme="dark"] .alert-light {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e6ed;
}

/* List groups dark mode */
[data-pc-theme="dark"] .list-group-item {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
    color: #e0e6ed;
}

[data-pc-theme="dark"] .list-group-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Accordion dark mode */
[data-pc-theme="dark"] .accordion-item {
    background: #1e2228;
    border-color: rgba(255, 255, 255, 0.08);
}

[data-pc-theme="dark"] .accordion-button {
    background: transparent;
    color: #f1f5f9;
}

[data-pc-theme="dark"] .accordion-button:not(.collapsed) {
    background: rgba(255, 255, 255, 0.03);
    color: #a5b4fc;
}

[data-pc-theme="dark"] .accordion-button::after {
    filter: invert(1);
}

/* Tabs dark mode */
[data-pc-theme="dark"] .nav-tabs {
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-pc-theme="dark"] .nav-tabs .nav-link {
    color: #94a3b8;
}

[data-pc-theme="dark"] .nav-tabs .nav-link:hover {
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e6ed;
}

[data-pc-theme="dark"] .nav-tabs .nav-link.active {
    background: #1e2228;
    border-color: rgba(255, 255, 255, 0.08);
    border-bottom-color: #1e2228;
    color: #f1f5f9;
}

/* Pills dark mode */
[data-pc-theme="dark"] .nav-pills .nav-link {
    color: #94a3b8;
}

[data-pc-theme="dark"] .nav-pills .nav-link:hover {
    color: #e0e6ed;
}

[data-pc-theme="dark"] .nav-pills .nav-link.active {
    background: #475569;
    color: #fff;
}

/* ========================================
   STAT CARDS & SUMMARY CARDS DARK MODE
   ======================================== */

/* Generic stat-card dark mode */
[data-pc-theme="dark"] .stat-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

[data-pc-theme="dark"] .stat-card .stat-value,
[data-pc-theme="dark"] .stat-card .stat-number,
[data-pc-theme="dark"] .stat-card h3,
[data-pc-theme="dark"] .stat-card h4,
[data-pc-theme="dark"] .stat-card strong {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .stat-card .stat-label,
[data-pc-theme="dark"] .stat-card .stat-title,
[data-pc-theme="dark"] .stat-card span,
[data-pc-theme="dark"] .stat-card h6 {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .stat-card .stat-footer {
    color: #64748b !important;
}

/* summary-stat dark mode */
[data-pc-theme="dark"] .summary-stat {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

[data-pc-theme="dark"] .summary-stat .summary-value,
[data-pc-theme="dark"] .summary-stat-value {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .summary-stat .summary-label,
[data-pc-theme="dark"] .summary-stat-label {
    color: #94a3b8 !important;
}

/* kpi-card dark mode */
[data-pc-theme="dark"] .kpi-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .kpi-card:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-pc-theme="dark"] .kpi-card .kpi-value {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .kpi-card .kpi-label {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .kpi-card .kpi-icon {
    color: #94a3b8 !important;
}

/* metric-card / album-stat-card dark mode */
[data-pc-theme="dark"] .metric-card,
[data-pc-theme="dark"] .album-stat-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

[data-pc-theme="dark"] .metric-card .metric-value,
[data-pc-theme="dark"] .album-stat-card .metric-value {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .metric-card .metric-label,
[data-pc-theme="dark"] .album-stat-card .metric-label {
    color: #94a3b8 !important;
}

/* ge-stat-card (shared component) dark mode */
[data-pc-theme="dark"] .ge-stat-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

[data-pc-theme="dark"] .ge-stat-card .ge-stat-value {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .ge-stat-card .ge-stat-label {
    color: #94a3b8 !important;
}

/* ========================================
   EXECUTIVE & ALERT ITEMS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .executive-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

[data-pc-theme="dark"] .alert-item {
    background: rgba(255, 255, 255, 0.03) !important;
}

/* ========================================
   TURMA CARDS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .turma-card {
    background: #1e2228 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

[data-pc-theme="dark"] .turma-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

/* ========================================
   INFO CARDS & DETAILS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .info-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .info-card h5,
[data-pc-theme="dark"] .info-card h6 {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .details-header {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .details-header h1,
[data-pc-theme="dark"] .details-header h2,
[data-pc-theme="dark"] .details-header h3 {
    color: #f1f5f9 !important;
}

/* ========================================
   FILTERS & PANELS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .filters-card,
[data-pc-theme="dark"] .filter-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .panel,
[data-pc-theme="dark"] .content-panel {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ========================================
   WIZARD & SUMMARY DARK MODE
   ======================================== */

[data-pc-theme="dark"] .wizard-container {
    background: #1e2228 !important;
}

[data-pc-theme="dark"] .wizard-header {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .wizard-header p {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .wizard-step {
    background: transparent !important;
}

[data-pc-theme="dark"] .step-title,
[data-pc-theme="dark"] .step-description {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .summary-stats {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .summary-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ========================================
   TABLES & DATA GRIDS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .table-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .table {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .table th {
    color: #94a3b8 !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .table td {
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

[data-pc-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

[data-pc-theme="dark"] .table-bordered {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .table-bordered th,
[data-pc-theme="dark"] .table-bordered td {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ========================================
   FORM CONTROLS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .form-control,
[data-pc-theme="dark"] .form-select {
    background-color: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .form-control:focus,
[data-pc-theme="dark"] .form-select:focus {
    background-color: #2a2f38 !important;
    border-color: #475569 !important;
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25) !important;
}

[data-pc-theme="dark"] .form-control::placeholder {
    color: #64748b !important;
}

[data-pc-theme="dark"] .form-label {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .form-text {
    color: #64748b !important;
}

[data-pc-theme="dark"] .input-group-text {
    background-color: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #94a3b8 !important;
}

/* ========================================
   QUICK ACTIONS & BUTTONS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .quick-action {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .quick-action:hover {
    background: #2a2f38 !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}

[data-pc-theme="dark"] .quick-action-icon {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* ========================================
   SECTION HEADERS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .section-header {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .section-title {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .section-subtitle {
    color: #94a3b8 !important;
}

/* ========================================
   CHART PLACEHOLDERS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .chart-placeholder {
    background: linear-gradient(135deg, #252830 0%, #1e2228 100%) !important;
    color: #818cf8 !important;
}

/* ========================================
   DROPDOWNS & MENUS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .dropdown-menu {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

[data-pc-theme="dark"] .dropdown-item {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .dropdown-item:hover,
[data-pc-theme="dark"] .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ========================================
   BADGES DARK MODE ADJUSTMENTS
   ======================================== */

[data-pc-theme="dark"] .badge.bg-light {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .badge.text-dark {
    color: #e0e6ed !important;
}

/* ========================================
   INLINE MODALS DARK MODE
   ======================================== */

[data-pc-theme="dark"] [style*="background:#fff"],
[data-pc-theme="dark"] [style*="background: #fff"],
[data-pc-theme="dark"] [style*="background:white"],
[data-pc-theme="dark"] [style*="background: white"] {
    background: #1e2228 !important;
}

/* ========================================
   GENERAL TEXT COLORS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .text-dark {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .text-muted {
    color: #64748b !important;
}

[data-pc-theme="dark"] .text-secondary {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] h1,
[data-pc-theme="dark"] h2,
[data-pc-theme="dark"] h3,
[data-pc-theme="dark"] h4,
[data-pc-theme="dark"] h5,
[data-pc-theme="dark"] h6 {
    color: #f1f5f9;
}

[data-pc-theme="dark"] p {
    color: #e0e6ed;
}

/* ========================================
   BG-WHITE & BG-LIGHT DARK MODE OVERRIDES
   ======================================== */

[data-pc-theme="dark"] .bg-white {
    background-color: #1e2228 !important;
}

[data-pc-theme="dark"] .bg-light {
    background-color: #252830 !important;
}

[data-pc-theme="dark"] .bg-light-primary,
[data-pc-theme="dark"] .bg-light-warning,
[data-pc-theme="dark"] .bg-light-success,
[data-pc-theme="dark"] .bg-light-info,
[data-pc-theme="dark"] .bg-light-danger {
    opacity: 0.85;
}

/* ========================================
   PROGRESS BARS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .progress {
    background-color: #252830 !important;
}

/* ========================================
   BORDERS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .border {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .border-bottom {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .border-top {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] hr {
    border-color: rgba(255, 255, 255, 0.08);
}

/* ========================================
   SPECIFIC VIEW COMPONENTS DARK MODE
   ======================================== */

/* LGPD Modal and similar inline modals */
[data-pc-theme="dark"] .lgpd-modal-content,
[data-pc-theme="dark"] .inline-modal-content {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

/* ClubeVantagens & Ofertas components */
[data-pc-theme="dark"] .partner-card,
[data-pc-theme="dark"] .offer-card,
[data-pc-theme="dark"] .voucher-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .partner-card h5,
[data-pc-theme="dark"] .offer-card h5,
[data-pc-theme="dark"] .voucher-card h5 {
    color: #f1f5f9 !important;
}

/* Album stat icons with light backgrounds */
[data-pc-theme="dark"] .album-stat-icon {
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Follow-up modals */
[data-pc-theme="dark"] .followup-modal .modal-content,
[data-pc-theme="dark"] .timeline-modal .modal-content {
    background: #1e2228 !important;
}

/* Quill editor dark mode */
[data-pc-theme="dark"] .ql-container,
[data-pc-theme="dark"] .ql-editor {
    background: #252830 !important;
    color: #e0e6ed !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-pc-theme="dark"] .ql-toolbar {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-pc-theme="dark"] .ql-toolbar button {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .ql-toolbar button:hover {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .ql-toolbar .ql-stroke {
    stroke: #94a3b8 !important;
}

[data-pc-theme="dark"] .ql-toolbar .ql-fill {
    fill: #94a3b8 !important;
}

[data-pc-theme="dark"] .ql-picker-label {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .ql-picker-options {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Select2 dark mode */
[data-pc-theme="dark"] .select2-container--default .select2-selection--single,
[data-pc-theme="dark"] .select2-container--default .select2-selection--multiple {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .select2-dropdown {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-pc-theme="dark"] .select2-results__option {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .select2-results__option--highlighted {
    background: rgba(99, 102, 241, 0.2) !important;
}

[data-pc-theme="dark"] .select2-search__field {
    background: #1e2228 !important;
    color: #e0e6ed !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* DataTables dark mode */
[data-pc-theme="dark"] .dataTables_wrapper {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .dataTables_wrapper .dataTables_length,
[data-pc-theme="dark"] .dataTables_wrapper .dataTables_filter,
[data-pc-theme="dark"] .dataTables_wrapper .dataTables_info,
[data-pc-theme="dark"] .dataTables_wrapper .dataTables_paginate {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .dataTables_wrapper .dataTables_length select,
[data-pc-theme="dark"] .dataTables_wrapper .dataTables_filter input {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button {
    background: transparent !important;
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #475569 !important;
    color: #fff !important;
}

/* Checkbox cards */
[data-pc-theme="dark"] .checkbox-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-pc-theme="dark"] .checkbox-card:hover {
    border-color: #475569 !important;
    background: rgba(99, 102, 241, 0.08) !important;
}

[data-pc-theme="dark"] .checkbox-card label {
    color: #e0e6ed !important;
}

/* Table items */
[data-pc-theme="dark"] .table-item {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .table-item:hover {
    border-color: #475569 !important;
}

/* ========================================
   PRINT BUTTONS & SPECIAL ACTIONS
   ======================================== */

/* Print/action buttons that have inline white backgrounds */
[data-pc-theme="dark"] button[style*="background: white"],
[data-pc-theme="dark"] button[style*="background:white"] {
    background: #252830 !important;
    color: #e0e6ed !important;
}

/* ========================================
   EMPTY STATES & PLACEHOLDERS
   ======================================== */

[data-pc-theme="dark"] .empty-state,
[data-pc-theme="dark"] .no-data,
[data-pc-theme="dark"] .placeholder-content {
    color: #64748b !important;
}

[data-pc-theme="dark"] .empty-state i,
[data-pc-theme="dark"] .no-data i {
    color: #475569 !important;
}

/* ========================================
   TOAST & NOTIFICATIONS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .toast {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .toast-header {
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
}

/* ========================================
   POPOVERS & TOOLTIPS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .popover {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-pc-theme="dark"] .popover-header {
    background: rgba(255, 255, 255, 0.03) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .popover-body {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .tooltip-inner {
    background: #1e2228 !important;
    color: #e0e6ed !important;
}

/* ========================================
   CALENDARS & DATE PICKERS DARK MODE
   ======================================== */

[data-pc-theme="dark"] .flatpickr-calendar {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

[data-pc-theme="dark"] .flatpickr-months {
    background: #1e2228 !important;
}

[data-pc-theme="dark"] .flatpickr-month {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .flatpickr-weekdays {
    background: #1e2228 !important;
}

[data-pc-theme="dark"] .flatpickr-weekday {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .flatpickr-day {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .flatpickr-day:hover {
    background: rgba(99, 102, 241, 0.2) !important;
}

[data-pc-theme="dark"] .flatpickr-day.selected {
    background: #475569 !important;
    border-color: #475569 !important;
}

[data-pc-theme="dark"] .flatpickr-day.today {
    border-color: #818cf8 !important;
}

[data-pc-theme="dark"] .flatpickr-day.prevMonthDay,
[data-pc-theme="dark"] .flatpickr-day.nextMonthDay {
    color: #475569 !important;
}

/* ========================================
   HERO SECTIONS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .clube-hero,
[data-pc-theme="dark"] .page-hero,
[data-pc-theme="dark"] .hero-section,
[data-pc-theme="dark"] .dashboard-welcome {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .clube-hero h1,
[data-pc-theme="dark"] .page-hero h1,
[data-pc-theme="dark"] .hero-section h1 {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .clube-hero p,
[data-pc-theme="dark"] .page-hero p,
[data-pc-theme="dark"] .hero-section p {
    color: #94a3b8 !important;
}

/* ========================================
   CHART & RESULT CONTAINERS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .chart-container,
[data-pc-theme="dark"] .chart-card,
[data-pc-theme="dark"] .result-container {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .chart-title,
[data-pc-theme="dark"] .chart-header h5 {
    color: #f1f5f9 !important;
}

/* ========================================
   QUICK ACTION CARDS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .quick-action-card,
[data-pc-theme="dark"] .action-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .quick-action-card:hover,
[data-pc-theme="dark"] .action-card:hover {
    border-color: rgba(99, 102, 241, 0.4) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

[data-pc-theme="dark"] .quick-action-title {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .quick-action-desc {
    color: #94a3b8 !important;
}

/* ========================================
   SCENARIO & RESULT CARDS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .scenario-card,
[data-pc-theme="dark"] .result-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .scenario-card:hover,
[data-pc-theme="dark"] .result-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

[data-pc-theme="dark"] .scenario-title,
[data-pc-theme="dark"] .result-title {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .result-item {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

[data-pc-theme="dark"] .result-label {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .result-value {
    color: #f1f5f9 !important;
}

/* ========================================
   PARTNER & OFFER CARDS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .partner-card,
[data-pc-theme="dark"] .offer-card,
[data-pc-theme="dark"] .voucher-card,
[data-pc-theme="dark"] .coupon-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .partner-card:hover,
[data-pc-theme="dark"] .offer-card:hover,
[data-pc-theme="dark"] .voucher-card:hover,
[data-pc-theme="dark"] .coupon-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

[data-pc-theme="dark"] .partner-name,
[data-pc-theme="dark"] .offer-title,
[data-pc-theme="dark"] .voucher-title {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .partner-category,
[data-pc-theme="dark"] .offer-description,
[data-pc-theme="dark"] .voucher-description {
    color: #94a3b8 !important;
}

/* ========================================
   TICKET CARDS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .ticket-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .ticket-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

/* ========================================
   ALBUM & GALLERY CARDS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .album-card,
[data-pc-theme="dark"] .gallery-card,
[data-pc-theme="dark"] .photo-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .album-card:hover,
[data-pc-theme="dark"] .gallery-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

/* ========================================
   CONTRATO CARDS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .contrato-card,
[data-pc-theme="dark"] .contract-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .contrato-card:hover,
[data-pc-theme="dark"] .contract-card:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4) !important;
}

/* ========================================
   EVENT & EVENTO CARDS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .event-card,
[data-pc-theme="dark"] .evento-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .event-card:hover,
[data-pc-theme="dark"] .evento-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

/* ========================================
   FORMANDO CARDS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .formando-card,
[data-pc-theme="dark"] .user-card,
[data-pc-theme="dark"] .member-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .formando-card:hover,
[data-pc-theme="dark"] .user-card:hover,
[data-pc-theme="dark"] .member-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

/* ========================================
   VIEW ALL BUTTONS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .view-all-btn,
[data-pc-theme="dark"] .btn-view-all {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .view-all-btn:hover,
[data-pc-theme="dark"] .btn-view-all:hover {
    background: #2a2f38 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #f1f5f9 !important;
}

/* ========================================
   FILTER CARDS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .filter-card,
[data-pc-theme="dark"] .filters-section {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ========================================
   VIEW TOGGLE DARK MODE
   ======================================== */
[data-pc-theme="dark"] .view-toggle {
    background: #252830 !important;
}

[data-pc-theme="dark"] .view-toggle .btn {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .view-toggle .btn.active {
    background: #1e2228 !important;
    color: #f1f5f9 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* ========================================
   BULK ACTIONS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .bulk-actions {
    background: rgba(251, 191, 36, 0.15) !important;
    border-color: rgba(251, 191, 36, 0.3) !important;
    color: #fbbf24 !important;
}

/* ========================================
   WIZARD CARDS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .wizard-card,
[data-pc-theme="dark"] .step-card {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .wizard-footer {
    border-top-color: rgba(255, 255, 255, 0.08) !important;
}

/* ========================================
   WIZARD STEPPER & COMPONENTS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .wizard-header {
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .wizard-header h1 {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .wizard-meta-item .value {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .wizard-meta-item .label {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .wizard-stepper-item {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .wizard-stepper-item:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: #252830 !important;
}

[data-pc-theme="dark"] .wizard-stepper-item.active {
    border-color: #475569 !important;
    background: rgba(99, 102, 241, 0.08) !important;
}

[data-pc-theme="dark"] .wizard-stepper-item.completed {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.08) !important;
}

[data-pc-theme="dark"] .wizard-stepper-item .step-index {
    color: #94a3b8 !important;
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-pc-theme="dark"] .wizard-stepper-item.active .step-index {
    background: #475569 !important;
    color: #fff !important;
    border-color: #475569 !important;
}

[data-pc-theme="dark"] .wizard-stepper-item .step-text .fw-semibold {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .wizard-stepper-item.active .step-text .fw-semibold {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .wizard-stepper-item .step-text small {
    color: #64748b !important;
}

/* Plan, Extra & Event cards in wizard */
[data-pc-theme="dark"] .plan-card,
[data-pc-theme="dark"] .extra-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .plan-card:hover,
[data-pc-theme="dark"] .extra-card:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

[data-pc-theme="dark"] .plan-card.selected,
[data-pc-theme="dark"] .extra-card.selected {
    border-color: #818cf8 !important;
    box-shadow: 0 0 0 1px #818cf8 !important;
}

[data-pc-theme="dark"] .plan-card.selected::after,
[data-pc-theme="dark"] .extra-card.selected::after {
    background: #475569 !important;
}

[data-pc-theme="dark"] .plan-price {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .tag {
    background: #252830 !important;
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .tag.tag-popular {
    background: rgba(251, 191, 36, 0.15) !important;
    color: #fbbf24 !important;
}

/* Formando pill */
[data-pc-theme="dark"] .formando-pill {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .formando-pill:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Autocomplete dropdown */
[data-pc-theme="dark"] .autocomplete-dropdown {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
}

[data-pc-theme="dark"] .autocomplete-item {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .autocomplete-item:hover,
[data-pc-theme="dark"] .autocomplete-item.highlighted {
    background: rgba(99, 102, 241, 0.1) !important;
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .autocomplete-empty {
    color: #64748b !important;
}

/* Tip card */
[data-pc-theme="dark"] .tip-card {
    background: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .tip-card h6 {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .tip-card p,
[data-pc-theme="dark"] .tip-card ul li {
    color: #94a3b8 !important;
}

/* ========================================
   PLAN PILLS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .plan-pill {
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .plan-pill.selected {
    border-color: #818cf8 !important;
    background: rgba(99, 102, 241, 0.15) !important;
    color: #a5b4fc !important;
}

/* ========================================
   CONFIRM DIALOGS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .confirm-dialog {
    background: #1e2228 !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .confirm-dialog .btn-cancel {
    background: #252830 !important;
    color: #e0e6ed !important;
}

/* ========================================
   TURMA GRID ITEMS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .turma-grid-item {
    background: #1e2228 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

[data-pc-theme="dark"] .turma-grid-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

/* ========================================
   NAV ELEVATED (TABS) DARK MODE
   ======================================== */
[data-pc-theme="dark"] .nav-elevated {
    background: #252830 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .nav-elevated .nav-link {
    color: #94a3b8 !important;
}

[data-pc-theme="dark"] .nav-elevated .nav-link:hover {
    color: #e0e6ed !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

[data-pc-theme="dark"] .nav-elevated .nav-link.active {
    color: #f1f5f9 !important;
    background: rgba(99, 102, 241, 0.15) !important;
}

[data-pc-theme="dark"] .nav-elevated .nav-link.active::after {
    background: #818cf8 !important;
}

/* ========================================
   TAB PANE DARK MODE
   ======================================== */
[data-pc-theme="dark"] .tab-pane {
    background: #1e2228 !important;
}

[data-pc-theme="dark"] .tab-pane h5 {
    color: #f1f5f9 !important;
}

/* ========================================
   COMMUNICATION LINKS DARK MODE
   ======================================== */
[data-pc-theme="dark"] .communication-links a {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .communication-links a:hover {
    background: rgba(99, 102, 241, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
    color: #a5b4fc !important;
}

/* ========================================
   HIGHLIGHT PILLS & BADGES DARK MODE
   ======================================== */
[data-pc-theme="dark"] .highlight-pill,
[data-pc-theme="dark"] .badge-soft {
    background: rgba(99, 102, 241, 0.2) !important;
    color: #a5b4fc !important;
}

/* ========================================
   TURMA OBSERVACOES DARK MODE
   ======================================== */
[data-pc-theme="dark"] .turma-observacoes {
    background: rgba(251, 191, 36, 0.1) !important;
    border-color: rgba(251, 191, 36, 0.3) !important;
    color: #fbbf24 !important;
}

/* ========================================
   CALENDAR DARK MODE
   ======================================== */
[data-pc-theme="dark"] .calendar-grid {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .calendar-header {
    background-color: #4f46e5 !important;
}

[data-pc-theme="dark"] .calendar-day {
    background-color: #1e2228 !important;
}

[data-pc-theme="dark"] .calendar-day-number {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .calendar-day.other-month {
    background-color: #252830 !important;
}

[data-pc-theme="dark"] .calendar-day.today {
    background-color: rgba(99, 102, 241, 0.15) !important;
}

[data-pc-theme="dark"] .calendar-event {
    background-color: #475569 !important;
}

[data-pc-theme="dark"] .calendar-event:hover {
    background-color: #4f46e5 !important;
}

/* ========================================
   CHOICES.JS DROPDOWN DARK MODE
   ======================================== */

[data-pc-theme="dark"] .choices__inner {
    background-color: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-pc-theme="dark"] .choices__inner .choices__input {
    background-color: transparent !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .choices__input::placeholder {
    color: #64748b !important;
}

[data-pc-theme="dark"] .choices__list--dropdown,
[data-pc-theme="dark"] .choices__list[aria-expanded] {
    background-color: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}

[data-pc-theme="dark"] .choices__list--dropdown .choices__item,
[data-pc-theme="dark"] .choices__list[aria-expanded] .choices__item {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .choices__list--dropdown .choices__item--selectable.is-highlighted,
[data-pc-theme="dark"] .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background-color: rgba(99, 102, 241, 0.15) !important;
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .choices__list--dropdown .choices__item--selectable:hover,
[data-pc-theme="dark"] .choices__list[aria-expanded] .choices__item--selectable:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

[data-pc-theme="dark"] .choices__list--dropdown .choices__item--choice.is-selected,
[data-pc-theme="dark"] .choices__list[aria-expanded] .choices__item--choice.is-selected {
    background-color: #475569 !important;
    color: #fff !important;
}

[data-pc-theme="dark"] .choices__list--dropdown .choices__item--disabled,
[data-pc-theme="dark"] .choices__list[aria-expanded] .choices__item--disabled {
    color: #475569 !important;
    background-color: transparent !important;
}

[data-pc-theme="dark"] .choices__list--dropdown .choices__group .choices__heading,
[data-pc-theme="dark"] .choices__list[aria-expanded] .choices__group .choices__heading {
    color: #64748b !important;
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

[data-pc-theme="dark"] .choices__list--single .choices__item {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .choices__list--multiple .choices__item {
    background-color: #475569 !important;
    border-color: #475569 !important;
    color: #fff !important;
}

[data-pc-theme="dark"] .choices__list--multiple .choices__item.is-highlighted {
    background-color: #4f46e5 !important;
    border-color: #4f46e5 !important;
}

[data-pc-theme="dark"] .choices__placeholder {
    color: #64748b !important;
    opacity: 1;
}

[data-pc-theme="dark"] .choices[data-type*='select-one']:after {
    border-color: #94a3b8 transparent transparent transparent !important;
}

[data-pc-theme="dark"] .choices[data-type*='select-one'].is-open:after {
    border-color: transparent transparent #94a3b8 transparent !important;
}

[data-pc-theme="dark"] .choices[data-type*='select-one'] .choices__input,
[data-pc-theme="dark"] .choices[data-type*='select-multiple'] .choices__input {
    background-color: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .choices.is-disabled .choices__inner,
[data-pc-theme="dark"] .choices.is-disabled .choices__input {
    background-color: #1a1d22 !important;
    color: #475569 !important;
}

[data-pc-theme="dark"] .choices__list--dropdown .choices__list,
[data-pc-theme="dark"] .choices__list[aria-expanded] .choices__list {
    scrollbar-color: #475569 #252830;
}

[data-pc-theme="dark"] .choices__list--dropdown .choices__list::-webkit-scrollbar-track,
[data-pc-theme="dark"] .choices__list[aria-expanded] .choices__list::-webkit-scrollbar-track {
    background: #252830;
}

[data-pc-theme="dark"] .choices__list--dropdown .choices__list::-webkit-scrollbar-thumb,
[data-pc-theme="dark"] .choices__list[aria-expanded] .choices__list::-webkit-scrollbar-thumb {
    background-color: #475569;
    border-radius: 4px;
}

[data-pc-theme="dark"] .choices__list--dropdown .choices__list::-webkit-scrollbar-thumb:hover,
[data-pc-theme="dark"] .choices__list[aria-expanded] .choices__list::-webkit-scrollbar-thumb:hover {
    background-color: #64748b;
}

/* ========================================
   BODY & CORE LAYOUT - LIGHT MODE (DEFAULT)
   ======================================== */

body {
    background-color: #f8f9fa;
    color: #212529;
}

.navbar {
    background-color: #ffffff;
}

.navbar .nav-link {
    color: #212529;
}

.footer {
    background-color: #ffffff;
}

/* Mobile navbar light mode */
@media (max-width: 991.98px) {
    .navbar-toggler {
        border: 1px solid #dee2e6;
    }

    .navbar-collapse {
        border-top: 1px solid #dee2e6;
    }

    .navbar-nav .nav-link {
        background-color: #f8f9fa;
    }

    .navbar-nav .nav-link:hover {
        background-color: #e9ecef;
    }

    .dropdown-menu {
        background-color: #e9ecef;
    }

    .d-flex.align-items-center.gap-3 {
        border-top: 1px solid #dee2e6;
    }
}

/* ========================================
   BODY & CORE LAYOUT DARK MODE
   ======================================== */

[data-pc-theme="dark"] body,
[data-bs-theme="dark"] body {
    background-color: #131920 !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .navbar,
[data-bs-theme="dark"] .navbar {
    background-color: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .navbar .nav-link,
[data-bs-theme="dark"] .navbar .nav-link {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .navbar .nav-link:hover,
[data-bs-theme="dark"] .navbar .nav-link:hover {
    color: #4099ff !important;
}

[data-pc-theme="dark"] .navbar-brand,
[data-bs-theme="dark"] .navbar-brand {
    color: #f1f5f9 !important;
}

[data-pc-theme="dark"] .navbar .dropdown-menu,
[data-bs-theme="dark"] .navbar .dropdown-menu {
    background-color: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-pc-theme="dark"] .navbar .dropdown-item,
[data-bs-theme="dark"] .navbar .dropdown-item {
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .navbar .dropdown-item:hover,
[data-bs-theme="dark"] .navbar .dropdown-item:hover {
    background-color: #252830 !important;
    color: #4099ff !important;
}

[data-pc-theme="dark"] .footer,
[data-bs-theme="dark"] .footer {
    background-color: #1e2228 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #64748b !important;
}

[data-pc-theme="dark"] .container,
[data-bs-theme="dark"] .container {
    background-color: transparent !important;
}

[data-pc-theme="dark"] .border-bottom,
[data-bs-theme="dark"] .border-bottom {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .border-top,
[data-bs-theme="dark"] .border-top {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

[data-pc-theme="dark"] .btn-light,
[data-bs-theme="dark"] .btn-light {
    background-color: #252830 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e0e6ed !important;
}

[data-pc-theme="dark"] .btn-light:hover,
[data-bs-theme="dark"] .btn-light:hover {
    background-color: #2d333b !important;
}

[data-pc-theme="dark"] .navbar-toggler,
[data-bs-theme="dark"] .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

[data-pc-theme="dark"] .navbar-toggler-icon,
[data-bs-theme="dark"] .navbar-toggler-icon {
    filter: invert(1);
}

/* Mobile navbar fixes for dark mode */
@media (max-width: 991.98px) {
    [data-pc-theme="dark"] .navbar-collapse,
    [data-bs-theme="dark"] .navbar-collapse {
        border-color: rgba(255, 255, 255, 0.08) !important;
    }

    [data-pc-theme="dark"] .navbar-nav .nav-link,
    [data-bs-theme="dark"] .navbar-nav .nav-link {
        background-color: #252830 !important;
    }

    [data-pc-theme="dark"] .navbar-nav .nav-link:hover,
    [data-bs-theme="dark"] .navbar-nav .nav-link:hover {
        background-color: #2d333b !important;
    }

    [data-pc-theme="dark"] .dropdown-menu,
    [data-bs-theme="dark"] .dropdown-menu {
        background-color: #1e2228 !important;
    }

    [data-pc-theme="dark"] .d-flex.align-items-center.gap-3,
    [data-bs-theme="dark"] .d-flex.align-items-center.gap-3 {
        border-color: rgba(255, 255, 255, 0.08) !important;
    }
}
