﻿/* ============================================================
   GLOBAL
   ============================================================ */

/* Previne flash la schimbarea temei */
html {
    visibility: hidden;
    position: relative;
    min-height: 100%;
}

    html.theme-loaded {
        visibility: visible;
        transition: none;
    }

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    body.no-transitions * {
        transition: none !important;
        animation: none !important;
    }

/* Focus rings */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.1);
    outline: none;
}


/* Quill — butoane active vizibile in dark mode */
[data-bs-theme="dark"] .ql-toolbar .ql-active .ql-stroke {
    stroke: #6366f1 !important;
}

[data-bs-theme="dark"] .ql-toolbar .ql-active .ql-fill {
    fill: #6366f1 !important;
}

[data-bs-theme="dark"] .ql-toolbar button.ql-active {
    background: rgba(99, 102, 241, 0.2) !important;
    border-radius: 4px;
}

/* Light mode */
[data-bs-theme="light"] .ql-toolbar button.ql-active {
    background: rgba(99, 102, 241, 0.15) !important;
    border-radius: 4px;
}


/* ============================================================
   DARK MODE — GENERAL
   ============================================================ */

[data-bs-theme="dark"] body {
    background-color: #0d1117;
    color: #e0e0e0;
}

[data-bs-theme="dark"] #content {
    background-color: #0d1117;
}


/* ============================================================
   DARK MODE — NAVBAR
   ============================================================ */

[data-bs-theme="dark"] .navbar {
    background-color: #1a1a2e !important;
}

[data-bs-theme="light"] .navbar {
    background-color: #2c3e50 !important;
}


/* ============================================================
   DARK MODE — CARDS
   ============================================================ */

[data-bs-theme="dark"] .card {
    background-color: #1e1e2e;
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

[data-bs-theme="dark"] .card-header,
[data-bs-theme="dark"] .card-footer {
    background-color: #16213e;
    border-color: rgba(255, 255, 255, 0.1);
}


/* ============================================================
   DARK MODE — TABELE
   ============================================================ */

[data-bs-theme="dark"] .table {
    --bs-table-bg: #1e1e2e;
    --bs-table-color: #e0e0e0;
    --bs-table-border-color: rgba(255, 255, 255, 0.1);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.03);
    --bs-table-hover-bg: rgba(255, 255, 255, 0.07);
    color: var(--bs-table-color);
}

    [data-bs-theme="dark"] .table thead th {
        background-color: #16213e;
        color: #adb5bd;
        border-color: rgba(255, 255, 255, 0.1);
    }

    [data-bs-theme="dark"] .table td,
    [data-bs-theme="dark"] .table th {
        border-color: rgba(255, 255, 255, 0.1);
    }

    [data-bs-theme="dark"] .table tbody tr:hover {
        background-color: rgba(255, 255, 255, 0.06);
        color: #e0e0e0;
    }

        [data-bs-theme="dark"] .table tbody tr:hover td {
            color: #e0e0e0;
        }

[data-bs-theme="light"] .table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
}


/* ============================================================
   DARK MODE — FORMULARE
   ============================================================ */

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: #2d2d2d;
    border-color: rgba(255, 255, 255, 0.15);
    color: #e0e0e0;
}

    [data-bs-theme="dark"] .form-control:focus,
    [data-bs-theme="dark"] .form-select:focus {
        background-color: #2d2d2d;
        color: #e0e0e0;
        border-color: #258cfb;
    }

    [data-bs-theme="dark"] .form-control::placeholder {
        color: rgba(255, 255, 255, 0.35);
    }

[data-bs-theme="dark"] .input-group-text {
    background-color: #2d2d2d;
    border-color: rgba(255, 255, 255, 0.15);
    color: #e0e0e0;
}


/* ============================================================
   DARK MODE — MODAL
   ============================================================ */

[data-bs-theme="dark"] .modal-content {
    background-color: #1e1e2e;
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

[data-bs-theme="dark"] .modal-header,
[data-bs-theme="dark"] .modal-footer {
    border-color: rgba(255, 255, 255, 0.1);
}


/* ============================================================
   DARK MODE — DROPDOWN
   ============================================================ */

[data-bs-theme="dark"] .dropdown-menu {
    background-color: #1e1e2e;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .dropdown-item {
    color: #e0e0e0;
}

    [data-bs-theme="dark"] .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.07);
        color: #fff;
    }

[data-bs-theme="dark"] .dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
}


/* ============================================================
   DARK MODE — DIVERSE
   ============================================================ */

/* Badge warning vizibil in dark mode */
[data-bs-theme="dark"] .badge.bg-warning {
    color: #1a1a1a !important;
}

/* Buton outline-dark in dark mode */
[data-bs-theme="dark"] .btn-outline-dark {
    color: #e0e0e0;
    border-color: #e0e0e0;
}

    [data-bs-theme="dark"] .btn-outline-dark:hover {
        background-color: #e0e0e0;
        color: #1a1a2e;
    }

/* Login page in dark mode */
[data-bs-theme="dark"] body.bg-light {
    background-color: #1a1a2e !important;
}

[data-bs-theme="dark"] .bg-light {
    background-color: #2d2d2d !important;
}


/* ============================================================
   BUTON TEMA (THEME TOGGLE)
   ============================================================ */

#themeToggle {
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] #themeToggle {
    color: #e0e0e0;
}

#themeToggle:hover {
    color: var(--bs-primary);
}

[data-bs-theme="dark"] #themeToggle:hover {
    color: #fff;
}


/* ============================================================
   SIDEBAR
   ============================================================ */

#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
    width: 260px;
    transition: width 0.3s ease;
    border-right: 1px solid var(--bs-border-color);
}

    #sidebar.collapsed {
        width: 72px;
    }

        #sidebar.collapsed .sidebar-text {
            display: none;
        }

        #sidebar.collapsed .nav-link {
            text-align: center;
            padding: 0.5rem;
        }

            #sidebar.collapsed .nav-link i {
                margin: 0 !important;
                font-size: 1.2rem;
            }

/* Nav links */
#sidebar .nav-link {
    color: var(--bs-body-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
}

#sidebar .nav-link:hover {
    background: var(--bs-secondary-bg);
}

#sidebar .nav-link.active {
    background: var(--bs-primary);
    color: white;
}

/* Collapse — fara animatie ca sa nu flickereze la navigare */
#sidebar .collapse,
#sidebar .collapsing {
    transition: none !important;
    height: auto !important;
}

/* Light mode sidebar */
[data-bs-theme="light"] #sidebar {
    background-color: #f8f9fa;
}

/* Dark mode sidebar */
[data-bs-theme="dark"] #sidebar {
    background-color: #1a1a2e;
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

[data-bs-theme="dark"] #sidebar .nav-link {
    color: #c9d1d9;
}

    [data-bs-theme="dark"] #sidebar .nav-link:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

[data-bs-theme="dark"] #sidebar .text-muted {
    color: #8b949e !important;
}

[data-bs-theme="dark"] #sidebar hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Ascunde scrollbar-ul din sidebar dar pastreaza scroll-ul */
#sidebar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

    #sidebar::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }


/* ============================================================
   SIDEBAR TOGGLE BUTTON
   ============================================================ */

#collapseBtn {
    position: relative;
}

#sidebarToggle {
    position: fixed;
    left: 248px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    color: var(--bs-body-color);
}

    #sidebarToggle:hover {
        background: var(--bs-secondary-bg);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    }

#sidebar.collapsed ~ #collapseBtn #sidebarToggle {
    left: 60px;
}

[data-bs-theme="light"] #sidebarToggle {
    background: #2c3e50;
    border-color: #2c3e50;
    color: white;
}

    [data-bs-theme="light"] #sidebarToggle:hover {
        background: #1a252f;
        border-color: #1a252f;
    }

[data-bs-theme="dark"] #sidebarToggle {
    background: #2c3e50;
    border-color: rgba(255, 255, 255, 0.15);
    color: #e0e0e0;
}

    [data-bs-theme="dark"] #sidebarToggle:hover {
        background: #3d5166;
        border-color: rgba(255, 255, 255, 0.25);
        color: #fff;
    }


/* ============================================================
   TOPBAR — Elemente UI
   ============================================================ */

#topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 260px;
    height: 52px;
    z-index: 99;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    transition: left 0.3s ease;
}

/* Buton generic topbar (tema, clopot) */
.topbar-btn {
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    font-size: 1rem;
    padding: 0;
}

[data-bs-theme="dark"] .topbar-btn {
    color: #c9d1d9;
}

[data-bs-theme="dark"] .topbar-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

[data-bs-theme="light"] .topbar-btn {
    color: #2c3e50;
}

[data-bs-theme="light"] .topbar-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #1a252f;
}

[data-bs-theme="dark"] #topbar {
    background: #0d1117;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Divider vertical */
.topbar-divider {
    width: 1px;
    height: 24px;
    background: var(--bs-border-color);
    opacity: 0.5;
    flex-shrink: 0;
}

/* Badge notificari */
.notif-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #dc3545;
    color: #fff;
    border-radius: 10px;
    font-size: 0.55rem;
    padding: 1px 4px;
    line-height: 1.4;
    font-weight: 600;
}

/* Buton user cu avatar */
.topbar-user-btn {
    background: none;
    border: none;
    border-radius: 10px;
    padding: 4px 6px;
    cursor: pointer;
    transition: background 0.15s ease;
}

[data-bs-theme="dark"] .topbar-user-btn {
    color: #e0e0e0;
}

    [data-bs-theme="dark"] .topbar-user-btn:hover {
        background: rgba(255, 255, 255, 0.08);
    }

[data-bs-theme="light"] .topbar-user-btn {
    color: #2c3e50;
}

    [data-bs-theme="light"] .topbar-user-btn:hover {
        background: rgba(0, 0, 0, 0.06);
    }

/* Avatar — poza */
.topbar-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bs-border-color);
    flex-shrink: 0;
}

/* Avatar — initiala */
.topbar-avatar-initials {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    border: 2px solid var(--bs-border-color);
}

/* Nume utilizator */
.topbar-username {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
}

[data-bs-theme="dark"] .topbar-username {
    color: #e0e0e0;
}

[data-bs-theme="light"] .topbar-username {
    color: #2c3e50;
}

/* Rol utilizator */
.topbar-role {
    font-size: 0.68rem;
    color: #6b7280;
    line-height: 1.2;
}

[data-bs-theme="dark"] .topbar-role {
    color: #8b949e;
}

/* Chevron dropdown */
.topbar-chevron {
    font-size: 0.65rem;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.topbar-user-btn[aria-expanded="true"] .topbar-chevron {
    transform: rotate(180deg);
}

/* ============================================================
   CONTENT
   ============================================================ */

#content {
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 52px;
    margin-left: 260px;
    transition: margin-left 0.3s ease;
}

/* Cand sidebar e collapsed — content se muta la stanga */
#sidebar.collapsed ~ #collapseBtn ~ #content {
    margin-left: 72px;
}


/* ============================================================
   NOTIFICARI
   ============================================================ */

/* Fundal usor albastrui pentru notificarile necitite */
.notif-unread {
    background-color: rgba(37, 140, 251, 0.08);
}

/* Hover pe orice notificare din dropdown */
.notif-item:hover {
    background-color: var(--bs-secondary-bg);
}

/* Dark mode — necitite mai vizibile */
[data-bs-theme="dark"] .notif-unread {
    background-color: rgba(37, 140, 251, 0.15);
}

[data-bs-theme="dark"] .notif-item {
    color: #e0e0e0;
}

    [data-bs-theme="dark"] .notif-item:hover {
        background-color: rgba(255, 255, 255, 0.07);
    }

    [data-bs-theme="dark"] .notif-item .fw-semibold {
        color: #ffffff;
    }

    [data-bs-theme="dark"] .notif-item .text-muted {
        color: #a0a8b4 !important;
    }

    [data-bs-theme="dark"] .notif-item [style*="font-size:0.7rem"] {
        color: #6b7280 !important;
    }

/* Clopot vizibil in dark mode */
[data-bs-theme="dark"] #notifDropdown {
    color: #e0e0e0;
}

    [data-bs-theme="dark"] #notifDropdown:hover {
        color: #fff;
    }

/* Dropdown-ul in dark mode */
[data-bs-theme="dark"] #notifDropdownMenu {
    background-color: #1e1e2e;
    border-color: rgba(255, 255, 255, 0.1);
}

    [data-bs-theme="dark"] #notifDropdownMenu .border-bottom,
    [data-bs-theme="dark"] #notifDropdownMenu .border-top {
        border-color: rgba(255, 255, 255, 0.1) !important;
    }

    [data-bs-theme="dark"] #notifDropdownMenu .fw-semibold {
        color: #e0e0e0;
    }

/* Notificari citite pe pagina dedicata */
.notif-page-item {
    transition: opacity 0.2s ease;
}

    .notif-page-item:not(.notif-unread) {
        opacity: 0.7;
    }

    .notif-page-item:hover {
        opacity: 1 !important;
    }


/* ============================================================
   CALENDAR — Buton adaugare tura
   ============================================================ */

.calendar-add-btn {
    color: #6b7280;
    opacity: 0.6;
    transition: opacity 0.15s ease, color 0.15s ease;
}

    .calendar-add-btn:hover {
        color: #198754;
        opacity: 1;
    }

[data-bs-theme="dark"] .calendar-add-btn {
    color: #8b949e;
    opacity: 0.7;
}

    [data-bs-theme="dark"] .calendar-add-btn:hover {
        color: #4caf82;
        opacity: 1;
    }


/* ============================================================
   CALENDAR — Buton stergere tura
   ============================================================ */

.calendar-delete-btn {
    color: #dc3545;
    opacity: 0.45;
    font-size: 0.7rem;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

    .calendar-delete-btn:hover {
        opacity: 1;
        transform: scale(1.2);
    }

[data-bs-theme="dark"] .calendar-delete-btn {
    color: #f87171;
    opacity: 0.5;
}

    [data-bs-theme="dark"] .calendar-delete-btn:hover {
        opacity: 1;
    }


/* ============================================================
   INSPECTII — Mini box status tura
   ============================================================ */

.inspection-shift-box {
    flex: 1;
    border-radius: 0.375rem;
    padding: 0.5rem;
    text-align: center;
    background: var(--bs-secondary-bg);
}

    .inspection-shift-box.status-ok {
        background: rgba(25, 135, 84, 0.15);
    }

    .inspection-shift-box.status-issues {
        background: rgba(220, 53, 69, 0.15);
    }

    .inspection-shift-box.status-occupied {
        background: rgba(255, 165, 0, 0.15);
    }


/* ============================================================
   QUILL EDITOR — Dark mode
   ============================================================ */

[data-bs-theme="dark"] .ql-toolbar {
    background-color: #2d2d2d !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-bs-theme="dark"] .ql-container {
    background-color: #2d2d2d !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

[data-bs-theme="dark"] .ql-editor {
    color: #e0e0e0 !important;
}

    [data-bs-theme="dark"] .ql-editor.ql-blank::before {
        color: rgba(255, 255, 255, 0.35) !important;
    }

[data-bs-theme="dark"] .ql-stroke {
    stroke: #e0e0e0 !important;
}

[data-bs-theme="dark"] .ql-fill {
    fill: #e0e0e0 !important;
}

[data-bs-theme="dark"] .ql-picker {
    color: #e0e0e0 !important;
}

[data-bs-theme="dark"] .ql-picker-options {
    background-color: #2d2d2d !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}


/* ============================================================
   ANIMATII — Inspectii alerta
   ============================================================ */

@keyframes inspection-alert-pulse {
    0% {
        outline: 2px solid rgba(220, 53, 69, 0.9);
    }

    50% {
        outline: 2px solid rgba(220, 53, 69, 0.15);
    }

    100% {
        outline: 2px solid rgba(220, 53, 69, 0.9);
    }
}

.inspection-alert-pulse {
    animation: inspection-alert-pulse 2s ease-in-out infinite;
    outline: 2px solid rgba(220, 53, 69, 0.9);
}


/* ============================================================
   CULORI CUSTOM — Permisiuni si UI
   ============================================================ */

.text-purple {
    color: #6f42c1 !important;
}

.bg-purple {
    background-color: #6f42c1 !important;
}

.border-purple {
    border-color: #6f42c1 !important;
}

.text-indigo {
    color: #6610f2 !important;
}

.bg-indigo {
    background-color: #6610f2 !important;
}

.border-indigo {
    border-color: #6610f2 !important;
}

.text-orange {
    color: #fd7e14 !important;
}

.bg-orange {
    background-color: #fd7e14 !important;
}

.border-orange {
    border-color: #fd7e14 !important;
}

.text-teal {
    color: #20c997 !important;
}

.bg-teal {
    background-color: #20c997 !important;
}

.border-teal {
    border-color: #20c997 !important;
}


/* ============================================================
   MOBILE OVERLAY — Sidebar
   ============================================================ */

/* Overlay pentru mobile — ascunde continutul cand sidebar e deschis */
#sidebarOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1049;
}

    #sidebarOverlay.show {
        display: block;
    }


/* ============================================================
   MOBILE — Responsive (@media max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* Sidebar ascuns implicit pe mobile */
    #sidebar {
        left: -260px !important;
        width: 260px !important;
        z-index: 1050;
        transition: left 0.3s ease;
    }

        /* Sidebar vizibil cand are clasa .show */
        #sidebar.show {
            left: 0 !important;
        }

            /* Pe mobile arata textul chiar daca e collapsed */
            #sidebar.show .sidebar-text {
                display: inline !important;
            }

            #sidebar.show .nav-link {
                text-align: left !important;
                padding: 0.5rem 0.75rem !important;
            }

                #sidebar.show .nav-link i {
                    margin-right: 0.5rem !important;
                    font-size: 1rem !important;
                }

            /* Pastreaza d-none functional pe mobile */
            #sidebar.show .d-none {
                display: none !important;
            }

    /* Topbar — full width pe mobile */
    #topbar {
        left: 0 !important;
    }

    /* Content — fara margin pe mobile */
    #content {
        margin-left: 0 !important;
    }

    /* Buton collapse si toggle — ascunse pe mobile */
    #collapseBtn {
        display: none !important;
    }

    #sidebarToggle {
        display: none !important;
    }

    /* Tabele — scroll orizontal pe mobile */
    .card .card-body.p-0 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Carduri — padding mai mic pe mobile */
    .card-body {
        padding: 0.75rem;
    }

    /* Filtre — full width pe mobile */
    .row.g-2 > [class*="col-auto"] {
        width: 100%;
    }

    /* Ascunde coloane neimportante pe mobile */
    .d-none-mobile {
        display: none !important;
    }
}

/* ============================================================
   MOBILE HAMBURGER BUTTON
   ============================================================ */

#mobileSidebarToggle {
    color: #fff !important;
    border: none;
    background: none;
}

[data-bs-theme="dark"] #mobileSidebarToggle {
    color: #e0e0e0 !important;
}

    [data-bs-theme="dark"] #mobileSidebarToggle:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
    }

[data-bs-theme="light"] #mobileSidebarToggle {
    color: #2c3e50 !important;
}

    [data-bs-theme="light"] #mobileSidebarToggle:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.15);
    }


/* ============================================================
   MOBILE OTHER
   ============================================================ */

/* Tabele — scroll orizontal doar cand e necesar */
.card {
    overflow: hidden;
}

    .card .card-body.p-0 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

/* Ascunde scrollbar-ul orizontal pe pagina principala */
body {
    overflow-x: hidden;
}

#content {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    /* Ascunde coloanele mai putin importante pe mobile */
    .table .d-none-mobile {
        display: none !important;
    }
}




/* ============================================================
   TOM SELECT — Dark mode
   ============================================================ */

[data-bs-theme="dark"] .ts-wrapper .ts-control {
    background-color: #2d2d2d;
    border-color: rgba(255, 255, 255, 0.15);
    color: #e0e0e0;
}

    [data-bs-theme="dark"] .ts-wrapper .ts-control input {
        color: #e0e0e0;
    }

        [data-bs-theme="dark"] .ts-wrapper .ts-control input::placeholder {
            color: rgba(255, 255, 255, 0.35);
        }

[data-bs-theme="dark"] .ts-dropdown {
    background-color: #1e1e2e;
    border-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

    [data-bs-theme="dark"] .ts-dropdown .option {
        color: #e0e0e0;
    }

        [data-bs-theme="dark"] .ts-dropdown .option:hover,
        [data-bs-theme="dark"] .ts-dropdown .option.active {
            background-color: rgba(255, 255, 255, 0.07);
            color: #fff;
        }

        [data-bs-theme="dark"] .ts-dropdown .option.selected {
            background-color: rgba(37, 140, 251, 0.2);
            color: #fff;
        }
