 .customStyling label {
     display: flex;
     align-items: center;
     gap: 9px;
     float: left;
 }

.theme-page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.theme-page-loader__content {
    position: relative;
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-page-loader__logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    animation: theme-loader-pulse 1.1s ease-in-out infinite alternate;
}

.theme-page-loader.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.theme-page-loader__spinner {
    position: absolute;
    width: 96px;
    height: 96px;
    border: 4px solid #dcefe4;
    border-top-color: #4CAF7D;
    border-radius: 50%;
    animation: theme-loader-spin 0.8s linear infinite;
}

@keyframes theme-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes theme-loader-pulse {
    from {
        transform: scale(0.95);
        opacity: 0.9;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Fix: prevent layout-overlay from blocking content on desktop */
@media (min-width: 1200px) {
    .layout-overlay {
        display: none !important;
        pointer-events: none !important;
    }
}

/* ── Dear Dabba green theme ── */
:root {
    --bs-primary: #4CAF7D !important;
    --bs-primary-rgb: 76, 175, 125 !important;
}

[data-bs-theme="light"] {
    --bs-primary: #4CAF7D !important;
    --bs-primary-rgb: 76, 175, 125 !important;
}

.btn-primary,
.bg-primary {
    background-color: #4CAF7D !important;
    border-color: #4CAF7D !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #3d9e6e !important;
    border-color: #3d9e6e !important;
}

.text-primary { color: #4CAF7D !important; }

.badge.bg-primary { background-color: #4CAF7D !important; }

.page-item.active .page-link {
    background-color: #4CAF7D !important;
    border-color: #4CAF7D !important;
    color: #ffffff !important;
}

.page-link { color: #4CAF7D !important; }

.form-check-input:checked {
    background-color: #4CAF7D !important;
    border-color: #4CAF7D !important;
}

a { color: #4CAF7D; }
a:hover { color: #3d9e6e; }

/* ── Sidebar text: black by default (visible on light bg) ── */
.layout-menu .menu-inner .menu-item .menu-link,
.layout-menu .menu-inner .menu-item .menu-link div,
.layout-menu .menu-inner .menu-item .menu-link .menu-icon,
.layout-menu .menu-inner .menu-item .menu-link i,
.layout-menu .app-brand-text {
    color: #000000 !important;
}

/* Hover: green text */
.layout-menu .menu-inner .menu-item .menu-link:hover,
.layout-menu .menu-inner .menu-item .menu-link:hover div,
.layout-menu .menu-inner .menu-item .menu-link:hover .menu-icon,
.layout-menu .menu-inner .menu-item .menu-link:hover i {
    color: #4CAF7D !important;
}

/* Active item: green background with white text */
.layout-menu .menu-inner .menu-item.active > .menu-link {
    background-color: #4CAF7D !important;
}

.layout-menu .menu-inner .menu-item.active > .menu-link,
.layout-menu .menu-inner .menu-item.active > .menu-link div,
.layout-menu .menu-inner .menu-item.active > .menu-link .menu-icon,
.layout-menu .menu-inner .menu-item.active > .menu-link i {
    color: #ffffff !important;
}

.bg-label-primary {
    background-color: rgba(76, 175, 125, 0.15) !important;
    color: #4CAF7D !important;
}

/* ── Dashboard stat cards ── */
.stat-card {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10) !important;
}

/* ── Empty state ── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    color: #a1acb8;
    font-size: 0.9rem;
}
.empty-state i {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}
.empty-state p {
    margin: 0;
}

/* ── Floating sticky horizontal scrollbar proxy ── */
.sticky-scrollbar-proxy {
    position: fixed;
    bottom: 0;
    left: var(--sb-left, 0);
    right: 0;
    height: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    z-index: 1000;
    background: #f5f5f5;
    border-top: 1px solid #dee2e6;
}
.sticky-scrollbar-proxy::-webkit-scrollbar {
    height: 12px;
}
.sticky-scrollbar-proxy::-webkit-scrollbar-thumb {
    background: #adb5bd;
    border-radius: 6px;
    cursor: pointer;
}
.sticky-scrollbar-proxy-inner {
    height: 1px;
}

/* Global table-header icon alignment */
.table thead th {
    white-space: nowrap;
    vertical-align: middle;
}

.table thead th i[class*="ti"] {
    display: inline-block !important;
    vertical-align: middle;
    line-height: 1;
}
