:root {
    /* Colors - Refined Modern Palette */
    --primary-orange: #f26522;
    --secondary-orange: #e05413;
    --primary-green: #10b981;
    --secondary-green: #059669;
    --dark-bg: #1e293b;
    --light-bg: #f8fafc;
    /* Colors - From site.css */
    --primary-orange-bg: #ea580c;
    --secondary-orange-bg: #fb923c;
    --primary-orange-light: #ffedd5;
    --secondary-orange-light: #fed7aa;
    /* Base Color Light Shades */
    --secondary-green-dark: #047857;
    --secondary-green-light: #d1fae5;
    --primary-blue-light: #dbeafe;
    --primary-red-light: #fee2e2;
    /* Purple Shades */
    --primary-purple: #8b5cf6;
    --secondary-purple: #7c3aed;
    /* Blue Shades */
    --primary-blue: #3b82f6;
    --secondary-blue: #2563eb;
    /* Gradients */
    --gradient-orange: linear-gradient(135deg, #f26522 0%, #ea580c 100%);
    --gradient-orange-light: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-green-dark: linear-gradient(135deg, #059669 0%, #064e3b 100%);
    /* Layout Dimensions */
    --sidebar-width: 260px;
    --sidebar-short-width: 80px;
    --header-height: 70px;
    --border-color: #e2e8f0;
}

/* Modern Typography & Font Smoothing */
html, body {
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Sleek Slim Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Core Animations */
@keyframes blink-animation {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Core Utility Classes */
.blink {
    animation: blink-animation 1s infinite;
}

.disabled-div {
    pointer-events: none;
    opacity: 0.6;
}

.progress {
    display: flex;
    height: 0.65rem;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #e2e8f0;
    border-radius: 9999px;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: var(--primary-green);
    border-radius: 9999px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #e2e8f0;
    border-radius: 0.875rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    box-shadow: 0 6px 16px -2px rgba(0, 0, 0, 0.06);
}

/* Modern Soft Layered Shadows */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04) !important;
}
.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04) !important;
}
.shadow-lg {
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02) !important;
}

.card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}

.alert {
    position: relative;
    padding: 0.875rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-left-width: 4px;
    border-radius: 0.625rem;
    font-size: 0.925rem;
}

.alert-success {
    color: #065f46;
    background-color: #ecfdf5;
    border-color: #a7f3d0;
    border-left-color: #10b981;
}

.alert-danger {
    color: #991b1b;
    background-color: #fef2f2;
    border-color: #fecaca;
    border-left-color: #ef4444;
}

.alert-warning {
    color: #92400e;
    background-color: #fffbeb;
    border-color: #fde68a;
    border-left-color: #f59e0b;
}

.alert-info {
    color: #1e40af;
    background-color: #eff6ff;
    border-color: #bfdbfe;
    border-left-color: #3b82f6;
}

.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.list-group-item:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.list-group-item:last-child {
    margin-bottom: 0;
    border-bottom-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-thumbnail {
    padding: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 100%;
    height: auto;
}

/* Core Utilities */
.text-primary:not(.org) {
    color: var(--primary-orange) !important;
}
.text-secondary:not(.org) {
    color: var(--secondary-orange) !important;
}
.text-success:not(.org) {
    color: var(--primary-green) !important;
}
.text-danger:not(.org) {
    color: #dc3545 !important;
}
.text-warning:not(.org) {
    color: #ffc107 !important;
}
.text-info:not(.org) {
    color: #17a2b8 !important;
}
.text-dark:not(.org) {
    color: var(--dark-bg) !important;
}

.bg-primary:not(.org) {
    background-color: var(--primary-orange) !important;
}
.bg-secondary:not(.org) {
    background-color: var(--secondary-orange) !important;
}
.bg-success:not(.org) {
    background-color: var(--primary-green) !important;
}
.bg-danger:not(.org) {
    background-color: #dc3545 !important;
}
.bg-warning:not(.org) {
    background-color: #ffc107 !important;
}
.bg-info:not(.org) {
    background-color: #17a2b8 !important;
}
.bg-dark:not(.org) {
    background-color: var(--dark-bg) !important;
}
.bg-light:not(.org) {
    background-color: var(--light-bg) !important;
}

/* Light Color Classes */
.bg-primary-light {
    background-color: var(--primary-orange-light) !important;
}

.bg-success-light {
    background-color: var(--primary-green-light) !important;
}

.bg-info-light {
    background-color: var(--primary-blue-light) !important;
}

.bg-danger-light {
    background-color: var(--primary-red-light) !important;
}

/* Common Form Elements */
.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-control,
.form-select {
    border-radius: 0.625rem;
    border: 1.5px solid #cbd5e1;
    background-color: #ffffff;
    padding: 0.6rem 0.9rem;
    font-size: 0.925rem;
    color: #1e293b;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-orange);
    background-color: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(242, 101, 34, 0.15);
    outline: none;
}

.form-control:disabled,
.form-control[readonly],
.form-select:disabled {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.85;
}

.input-group {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1.5px solid #cbd5e1;
    transition: all 0.25s ease;
    background: #ffffff;
}

.input-group:focus-within {
    box-shadow: 0 0 0 3.5px rgba(242, 101, 34, 0.15);
    border-color: var(--primary-orange);
    background: #ffffff;
}

.input-group-text {
    background: transparent;
    border-right: none;
    color: var(--primary-orange);
    padding: 0.75rem 1rem;
}

/* Modern Buttons */
.btn {
    padding: 0.55rem 1.4rem;
    border-radius: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.btn:active {
    transform: translateY(0);
}

.btn-tmu-primary {
    background: var(--gradient-orange);
    border-color: var(--primary-orange);
    color: white !important;
}

.btn-tmu-primary:hover,
.btn-tmu-primary:active {
    background: var(--secondary-orange);
    border-color: var(--secondary-orange);
}

.btn-tmu-outline-primary {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.btn-tmu-outline-primary:hover,
.btn-tmu-outline-primary:active {
    background: var(--primary-orange);
    color: white !important;
}

/* Modern Table Enhancements */
.table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(248, 250, 252, 0.7);
    --bs-table-hover-bg: rgba(241, 245, 249, 0.8);
    color: #334155;
    border-color: #e2e8f0;
    vertical-align: middle;
}

.table thead th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
    padding: 0.85rem 1rem;
    background-color: rgba(248, 250, 252, 0.8);
}

.table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f1f5f9;
}

/* Modern Badge Pill Style */
.badge {
    padding: 0.35em 0.75em;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    border-radius: 9999px;
}

.pdf-viewer-wrapper {
    position: relative;
    width: 100%;
    height: 80vh;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}

#pdf-embed {
    width: 100%;
    height: 100%;
    border: none;
}

.toolbar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #525659;
    z-index: 10;
}

/* ============================================
   GLOBAL UNIFIED EMPTY STATE SYSTEM (CLEAN & FLAT)
   ============================================ */
.course-grid:has(> .no-data),
.course-grid:has(> .no-assessments-state),
.class-grid:has(> .no-data),
.program-grid:has(> .no-data),
.topics-grid:has(> .no-data) {
    display: block !important;
    width: 100% !important;
}

.no-data,
.no-assessments-state,
.empty-state,
.no-results-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 220px;
    padding: 3rem 1.5rem;
    margin: 1.25rem 0 !important;
    background: #f8fafc;
    border: 1.5px dashed #e2e8f0;
    border-radius: 1rem;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.no-data::before {
    content: '\F47C'; /* bi-inbox-fill */
    font-family: 'bootstrap-icons';
    font-size: 1.65rem;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: var(--primary-orange, #f26522);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    transition: transform 0.2s ease;
}

.empty-state-icon {
    font-size: 1.65rem;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    color: var(--primary-orange, #f26522);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem auto;
    transition: transform 0.2s ease;
}

.empty-state-icon i {
    font-size: 1.65rem;
    line-height: 1;
    color: var(--primary-orange, #f26522);
}

.no-data:hover::before,
.empty-state:hover .empty-state-icon,
.no-assessments-state:hover .no-assessments-icon {
    transform: scale(1.06);
}

.no-assessments-icon {
    font-size: 1.65rem !important;
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 14px;
    color: var(--primary-orange, #f26522);
    opacity: 1 !important;
    margin: 0 auto 0.85rem auto !important;
    transition: transform 0.2s ease;
}

.no-assessments-message,
.empty-state-title {
    color: #1e293b;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.no-assessments-subtext,
.empty-state-subtext {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 400;
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.5;
}

.empty-state .btn-primary,
.empty-state .btn-tmu-primary {
    background: var(--gradient-orange, linear-gradient(135deg, #f26522 0%, #ea580c 100%)) !important;
    border-color: var(--primary-orange, #f26522) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.375rem !important;
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.25) !important;
    transition: all 0.2s ease !important;
}

.empty-state .btn-primary:hover,
.empty-state .btn-primary:active,
.empty-state .btn-tmu-primary:hover,
.empty-state .btn-tmu-primary:active {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    border-color: #c2410c !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(242, 101, 34, 0.35) !important;
}

/* ==========================================================================
   GLOBAL LUXURY MODAL POPUP SYSTEM
   - Clean, modern, unified modals across the entire application
   ========================================================================== */

.modal-dialog {
    margin: 2rem auto;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.fade .modal-dialog {
    transform: scale(0.96) translateY(-10px);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-content {
    background: #ffffff !important;
    border-radius: 1.25rem !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden;
}

.modal-header {
    background: #ffffff !important;
    color: #0f172a !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 1.25rem 1.5rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
}

.modal-title i {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff7ed;
    color: var(--primary-orange, #f26522);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 6px rgba(242, 101, 34, 0.12);
}

.modal-header .btn-close,
.modal-header .btn-close-white {
    filter: none !important;
    opacity: 0.6;
    background-color: #f1f5f9;
    border-radius: 50%;
    padding: 0.65rem;
    transition: all 0.2s ease;
    margin: 0;
}

.modal-header .btn-close:hover,
.modal-header .btn-close-white:hover {
    opacity: 1;
    background-color: #e2e8f0;
    transform: rotate(90deg);
}

.modal-body {
    background-color: #ffffff !important;
    padding: 1.5rem !important;
}

.modal-body .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.modal-body .form-control,
.modal-body .form-select,
.modal-content .form-control,
.modal-content .form-select {
    border-radius: 0.65rem;
    border: 1.5px solid #cbd5e1 !important;
    padding: 0.62rem 0.95rem;
    font-size: 0.9rem;
    background-color: #ffffff !important;
    color: #0f172a !important;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.modal-body .form-control:focus,
.modal-body .form-select:focus,
.modal-content .form-control:focus,
.modal-content .form-select:focus {
    border-color: var(--primary-orange, #f26522) !important;
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.14) !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    outline: none;
}

.modal-body .form-control:disabled,
.modal-body .form-control[readonly],
.modal-body .form-select:disabled,
.modal-content .form-control:disabled,
.modal-content .form-control[readonly],
.modal-content .form-select:disabled {
    background-color: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.85 !important;
    box-shadow: none !important;
}

.modal-body .input-group,
.modal-content .input-group {
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 0.65rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.modal-body .input-group:focus-within,
.modal-content .input-group:focus-within {
    border-color: var(--primary-orange, #f26522) !important;
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.14) !important;
}

.modal-body .input-group > .form-control,
.modal-body .input-group > .form-select,
.modal-content .input-group > .form-control,
.modal-content .input-group > .form-select {
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.modal-body .input-group-text,
.modal-content .input-group-text {
    background-color: #f8fafc !important;
    border: none !important;
    color: #64748b !important;
}

.modal-body .form-control::placeholder,
.modal-content .form-control::placeholder {
    color: #94a3b8 !important;
    font-size: 0.875rem;
}

.modal-footer {
    background-color: #f8fafc !important;
    border-top: 1px solid #f1f5f9 !important;
    padding: 1rem 1.5rem !important;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
}

.modal-footer .btn-primary,
.modal-footer .btn-submit,
.modal-footer button[type="submit"] {
    background: var(--gradient-orange, linear-gradient(135deg, #f26522 0%, #ea580c 100%)) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.4rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem !important;
    box-shadow: 0 2px 6px rgba(242, 101, 34, 0.3);
    transition: all 0.2s ease;
}

.modal-footer .btn-primary:hover,
.modal-footer .btn-submit:hover,
.modal-footer button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 101, 34, 0.4);
}

.modal-footer .btn-secondary {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #475569 !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem !important;
    transition: all 0.2s ease;
}

.modal-footer .btn-secondary:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}

/* =================================================================
   NEXT-LEVEL RESPONSIVENESS & TOUCH OPTIMIZATIONS (GLOBAL)
   ================================================================= */

/* 1. Fluid Tables with Safe Scroll */
.table-responsive,
.analytics-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    scrollbar-width: thin;
}

@media (max-width: 768px) {
    table.table:not(.table-responsive table) {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* 2. Responsive Modal Dialogs */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    .modal-header {
        padding: 1rem 1.25rem !important;
    }
    .modal-body {
        padding: 1.25rem 1rem !important;
    }
    .modal-footer {
        padding: 0.75rem 1rem !important;
        flex-direction: column-reverse;
        gap: 0.5rem;
    }
    .modal-footer .btn,
    .modal-footer button {
        width: 100%;
        justify-content: center;
    }
}

/* 3. Header Dropdowns & Popups on Mobile */
@media (max-width: 576px) {
    .dropdown-menu.notification-dropdown,
    .dropdown-menu.message-dropdown,
    .dropdown-menu.user-dropdown {
        position: fixed !important;
        top: 68px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: 80vh !important;
        border-radius: 16px !important;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2) !important;
        z-index: 1050 !important;
    }
    
    .nav-actions {
        gap: 0.4rem;
    }
    
    .btn-icon {
        width: 38px;
        height: 38px;
    }
}

/* 4. Fluid Card Spacing & Typography */
@media (max-width: 768px) {
    .card-header {
        padding: 0.85rem 1rem !important;
    }
    .card-body {
        padding: 1rem !important;
    }
    .card-title, h3.fs-5 {
        font-size: 1.05rem !important;
    }
}

/* 5. Touch Friendly Interactive Elements */
@media (pointer: coarse) {
    .btn, 
    .nav-link, 
    .clickable, 
    .tab-btn {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }
}

/* ==========================================================================
   Global Icon Spacing - ensure space between icon and text globally
   ========================================================================== */
.btn > i.bi:not(:only-child),
.btn > i.fas:not(:only-child),
.btn > i.far:not(:only-child),
.nav-link > i.bi:not(:only-child),
.dropdown-item > i.bi:not(:only-child),
.badge > i.bi:not(:only-child),
.clean-card-footer span > i.bi:not(:only-child),
.clean-topic-badge i:not(:only-child) {
    margin-right: 0.45rem !important;
}

/* Custom gap utility extensions */
.gap-2\.5, .gap-2-5 {
    gap: 0.75rem !important;
}
.gap-1\.5, .gap-1-5 {
    gap: 0.375rem !important;
}

.card-icon-bubble {
    margin-right: 0.85rem !important;
}

/* ==========================================================================
   Modern Toolbar & Action Icon User Tips (Tooltips)
   ========================================================================== */
.tooltip {
    font-family: inherit;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
    pointer-events: none;
    z-index: 1080;
    transition: opacity 0.15s ease;
}

.tooltip .tooltip-inner {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 5px 11px;
    border-radius: 6px;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22), 0 1px 3px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 260px;
    line-height: 1.35;
    text-align: center;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #0f172a;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #0f172a;
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #0f172a;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #0f172a;
}

/* QuickView Panels Clean Inputs & Selects */
.quickview-body .form-control,
.quickview-body .form-select {
    background-color: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.quickview-body .form-control:focus,
.quickview-body .form-select:focus {
    border-color: var(--primary-orange, #f26522) !important;
    box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.14) !important;
    background-color: #ffffff !important;
}

.quickview-body .form-control:disabled,
.quickview-body .form-control[readonly],
.quickview-body .form-select:disabled {
    background-color: #f1f5f9 !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
}