/* ==========================================================================
   1. VARIABLES & CORE STYLES
   ========================================================================== */
:root {
    --bg: #070b12;
    --panel: rgba(255,255,255,0.06);
    --panel2: rgba(255,255,255,0.08);
    --stroke: rgba(255,255,255,0.12);
    --text: rgba(255,255,255,0.92);
    --muted: rgba(255,255,255,0.65);
    --accent: #23d5c6; /* turkuaz */
    --accent2: #2f7dff; /* mavi vurgu */
    --app-bg: #070b12;
    --chat-in-bg: var(--panel2);
    --chat-in-text: var(--text);
    --chat-out-bg: linear-gradient(135deg, var(--accent), var(--accent2));
    --chat-out-text: #041016;
    --chat-time: var(--muted);
    --chat-input-bg: var(--panel);
    --alert-radius: 14px;
    --alert-neutral-bg: rgba(255,255,255,0.10);
    --alert-neutral-border: rgba(255,255,255,0.18);
    --alert-neutral-text: rgba(255,255,255,0.92);
    --alert-info-bg: rgba(47,125,255,0.20);
    --alert-info-border: rgba(47,125,255,0.40);
    --alert-info-text: rgba(255,255,255,0.95);
    --alert-success-bg: rgba(25,135,84,0.20);
    --alert-success-border: rgba(25,135,84,0.40);
    --alert-success-text: rgba(255,255,255,0.95);
    --alert-warning-bg: rgba(245,159,0,0.22);
    --alert-warning-border: rgba(245,159,0,0.42);
    --alert-warning-text: rgba(255,255,255,0.95);
    --alert-danger-bg: rgba(255,77,79,0.20);
    --alert-danger-border: rgba(255,77,79,0.42);
    --alert-danger-text: rgba(255,255,255,0.95);
    --toast-info-bg: var(--alert-info-bg);
    --toast-info-border: var(--alert-info-border);
    --toast-info-text: var(--alert-info-text);
    --toast-alert-bg: var(--alert-danger-bg);
    --toast-alert-border: var(--alert-danger-border);
    --toast-alert-text: var(--alert-danger-text);
    --modal-bg: var(--panel2);
    --modal-border: var(--stroke);
    --modal-title: var(--text);
    --modal-text: rgba(255,255,255,0.80);
    --modal-muted: var(--muted);
    --modal-head-bg: rgba(255,255,255,0.04);
    --modal-foot-bg: rgba(255,255,255,0.03);
    --modal-input-bg: var(--panel);
    --modal-input-border: var(--stroke);
    --modal-backdrop: rgba(0,0,0,0.55);
    --toggle-h: 26px;
    --toggle-w: 44px;
    --toggle-pad: 3px;
    --toggle-bg: rgba(255,255,255,0.10);
    --toggle-border: var(--stroke);
    --toggle-knob: rgba(255,255,255,0.92);
    --toggle-on-bg: linear-gradient(90deg, var(--accent), var(--accent2));
    --toggle-on-knob: #ffffff;
    --toggle-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

html, body {
    width: 100%;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}

    body.modal-open {
        padding-right: 0 !important;
        background-color: var(--app-bg) !important;
        color: var(--text) !important;
        overflow: hidden;
    }

header,
footer {
    background-color: var(--app-bg);
    backdrop-filter: blur(6px);
}

body {
    background-color: var(--app-bg);
    color: var(--text);
}

.font-s {
    font-size: 14px;
}

.font-m {
    font-size: 16px;
}

.font-l {
    font-size: 18px;
}

.font-xl {
    font-size: 20px;
}

.alert {
    border-radius: var(--alert-radius) !important;
    border: 1px solid var(--alert-neutral-border) !important;
    background-color: var(--alert-neutral-bg) !important;
    color: var(--alert-neutral-text) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 1 !important;
}

    .alert * {
        opacity: 1 !important;
    }

    .alert .alert-link {
        color: inherit !important;
        font-weight: 800;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

.alert-primary,
.alert-info {
    background-color: var(--alert-info-bg) !important;
    border-color: var(--alert-info-border) !important;
    color: var(--alert-info-text) !important;
    border-left: 3px solid var(--alert-info-border) !important;
}

.alert-success {
    background-color: var(--alert-success-bg) !important;
    border-color: var(--alert-success-border) !important;
    color: var(--alert-success-text) !important;
    border-left: 3px solid var(--alert-success-border) !important;
}

.alert-warning {
    background-color: var(--alert-warning-bg) !important;
    border-color: var(--alert-warning-border) !important;
    color: var(--alert-warning-text) !important;
    border-left: 3px solid var(--alert-warning-border) !important;
}

.alert-danger {
    background-color: var(--alert-danger-bg) !important;
    border-color: var(--alert-danger-border) !important;
    color: var(--alert-danger-text) !important;
    border-left: 3px solid var(--alert-danger-border) !important;
}

.alert-secondary,
.alert-dark,
.alert-light {
    background-color: var(--alert-neutral-bg) !important;
    border-color: var(--alert-neutral-border) !important;
    color: var(--alert-neutral-text) !important;
    border-left: 3px solid var(--alert-neutral-border) !important;
}

.toast-alert,
.toast-info {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    z-index: 1200;
    min-width: 250px;
    max-width: 80%;
    width: min(92vw, 520px);
    padding: 14px 18px;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.toast-alert {
    background-color: var(--toast-alert-bg) !important;
    border: 1px solid var(--toast-alert-border) !important;
    color: var(--toast-alert-text) !important;
    font-weight: 750;
}

.toast-info {
    background-color: var(--toast-info-bg) !important;
    border: 1px solid var(--toast-info-border) !important;
    color: var(--toast-info-text) !important;
    font-weight: 750;
}

    .toast-alert.is-show,
    .toast-info.is-show {
        opacity: 1 !important;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

.cat-badge {
    font-weight: 600;
    padding: .45rem .80rem;
    letter-spacing: .3px;
    border: none;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    font-size: .78rem;
}

.cat-gn {
    background-color: #475569;
}

.cat-bk {
    background-color: #b45309;
}

.cat-ai {
    background-color: #15803d;
}

.cat-gu {
    background-color: #1d4ed8;
}

.cat-oth {
    background-color: #6b7280;
}

/* =========================================================
   INDEX PAGE
   ========================================================= */

.corp-hero {
    position: relative;
    overflow: hidden;
    padding-top: 6px;
}

    .corp-hero::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: radial-gradient(900px 320px at 15% 20%, rgba(255,255,255,0.07), transparent 60%), radial-gradient(900px 360px at 85% 10%, rgba(255,255,255,0.05), transparent 60%);
        pointer-events: none;
    }

    .corp-hero > * {
        position: relative;
    }

.corp-card {
    border-radius: 22px;
    padding: clamp(18px, 3vw, 34px);
}

.corp-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    font-weight: 800;
    letter-spacing: .2px;
    color: var(--text);
}

    .corp-kicker .pill {
        display: inline-flex;
        align-items: center;
        padding: 2px 10px;
        border-radius: 999px;
        border: 1px solid var(--stroke);
        background: rgba(255,255,255,0.03);
        color: var(--muted);
        font-weight: 800;
        font-size: .78rem;
        letter-spacing: .2px;
    }

.corp-title {
    font-weight: 900;
    letter-spacing: -0.7px;
    line-height: 1.07;
    margin: 14px 0 12px;
}

.corp-sub {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 62ch;
    margin: 0;
}

.cta-row .btn {
    min-height: 48px;
    border-radius: 14px;
    font-weight: 900;
    letter-spacing: .2px;
}

.cta-row .btn-outline-light {
    border-color: rgba(255,255,255,0.18) !important;
    background: rgba(255,255,255,0.02) !important;
}

    .cta-row .btn-outline-light:hover {
        background: rgba(255,255,255,0.05) !important;
    }

.corp-divider {
    border-top: 1px solid rgba(255,255,255,0.10);
    margin: 18px 0;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.cap {
    border-radius: 18px;
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,0.04);
    padding: 14px 14px 13px;
    min-width: 0;
}

.cap-h {
    font-weight: 900;
    letter-spacing: .2px;
    margin: 0 0 6px;
    color: var(--text);
}

.cap-p {
    margin: 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.55;
}

.media-card {
    border-radius: 22px;
    padding: clamp(16px, 2.2vw, 22px);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.media-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.media-title {
    font-weight: 900;
    letter-spacing: -0.3px;
    margin: 0;
}

.media-note {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.5;
}

.media-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,0.03);
    min-height: 320px;
    display: grid;
    place-items: center;
}

    .media-frame::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.35));
        pointer-events: none;
    }

.media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: .98;
}

.media-placeholder {
    position: relative;
    text-align: center;
    padding: 18px;
    max-width: 50ch;
}

    .media-placeholder .k {
        font-weight: 900;
        letter-spacing: .2px;
        color: var(--text);
        margin-bottom: 6px;
    }

    .media-placeholder .s {
        color: var(--muted);
        font-size: .9rem;
        line-height: 1.5;
        margin: 0;
    }

.trust-list {
    display: grid;
    gap: 8px;
    margin-top: 2px;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    border-radius: 14px;
    padding: 10px 12px;
}

    .trust-item .k {
        color: var(--muted);
        font-weight: 800;
        font-size: .82rem;
        letter-spacing: .2px;
        margin: 0;
        white-space: nowrap;
    }

    .trust-item .v {
        color: var(--text);
        font-weight: 900;
        font-size: .9rem;
        margin: 0;
        text-align: right;
    }

/* =========================================================
   LIGHT THEME
   ========================================================= */

.theme-light {
    --app-bg: #f5f7fb;
    --bg: #f5f7fb;
    --text: rgba(17, 20, 26, 0.92);
    --muted: rgba(17, 20, 26, 0.62);
    --panel: rgba(0, 0, 0, 0.03);
    --panel2: rgba(0, 0, 0, 0.05);
    --stroke: rgba(0, 0, 0, 0.10);
    --chat-in-bg: #ffffff;
    --chat-in-text: var(--text);
    --chat-out-bg: linear-gradient(135deg, var(--accent), #1eb9ac);
    --chat-out-text: #ffffff;
    --chat-time: rgba(0,0,0,0.45);
    --chat-input-bg: #ffffff;
    --alert-info-bg: rgba(47,125,255,0.10);
    --alert-info-border: rgba(47,125,255,0.22);
    --alert-info-text: rgba(17,20,26,0.92);
    --alert-success-bg: rgba(35,213,198,0.12);
    --alert-success-border: rgba(35,213,198,0.26);
    --alert-success-text: rgba(17,20,26,0.92);
    --alert-warning-bg: rgba(255,193,7,0.14);
    --alert-warning-border: rgba(255,193,7,0.28);
    --alert-warning-text: rgba(17,20,26,0.92);
    --alert-danger-bg: rgba(180,35,24,0.10);
    --alert-danger-border: rgba(180,35,24,0.24);
    --alert-danger-text: rgba(17,20,26,0.92);
    --alert-neutral-bg: rgba(255,255,255,0.92);
    --alert-neutral-border: rgba(0,0,0,0.10);
    --alert-neutral-text: rgba(17,20,26,0.90);
    --toast-info-bg: var(--alert-info-bg);
    --toast-info-border: var(--alert-info-border);
    --toast-info-text: var(--alert-info-text);
    --toast-alert-bg: var(--alert-danger-bg);
    --toast-alert-border: var(--alert-danger-border);
    --toast-alert-text: var(--alert-danger-text);
    --modal-bg: rgba(255,255,255,0.96);
    --modal-border: rgba(0,0,0,0.12);
    --modal-title: rgba(17,20,26,0.95);
    --modal-text: rgba(17,20,26,0.86);
    --modal-muted: rgba(17,20,26,0.62);
    --modal-head-bg: rgba(0,0,0,0.02);
    --modal-foot-bg: rgba(0,0,0,0.02);
    --modal-input-bg: rgba(255,255,255,0.92);
    --modal-input-border: rgba(0,0,0,0.14);
    --modal-backdrop: rgba(0,0,0,0.35);
    --toggle-bg: rgba(0,0,0,0.06);
    --toggle-border: rgba(0,0,0,0.14);
    --toggle-knob: rgba(17,20,26,0.92);
    --toggle-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

    .theme-light header,
    .theme-light footer {
        background-color: var(--app-bg);
    }

    .theme-light body {
        background-color: var(--app-bg);
        color: var(--text);
    }

    .theme-light .glass {
        backdrop-filter: blur(10px);
    }


    .theme-light .sidebar {
        background: rgba(255,255,255,0.78) !important;
        border-right: 1px solid rgba(0,0,0,0.10) !important;
    }

        .theme-light .brand-text,
        .theme-light .brand .brand-text,
        .theme-light .sidebar .brand-text {
            color: rgba(17,20,26,0.92) !important;
        }

    .theme-light .text-white {
        color: rgba(17,20,26,0.92) !important;
    }

    .theme-light .sidebar .sidebar-nav .nav-link {
        color: rgba(17,20,26,0.86) !important;
        background: rgba(0,0,0,0.02);
        border: 0px solid rgba(0,0,0,0.06);
    }

        .theme-light .sidebar .sidebar-nav .nav-link:hover {
            background: rgba(0,0,0,0.05);
            border-color: rgba(0,0,0,0.10);
        }

        .theme-light .sidebar .sidebar-nav .nav-link.active {
            background: rgba(35,213,198,0.12);
            border-color: rgba(35,213,198,0.28);
            color: rgba(17,20,26,0.92) !important;
        }


    .theme-light .sidebar .sidebar-nav .s-icon {
        background: rgba(0,0,0,0.04);
        border: 1px solid rgba(0,0,0,0.08);
    }

    .theme-light .topbar {
        background: rgba(255,255,255,0.72) !important;
        border-bottom: 1px solid rgba(0,0,0,0.10) !important;
    }

    .theme-light .topbar-title .fw-semibold {
        color: rgba(17,20,26,0.92) !important;
    }

    .theme-light .icon-btn {
        border: 1px solid rgba(0,0,0,0.12) !important;
        background: rgba(255,255,255,0.65) !important;
        color: rgba(17,20,26,0.84) !important;
    }

        .theme-light .icon-btn:hover {
            background: rgba(0,0,0,0.05) !important;
        }

    .theme-light .topbar-search {
        border: 1px solid rgba(0,0,0,0.12) !important;
        background: rgba(255,255,255,0.75) !important;
    }

    .theme-light .search-input {
        color: rgba(17,20,26,0.92) !important;
    }

        .theme-light .search-input::placeholder {
            color: rgba(17,20,26,0.45) !important;
        }

    .theme-light .search-ico {
        opacity: 0.85;
    }

    .theme-light .profile-chip-warn {
        color: rgba(17,20,26,0.92);
    }

    .theme-light .dropdown-menu-dark {
        background: #ffffff !important;
        color: rgba(17,20,26,0.92) !important;
        border: 1px solid rgba(0,0,0,0.10) !important;
    }

        .theme-light .dropdown-menu-dark .dropdown-item {
            color: rgba(17,20,26,0.86) !important;
        }

            .theme-light .dropdown-menu-dark .dropdown-item:hover {
                background: rgba(0,0,0,0.05) !important;
            }

    .theme-light .input-dark {
        background: rgba(255,255,255,0.78) !important;
        border: 1px solid rgba(0,0,0,0.12) !important;
        color: rgba(17,20,26,0.92) !important;
    }

        .theme-light .input-dark::placeholder {
            color: rgba(17,20,26,0.45) !important;
        }

    .theme-light .form-select option {
        background-color: #ffffff !important;
        color: rgba(17,20,26,0.92) !important;
    }

    .theme-light .form-select.select-arrow {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(17,20,26,0.78)' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    }

        .theme-light .form-select.select-arrow:focus {
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(35,213,198,0.95)' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
        }

    .theme-light .btn-outline-light {
        color: #495057 !important;
        border-color: #adb5bd !important;
    }

        .theme-light .btn-outline-light:hover {
            background: #f1f3f5 !important;
            border-color: #868e96 !important;
            color: #212529 !important;
        }

    .theme-light .dropdown-menu-dark {
        background: #ffffff !important;
        color: rgba(17, 20, 26, 0.92) !important;
        border: 1px solid rgba(0,0,0,0.10) !important;
        box-shadow: 0 18px 55px rgba(0,0,0,0.10);
    }

        .theme-light .dropdown-menu-dark .notif-head,
        .theme-light .dropdown-menu-dark .profile-header {
            background: rgba(0,0,0,0.02) !important;
            border-bottom-color: rgba(0,0,0,0.08) !important;
        }

        .theme-light .dropdown-menu-dark .border-light.border-opacity-10,
        .theme-light .dropdown-menu-dark .border-top.border-light.border-opacity-10,
        .theme-light .dropdown-menu-dark .border-bottom.border-light.border-opacity-10 {
            border-color: rgba(0,0,0,0.10) !important;
        }

        .theme-light .dropdown-menu-dark .dropdown-item {
            color: rgba(17, 20, 26, 0.86) !important;
        }

            .theme-light .dropdown-menu-dark .dropdown-item:hover,
            .theme-light .dropdown-menu-dark .dropdown-item:focus {
                background: rgba(0,0,0,0.05) !important;
                color: rgba(17, 20, 26, 0.92) !important;
            }

    .theme-light .profile-name {
        color: rgba(17, 20, 26, 0.92) !important;
    }

    .theme-light .profile-role {
        color: rgba(17, 20, 26, 0.60) !important;
    }

    .theme-light .notif-item {
        background: rgba(0,0,0,0.01) !important;
        border-bottom: 1px solid rgba(0,0,0,0.08) !important;
        color: rgba(17, 20, 26, 0.92) !important;
    }

        .theme-light .notif-item:hover {
            background: rgba(0,0,0,0.04) !important;
        }

    .theme-light .notif-title {
        color: rgba(17, 20, 26, 0.92) !important;
    }

    .theme-light .notif-text {
        color: rgba(17, 20, 26, 0.70) !important;
    }

    .theme-light .notif-time {
        color: rgba(17, 20, 26, 0.55) !important;
    }

    .theme-light .notif-icon {
        background: rgba(0,0,0,0.04) !important;
        border: 1px solid rgba(0,0,0,0.10) !important;
    }

    .theme-light .dropdown-menu-dark .notif-foot {
        border-top-color: rgba(0,0,0,0.10) !important;
    }

    .theme-light .link-accent {
        color: #117a70 !important;
    }

        .theme-light .link-accent:hover {
            color: #0f6b62 !important;
        }

    .theme-light .dropdown-menu-dark .btn-outline-light {
        color: rgba(17,20,26,0.86) !important;
        border-color: rgba(0,0,0,0.25) !important;
        background: transparent !important;
    }

        .theme-light .dropdown-menu-dark .btn-outline-light:hover {
            background: rgba(0,0,0,0.05) !important;
            border-color: rgba(0,0,0,0.40) !important;
            color: rgba(0,0,0,0.92) !important;
        }

    .theme-light .dropdown-toggle::after {
        filter: none !important;
        border-top-color: rgba(17,20,26,0.55) !important;
    }

    .theme-light #mobileMenu.offcanvas {
        background: rgba(255,255,255,0.96) !important;
        border-right: 1px solid rgba(0,0,0,0.10) !important;
        backdrop-filter: blur(14px);
    }

    .theme-light #mobileMenu .offcanvas-header {
        border-bottom: 1px solid rgba(0,0,0,0.10) !important;
    }

    .theme-light #mobileMenu .offcanvas-title {
        color: rgba(17,20,26,0.92) !important;
    }

    .theme-light #mobileMenu .btn-close-white {
        filter: invert(1) grayscale(1) contrast(1.1);
    }

    .theme-light #mobileMenu nav.nav .nav-link,
    .theme-light #mobileMenu nav.nav-pills .nav-link {
        color: rgba(17,20,26,0.90) !important;
        background: rgba(0,0,0,0.03) !important;
        border: 0px solid rgba(0,0,0,0.10) !important;
    }

        .theme-light #mobileMenu nav.nav .nav-link:hover,
        .theme-light #mobileMenu nav.nav-pills .nav-link:hover {
            background: rgba(0,0,0,0.06) !important;
            border-color: rgba(0,0,0,0.14) !important;
        }

        .theme-light #mobileMenu nav.nav .nav-link.active,
        .theme-light #mobileMenu nav.nav-pills .nav-link.active {
            background: rgba(35,213,198,0.14) !important;
            border-color: rgba(35,213,198,0.28) !important;
            color: rgba(17,20,26,0.92) !important;
        }

    .theme-light #mobileMenu .nav-link .s-icon {
        background: rgba(0,0,0,0.04) !important;
        border: 1px solid rgba(0,0,0,0.10) !important;
    }

    .theme-light #mobileMenu .nav-link .s-text {
        color: rgba(17,20,26,0.90) !important;
        font-weight: 600 !important;
    }

    .theme-light table,
    .theme-light .table {
        --bs-table-bg: transparent;
        --bs-table-color: rgba(17, 20, 26, 0.92);
        --bs-table-border-color: rgba(0, 0, 0, 0.12);
        --bs-table-hover-bg: rgba(35, 213, 198, 0.10);
        --bs-table-hover-color: rgba(17, 20, 26, 0.92);
    }

        .theme-light .table thead th {
            background: rgba(0, 0, 0, 0.04) !important;
            color: rgba(17, 20, 26, 0.95) !important;
            border-bottom: 1px solid rgba(0, 0, 0, 0.18) !important;
            font-weight: 700;
        }

        .theme-light .table tbody tr {
            background: rgba(255,255,255,0.85) !important;
            color: rgba(17, 20, 26, 0.92) !important;
        }

        .theme-light .table tbody td {
            border-color: rgba(0,0,0,0.12) !important;
        }

        .theme-light .table tbody tr:hover {
            background: linear-gradient( 90deg, rgba(35,213,198,0.12), rgba(35,213,198,0.04) ) !important;
        }

    .theme-light .table-striped > tbody > tr:nth-of-type(odd) {
        background: rgba(0,0,0,0.02) !important;
    }

    .theme-light .table-bordered > :not(caption) > * {
        border-color: rgba(0,0,0,0.16) !important;
    }

    .theme-light .table-dark,
    .theme-light .table-dark th,
    .theme-light .table-dark td {
        background: transparent !important;
        color: rgba(17, 20, 26, 0.92) !important;
        border-color: rgba(0,0,0,0.14) !important;
    }

    .theme-light .table thead th .text-muted,
    .theme-light .table thead th small {
        color: rgba(17, 20, 26, 0.55) !important;
    }

    .theme-light .table-responsive {
        background: rgba(255,255,255,0.65);
        border-radius: 14px;
        border: 1px solid rgba(0,0,0,0.10);
    }

    .theme-light .text-white,
    .theme-light .text-bg-dark {
        color: rgba(17, 20, 26, 0.92) !important;
    }

    .theme-light,
    .theme-light body {
        color: rgba(17, 20, 26, 0.92) !important;
    }

        .theme-light h1,
        .theme-light h2,
        .theme-light h3,
        .theme-light h4,
        .theme-light h5,
        .theme-light h6 {
            color: rgba(17, 20, 26, 0.95) !important;
        }

        .theme-light .text-muted,
        .theme-light .text-muted2 {
            color: rgba(17, 20, 26, 0.60) !important;
        }

        .theme-light .sidebar,
        .theme-light .topbar,
        .theme-light .sidebar .nav-link,
        .theme-light .topbar-title,
        .theme-light .brand-text {
            color: rgba(17, 20, 26, 0.90) !important;
        }

            .theme-light .sidebar .nav-link.active {
                color: rgba(17, 20, 26, 0.95) !important;
            }

        .theme-light .profile-name,
        .theme-light .profile-role,
        .theme-light .dropdown-menu-dark .dropdown-item {
            color: rgba(17, 20, 26, 0.92) !important;
        }

        .theme-light table,
        .theme-light .table,
        .theme-light .table th,
        .theme-light .table td {
            color: rgba(17, 20, 26, 0.92) !important;
        }

        .theme-light .badge,
        .theme-light .badge-soft,
        .theme-light .badge-wide,
        .theme-light .btn,
        .theme-light .btn-outline-light {
            color: rgba(17, 20, 26, 0.92) !important;
        }

        .theme-light a:not(.link-accent) {
            color: rgba(17, 20, 26, 0.88);
        }

        .theme-light .btn-accent {
            background: linear-gradient(90deg, #167d74, #245fbd) !important;
            border: 0 !important;
            color: #ffffff !important;
        }

        .theme-light .btn-outline-light:hover,
        .theme-light .btn-outline-light:focus {
            color: rgba(17,20,26,0.95) !important;
            background: rgba(0,0,0,0.06) !important;
            border-color: rgba(0,0,0,0.55) !important;
        }

        .theme-light .btn-outline-light:active {
            background: rgba(0,0,0,0.10) !important;
            border-color: rgba(0,0,0,0.65) !important;
        }

        .theme-light .badge-soft {
            box-shadow: none !important;
            color: rgba(17,20,26,0.92) !important;
            background: rgba(22,125,116,0.14) !important;
            border: 1px solid rgba(22,125,116,0.28) !important;
        }

        .theme-light .link-accent {
            color: #0f6b62 !important;
        }

            .theme-light .link-accent:hover {
                color: #0b5a53 !important;
            }

        .theme-light .input-dark:focus,
        .theme-light .form-control:focus,
        .theme-light .form-select:focus {
            box-shadow: 0 0 0 2px rgba(22,125,116,0.18) !important;
            border-color: rgba(22,125,116,0.55) !important;
        }

        .theme-light .modal .form-control:focus,
        .theme-light .modal .form-select:focus,
        .theme-light .modal .input-dark:focus {
            box-shadow: 0 0 0 2px rgba(22,125,116,0.18) !important;
        }

        .theme-light .modal .btn-close {
            filter: invert(1) grayscale(1) brightness(0) !important;
            opacity: .75;
        }

            .theme-light .modal .btn-close:hover {
                opacity: .95;
            }

        .theme-light .notice-flag:hover .toggle-ui {
            border-color: rgba(0,0,0,0.26);
        }

        .theme-light .su-site-dropdown {
            background: rgba(0,0,0,.04);
            border-color: rgba(0,0,0,.2);
        }

/* =========================================================
   SAND THEME
   ========================================================= */

.theme-sand {
    --app-bg: #d8c6a8;
    --bg: #d8c6a8;
    --text: rgba(20, 17, 12, 0.92);
    --muted: rgba(20, 17, 12, 0.62);
    --panel: rgba(255,255,255,0.24);
    --panel2: rgba(255,255,255,0.30);
    --stroke: rgba(20,17,12,0.18);
    --accent: #0f8f86;
    --accent2: #a9833d;
    --chat-in-bg: rgba(255,255,255,0.82);
    --chat-in-text: var(--text);
    --chat-out-bg: linear-gradient(135deg, var(--accent), var(--accent2));
    --chat-out-text: #14110c;
    --chat-time: rgba(20,17,12,0.52);
    --chat-input-bg: rgba(255,255,255,0.78);
    --alert-info-bg: rgba(11,58,106,0.10);
    --alert-info-border: rgba(11,58,106,0.24);
    --alert-info-text: rgba(20,17,12,0.92);
    --alert-success-bg: rgba(15,143,134,0.12);
    --alert-success-border: rgba(15,143,134,0.26);
    --alert-success-text: rgba(20,17,12,0.92);
    --alert-warning-bg: rgba(245,159,0,0.14);
    --alert-warning-border: rgba(245,159,0,0.28);
    --alert-warning-text: rgba(20,17,12,0.92);
    --alert-danger-bg: rgba(180,35,24,0.12);
    --alert-danger-border: rgba(180,35,24,0.28);
    --alert-danger-text: rgba(20,17,12,0.92);
    --alert-neutral-bg: rgba(255,255,255,0.62);
    --alert-neutral-border: rgba(20,17,12,0.16);
    --alert-neutral-text: rgba(20,17,12,0.90);
    --toast-info-bg: var(--alert-info-bg);
    --toast-info-border: var(--alert-info-border);
    --toast-info-text: var(--alert-info-text);
    --toast-alert-bg: var(--alert-danger-bg);
    --toast-alert-border: var(--alert-danger-border);
    --toast-alert-text: var(--alert-danger-text);
    --modal-bg: rgba(255,255,255,0.82);
    --modal-border: rgba(20,17,12,0.18);
    --modal-title: rgba(20,17,12,0.95);
    --modal-text: rgba(20,17,12,0.86);
    --modal-muted: rgba(20,17,12,0.62);
    --modal-head-bg: rgba(20,17,12,0.04);
    --modal-foot-bg: rgba(20,17,12,0.03);
    --modal-input-bg: rgba(255,255,255,0.88);
    --modal-input-border: rgba(20,17,12,0.18);
    --modal-backdrop: rgba(0,0,0,0.35);
    --toggle-bg: rgba(20,17,12,0.06);
    --toggle-border: rgba(20,17,12,0.18);
    --toggle-knob: rgba(20,17,12,0.92);
    --toggle-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

    .theme-sand,
    .theme-sand body,
    .theme-sand .app-shell,
    .theme-sand header,
    .theme-sand footer,
    .theme-sand .page-content,
    .theme-sand main,
    .theme-sand .container-fluid {
        background-color: var(--app-bg) !important;
        color: var(--text) !important;
    }

        .theme-sand .glass,
        .theme-sand .usercard,
        .theme-sand .loan-grid > div,
        .theme-sand .fault-card,
        .theme-sand .notice-card,
        .theme-sand .table-responsive {
            background: rgba(255,255,255,0.34) !important;
            border-color: rgba(20,17,12,0.18) !important;
        }


        .theme-sand aside.sidebar,
        .theme-sand header.topbar,
        .theme-sand header.topbar.topbar-inset {
            background: #e7dcc7 !important;
            background-color: #e7dcc7 !important;
            border-color: rgba(20,17,12,0.18) !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        .theme-sand aside.sidebar {
            border-right: 1px solid rgba(20,17,12,0.18) !important;
        }

        .theme-sand header.topbar,
        .theme-sand header.topbar.topbar-inset {
            border-bottom: 1px solid rgba(20,17,12,0.18) !important;
        }

            .theme-sand aside.sidebar.bg-white,
            .theme-sand aside.sidebar.bg-light,
            .theme-sand header.topbar.bg-white,
            .theme-sand header.topbar.bg-light,
            .theme-sand header.topbar.text-bg-light {
                background: #e7dcc7 !important;
                background-color: #e7dcc7 !important;
            }

        .theme-sand .brand-text,
        .theme-sand .sidebar .brand-text,
        .theme-sand .sidebar .sidebar-brand-text,
        .theme-sand .topbar-title .fw-semibold {
            color: rgba(20,17,12,0.92) !important;
        }

        .theme-sand .sidebar .sidebar-nav .nav-link {
            color: rgba(20,17,12,0.88) !important;
            background: rgba(20,17,12,0.03) !important;
            border: 0 !important;
        }

            .theme-sand .sidebar .sidebar-nav .nav-link:hover {
                background: rgba(20,17,12,0.06) !important;
            }

            .theme-sand .sidebar .sidebar-nav .nav-link.active {
                background: rgba(15,143,134,0.16) !important;
                border-color: rgba(15,143,134,0.34) !important;
                color: rgba(20,17,12,0.92) !important;
            }

        .theme-sand .sidebar .sidebar-nav .s-icon,
        .theme-sand .profile-avatar,
        .theme-sand .user-avatar,
        .theme-sand .stat-icon,
        .theme-sand .notif-icon {
            background: rgba(20,17,12,0.06) !important;
            border: 1px solid rgba(20,17,12,0.16) !important;
            color: rgba(20,17,12,0.86) !important;
        }

        .theme-sand header.topbar .icon-btn,
        .theme-sand header.topbar.topbar-inset .icon-btn {
            border-width: 1px !important;
            border-style: solid !important;
            border-color: rgba(20,17,12,0.22) !important;
            background: rgba(231,220,199,0.62) !important;
            color: rgba(20,17,12,0.86) !important;
            box-shadow: none !important;
        }

            .theme-sand header.topbar .icon-btn:hover,
            .theme-sand header.topbar.topbar-inset .icon-btn:hover {
                background: rgba(20,17,12,0.06) !important;
                border-color: rgba(20,17,12,0.28) !important;
            }

        .theme-sand header.topbar .btn.icon-btn,
        .theme-sand header.topbar .btn.btn-outline-light,
        .theme-sand header.topbar.topbar-inset .btn.icon-btn,
        .theme-sand header.topbar.topbar-inset .btn.btn-outline-light {
            border-width: 1px !important;
        }

        .theme-sand #mobileMenu.offcanvas {
            background: #e7dcc7 !important;
            background-color: #e7dcc7 !important;
            border-right: 1px solid rgba(20,17,12,0.18) !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

        .theme-sand #mobileMenu .offcanvas-title {
            color: rgba(20,17,12,0.92) !important;
        }

        .theme-sand header.topbar .topbar-search,
        .theme-sand header.topbar.topbar-inset .topbar-search {
            background: rgba(231,220,199,0.62) !important;
            border: 1px solid rgba(20,17,12,0.22) !important;
        }

            .theme-sand header.topbar .topbar-search input,
            .theme-sand header.topbar .topbar-search .form-control,
            .theme-sand header.topbar .topbar-search .search-input,
            .theme-sand header.topbar .topbar-search input.form-control,
            .theme-sand header.topbar.topbar-inset .topbar-search input,
            .theme-sand header.topbar.topbar-inset .topbar-search .form-control,
            .theme-sand header.topbar.topbar-inset .topbar-search .search-input {
                background: rgba(231, 220, 199, 0.88) !important;
                color: rgba(20, 17, 12, 0.92) !important;
                border: 1px solid rgba(20, 17, 12, 0.22) !important;
                box-shadow: none !important;
                outline: none !important;
            }

                .theme-sand header.topbar .topbar-search input::placeholder,
                .theme-sand header.topbar .topbar-search .form-control::placeholder,
                .theme-sand header.topbar .topbar-search .search-input::placeholder {
                    color: rgba(20, 17, 12, 0.55) !important;
                }

                .theme-sand header.topbar .topbar-search input:focus,
                .theme-sand header.topbar .topbar-search .form-control:focus,
                .theme-sand header.topbar .topbar-search .search-input:focus {
                    background: rgba(231, 220, 199, 0.96) !important;
                    border-color: rgba(15, 143, 134, 0.50) !important;
                    box-shadow: 0 0 0 2px rgba(15, 143, 134, 0.18) !important;
                }

            .theme-sand header.topbar .topbar-search .search-input {
                background: transparent !important;
            }

        .theme-sand .input-dark {
            background: rgba(255,255,255,0.72) !important;
            border: 1px solid rgba(20,17,12,0.20) !important;
            color: rgba(20,17,12,0.92) !important;
        }

            .theme-sand .input-dark::placeholder {
                color: rgba(20,17,12,0.52) !important;
            }

            .theme-sand .input-dark:focus,
            .theme-sand .form-control:focus,
            .theme-sand .form-select:focus {
                box-shadow: 0 0 0 2px rgba(15,143,134,0.16) !important;
                border-color: rgba(15,143,134,0.50) !important;
            }

        .theme-sand .table,
        .theme-sand table {
            --bs-table-bg: transparent;
            --bs-table-color: rgba(20, 17, 12, 0.92);
            --bs-table-border-color: rgba(20, 17, 12, 0.22);
            --bs-table-striped-bg: rgba(20, 17, 12, 0.05);
            --bs-table-striped-color: rgba(20, 17, 12, 0.92);
            --bs-table-hover-bg: rgba(15, 143, 134, 0.10);
            --bs-table-hover-color: rgba(20, 17, 12, 0.95);
        }

            .theme-sand .table thead th {
                background: rgba(231, 220, 199, 0.55) !important;
                color: rgba(20, 17, 12, 0.95) !important;
                border-bottom: 1px solid rgba(20, 17, 12, 0.28) !important;
                font-weight: 800;
            }

            .theme-sand .table tbody tr {
                background: rgba(231, 220, 199, 0.32) !important;
                color: rgba(20, 17, 12, 0.92) !important;
            }

            .theme-sand .table tbody td {
                border-color: rgba(20, 17, 12, 0.22) !important;
            }

            .theme-sand .table tbody tr:hover {
                background: rgba(15, 143, 134, 0.12) !important;
            }

        .theme-sand .table-striped > tbody > tr:nth-of-type(odd) {
            background: rgba(231, 220, 199, 0.42) !important;
        }

        .theme-sand .table.table-dark,
        .theme-sand .table.table-dark th,
        .theme-sand .table.table-dark td {
            background: transparent !important;
            color: rgba(20,17,12,0.92) !important;
            border-color: rgba(20,17,12,0.22) !important;
        }

        .theme-sand .table-responsive {
            background: rgba(231, 220, 199, 0.26) !important;
            border: 1px solid rgba(20, 17, 12, 0.20) !important;
            border-radius: 14px;
        }

        .theme-sand .dropdown-menu,
        .theme-sand .dropdown-menu-dark {
            background: rgba(231, 220, 199, 0.96) !important;
            color: rgba(20, 17, 12, 0.92) !important;
            border: 1px solid rgba(20, 17, 12, 0.18) !important;
            border-radius: 14px !important;
            box-shadow: 0 18px 55px rgba(0,0,0,0.14) !important;
            backdrop-filter: none !important;
            -webkit-backdrop-filter: none !important;
        }

            .theme-sand .dropdown-menu .dropdown-item,
            .theme-sand .dropdown-menu-dark .dropdown-item {
                color: rgba(20, 17, 12, 0.88) !important;
                background: transparent !important;
            }

                .theme-sand .dropdown-menu .dropdown-item:hover,
                .theme-sand .dropdown-menu .dropdown-item:focus,
                .theme-sand .dropdown-menu-dark .dropdown-item:hover,
                .theme-sand .dropdown-menu-dark .dropdown-item:focus {
                    background: rgba(20, 17, 12, 0.06) !important;
                    color: rgba(20, 17, 12, 0.92) !important;
                }

                .theme-sand .dropdown-menu .dropdown-item.active,
                .theme-sand .dropdown-menu .dropdown-item:active,
                .theme-sand .dropdown-menu-dark .dropdown-item.active,
                .theme-sand .dropdown-menu-dark .dropdown-item:active {
                    background: rgba(15, 143, 134, 0.16) !important;
                    color: rgba(20, 17, 12, 0.92) !important;
                }

        .theme-sand .dropdown-divider {
            border-top: 1px solid rgba(20, 17, 12, 0.14) !important;
        }

        .theme-sand .dropdown-menu .dropdown-header,
        .theme-sand .dropdown-menu-dark .dropdown-header {
            color: rgba(20, 17, 12, 0.62) !important;
        }

        .theme-sand .dropdown-menu-dark .notif-head,
        .theme-sand .dropdown-menu-dark .profile-header,
        .theme-sand .dropdown-menu .notif-head,
        .theme-sand .dropdown-menu .profile-header {
            background: rgba(20, 17, 12, 0.03) !important;
            border-bottom: 1px solid rgba(20, 17, 12, 0.12) !important;
        }

        .theme-sand .dropdown-menu-dark .notif-foot,
        .theme-sand .dropdown-menu .notif-foot {
            border-top: 1px solid rgba(20, 17, 12, 0.12) !important;
            background: rgba(20, 17, 12, 0.02) !important;
        }

        .theme-sand .dropdown-menu .text-muted,
        .theme-sand .dropdown-menu .text-muted2,
        .theme-sand .dropdown-menu .small,
        .theme-sand .dropdown-menu-dark .text-muted,
        .theme-sand .dropdown-menu-dark .text-muted2,
        .theme-sand .dropdown-menu-dark .small {
            color: rgba(20, 17, 12, 0.62) !important;
        }

        .theme-sand .dropdown-menu .btn-outline-light,
        .theme-sand .dropdown-menu-dark .btn-outline-light {
            color: rgba(20, 17, 12, 0.86) !important;
            border-color: rgba(20, 17, 12, 0.28) !important;
            background: transparent !important;
        }

            .theme-sand .dropdown-menu .btn-outline-light:hover,
            .theme-sand .dropdown-menu-dark .btn-outline-light:hover {
                background: rgba(20, 17, 12, 0.06) !important;
                border-color: rgba(20, 17, 12, 0.40) !important;
                color: rgba(20, 17, 12, 0.92) !important;
            }

        .theme-sand .dropdown-toggle::after {
            filter: none !important;
            border-top-color: rgba(20, 17, 12, 0.55) !important;
        }

        .theme-sand .dropdown-menu-dark {
            --bs-dropdown-color: rgba(20, 17, 12, 0.92) !important;
            --bs-dropdown-bg: rgba(231, 220, 199, 0.96) !important;
            --bs-dropdown-border-color: rgba(20, 17, 12, 0.18) !important;
            --bs-dropdown-link-color: rgba(20, 17, 12, 0.88) !important;
            --bs-dropdown-link-hover-bg: rgba(20, 17, 12, 0.06) !important;
            --bs-dropdown-link-hover-color: rgba(20, 17, 12, 0.92) !important;
            --bs-dropdown-link-active-bg: rgba(15, 143, 134, 0.16) !important;
            --bs-dropdown-link-active-color: rgba(20, 17, 12, 0.92) !important;
        }

        .theme-sand .su-site-dropdown {
            background: rgba(0,0,0,.04);
            border-color: rgba(0,0,0,.2);
        }

/* =========================================================
   TURQUOISE THEME
   ========================================================= */

.theme-turquoise {
    --app-bg: #072126;
    --bg: #072126;
    --text: rgba(240, 255, 253, 0.94);
    --muted: rgba(240, 255, 253, 0.70);
    --panel: rgba(255,255,255,0.06);
    --panel2: rgba(255,255,255,0.09);
    --stroke: rgba(35, 213, 198, 0.26);
    --accent: #35efe0;
    --accent2: #58a3ff;
    --chat-in-bg: rgba(255,255,255,0.07);
    --chat-in-text: var(--text);
    --chat-out-bg: linear-gradient(135deg, var(--accent), var(--accent2));
    --chat-out-text: #041016;
    --chat-time: rgba(240,255,253,0.72);
    --chat-input-bg: rgba(255,255,255,0.06);
    --alert-info-bg: rgba(88,163,255,0.14);
    --alert-info-border: rgba(88,163,255,0.32);
    --alert-info-text: rgba(240,255,253,0.94);
    --alert-success-bg: rgba(53,239,224,0.14);
    --alert-success-border: rgba(53,239,224,0.32);
    --alert-success-text: rgba(240,255,253,0.94);
    --alert-warning-bg: rgba(255,193,7,0.16);
    --alert-warning-border: rgba(255,193,7,0.34);
    --alert-warning-text: rgba(240,255,253,0.94);
    --alert-danger-bg: rgba(255,77,79,0.16);
    --alert-danger-border: rgba(255,77,79,0.38);
    --alert-danger-text: rgba(240,255,253,0.94);
    --alert-neutral-bg: rgba(255,255,255,0.06);
    --alert-neutral-border: rgba(53,239,224,0.22);
    --alert-neutral-text: rgba(240,255,253,0.90);
    --toast-info-bg: var(--alert-info-bg);
    --toast-info-border: var(--alert-info-border);
    --toast-info-text: var(--alert-info-text);
    --toast-alert-bg: var(--alert-danger-bg);
    --toast-alert-border: var(--alert-danger-border);
    --toast-alert-text: var(--alert-danger-text);
    --modal-bg: rgba(255,255,255,0.07);
    --modal-border: rgba(53,239,224,0.22);
    --modal-title: rgba(240,255,253,0.96);
    --modal-text: rgba(240,255,253,0.86);
    --modal-muted: rgba(240,255,253,0.70);
    --modal-head-bg: rgba(255,255,255,0.05);
    --modal-foot-bg: rgba(255,255,255,0.04);
    --modal-input-bg: rgba(255,255,255,0.06);
    --modal-input-border: rgba(53,239,224,0.28);
    --modal-backdrop: rgba(0,0,0,0.55);
}

    .theme-turquoise,
    .theme-turquoise body,
    .theme-turquoise .app-shell,
    .theme-turquoise header,
    .theme-turquoise footer,
    .theme-turquoise .page-content,
    .theme-turquoise main,
    .theme-turquoise .container-fluid {
        background-color: var(--app-bg) !important;
        color: var(--text) !important;
    }

        .theme-turquoise .glass,
        .theme-turquoise .usercard,
        .theme-turquoise .usercard .loan-grid > div,
        .theme-turquoise .loan-grid > div,
        .theme-turquoise .usercard,
        .theme-turquoise .fault-card,
        .theme-turquoise .notice-card,
        .theme-turquoise .table-responsive {
            background: var(--panel) !important;
            border-color: var(--stroke) !important;
        }

        .theme-turquoise .sidebar {
            background: rgba(7, 33, 38, 0.90) !important;
            border-right: 1px solid rgba(53, 239, 224, 0.22) !important;
        }

        .theme-turquoise .topbar {
            background: rgba(7, 33, 38, 0.86) !important;
            border-bottom: 1px solid rgba(53,239,224,0.18) !important;
        }

        .theme-turquoise .brand-text,
        .theme-turquoise .sidebar .brand-text,
        .theme-turquoise .sidebar .sidebar-brand-text,
        .theme-turquoise .topbar-title .fw-semibold {
            color: rgba(240,255,253,0.96) !important;
        }

        .theme-turquoise .sidebar .sidebar-nav .nav-link {
            color: rgba(240,255,253,0.90) !important;
            background: rgba(255,255,255,0.04);
            border: 0px solid rgba(53,239,224,0.16);
        }

            .theme-turquoise .sidebar .sidebar-nav .nav-link:hover {
                background: rgba(53,239,224,0.10);
                border-color: rgba(53,239,224,0.26);
            }

            .theme-turquoise .sidebar .sidebar-nav .nav-link.active {
                background: rgba(53,239,224,0.16);
                border-color: rgba(53,239,224,0.38);
                color: rgba(240,255,253,0.98) !important;
            }

        .theme-turquoise .sidebar .sidebar-nav .s-icon,
        .theme-turquoise .notif-icon,
        .theme-turquoise .profile-avatar,
        .theme-turquoise .user-avatar,
        .theme-turquoise .stat-icon {
            background: rgba(53,239,224,0.12) !important;
            border: 1px solid rgba(53,239,224,0.26) !important;
            color: rgba(240,255,253,0.92) !important;
        }

        .theme-turquoise .topbar-search {
            border: 1px solid rgba(53,239,224,0.20) !important;
            background: rgba(255,255,255,0.05) !important;
        }

        .theme-turquoise .search-input {
            color: rgba(240,255,253,0.94) !important;
        }

            .theme-turquoise .search-input::placeholder {
                color: rgba(240,255,253,0.50) !important;
            }

        .theme-turquoise .icon-btn {
            border: 1px solid rgba(53,239,224,0.18) !important;
            background: rgba(255,255,255,0.05) !important;
            color: rgba(240,255,253,0.90) !important;
        }

            .theme-turquoise .icon-btn:hover {
                background: rgba(53,239,224,0.10) !important;
            }

        .theme-turquoise .dropdown-menu-dark {
            background: rgba(7, 33, 38, 0.97) !important;
            color: rgba(240,255,253,0.92) !important;
            border: 1px solid rgba(53,239,224,0.18) !important;
        }

            .theme-turquoise .dropdown-menu-dark .dropdown-item {
                color: rgba(240,255,253,0.88) !important;
            }

                .theme-turquoise .dropdown-menu-dark .dropdown-item:hover,
                .theme-turquoise .dropdown-menu-dark .dropdown-item:focus {
                    background: rgba(53,239,224,0.12) !important;
                    color: rgba(240,255,253,0.98) !important;
                }

        .theme-turquoise .profile-name {
            color: rgba(240,255,253,0.96) !important;
        }

        .theme-turquoise .profile-role {
            color: rgba(240,255,253,0.70) !important;
        }

        .theme-turquoise .input-dark {
            background: rgba(255,255,255,0.06) !important;
            border: 1px solid rgba(53,239,224,0.40) !important;
            color: rgba(240,255,253,0.92) !important;
        }

            .theme-turquoise .input-dark::placeholder {
                color: rgba(240,255,253,0.48) !important;
            }

        .theme-turquoise .form-select option {
            background-color: #072126 !important;
            color: rgba(240,255,253,0.92) !important;
        }

        .theme-turquoise .form-select.select-arrow {
            background-color: rgba(255,255,255,0.06) !important;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(240,255,253,0.86)' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
        }

            .theme-turquoise .form-select.select-arrow:focus {
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(53,239,224,0.98)' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
            }

        .theme-turquoise #mobileMenu.offcanvas {
            background: rgba(7, 33, 38, 0.98) !important;
            border-right: 1px solid rgba(53,239,224,0.20) !important;
        }

        .theme-turquoise #mobileMenu .offcanvas-title {
            color: rgba(240,255,253,0.95) !important;
        }

        .theme-turquoise #mobileMenu nav.nav .nav-link,
        .theme-turquoise #mobileMenu nav.nav-pills .nav-link {
            color: rgba(240,255,253,0.95) !important;
            background: rgba(255,255,255,0.05) !important;
            border: 0px solid rgba(53,239,224,0.18) !important;
        }

            .theme-turquoise #mobileMenu nav.nav .nav-link:hover,
            .theme-turquoise #mobileMenu nav.nav-pills .nav-link:hover {
                background: rgba(53,239,224,0.12) !important;
                border-color: rgba(53,239,224,0.28) !important;
            }

            .theme-turquoise #mobileMenu nav.nav .nav-link.active,
            .theme-turquoise #mobileMenu nav.nav-pills .nav-link.active {
                background: rgba(53,239,224,0.16) !important;
                border-color: rgba(53,239,224,0.38) !important;
            }

        .theme-turquoise table,
        .theme-turquoise .table {
            --bs-table-bg: transparent;
            --bs-table-color: rgba(240,255,253,0.94);
            --bs-table-border-color: rgba(53,239,224,0.28);
        }

            .theme-turquoise .table thead th {
                background: rgba(53,239,224,0.14) !important;
                color: rgba(240,255,253,0.98) !important;
                border-bottom: 1px solid rgba(53,239,224,0.40) !important;
            }

            .theme-turquoise .table tbody tr {
                background: rgba(255,255,255,0.04) !important;
                color: rgba(240,255,253,0.92) !important;
            }

            .theme-turquoise .table tbody td {
                border-color: rgba(53,239,224,0.22) !important;
            }

            .theme-turquoise .table tbody tr:hover {
                background: rgba(53,239,224,0.12) !important;
            }

        .theme-turquoise .table-striped > tbody > tr:nth-of-type(odd) {
            background: rgba(255,255,255,0.06) !important;
        }

        .theme-turquoise .table-bordered > :not(caption) > * {
            border-color: rgba(53,239,224,0.30) !important;
        }

        .theme-turquoise .table-dark,
        .theme-turquoise .table-dark th,
        .theme-turquoise .table-dark td {
            background: transparent !important;
            color: rgba(240,255,253,0.94) !important;
            border-color: rgba(53,239,224,0.28) !important;
        }

        .theme-turquoise .btn-accent {
            color: #041016 !important;
        }

        .theme-turquoise .badge-soft {
            box-shadow: none !important;
        }

        .theme-turquoise .input-dark:focus,
        .theme-turquoise .form-control:focus,
        .theme-turquoise .form-select:focus {
            box-shadow: 0 0 0 2px rgba(53,239,224,0.18) !important;
            border-color: rgba(53,239,224,0.55) !important;
        }

/* =========================================================
   GRAY THEME
   ========================================================= */

.theme-gray {
    --app-bg: #121417;
    --bg: #121417;
    --text: rgba(245, 246, 248, 0.94);
    --muted: rgba(245, 246, 248, 0.68);
    --panel: rgba(255,255,255,0.05);
    --panel2: rgba(255,255,255,0.08);
    --stroke: rgba(255,255,255,0.12);
    --accent: #2a6f97;
    --accent2: #1f3b73;
    --chat-in-bg: rgba(255,255,255,0.06);
    --chat-in-text: var(--text);
    --chat-out-bg: linear-gradient(135deg, rgba(42,111,151,0.92), rgba(31,59,115,0.92));
    --chat-out-text: #ffffff;
    --chat-time: rgba(245,246,248,0.72);
    --chat-input-bg: rgba(255,255,255,0.05);
    --alert-info-bg: rgba(31,59,115,0.14);
    --alert-info-border: rgba(31,59,115,0.30);
    --alert-info-text: rgba(245,246,248,0.94);
    --alert-success-bg: rgba(42,111,151,0.14);
    --alert-success-border: rgba(42,111,151,0.30);
    --alert-success-text: rgba(245,246,248,0.94);
    --alert-warning-bg: rgba(245,159,0,0.16);
    --alert-warning-border: rgba(245,159,0,0.34);
    --alert-warning-text: rgba(245,246,248,0.94);
    --alert-danger-bg: rgba(180,35,24,0.16);
    --alert-danger-border: rgba(180,35,24,0.38);
    --alert-danger-text: rgba(245,246,248,0.94);
    --alert-neutral-bg: rgba(255,255,255,0.06);
    --alert-neutral-border: rgba(255,255,255,0.12);
    --alert-neutral-text: rgba(245,246,248,0.90);
    --toast-info-bg: var(--alert-info-bg);
    --toast-info-border: var(--alert-info-border);
    --toast-info-text: var(--alert-info-text);
    --toast-alert-bg: var(--alert-danger-bg);
    --toast-alert-border: var(--alert-danger-border);
    --toast-alert-text: var(--alert-danger-text);
    --modal-bg: rgba(255,255,255,0.08);
    --modal-border: rgba(255,255,255,0.12);
    --modal-title: rgba(245,246,248,0.96);
    --modal-text: rgba(245,246,248,0.86);
    --modal-muted: rgba(245,246,248,0.68);
    --modal-head-bg: rgba(255,255,255,0.05);
    --modal-foot-bg: rgba(255,255,255,0.04);
    --modal-input-bg: rgba(255,255,255,0.06);
    --modal-input-border: rgba(255,255,255,0.14);
    --modal-backdrop: rgba(0,0,0,0.55);
}

    .theme-gray,
    .theme-gray body,
    .theme-gray .app-shell,
    .theme-gray header,
    .theme-gray footer,
    .theme-gray .page-content,
    .theme-gray main,
    .theme-gray .container-fluid {
        background-color: var(--app-bg) !important;
        color: var(--text) !important;
    }

        .theme-gray .glass,
        .theme-gray .usercard,
        .theme-gray .usercard .loan-grid > div,
        .theme-gray .loan-grid > div,
        .theme-gray .fault-card,
        .theme-gray .notice-card,
        .theme-gray .table-responsive,
        .theme-gray .chart-card,
        .theme-gray .profile-menu,
        .theme-gray .notif-menu {
            background: var(--panel) !important;
            border-color: var(--stroke) !important;
        }

        .theme-gray .sidebar {
            background: rgba(18, 20, 23, 0.92) !important;
            border-right: 1px solid rgba(255,255,255,0.10) !important;
        }

            .theme-gray .brand-text,
            .theme-gray .sidebar .brand-text,
            .theme-gray .sidebar .sidebar-brand-text,
            .theme-gray .topbar-title .fw-semibold {
                color: rgba(245,246,248,0.96) !important;
            }

            .theme-gray .sidebar .sidebar-nav .nav-link {
                color: rgba(245,246,248,0.90) !important;
                background: rgba(255,255,255,0.03);
                border: 1px solid rgba(255,255,255,0.06);
            }

                .theme-gray .sidebar .sidebar-nav .nav-link:hover {
                    background: rgba(255,255,255,0.06);
                    border-color: rgba(255,255,255,0.10);
                }

                .theme-gray .sidebar .sidebar-nav .nav-link.active {
                    background: rgba(42,111,151,0.16);
                    border-color: rgba(42,111,151,0.32);
                    color: rgba(245,246,248,0.98) !important;
                }

            .theme-gray .sidebar .sidebar-nav .s-icon,
            .theme-gray .notif-icon,
            .theme-gray .profile-avatar,
            .theme-gray .user-avatar,
            .theme-gray .stat-icon {
                background: rgba(0,0,0,0.22) !important;
                border: 1px solid rgba(255,255,255,0.10) !important;
                color: rgba(245,246,248,0.92) !important;
            }

        .theme-gray .topbar {
            background: rgba(18, 20, 23, 0.86) !important;
            border-bottom: 1px solid rgba(255,255,255,0.10) !important;
        }

        .theme-gray .topbar-search {
            border: 1px solid rgba(255,255,255,0.12) !important;
            background: rgba(255,255,255,0.05) !important;
        }

        .theme-gray .search-input {
            color: rgba(245,246,248,0.95) !important;
        }

            .theme-gray .search-input::placeholder {
                color: rgba(245,246,248,0.50) !important;
            }

        .theme-gray .icon-btn {
            border: 1px solid rgba(255,255,255,0.12) !important;
            background: rgba(255,255,255,0.05) !important;
            color: rgba(245,246,248,0.90) !important;
        }

            .theme-gray .icon-btn:hover {
                background: rgba(255,255,255,0.08) !important;
            }

        .theme-gray .dropdown-menu-dark {
            background: rgba(18, 20, 23, 0.98) !important;
            color: rgba(245,246,248,0.92) !important;
            border: 1px solid rgba(255,255,255,0.10) !important;
            box-shadow: 0 18px 55px rgba(0,0,0,0.45);
        }

            .theme-gray .dropdown-menu-dark .dropdown-item {
                color: rgba(245,246,248,0.88) !important;
            }

                .theme-gray .dropdown-menu-dark .dropdown-item:hover,
                .theme-gray .dropdown-menu-dark .dropdown-item:focus {
                    background: rgba(255,255,255,0.06) !important;
                    color: rgba(245,246,248,0.98) !important;
                }

        .theme-gray .input-dark {
            background: rgba(255,255,255,0.05) !important;
            border: 1px solid rgba(255,255,255,0.14) !important;
            color: rgba(245,246,248,0.94) !important;
        }

            .theme-gray .input-dark::placeholder {
                color: rgba(245,246,248,0.48) !important;
            }

        .theme-gray .form-select option {
            background-color: #121417 !important;
            color: rgba(245,246,248,0.92) !important;
        }

        .theme-gray .form-select.select-arrow {
            background-color: rgba(255,255,255,0.05) !important;
            border: 1px solid rgba(255,255,255,0.14) !important;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(245,246,248,0.80)' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
        }

            .theme-gray .form-select.select-arrow:focus {
                box-shadow: 0 0 0 2px rgba(42,111,151,0.18) !important;
                border-color: rgba(42,111,151,0.55) !important;
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(42,111,151,0.98)' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
            }

        .theme-gray .btn-accent {
            background: linear-gradient(90deg, rgba(42,111,151,0.92), rgba(31,59,115,0.92)) !important;
            border: 1px solid rgba(255,255,255,0.10) !important;
            color: #ffffff !important;
        }

        .theme-gray .btn-outline-light {
            color: rgba(245,246,248,0.92) !important;
            border-color: rgba(255,255,255,0.22) !important;
            background: rgba(255,255,255,0.02) !important;
        }

            .theme-gray .btn-outline-light:hover {
                background: rgba(255,255,255,0.06) !important;
                border-color: rgba(255,255,255,0.30) !important;
            }

        .theme-gray .badge-soft {
            box-shadow: none !important;
            background: rgba(42,111,151,0.14) !important;
            border: 1px solid rgba(42,111,151,0.28) !important;
            color: rgba(245,246,248,0.92) !important;
        }

        .theme-gray .link-accent {
            color: rgba(160,214,255,0.95) !important;
        }

            .theme-gray .link-accent:hover {
                color: rgba(200,235,255,0.98) !important;
            }

        .theme-gray table,
        .theme-gray .table {
            --bs-table-bg: transparent;
            --bs-table-color: rgba(245,246,248,0.94);
            --bs-table-border-color: rgba(255,255,255,0.12);
            --bs-table-hover-bg: rgba(42,111,151,0.10);
            --bs-table-hover-color: rgba(245,246,248,0.95);
        }

            .theme-gray .table thead th {
                background: rgba(255,255,255,0.04) !important;
                color: rgba(245,246,248,0.96) !important;
                border-bottom: 1px solid rgba(255,255,255,0.14) !important;
                font-weight: 700;
            }

            .theme-gray .table tbody tr {
                background: rgba(255,255,255,0.02) !important;
                color: rgba(245,246,248,0.92) !important;
            }

            .theme-gray .table tbody td {
                border-color: rgba(255,255,255,0.12) !important;
            }

            .theme-gray .table tbody tr:hover {
                background: linear-gradient(90deg, rgba(42,111,151,0.12), rgba(255,255,255,0.02)) !important;
            }

        .theme-gray .table-responsive {
            background: rgba(255,255,255,0.03) !important;
            border: 1px solid rgba(255,255,255,0.10) !important;
        }

        .theme-gray .chat-bubble-incoming {
            background: var(--chat-in-bg) !important;
            color: var(--chat-in-text) !important;
            border: 1px solid rgba(255,255,255,0.12) !important;
            border-left: 3px solid rgba(42,111,151,0.85) !important;
        }

        .theme-gray .chat-bubble-outgoing {
            background: var(--chat-out-bg) !important;
            color: var(--chat-out-text) !important;
            border: 1px solid rgba(255,255,255,0.08) !important;
        }

        .theme-gray .chat-time-text {
            color: rgba(245,246,248,0.65) !important;
        }

        .theme-gray .chat-input-bar {
            background: var(--chat-input-bg) !important;
            border: 1px solid rgba(255,255,255,0.12) !important;
        }

/* =========================================================
   DARKBLUE THEME
   ========================================================= */

.theme-darkblue {
    --app-bg: #0b1220;
    --bg: #0b1220;
    --text: rgba(240, 246, 255, 0.95);
    --muted: rgba(240, 246, 255, 0.70);
    --panel: rgba(255,255,255,0.05);
    --panel2: rgba(255,255,255,0.08);
    --stroke: rgba(255,255,255,0.12);
    --accent: #1f8f86;
    --accent2: #245fbd;
    --chat-in-bg: rgba(255,255,255,0.06);
    --chat-in-text: var(--text);
    --chat-out-bg: linear-gradient(135deg, rgba(31,143,134,0.92), rgba(36,95,189,0.92));
    --chat-out-text: #ffffff;
    --chat-time: rgba(240,246,255,0.72);
    --chat-input-bg: rgba(255,255,255,0.05);
    --alert-info-bg: rgba(36,95,189,0.14);
    --alert-info-border: rgba(36,95,189,0.32);
    --alert-info-text: rgba(240,246,255,0.94);
    --alert-success-bg: rgba(31,143,134,0.14);
    --alert-success-border: rgba(31,143,134,0.30);
    --alert-success-text: rgba(240,246,255,0.94);
    --alert-warning-bg: rgba(245,159,0,0.16);
    --alert-warning-border: rgba(245,159,0,0.34);
    --alert-warning-text: rgba(240,246,255,0.94);
    --alert-danger-bg: rgba(180,35,24,0.16);
    --alert-danger-border: rgba(180,35,24,0.38);
    --alert-danger-text: rgba(240,246,255,0.94);
    --alert-neutral-bg: rgba(255,255,255,0.05);
    --alert-neutral-border: rgba(255,255,255,0.12);
    --alert-neutral-text: rgba(240,246,255,0.90);
    --toast-info-bg: var(--alert-info-bg);
    --toast-info-border: var(--alert-info-border);
    --toast-info-text: var(--alert-info-text);
    --toast-alert-bg: var(--alert-danger-bg);
    --toast-alert-border: var(--alert-danger-border);
    --toast-alert-text: var(--alert-danger-text);
    --modal-bg: rgba(255,255,255,0.07);
    --modal-border: rgba(255,255,255,0.12);
    --modal-title: rgba(240,246,255,0.96);
    --modal-text: rgba(240,246,255,0.86);
    --modal-muted: rgba(240,246,255,0.70);
    --modal-head-bg: rgba(255,255,255,0.05);
    --modal-foot-bg: rgba(255,255,255,0.04);
    --modal-input-bg: rgba(255,255,255,0.06);
    --modal-input-border: rgba(255,255,255,0.14);
    --modal-backdrop: rgba(0,0,0,0.60);
}

    .theme-darkblue,
    .theme-darkblue body,
    .theme-darkblue .app-shell,
    .theme-darkblue header,
    .theme-darkblue footer,
    .theme-darkblue .page-content,
    .theme-darkblue main,
    .theme-darkblue .container-fluid {
        background-color: var(--app-bg) !important;
        color: var(--text) !important;
    }

        .theme-darkblue .glass,
        .theme-darkblue .usercard,
        .theme-darkblue .usercard .loan-grid > div,
        .theme-darkblue .loan-grid > div,
        .theme-darkblue .fault-card,
        .theme-darkblue .notice-card,
        .theme-darkblue .table-responsive,
        .theme-darkblue .chart-card,
        .theme-darkblue .profile-menu,
        .theme-darkblue .notif-menu,
        .theme-darkblue .corp-card,
        .theme-darkblue .media-card {
            background: var(--panel) !important;
            border-color: var(--stroke) !important;
        }

        .theme-darkblue .sidebar {
            background: rgba(11, 18, 32, 0.92) !important;
            border-right: 1px solid rgba(255,255,255,0.10) !important;
            backdrop-filter: blur(14px);
        }

            .theme-darkblue .brand-text,
            .theme-darkblue .sidebar .brand-text,
            .theme-darkblue .sidebar .sidebar-brand-text,
            .theme-darkblue .topbar-title .fw-semibold {
                color: rgba(240,246,255,0.96) !important;
            }

            .theme-darkblue .sidebar .sidebar-nav .nav-link {
                color: rgba(240,246,255,0.90) !important;
                background: rgba(255,255,255,0.03);
                border: 1px solid rgba(255,255,255,0.06);
            }

                .theme-darkblue .sidebar .sidebar-nav .nav-link:hover {
                    background: rgba(255,255,255,0.06);
                    border-color: rgba(255,255,255,0.10);
                }

                .theme-darkblue .sidebar .sidebar-nav .nav-link.active {
                    background: rgba(31,143,134,0.14);
                    border-color: rgba(31,143,134,0.28);
                    color: rgba(240,246,255,0.98) !important;
                }

            .theme-darkblue .sidebar .sidebar-nav .s-icon {
                background: rgba(0,0,0,0.22) !important;
                border: 1px solid rgba(255,255,255,0.10) !important;
                color: rgba(240,246,255,0.92) !important;
            }

        .theme-darkblue .topbar {
            background: rgba(11, 18, 32, 0.86) !important;
            border-bottom: 1px solid rgba(255,255,255,0.10) !important;
            backdrop-filter: blur(14px);
        }

        .theme-darkblue .topbar-search {
            border: 1px solid rgba(255,255,255,0.12) !important;
            background: rgba(255,255,255,0.05) !important;
        }

        .theme-darkblue .search-input {
            color: rgba(240,246,255,0.95) !important;
        }

            .theme-darkblue .search-input::placeholder {
                color: rgba(240,246,255,0.50) !important;
            }

        .theme-darkblue .search-ico {
            opacity: 0.9;
        }

        .theme-darkblue .icon-btn {
            border: 1px solid rgba(255,255,255,0.12) !important;
            background: rgba(255,255,255,0.05) !important;
            color: rgba(240,246,255,0.90) !important;
        }

            .theme-darkblue .icon-btn:hover {
                background: rgba(255,255,255,0.08) !important;
            }

        .theme-darkblue .dropdown-menu-dark {
            background: rgba(11, 18, 32, 0.98) !important;
            color: rgba(240,246,255,0.92) !important;
            border: 1px solid rgba(255,255,255,0.10) !important;
            box-shadow: 0 18px 55px rgba(0,0,0,0.45);
        }

            .theme-darkblue .dropdown-menu-dark .dropdown-item {
                color: rgba(240,246,255,0.88) !important;
            }

                .theme-darkblue .dropdown-menu-dark .dropdown-item:hover,
                .theme-darkblue .dropdown-menu-dark .dropdown-item:focus {
                    background: rgba(255,255,255,0.06) !important;
                    color: rgba(240,246,255,0.98) !important;
                }

            .theme-darkblue .dropdown-menu-dark .notif-head,
            .theme-darkblue .dropdown-menu-dark .profile-header {
                background: rgba(255,255,255,0.03) !important;
                border-bottom-color: rgba(255,255,255,0.08) !important;
            }

            .theme-darkblue .dropdown-menu-dark .notif-foot {
                border-top-color: rgba(255,255,255,0.10) !important;
            }

        .theme-darkblue .profile-name {
            color: rgba(240,246,255,0.96) !important;
        }

        .theme-darkblue .profile-role {
            color: rgba(240,246,255,0.70) !important;
        }

        .theme-darkblue .notif-item {
            background: rgba(255,255,255,0.02) !important;
            border-bottom: 1px solid rgba(255,255,255,0.08) !important;
            color: rgba(240,246,255,0.92) !important;
        }

            .theme-darkblue .notif-item:hover {
                background: rgba(255,255,255,0.06) !important;
            }

        .theme-darkblue .notif-title {
            color: rgba(240,246,255,0.95) !important;
        }

        .theme-darkblue .notif-text {
            color: rgba(240,246,255,0.72) !important;
        }

        .theme-darkblue .notif-time {
            color: rgba(240,246,255,0.58) !important;
        }

        .theme-darkblue .notif-icon {
            background: rgba(0,0,0,0.22) !important;
            border: 1px solid rgba(255,255,255,0.12) !important;
            color: rgba(240,246,255,0.92) !important;
        }

        .theme-darkblue .input-dark {
            background: rgba(255,255,255,0.05) !important;
            border: 1px solid rgba(255,255,255,0.14) !important;
            color: rgba(240,246,255,0.94) !important;
        }

            .theme-darkblue .input-dark::placeholder {
                color: rgba(240,246,255,0.48) !important;
            }

        .theme-darkblue .form-select option {
            background-color: #0b1220 !important;
            color: rgba(240,246,255,0.92) !important;
        }

        .theme-darkblue .form-select.select-arrow {
            background-color: rgba(255,255,255,0.05) !important;
            border: 1px solid rgba(255,255,255,0.14) !important;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(240,246,255,0.80)' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
        }

            .theme-darkblue .form-select.select-arrow:focus {
                border-color: rgba(31,143,134,0.65) !important;
                box-shadow: 0 0 0 2px rgba(31,143,134,0.16) !important;
                background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(31,143,134,0.98)' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
            }

        .theme-darkblue .btn-accent {
            background: linear-gradient(90deg, rgba(31,143,134,0.92), rgba(36,95,189,0.92)) !important;
            border: 1px solid rgba(255,255,255,0.10) !important;
            color: #ffffff !important;
        }

        .theme-darkblue .btn-outline-light {
            color: rgba(240,246,255,0.92) !important;
            border-color: rgba(255,255,255,0.22) !important;
            background: rgba(255,255,255,0.02) !important;
        }

            .theme-darkblue .btn-outline-light:hover {
                background: rgba(255,255,255,0.06) !important;
                border-color: rgba(255,255,255,0.30) !important;
            }

        .theme-darkblue .link-accent {
            color: rgba(160, 214, 255, 0.95) !important;
        }

            .theme-darkblue .link-accent:hover {
                color: rgba(200, 235, 255, 0.98) !important;
            }

        .theme-darkblue table,
        .theme-darkblue .table {
            --bs-table-bg: transparent;
            --bs-table-color: rgba(240,246,255,0.94);
            --bs-table-border-color: rgba(255,255,255,0.12);
            --bs-table-hover-bg: rgba(31,143,134,0.10);
            --bs-table-hover-color: rgba(240,246,255,0.95);
        }

            .theme-darkblue .table thead th {
                background: rgba(255,255,255,0.04) !important;
                color: rgba(240,246,255,0.96) !important;
                border-bottom: 1px solid rgba(255,255,255,0.14) !important;
                font-weight: 700;
            }

            .theme-darkblue .table tbody tr {
                background: rgba(255,255,255,0.02) !important;
                color: rgba(240,246,255,0.92) !important;
            }

            .theme-darkblue .table tbody td {
                border-color: rgba(255,255,255,0.12) !important;
            }

            .theme-darkblue .table tbody tr:hover {
                background: linear-gradient(90deg, rgba(31,143,134,0.12), rgba(255,255,255,0.02)) !important;
            }

        .theme-darkblue .table-striped > tbody > tr:nth-of-type(odd) {
            background: rgba(255,255,255,0.03) !important;
        }

        .theme-darkblue .table-bordered > :not(caption) > * {
            border-color: rgba(255,255,255,0.14) !important;
        }

        .theme-darkblue .table-dark,
        .theme-darkblue .table-dark th,
        .theme-darkblue .table-dark td {
            background: transparent !important;
            color: rgba(240,246,255,0.94) !important;
            border-color: rgba(255,255,255,0.12) !important;
        }

        .theme-darkblue .table-responsive {
            background: rgba(255,255,255,0.03) !important;
            border: 1px solid rgba(255,255,255,0.10) !important;
        }

        .theme-darkblue .chat-bubble-incoming {
            background: var(--chat-in-bg) !important;
            color: var(--chat-in-text) !important;
            border: 1px solid rgba(255,255,255,0.12) !important;
            border-left: 3px solid rgba(31,143,134,0.85) !important;
        }

        .theme-darkblue .chat-bubble-outgoing {
            background: var(--chat-out-bg) !important;
            color: var(--chat-out-text) !important;
            border: 1px solid rgba(255,255,255,0.08) !important;
        }

        .theme-darkblue .chat-time-text {
            color: rgba(240,246,255,0.65) !important;
        }

        .theme-darkblue .chat-input-bar {
            background: var(--chat-input-bg) !important;
            border: 1px solid rgba(255,255,255,0.12) !important;
        }

        .theme-darkblue .badge-soft,
        .theme-darkblue .notif-badge,
        .theme-darkblue .chip-mini,
        .theme-darkblue .stat-icon,
        .theme-darkblue .profile-avatar,
        .theme-darkblue .user-avatar {
            background: rgba(31,143,134,0.12) !important;
            border: 1px solid rgba(31,143,134,0.26) !important;
            color: rgba(240,246,255,0.94) !important;
        }

        .theme-darkblue #mobileMenu.offcanvas {
            background: rgba(11, 18, 32, 0.98) !important;
            border-right: 1px solid rgba(255,255,255,0.12) !important;
            backdrop-filter: blur(14px);
        }

        .theme-darkblue #mobileMenu .offcanvas-title {
            color: rgba(240,246,255,0.95) !important;
        }

        .theme-darkblue #mobileMenu nav.nav .nav-link,
        .theme-darkblue #mobileMenu nav.nav-pills .nav-link {
            color: rgba(240,246,255,0.95) !important;
            background: rgba(255,255,255,0.05) !important;
            border: 1px solid rgba(255,255,255,0.08) !important;
        }

            .theme-darkblue #mobileMenu nav.nav .nav-link:hover,
            .theme-darkblue #mobileMenu nav.nav-pills .nav-link:hover {
                background: rgba(255,255,255,0.08) !important;
                border-color: rgba(255,255,255,0.12) !important;
            }

            .theme-darkblue #mobileMenu nav.nav .nav-link.active,
            .theme-darkblue #mobileMenu nav.nav-pills .nav-link.active {
                background: rgba(31,143,134,0.14) !important;
                border-color: rgba(31,143,134,0.28) !important;
            }

        .theme-darkblue #mobileMenu .nav-link .s-icon {
            background: rgba(0,0,0,0.22) !important;
            border: 1px solid rgba(255,255,255,0.10) !important;
            color: rgba(240,246,255,0.92) !important;
        }

        .theme-darkblue #mobileMenu .nav-link .s-text {
            color: rgba(240,246,255,0.92) !important;
            font-weight: 600 !important;
        }

        .theme-darkblue,
        .theme-darkblue body {
            color: rgba(240,246,255,0.94) !important;
        }

            .theme-darkblue h1,
            .theme-darkblue h2,
            .theme-darkblue h3,
            .theme-darkblue h4,
            .theme-darkblue h5,
            .theme-darkblue h6 {
                color: rgba(240,246,255,0.98) !important;
            }

            .theme-darkblue .text-muted,
            .theme-darkblue .text-muted2 {
                color: rgba(240,246,255,0.70) !important;
            }

/* ==========================================================================
   2. COMMON COMPONENTS (Glass, Buttons, Badges)
   ========================================================================== */

.glass {
    background: var(--panel);
    border: 1px solid var(--stroke);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.btn-accent {
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border: 0;
    color: #041016;
    font-weight: 700;
}

    .btn-accent:hover {
        filter: brightness(1.05);
    }

.text-muted2 {
    color: var(--muted) !important;
}

.link-accent {
    color: var(--accent);
    text-decoration: none;
}

    .link-accent:hover {
        text-decoration: underline;
    }

.badge-soft {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .3px;
    border-radius: 999px;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.35);
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.35);
    line-height: 1.4;
}

.badge-thin {
    display: inline-flex;
    align-items: center;
    padding: 0 15px !important;
    height: 16px;
    line-height: 1;
    font-size: 0.7rem;
}


.hr-soft {
    border-color: rgba(255,255,255,0.10) !important;
}

/* ==========================================================================
   3. FORMS & INPUTS
   ========================================================================== */

.form-select option {
    background-color: #333;
    color: white;
}

.form-select:focus {
    border-color: #444;
    outline: none;
}

.form-select option {
    background-color: #333;
    color: #fff;
}

.form-select.select-arrow {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    padding-right: 2.6rem !important;
    background: rgba(255,255,255,.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.75)' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0.85rem center / 14px 14px !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}

    .form-select.select-arrow:focus {
        border-color: var(--accent) !important;
        outline: none !important;
        box-shadow: 0 0 0 2px rgba(35,213,198,.18) !important;
        background: rgba(255,255,255,.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(35,213,198,0.95)' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0.85rem center / 14px 14px !important;
    }

.input-dark {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid var(--accent) !important;
    color: var(--text) !important;
}

    .input-dark::placeholder {
        color: rgba(255,255,255,0.45);
    }

/* ==========================================================================
   5. MODALS & OVERLAYS
   ========================================================================== */

.modal-backdrop.show {
    opacity: 1 !important;
    background-color: rgba(0,0,0,.80) !important;
}

.modal .modal-content {
    background-color: var(--modal-bg) !important;
    border: 1px solid var(--modal-border) !important;
    border-radius: 16px !important;
    color: var(--modal-text) !important;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal .modal-header {
    background-color: var(--modal-head-bg) !important;
    border-bottom: 1px solid var(--modal-border) !important;
    padding: 12px 14px !important;
    min-height: 44px;
    gap: 10px;
    align-items: flex-start;
}

.modal .modal-title {
    color: var(--modal-title) !important;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: .1px;
}

.modal .modal-body {
    padding: 12px 14px !important;
    color: var(--modal-text) !important;
}

    .modal .modal-body p,
    .modal .modal-body li {
        color: var(--modal-text) !important;
        line-height: 1.65;
    }

.modal .text-muted2,
.modal .small {
    color: var(--modal-muted) !important;
}

.modal .modal-footer {
    background-color: var(--modal-foot-bg) !important;
    border-top: 1px solid var(--modal-border) !important;
    padding: 10px 14px !important;
    gap: 10px;
}

    .modal .modal-footer .btn {
        min-height: 40px;
        border-radius: 14px;
        font-weight: 750;
    }

.modal .btn-close {
    opacity: .85;
    filter: none;
}

    .modal .btn-close:hover {
        opacity: .95;
    }

.modal .modal-dialog {
    width: min(92vw, 760px);
    margin: .75rem auto;
}

    .modal .modal-dialog.modal-sm {
        width: min(92vw, 420px);
    }

    .modal .modal-dialog.modal-md {
        width: min(92vw, 620px);
    }

    .modal .modal-dialog.modal-lg {
        width: min(92vw, 780px);
    }

    .modal .modal-dialog.modal-xl {
        width: min(92vw, 860px);
    }

.modal .modal-dialog-scrollable {
    height: calc(100% - 1.5rem);
}

    .modal .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 1.5rem);
    }

.modal .form-control,
.modal .form-select,
.modal .input-dark {
    background-color: var(--modal-input-bg) !important;
    border: 1px solid var(--modal-input-border) !important;
    color: var(--modal-title) !important;
    border-radius: 14px;
    min-height: 40px;
    padding-top: .45rem;
    padding-bottom: .45rem;
}

    .modal .form-control::placeholder,
    .modal .input-dark::placeholder {
        color: var(--modal-muted) !important;
    }

    .modal .form-control:focus,
    .modal .form-select:focus,
    .modal .input-dark:focus {
        border-color: var(--accent) !important;
        box-shadow: 0 0 0 2px rgba(35,213,198,.18) !important;
    }

.modal .row {
    --bs-gutter-x: .75rem;
    --bs-gutter-y: .6rem;
}

.modal .modal-body label {
    line-height: 1.1;
}

.modal label.text-muted2.small {
    margin-bottom: 4px !important;
    font-weight: 600;
}

.modal .modal-body .form-control-sm,
.modal .modal-body .form-select-sm {
    height: 36px;
}

.modal textarea {
    resize: vertical;
    min-height: 130px;
}

.modal-dark .modal-footer {
    background: rgba(10,12,16,.92);
    border-top: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.cookie-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1055;
}

.cookie-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border-radius: 16px;
    background: rgba(0,0,0,0.72);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ==========================================================================
   6. LAYOUT: SIDEBAR & APP SHELL
   ========================================================================== */
.shadow-soft {
    box-shadow: 0 18px 55px rgba(0,0,0,0.45);
}

.app-shell {
    min-height: 100vh;
    width: 100%;
}

.sidebar {
    flex: 0 0 240px;
    width: 240px;
    min-width: 240px;
    overflow: hidden;
    transition: width .2s ease, min-width .2s ease, flex-basis .2s ease;
}

    .sidebar .sidebar-brand-text,
    .sidebar .s-text,
    .sidebar .sidebar-meta {
        transition: opacity .15s ease, transform .15s ease;
    }

    .sidebar .s-icon {
        width: 28px;
        display: inline-flex;
        justify-content: center;
    }

.brand {
    min-height: 50px;
}

.brand-mark {
    font-size: 22px;
    line-height: 1;
}

.brand-spacer {
    display: none;
    width: 24px;
}

.app-shell.sidebar-collapsed .sidebar {
    flex: 0 0 84px;
    width: 90px;
    min-width: 90px;
}

    .app-shell.sidebar-collapsed .sidebar .sidebar-brand-text,
    .app-shell.sidebar-collapsed .sidebar .s-text,
    .app-shell.sidebar-collapsed .sidebar .sidebar-meta {
        opacity: 0;
        transform: translateX(-6px);
        pointer-events: none;
    }

    .app-shell.sidebar-collapsed .sidebar .nav-link {
        display: flex;
        justify-content: center;
    }

.app-shell.sidebar-collapsed .brand-mark {
    display: none !important;
}

.app-shell.sidebar-collapsed .brand-text {
    display: none !important;
}

.app-shell.sidebar-collapsed .brand-spacer {
    display: inline-block;
}

.sidebar .sidebar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    border-radius: 12px;
    padding: 10px 12px;
}

.sidebar .sidebar-nav .s-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    font-size: 18px;
}

.app-shell.sidebar-collapsed .sidebar .sidebar-nav .nav-link {
    justify-content: center !important;
    padding: 10px 0 !important;
}

.app-shell.sidebar-collapsed .sidebar .sidebar-nav .s-icon {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
}

.app-shell.sidebar-collapsed .sidebar .sidebar-nav .nav-link:hover .s-icon {
    background: rgba(255,255,255,0.10);
}

.app-shell.sidebar-collapsed .sidebar .sidebar-nav .nav-link.active .s-icon {
    background: rgba(35,213,198,0.16);
    border-color: rgba(35,213,198,0.28);
}

.app-shell.sidebar-collapsed .sidebar .sidebar-nav .s-text {
    display: none !important;
}

.app-shell.sidebar-collapsed .sidebar .sidebar-brand-text {
    display: none !important;
}

.sidebar-user {
    min-height: 48px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    font-size: 20px;
    flex-shrink: 0;
}

.app-shell.sidebar-collapsed .sidebar .sidebar-meta {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
}

    .app-shell.sidebar-collapsed .sidebar .sidebar-meta .user-info,
    .app-shell.sidebar-collapsed .sidebar .sidebar-meta .small,
    .app-shell.sidebar-collapsed .sidebar .sidebar-meta .fw-semibold {
        display: none !important;
    }

    .app-shell.sidebar-collapsed .sidebar .sidebar-meta .sidebar-user {
        justify-content: center !important;
        gap: 0 !important;
    }

/* ==========================================================================
   7. LAYOUT: TOPBAR & NAVIGATION
   ========================================================================== */

.page-content {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: hidden;
}

    .page-content main {
        min-width: 0;
    }

.topbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #070b12;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

    .topbar.topbar-inset {
        margin-left: 12px !important;
        margin-right: 12px !important;
        border-radius: 14px;
    }

.topbar-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.topbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 0 0 auto;
}

.topbar-middle {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
}

    .topbar-middle .topbar-search {
        width: clamp(260px, 42vw, 620px);
        margin: 0;
    }

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.topbar-title {
    min-width: 200px;
}

.topbar-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    min-width: 260px;
    max-width: 560px;
    width: clamp(260px, 38vw, 560px);
    flex: 1 1 auto;
    overflow: hidden;
}

/* ==========================================================================
   7. PROFILE & NOTIFICATIONS MENU
   ========================================================================== */

.profile-menu {
    min-width: 260px;
    max-width: 300px;
    border-radius: 16px;
    overflow: hidden;
}

.profile-header {
    background: rgba(255,255,255,0.04);
}

.avatar-circle.avatar-lg {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 22px;
    background: rgba(35,213,198,0.16);
    border: 1px solid rgba(35,213,198,0.35);
}

.profile-text {
    min-width: 0;
}

.profile-name {
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.2rem !important;
}

.profile-role {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
}

.profile-menu .menu-icon {
    width: 22px;
    text-align: center;
    opacity: 0.9;
}

.notif-menu {
    width: 380px;
    overflow: hidden;
    border-radius: 16px;
}

.notif-body {
    max-height: 360px;
    overflow-y: auto;
}

.notif-item {
    display: flex;
    gap: 14px;
    padding: 14px 18px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.02);
}

    .notif-item:hover {
        background: rgba(255,255,255,0.06);
    }

.notif-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 20px;
    flex-shrink: 0;
}

.notif-content {
    flex: 1;
    min-width: 0;
}

.notif-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notif-title {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.notif-time {
    font-size: .75rem;
    color: rgba(255,255,255,.55);
    white-space: nowrap;
}

.notif-badge {
    font-size: .72rem;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(35,213,198,0.18);
    border: 1px solid rgba(35,213,198,0.35);
    color: #fff;
    white-space: nowrap;
}

.notif-text {
    margin-top: 4px;
    font-size: .85rem;
    color: rgba(255,255,255,.70);
    line-height: 1.4;
}

.notif-empty {
    padding: 18px 16px;
    text-align: center;
    background: rgba(255,255,255,0.02);
}

.notif-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d4f;
}

.notif-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    background: rgba(35,213,198,0.95);
    color: #041016;
    border: 1px solid rgba(0,0,0,0.35);
}

.chat-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
}

.chat-history {
    scrollbar-width: thin;
    scrollbar-color: var(--stroke) transparent;
    display: none;
}

    .chat-history::-webkit-scrollbar {
        width: 5px;
    }

    .chat-history::-webkit-scrollbar-thumb {
        background: var(--stroke);
        border-radius: 10px;
    }

.chat-bubble {
    position: relative;
    word-wrap: break-word;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease;
}

    .chat-bubble:hover {
        transform: translateY(-1px);
    }

.chat-bubble-incoming {
    background: var(--chat-in-bg);
    color: var(--chat-in-text);
    border: 1px solid var(--stroke);
    border-left: 3px solid var(--accent) !important;
}

.chat-bubble-outgoing {
    background: var(--chat-out-bg);
    color: var(--chat-out-text);
    border: none;
}

.chat-time-text {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 4px;
    display: block;
}

.chat-input-bar {
    background: var(--chat-input-bg) !important;
    border: 1px solid var(--stroke) !important;
    backdrop-filter: blur(15px);
}

    .chat-input-bar textarea {
        background: transparent !important;
        border: none !important;
        color: var(--text) !important;
        box-shadow: none !important;
        padding: 10px !important;
    }

        .chat-input-bar textarea::placeholder {
            color: var(--muted) !important;
        }

.max-w-75 {
    max-width: 75%;
}

.font-s {
    font-size: 0.92rem;
    line-height: 1.4;
}

/* ==========================================================================
   8. SEARCH & PROFILE AVATARS
   ========================================================================== */

.search-ico {
    opacity: .85;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
}

.search-input {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 8px 6px !important;
    color: var(--text) !important;
    min-width: 0;
    flex: 1 1 auto;
}

    .search-input::placeholder {
        color: rgba(255,255,255,0.45);
    }

.search-btn {
    border-radius: 12px;
    padding: 8px 12px;
    flex: 0 0 auto;
}

.offcanvas {
    z-index: 1205 !important;
}

.offcanvas-backdrop {
    z-index: 1095 !important;
}

.profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 22px;
    flex-shrink: 0;
}

.profile-name {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 420px;
}

/* ==========================================================================
   9. DASHBOARD STATS & TABLES
   ========================================================================== */

.dash-shell {
    width: 100%;
}

.dash-wrap-card {
    padding: 12px;
}

.wrap-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 12px 0;
}

.wrap-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
    min-width: 0;
}

.wrap-title-1 {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin: 0;
}

.wrap-title-2 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.70);
    margin: 0;
}

.su-site-select,
.su-site-select > div,
.su-site-select .su-site-dropdown {
    width: 100% !important;
    max-width: 100% !important;
}

.su-site-select {
    display: block !important;
}

.su-site-dropdown {
    display: block !important;
    flex: 1 1 auto;
}

.stat-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(35,213,198,0.14);
    border: 1px solid rgba(35,213,198,0.28);
    font-size: 20px;
    flex-shrink: 0;
}

.table-responsive {
    overflow-x: auto;
    padding: 7px;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.chart-box {
    position: relative;
    width: 100%;
}

    .chart-box canvas {
        width: 100% !important;
        height: 100% !important;
        display: block;
    }

.dash-card {
    padding: 12px !important;
}

.two-charts {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

.four-cards {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

.card-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

    .card-headline .t {
        font-weight: 800;
    }

    .card-headline .s {
        font-size: .78rem;
        opacity: .78;
    }

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.82);
}

    .icon-btn:hover {
        background: rgba(255,255,255,0.10);
    }

.site-switch .form-check-input {
    width: 2.8rem;
    height: 1.4rem;
    cursor: pointer;
    border-radius: 999px;
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
}

    .site-switch .form-check-input:checked {
        background-color: var(--accent);
        border-color: var(--accent);
    }

.site-switch span {
    white-space: nowrap;
}

.su-site-select {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 1600px;
}

.su-site-label {
    font-size: .9rem;
    font-weight: 700;
    opacity: .9;
    letter-spacing: .2px;
}

.su-site-dropdown {
    height: 48px;
    font-size: 1rem;
    font-weight: 600;
    padding: 0 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.18);
    color: inherit;
}

    .su-site-dropdown:focus {
        border-color: rgba(79,209,197,.75);
        box-shadow: 0 0 0 3px rgba(79,209,197,.18);
    }

.dash-wrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

    .kpi-grid .dash-card {
        padding: 18px 18px !important;
        border-radius: 16px !important;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .kpi-grid .glass.compact {
        padding: 18px 18px !important;
    }

.kpi-top {
    display: flex;
    align-items: center !important;
    justify-content: space-between;
    gap: 14px;
}

.kpi-ico {
    font-size: 3.15rem !important;
    line-height: 1 !important;
    opacity: .98 !important;
    flex: 0 0 auto !important;
    width: 56px;
    text-align: right;
}

.kpi-title {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    letter-spacing: .2px !important;
    opacity: .92 !important;
    line-height: 1.15 !important;
}

.kpi-val {
    font-size: 2.05rem !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    line-height: 1.05 !important;
    margin-top: 3px !important;
}

.kpi-grid .text-muted2 {
    font-size: .92rem !important;
    opacity: .86 !important;
}


.hr-soft {
    border-color: rgba(255,255,255,.12) !important;
    margin: .7rem 0 !important;
}

.kpi-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

    .kpi-link .dash-card {
        transition: transform .14s ease, box-shadow .14s ease;
    }

    .kpi-link:hover .dash-card {
        transform: translateY(-2px);
    }

.h-170 {
    height: 170px;
}

.h-200 {
    height: 200px;
}

.h-230 {
    height: 230px;
}

.chart-acc .acc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
}

.chart-acc .acc-title {
    font-weight: 750;
}

.chart-acc .acc-sub {
    font-size: .78rem;
    opacity: .78;
}

.chart-acc .acc-chevron {
    opacity: .75;
}

.chart-acc .acc-body {
    padding: 10px 0 0 0;
}

.chart-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

.wide {
    grid-column: 1 / -1;
}

.split-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}

.table-smx th, .table-smx td {
    padding: .55rem .6rem;
}

.hide-xs {
    display: none;
}

.ann-item {
    background: rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 10px 12px;
}

.ann-title {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ann-date {
    font-size: .78rem;
    opacity: .78;
}

/* ==========================================================================
10. AUDIT / LOGS
========================================================================== */

.input-dark, .input-dark:focus {
    background: rgba(0,0,0,.35) !important;
    color: rgba(255,255,255,.92) !important;
    border-color: rgba(255,255,255,.14) !important;
    box-shadow: none !important;
}

    .input-dark::placeholder {
        color: rgba(255,255,255,.45) !important;
    }

    .input-dark option {
        color: #111;
    }

.pagination-wrap {
    border-radius: 14px;
}

.asy-pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
}

    .asy-pagination li a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 36px;
        padding: 0 12px;
        border-radius: 999px;
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 500;
        background: rgba(255,255,255,0.05);
        color: #eaeaea;
        border: 1px solid rgba(255,255,255,0.1);
        transition: all 0.2s ease;
    }

        .asy-pagination li a:hover {
            background: rgba(0, 200, 255, 0.15);
            border-color: rgba(0, 200, 255, 0.4);
            color: #fff;
        }

    .asy-pagination li.active a {
        background: linear-gradient(135deg, #00c8ff, #0078ff);
        border: none;
        color: #fff;
        font-weight: 600;
        box-shadow: 0 4px 14px rgba(0, 200, 255, 0.4);
    }

    .asy-pagination li.disabled a {
        pointer-events: none;
        opacity: 0.4;
    }


/* ==========================================================================
   11. FOOTER & MISC
   ========================================================================== */

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px 18px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    justify-content: flex-end;
    text-align: right;
}

.footer-left {
    min-width: 0;
    line-height: 1.35;
}

.offcanvas.offcanvas-start {
    width: min(86vw, 330px);
}

.offcanvas .nav-link {
    border-radius: 12px;
}

.site-topbar {
    background: rgba(0,0,0,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.10);
}

/* ==========================================================================
   12. CHARTS & CARDS
   ========================================================================== */

.chart-card {
    border-radius: 18px;
}

.chart-box {
    width: 100%;
    overflow: hidden;
    position: relative;
}

    .chart-box canvas {
        width: 100% !important;
        max-width: 100% !important;
    }

.chart-sm {
    height: 260px;
}

.chart-lg {
    height: 280px;
}

.chart-h-sm {
    height: clamp(220px, 32vh, 300px);
}

.chart-h-md {
    height: clamp(260px, 40vh, 360px);
}

.hr-soft {
    border-color: rgba(255,255,255,.12);
}

.text-muted2 {
    opacity: .78;
}

.link-accent {
    text-decoration: none;
    opacity: .9;
}

    .link-accent:hover {
        opacity: 1;
        text-decoration: underline;
    }

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tbl-wrap {
    border-radius: 18px;
    overflow: hidden;
}

.td-desc {
    max-width: 520px;
}

.desc-line {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.status-inline {
    display: none;
}

.site-footer {
    background: rgba(0,0,0,0.18);
    border-top: 1px solid rgba(255,255,255,0.10);
}

.page-content, main, .container-fluid, .glass {
    min-width: 0;
}

.action-stack {
    display: inline-flex;
    gap: 8px;
}

/* ==========================================================================
   13. MOBILE MENU STYLES
   ========================================================================== */

#mobileMenu.offcanvas {
    background: rgba(7, 11, 18, 0.97) !important;
    border-right: 1px solid rgba(255,255,255,0.14) !important;
    backdrop-filter: blur(14px);
}

#mobileMenu .offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

#mobileMenu .offcanvas-title {
    color: rgba(255,255,255,0.95) !important;
}

#mobileMenu .offcanvas-body {
    padding: 14px !important;
}

#mobileMenu nav.nav .nav-link,
#mobileMenu nav.nav-pills .nav-link {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    color: rgba(255,255,255,0.95) !important;
    background: rgba(255,255,255,0.07) !important;
    border: 0px solid rgba(255,255,255,0.14) !important;
    text-decoration: none !important;
    opacity: 1 !important;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

    #mobileMenu nav.nav .nav-link:hover,
    #mobileMenu nav.nav-pills .nav-link:hover {
        background: rgba(255,255,255,0.12) !important;
        border-color: rgba(255,255,255,0.22) !important;
        transform: translateY(-1px);
    }

    #mobileMenu nav.nav .nav-link.active,
    #mobileMenu nav.nav-pills .nav-link.active {
        background: rgba(35,213,198,0.18) !important;
        border-color: rgba(35,213,198,0.35) !important;
        color: rgba(255,255,255,0.98) !important;
    }

#mobileMenu .nav-link .s-icon {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 12px !important;
    background: rgba(0,0,0,0.40) !important;
    border: 0px solid rgba(255,255,255,0.16) !important;
    filter: saturate(1.25) contrast(1.15) !important;
    opacity: 1 !important;
}

#mobileMenu .nav-link.active .s-icon {
    background: rgba(35,213,198,0.22) !important;
    border-color: rgba(35,213,198,0.40) !important;
}

#mobileMenu .nav-link .s-text {
    color: rgba(255,255,255,0.92) !important;
    font-weight: 600 !important;
}

#mobileMenu.text-bg-dark a,
#mobileMenu.text-bg-dark .nav-link {
    color: rgba(255,255,255,0.95) !important;
}

/* ==========================================================================
   14. FEATURE MEDIA & CARDS
   ========================================================================== */

.feature-media {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    padding: 6px;
}

.mobile-search {
    display: none;
    padding-top: 10px;
}

.mobile-search-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    transform: translateY(-6px);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity .18s ease, transform .18s ease, max-height .22s ease;
}

.mobile-search.is-open .mobile-search-inner {
    opacity: 1;
    transform: translateY(0);
    max-height: 84px;
}

/* ==========================================================================
   15. USER LIST & USER CARDS
   ========================================================================== */

.userlist-wrap {
    min-width: 0;
}

.userlist-head {
    gap: 12px;
}

.userlist-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.userlist-filter .btn {
    white-space: nowrap;
}

.usercard {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 14px;
}

.usercard-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.usercard-title {
    min-width: 0;
}

    .usercard-title .name {
        font-weight: 700;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 70vw;
    }

    .usercard-title .sub {
        color: rgba(255,255,255,0.65);
        font-size: .85rem;
    }

.usercard-meta {
    display: grid;
    gap: 6px;
    margin-top: 10px;
}

.usercard-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.usercard-k {
    width: 86px;
    color: rgba(255,255,255,0.55);
    font-size: .85rem;
    flex: 0 0 auto;
}

.usercard-v {
    min-width: 0;
    color: rgba(255,255,255,0.90);
    font-size: .92rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.usercard-actions {
    display: flex;
    gap: 8px;
}

    .usercard-actions .btn {
        padding: .35rem .5rem;
    }

/* ==========================================================================
   16. SITES
   ========================================================================== */

.site-row {
    cursor: pointer;
}

    .site-row:hover td {
        background: rgba(255,255,255,0.04) !important;
    }

.site-row-selected td,
.site-row-selected {
    background: rgba(35,213,198,0.10) !important;
}

    .site-row-selected td:first-child {
        border-left: 3px solid rgba(35,213,198,0.85) !important;
    }

.table-fixed {
    table-layout: fixed;
    width: 100%;
}

.col-status {
    width: 200px;
    max-width: 200px;
    white-space: nowrap;
}

    .col-status .badge {
        display: inline-block;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }

.col-actions {
    width: 130px;
    max-width: 130px;
    white-space: nowrap;
}

    .col-actions .btn {
        padding: .25rem .4rem;
    }

.site-row-selected {
    outline: 1px solid rgba(255,255,255,.18);
}


/* ==========================================================================
   17. LOAN LIST & LOAN CARDS
   ========================================================================== */

.loan-card {
    border-radius: 16px;
}

.loan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

    .loan-grid > div {
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.10);
        border-radius: 14px;
        padding: 10px;
    }

.badge-wide {
    padding: 6px 14px;
    font-size: .85rem;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
}

.badge-borc {
    background: rgba(255,77,79,.18);
    color: #ff4d4f;
    border: 1px solid rgba(255,77,79,.35);
}

.badge-alacak {
    background: rgba(35,213,198,.18);
    color: #23d5c6;
    border: 1px solid rgba(35,213,198,.35);
}

.badge-kalan {
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
}

.filter-actions {
    display: flex;
    gap: 10px;
    width: 100%;
}

    .filter-actions .btn {
        flex: 1 1 0;
        min-width: 0;
        white-space: nowrap;
    }

/* ==========================================================================
   18. FAULT LIST & FAULT CARDS
   ========================================================================== */

.fault-card {
    border-radius: 16px;
}

.fault-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.fault-title {
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    word-break: break-word;
}

.fault-sub {
    color: rgba(255,255,255,.65);
    font-size: .88rem;
}

.fault-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.fault-status-cell {
    min-width: 200px;
    vertical-align: middle;
}

.fault-status-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fault-badge {
    min-width: 140px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.fault-status-sub {
    margin-top: 10px;
    line-height: 1.2;
    min-height: 18px;
}

    .fault-status-sub .sub-item {
        display: flex;
        gap: 6px;
        align-items: baseline;
        flex-wrap: wrap;
    }

    .fault-status-sub .sub-k {
        color: rgba(255,255,255,0.55);
        font-size: .82rem;
        white-space: nowrap;
    }

    .fault-status-sub .sub-v {
        color: rgba(255,255,255,0.90);
        font-size: .86rem;
        font-weight: 600;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 220px;
    }


.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    font-weight: 700;
    font-size: .78rem;
    line-height: 1;
    white-space: nowrap;
}

    .chip .dot {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: rgba(255,255,255,.45);
    }

.chip--wait {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.14);
}

.chip--proc {
    background: rgba(255,193,7,.14);
    border-color: rgba(255,193,7,.30);
}

.chip--done {
    background: rgba(25,135,84,.14);
    border-color: rgba(25,135,84,.30);
}

.chip--wait .dot {
    background: rgba(255,255,255,.55);
}

.chip--proc .dot {
    background: rgba(255,193,7,.85);
}

.chip--done .dot {
    background: rgba(25,135,84,.90);
}

.meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.75);
    font-size: .86rem;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.meta-k {
    color: rgba(255,255,255,.55);
    white-space: nowrap;
}

.meta-v {
    color: rgba(255,255,255,.90);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 46vw;
}

.fault-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .fault-actions .btn {
        white-space: nowrap;
    }


/* ==========================================================================
   19. SETTINGS LIST & SETTINGS CARDS
   ========================================================================== */

.settings-hero {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

    .settings-hero::before {
        content: "";
        position: absolute;
        inset: -1px;
        background: radial-gradient(600px 220px at 12% 8%, rgba(35,213,198,.22), transparent 60%), radial-gradient(640px 240px at 92% 0%, rgba(47,125,255,.18), transparent 55%);
        pointer-events: none;
        z-index: 0;
    }

    .settings-hero > * {
        position: relative;
        z-index: 1;
    }

.settings-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--stroke);
    background: var(--panel);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

    .settings-pill .k {
        color: var(--muted);
        font-size: .82rem;
        font-weight: 700;
        letter-spacing: .15px;
    }

    .settings-pill .v {
        font-weight: 800;
        color: var(--text);
    }

.settings-switches {
    display: grid;
    gap: 12px;
}

.settings-switch {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.07);
}

.settings-savebar {
    position: sticky;
    bottom: 12px;
    border-radius: 16px;
    z-index: 10;
}

.settings-form .glass {
    border-radius: 18px;
}

.settings-switches .form-switch {
    padding-left: 0;
}

    .settings-switches .form-switch .form-check-input {
        width: 3rem;
        height: 1.55rem;
        margin: 0;
        cursor: pointer;
        appearance: none;
        background-color: rgba(255,255,255,.14);
        border: 1px solid rgba(255,255,255,.22);
        border-radius: 999px;
        position: relative;
        transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
    }

        .settings-switches .form-switch .form-check-input::before {
            content: "";
            position: absolute;
            top: 2px;
            left: 2px;
            width: 1.15rem;
            height: 1.15rem;
            border-radius: 50%;
            background: rgba(255,255,255,.92);
            box-shadow: 0 6px 16px rgba(0,0,0,.35);
            transition: transform .18s ease;
        }

        .settings-switches .form-switch .form-check-input:checked {
            background-color: rgba(0,255,170,.85);
            border-color: rgba(0,255,170,.95);
        }

            .settings-switches .form-switch .form-check-input:checked::before {
                transform: translateX(1.45rem);
            }

        .settings-switches .form-switch .form-check-input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(0,255,170,.22);
        }

        .settings-switches .form-switch .form-check-input:hover {
            border-color: rgba(255,255,255,.38);
        }

        .settings-switches .form-switch .form-check-input:disabled {
            opacity: .55;
            cursor: not-allowed;
        }


/* =========================================================
   20. PROFILE PAGE
   ========================================================= */

.profile-card {
    min-height: 100%;
}

.profile-actions {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--stroke);
}

    .profile-actions .row.g-2 .btn {
        min-height: 44px;
        border-radius: 14px;
    }

    .profile-actions .text-muted2.small b {
        color: var(--text);
    }

.profile-hero {
    position: relative;
    overflow: hidden;
}

    .profile-hero::before {
        content: "";
        position: absolute;
        inset: -1px;
        background: radial-gradient(700px 240px at 15% 15%, rgba(35,213,198,0.22), transparent 60%), radial-gradient(680px 260px at 90% 0%, rgba(47,125,255,0.18), transparent 55%);
        pointer-events: none;
    }

    .profile-hero > * {
        position: relative;
    }

.profile-avatar--xl {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 28px;
    background: rgba(35,213,198,0.14);
    border: 1px solid rgba(35,213,198,0.30);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: var(--panel);
    backdrop-filter: blur(10px);
    max-width: 100%;
}

.pill-ico {
    opacity: .9;
}

.pill-txt {
    font-weight: 700;
    color: var(--text);
    max-width: 42vw;
}

.card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.chip-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(35,213,198,0.14);
    border: 1px solid rgba(35,213,198,0.28);
    color: var(--text);
    font-weight: 800;
    font-size: .78rem;
    white-space: nowrap;
}

    .chip-mini .dot {
        width: 8px;
        height: 8px;
        border-radius: 999px;
        background: rgba(35,213,198,0.95);
    }

.input-ico {
    position: relative;
}

    .input-ico .ico {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        opacity: .9;
        pointer-events: none;
    }

    .input-ico .form-control {
        padding-left: 42px !important;
    }

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.pw-progress {
    height: 16px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    border: 1px solid var(--stroke) !important;
    background: rgba(255,255,255,0.08) !important;
    box-sizing: border-box !important;
}

    .pw-progress .progress-bar {
        height: 100% !important;
        line-height: 16px !important;
        border-radius: 999px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

#pwBar.pw-bar-red {
    background-color: #ff4d4f !important;
}

#pwBar.pw-bar-orange {
    background-color: #ff8c00 !important;
}

#pwBar.pw-bar-yellow {
    background-color: #ffd43b !important;
}

#pwBar.pw-bar-green {
    background-color: #22c55e !important;
}

/* =========================
   PROFILE - AVATAR & METER
   ========================= */

.profile-avatar-click {
    position: relative;
    cursor: pointer;
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.profile-avatar-badge {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 28px;
    height: 28px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid var(--stroke);
    backdrop-filter: blur(10px);
}

.profile-chip-warn {
    background: rgba(255,193,7,0.14);
    border-color: rgba(255,193,7,0.28);
    color: rgba(255,255,255,0.92);
}

.theme-light .profile-chip-warn,
.theme-sand .profile-chip-warn {
    color: rgba(17,20,26,0.92);
}

.avatar-crop-stage {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--stroke);
    background: rgba(0,0,0,0.25);
    min-height: 360px;
}

#cropCanvas {
    width: 100%;
    height: auto;
    display: block;
}

.avatar-crop-mask {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: grid;
    place-items: center;
}

.avatar-crop-hole {
    width: 280px;
    height: 280px;
    border-radius: 22px;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0.50);
    border: 1px solid rgba(255,255,255,0.18);
}

.avatar-preview {
    display: grid;
    place-items: center;
}

#previewCanvas {
    border-radius: 22px;
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,0.06);
}

.pw-meter {
    padding: 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--stroke);
}

.pw-meter-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pw-label {
    font-weight: 800;
}

.pw-progress {
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--stroke);
}

    .pw-progress .progress-bar {
        height: 100% !important;
        border-radius: 999px;
    }

/* ==========================================================================
   21. NOTIFICATIONS & MESSAGES
   ========================================================================== */

.notif-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.notif-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.notif-search {
    width: 500px;
    max-width: 48vw;
}

.notif-btnwide {
    padding-left: 18px;
    padding-right: 18px;
    min-width: 200px;
}

.notif-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

    .notif-card:hover {
        transform: translateY(-1px);
    }

    .notif-card.is-unread::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--accent);
        box-shadow: 0 0 10px rgba(35,213,198,0.35);
    }

.notif-rowbtn {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 0;
}

.notif-item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: start;
}

.notif-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,0.06);
    font-size: 18px;
}

.notif-title {
    font-weight: 850;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notif-text {
    margin-top: 4px;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.45;
    white-space: pre-line;
}

.notif-meta {
    text-align: right;
    min-width: 140px;
    color: var(--muted);
    font-size: .80rem;
    white-space: nowrap;
}

.notif-time {
    opacity: .95;
}

.notif-linkhint {
    margin-top: 6px;
    font-size: .78rem;
    opacity: .9;
}

.badge-soft {
    font-size: .72rem;
}

.t-info {
    color: var(--text);
}

.t-success {
    color: #22c55e;
}

.t-warning {
    color: #fbbf24;
}

.t-danger {
    color: #ff4d4f;
}

.notif-typepill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid var(--stroke);
    background: var(--panel);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.notif-tools .btn {
    min-height: 40px;
    border-radius: 14px;
    font-weight: 750;
}

.msg-actions-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.msg-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
}

@media (max-width: 575.98px) {
    .msg-actions-grid {
        grid-template-columns: 1fr;
    }
}

.msg-actions-grid .btn,
.msg-btn {
    min-height: 40px;
    width: 100%;
    border-radius: 14px;
    font-weight: 720;
    font-size: .95rem;
    letter-spacing: .15px;
    padding: .55rem .9rem;
}

.msg-seg {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .msg-seg .btn {
        border-radius: 999px !important;
        font-weight: 720;
        font-size: .95rem;
        padding: .45rem 1.1rem;
    }

.msg-card {
    color: var(--text) !important;
    display: block;
    border-radius: 16px;
}

    .msg-card .text-muted2 {
        color: var(--muted) !important;
    }

.chat-wrapper {
    min-width: 0;
}

.chat-topbar {
    gap: 12px;
}

    .chat-topbar .start-form {
        min-width: 0;
    }

        .chat-topbar .start-form .form-select {
            min-width: 240px;
            font-size: .95rem;
            padding: .45rem .7rem;
            border-radius: 14px;
        }

.chat-input-bar textarea {
    min-height: 38px;
    font-size: .95rem;
    line-height: 1.4;
    padding-top: 8px;
    padding-bottom: 8px;
}

.chat-shell {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(10,10,10,.35);
    box-shadow: 0 8px 28px rgba(0,0,0,.35);
}

.chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(0,0,0,.35);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.chat-avatar {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    flex: 0 0 auto;
    font-size: 20px;
}

.chat-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: .2px;
}

.chat-sub {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
}

.chat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
    box-shadow: 0 0 0 0 rgba(0,255,170,.35);
    display: inline-block;
    transition: all .2s ease;
}

    .chat-dot.online {
        background: #00ffaa;
        box-shadow: 0 0 10px rgba(0,255,170,.55);
    }

    .chat-dot.reconnecting {
        background: #ffc107;
        box-shadow: 0 0 10px rgba(255,193,7,.45);
    }

    .chat-dot.offline {
        background: #ff4d4d;
        box-shadow: 0 0 10px rgba(255,77,77,.45);
    }

.chat-body {
    height: 60vh;
    overflow: auto;
    padding: 14px;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(0,255,170,.06), transparent 55%), radial-gradient(900px 500px at 90% 30%, rgba(0,170,255,.05), transparent 55%), rgba(0,0,0,.18);
}

    .chat-body::-webkit-scrollbar {
        width: 10px;
    }

    .chat-body::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.10);
        border-radius: 10px;
        border: 2px solid rgba(0,0,0,.15);
    }

.chat-day {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

    .chat-day span {
        font-size: 12px;
        padding: 4px 10px;
        border-radius: 999px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.08);
        color: rgba(255,255,255,.7);
    }

.chat-row {
    display: flex;
    margin: 8px 0;
}

    .chat-row.me {
        justify-content: flex-end;
    }

    .chat-row.them {
        justify-content: flex-start;
    }

.chat-bubble {
    position: relative;
    max-width: 78%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(6px);
    animation: chatPop .12s ease-out;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.chat-row.me .chat-bubble {
    background: rgba(0,255,170,.10);
    border-color: rgba(0,255,170,.18);
}

.chat-row.them .chat-bubble {
    background: rgba(255,255,255,.05);
}

    .chat-row.me .chat-bubble::after,
    .chat-row.them .chat-bubble::after {
        content: "";
        position: absolute;
        bottom: 8px;
        width: 10px;
        height: 10px;
        transform: rotate(45deg);
        border-radius: 2px;
    }

.chat-row.me .chat-bubble::after {
    right: -4px;
    background: rgba(0,255,170,.10);
    border-right: 1px solid rgba(0,255,170,.18);
    border-bottom: 1px solid rgba(0,255,170,.18);
}

.chat-row.them .chat-bubble::after {
    left: -4px;
    background: rgba(255,255,255,.05);
    border-left: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.chat-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 4px;
    font-size: 12px;
    color: rgba(255,255,255,.62);
}

.chat-name {
    font-weight: 700;
    color: rgba(255,255,255,.88);
}

.chat-time {
    white-space: nowrap;
}

.chat-text {
    white-space: pre-line;
    color: rgba(255,255,255,.92);
    line-height: 1.45;
    font-size: 15px;
}

.chat-inputbar {
    padding: 10px;
    background: rgba(0,0,0,.30);
    border-top: 1px solid rgba(255,255,255,.08);
}

.chat-inputwrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chat-input {
    width: 100%;
    resize: none;
    min-height: 46px;
    max-height: 160px;
    padding: 12px 12px;
    border-radius: 16px;
    overflow: hidden;
    scrollbar-width: none;
}

    .chat-input::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

.chat-send {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 18px;
}

@keyframes chatPop {
    from {
        transform: translateY(2px);
        opacity: .6;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================================================
   21. REPORTS
   ========================================================================== */

.glass {
    max-width: 100%;
}

    .glass * {
        max-width: 100%;
    }

.page-actions {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
}

.kpi {
    position: relative;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
    overflow: hidden;
}

    .kpi::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--kpi-accent, rgba(255,255,255,.35));
        opacity: .75;
    }

.kpi-label {
    font-size: .82rem;
    color: rgba(255,255,255,.65);
    letter-spacing: .2px;
}

.kpi-value {
    margin-top: 6px;
    font-size: 1.60rem;
    font-weight: 800;
    color: rgba(255,255,255,.95);
    line-height: 1.05;
}

.kpi:hover {
    border-color: rgba(255,255,255,.14);
    box-shadow: 0 12px 28px rgba(0,0,0,.30);
}

.kpi-total {
    --kpi-accent: rgba(148,163,184,.70);
}

.kpi-ready {
    --kpi-accent: rgba(34,197,94,.55);
}

.kpi-proc {
    --kpi-accent: rgba(245,158,11,.55);
}

.kpi-err {
    --kpi-accent: rgba(239,68,68,.55);
}

.kpi-card .fs-4 {
    line-height: 1.1;
}

.table td, .table th {
    white-space: nowrap;
}

    .table td:nth-child(3), .table th:nth-child(3) {
        white-space: normal;
        min-width: 260px;
    }

.table-responsive {
    -webkit-overflow-scrolling: touch;
}

.mobile-cards {
    display: none;
}

.btn-fluid-sm {
    width: auto;
}

.report-row {
    cursor: pointer;
}

    .report-row:hover {
        filter: brightness(1.06);
    }

.dl-link, .dl-btn {
    cursor: pointer;
}

.modal .modal-header {
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.modal .modal-footer {
    border-top: 1px solid rgba(255,255,255,.12);
}

.ri-kv {
    display: flex;
    gap: 5px;
}

    .ri-kv .k {
        color: rgba(255,255,255,.65);
        font-size: .85rem;
        font-weight: bold;
    }

    .ri-kv .v {
        color: rgba(255,255,255,.92);
        font-size: .9rem;
        word-break: break-word;
    }

.ri-panel {
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    padding: 12px;
}

    .ri-panel.soft {
        background: rgba(0,0,0,.15);
    }

.ri-badges .badge {
    padding: .45rem .7rem;
    border-radius: 999px;
}

.ri-title {
    font-size: 1.05rem;
    font-weight: 700;
}

.ri-sub {
    color: rgba(255,255,255,.65);
    font-size: .85rem;
}

.ri-desc {
    color: rgba(255,255,255,.78);
    font-size: .92rem;
    white-space: pre-wrap;
}

.ri-error {
    color: #ffb3b3;
}

.btn[disabled], .btn.disabled {
    pointer-events: none;
    opacity: .55;
}

/* ==========================================================================
   22. NOTICE
   ========================================================================== */

.dash-shell {
    width: 100%;
}

.dash-wrap-card {
    padding: 12px;
}

.wrap-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.wrap-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
    min-width: 0;
}

.wrap-title-1 {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin: 0;
}

.wrap-title-2 {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.70);
    margin: 0;
}

.wrap-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    min-width: 0;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.section-sub {
    color: rgba(255,255,255,.65);
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
}

.notice-body {
    margin-top: 6px;
    padding-top: 0;
    font-size: .95rem;
    opacity: .92;
}

.notice-meta {
    margin-top: 2px;
}

.notice-head {
    align-items: flex-start;
    min-width: 0;
}

.notice-left {
    min-width: 0;
}

.notice-right {
    flex: 0 0 auto;
}

.notice-title-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-scroll {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .notice-scroll::-webkit-scrollbar {
        width: 0 !important;
        height: 0 !important;
    }

    .notice-scroll::-webkit-scrollbar-thumb,
    .notice-scroll::-webkit-scrollbar-track {
        background: transparent !important;
    }

.notice-actions-stack {
    width: 44px;
    margin-left: auto;
}

.notice-icon-btn {
    width: 44px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
}

    .notice-icon-btn:focus {
        box-shadow: 0 0 0 .2rem rgba(255,255,255,.12);
    }

.notice-flag2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    min-height: 32px;
}

    .notice-flag2 .nf2-text {
        font-size: .88rem;
        font-weight: 700;
        color: rgba(255,255,255,.85);
        line-height: 1;
    }

.nf2-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.nf2-input {
    position: absolute;
    opacity: 0;
}

.nf2-ui {
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
    position: relative;
    transition: .18s ease;
}

    .nf2-ui::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 2px;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        background: #fff;
        transition: .18s ease;
    }

.nf2-input:checked + .nf2-ui {
    background: rgba(35,213,198,.35);
    border-color: rgba(35,213,198,.45);
}

    .nf2-input:checked + .nf2-ui::after {
        transform: translateX(18px);
    }

.req-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.req-table {
    table-layout: fixed;
    width: 100%;
}

    .req-table th, .req-table td {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }

        .req-table td.col-request {
            white-space: normal;
        }

    .req-table .col-request {
        width: 46%;
    }

    .req-table .col-cat {
        width: 12%;
    }

    .req-table .col-status {
        width: 14%;
    }

    .req-table .col-date {
        width: 12%;
        min-width: 120px;
    }

    .req-table .col-actions {
        width: 16%;
        min-width: 170px;
    }

.btn-compact {
    padding: .20rem .45rem;
    font-size: 15px;
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap;
}

.req-actions {
    flex-wrap: nowrap !important;
    gap: .35rem !important;
}

.req-title {
    letter-spacing: .2px;
}

.req-desc {
    opacity: .92;
}

.req-chip {
    display: inline-flex;
    align-items: center;
    padding: .18rem .5rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    font-size: 12px;
    line-height: 1.1;
}

.req-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .20rem .55rem;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
}

.pill-warning {
    background: rgba(255,193,7,.18);
    border-color: rgba(255,193,7,.28);
}

.pill-info {
    background: rgba(13,202,240,.14);
    border-color: rgba(13,202,240,.24);
}

.pill-success {
    background: rgba(25,135,84,.18);
    border-color: rgba(25,135,84,.28);
}

.pill-danger {
    background: rgba(220,53,69,.18);
    border-color: rgba(220,53,69,.28);
}

.pill-secondary {
    background: rgba(108,117,125,.16);
    border-color: rgba(108,117,125,.24);
}

.req-row {
    transition: background-color .12s ease;
}

    .req-row:hover {
        background: rgba(255,255,255,.03);
    }

.req-icon-btn {
    width: 40px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
}

    .req-icon-btn:focus {
        box-shadow: 0 0 0 .2rem rgba(255,255,255,.12);
    }

.req-icon-btn-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}

/* ==========================================================================
   23. FINANCE
   ========================================================================== */

.finance-page {
    --fin-panel-bg: rgba(255,255,255,.06);
}

.finance-actions .btn {
    white-space: nowrap;
}

.kpi-swipe {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

    .kpi-swipe::-webkit-scrollbar {
        height: 6px;
    }

.kpi-item {
    flex: 0 0 88%;
    scroll-snap-align: start;
}

.kpi-mini .kpi-value {
    font-weight: 900;
    font-size: 1.25rem;
    line-height: 1.15;
    margin-top: 4px;
}

.chart-box.chart-sm {
    min-height: 280px;
}

.chart-surface {
    background: var(--fin-panel-bg);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 10px;
}

    .chart-surface canvas {
        display: block;
    }

.finance-page .accordion-item {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: 10px;
}

.finance-page .accordion-button {
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.92);
    font-weight: 800;
    letter-spacing: .2px;
}

    .finance-page .accordion-button:not(.collapsed) {
        background: rgba(255,255,255,.06);
        color: rgba(255,255,255,.95);
        box-shadow: none;
    }

.finance-page .accordion-body {
    background: rgba(0,0,0,.10);
}

.exp-card {
    border: 1px solid rgba(255,255,255,.06);
}

.exp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    align-items: center;
}

.exp-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
}

.cat-badge {
    font-weight: 650;
    padding: .42rem .78rem;
    letter-spacing: .2px;
    border: none;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.28);
    font-size: .78rem;
    line-height: 1;
}

.cat-gn {
    background-color: #475569;
}

.cat-bk {
    background-color: #b45309;
}

.cat-ai {
    background-color: #15803d;
}

.cat-gu {
    background-color: #1d4ed8;
}

.cat-oth {
    background-color: #6b7280;
}

.pi-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 12px;
}

.pi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255,255,255,.10);
}

.pi-k {
    color: rgba(255,255,255,.65);
    font-size: .72rem;
    line-height: 1.05;
    margin-bottom: 3px;
}

.pi-v {
    font-weight: 900;
    font-size: .92rem;
    line-height: 1.1;
    white-space: nowrap;
}

.finance-page table th:last-child,
.finance-page table td:last-child {
    padding-left: 16px !important;
}

.finance-page .pi-card .text-muted2.small {
    text-align: left !important;
}

/* ==========================================================================
   24. VISITOR DELIVERY
========================================================================== */
.vd-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.vd-table {
    width: 100%;
    table-layout: fixed;
}

    .vd-table th, .vd-table td {
        overflow: hidden;
        text-overflow: ellipsis;
        vertical-align: middle;
    }


    .vd-table .col-loc {
        width: 30%;
    }

    .vd-table .col-main {
        width: 28%;
    }

    .vd-table .col-status {
        width: 22%;
    }

    .vd-table .col-date {
        width: 12%;
        min-width: 120px;
        white-space: nowrap;
    }

    .vd-table .col-act {
        width: 8%;
        min-width: 56px;
        white-space: nowrap;
    }

.vd-badge {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vd-icon-btn {
    padding: .25rem .45rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vd-row {
    cursor: pointer;
}


/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

@media (min-width: 1200px) {
    .kpi-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .topbar.topbar-inset {
        margin-left: 18px !important;
        margin-right: 18px !important;
    }

    .theme-sand .sidebar,
    .theme-sand .offcanvas.sidebar,
    .theme-sand .offcanvas-start {
        background-color: #f3efe6 !important;
        border-right: 1px solid rgba(20,17,12,0.18) !important;
    }

    .theme-sand .topbar {
        background-color: #f3efe6 !important;
        border-bottom: 1px solid rgba(20,17,12,0.18) !important;
    }

    .two-charts {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .four-cards {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .notice-scroll {
        overflow: auto;
        max-height: 560px;
    }

    .chart-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }


    /* =========================================================
       ✅ DESKTOP: Chart'lar accordion DEĞİL, her zaman açık
       ========================================================= */
    .chart-acc .collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }

    .chart-acc .acc-head {
        cursor: default;
    }

        .chart-acc .acc-head[data-bs-toggle] {
            pointer-events: none;
        }

    .chart-acc .acc-chevron {
        display: none !important;
    }

    .split-grid {
        grid-template-columns: 1.1fr .9fr;
    }
}

@media (max-width: 992px) {
    .cap-grid {
        grid-template-columns: 1fr;
    }

    .media-frame {
        min-height: 240px;
    }

    .display-5 {
        font-size: calc(1.55rem + 1.4vw);
    }

    .sidebar {
        display: none !important;
        z-index: 999;
    }

    .topbar .d-none.d-md-block {
        display: none !important;
    }

    .topbar input.form-control {
        width: 100% !important;
    }

    .topbar-middle {
        display: none !important;
    }

    .kpi-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 991.98px) {
    .chart-acc .collapse {
        display: none;
    }

        .chart-acc .collapse.show {
            display: block;
        }

    .chart-acc .acc-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        cursor: pointer;
        user-select: none;
        padding-bottom: 8px;
    }

        .chart-acc .acc-head > div {
            min-width: 0;
        }

    .chart-acc .acc-chevron {
        flex: 0 0 auto;
        width: 34px;
        height: 34px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.08);
        opacity: .9;
        transform: rotate(0deg);
        transition: transform .22s ease, background-color .22s ease, opacity .22s ease;
    }

    .chart-acc .acc-head[aria-expanded="true"] .acc-chevron {
        transform: rotate(180deg);
        background: rgba(255,255,255,.09);
        opacity: 1;
    }

    .chart-acc .acc-body {
        padding-top: 6px;
    }

    @media (prefers-reduced-motion: reduce) {
        .chart-acc .acc-chevron {
            transition: none !important;
        }
    }

    .notice-pane {
        max-height: 520px;
    }
}

@media (max-width: 768px) {
    .topbar.topbar-inset {
        margin-left: 12px !important;
        margin-right: 12px !important;
    }

    .msg-actions-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .msg-actions-grid {
        gap: 8px;
    }

        .msg-actions-grid .btn,
        .msg-filter-actions .btn,
        .msg-seg .btn {
            min-height: 38px;
            border-radius: 14px;
            font-weight: 750;
            font-size: 0.90rem;
            padding: .45rem .7rem;
            letter-spacing: .1px;
        }

    .msg-seg {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

        .msg-seg .btn {
            width: 100%;
        }

    .msg-filter-actions .row.g-2 {
        --bs-gutter-x: .5rem;
        --bs-gutter-y: .5rem;
    }

    .msg-card {
        color: var(--text) !important;
        display: block;
        padding: 12px !important;
        border-radius: 14px !important;
    }

        .msg-card .fw-semibold {
            font-size: 0.95rem;
            line-height: 1.2;
        }

        .msg-card .text-muted2.small {
            font-size: 0.78rem;
        }

            .msg-card .text-muted2.small.mt-2 {
                font-size: 0.80rem;
                line-height: 1.35;
            }

        .msg-card .text-muted2 {
            color: var(--muted) !important;
        }

    .chat-topbar {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
    }

        .chat-topbar .start-row,
        .chat-topbar .start-form {
            width: 100%;
            flex-direction: column;
            align-items: stretch !important;
            gap: 8px !important;
        }

            .chat-topbar .start-form .form-select {
                width: 100% !important;
                min-width: 0 !important;
                border-radius: 14px !important;
                font-size: 0.90rem;
                padding: .45rem .65rem;
            }

            .chat-topbar .start-form .btn,
            .chat-topbar .btn-messages {
                width: 100%;
                min-height: 38px;
                border-radius: 14px !important;
                font-size: 0.90rem;
                padding: .45rem .7rem;
                font-weight: 750;
            }

    .chat-history {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .chat-bubble {
        max-width: 92%;
        padding: 12px !important;
        border-radius: 16px !important;
    }

        .chat-bubble .font-s {
            font-size: 0.90rem;
            line-height: 1.35;
        }

    .notif-header {
        flex-direction: column;
        align-items: stretch;
    }

    .notif-tools {
        width: 100%;
        justify-content: stretch;
    }

    .notif-search {
        width: 100%;
        max-width: 100%;
    }

    .notif-btnwide {
        min-width: 0;
        padding-left: 14px;
        padding-right: 14px;
    }

    .notif-tools form,
    .notif-tools .btn,
    .notif-tools a {
        width: 100%;
    }

    .notif-item {
        grid-template-columns: 40px 1fr;
        grid-template-areas:
            "icon main"
            "meta meta";
    }

    .notif-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .notif-meta {
        grid-area: meta;
        text-align: left;
        min-width: 0;
        margin-top: 8px;
    }

    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .footer-links {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hide-xs {
        display: table-cell;
    }

    .notice-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .notice-main {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .notice-actions {
        flex: 0 0 220px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin-top: 0 !important;
    }

    .notice-content {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
        overflow: hidden !important;
        line-height: 1.35 !important;
        margin-top: 6px !important;
    }
}

.notice-preview {
    -webkit-line-clamp: 2 !important;
}

.notice-list .notice-card:hover .notice-preview,
.notice-list .notice-card:focus-within .notice-preview {
    -webkit-line-clamp: 2 !important;
}

.notice-actions .btn,
.notice-actions-btns .btn {
    padding: .25rem .55rem !important;
    line-height: 1.1 !important;
    justify-content: flex-end !important;
}

.notice-actions-badges {
    gap: 6px !important;
}

@media (max-width: 767.98px) {
    .mobile-search {
        display: block;
    }

    .notice-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .notice-head {
        gap: 8px !important;
    }

    .notice-head-badges {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        margin-top: 6px !important;
    }

    .notice-content,
    .notice-body {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 5 !important;
        overflow: hidden !important;
        line-height: 1.35 !important;
    }

    .notice-actions {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }

    .notice-actions-btns {
        display: flex !important;
        gap: 8px !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }

        .notice-actions-btns .btn {
            flex: 0 0 auto !important;
            width: auto !important;
            padding: .22rem .55rem !important;
            font-size: .85rem !important;
            line-height: 1.1 !important;
            white-space: nowrap !important;
        }

    .notice-actions-badges {
        display: flex !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
    }
}

@media (min-width: 577px) and (max-width: 992px) {
    .notice-actions {
        min-width: 190px;
    }

    .notice-actions-btns {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

        .notice-actions-btns .btn {
            min-width: 92px;
        }
}

@media (max-width: 576px) {

    :root {
        --mobile-nav-h: 64px;
    }

    .dash-wrap-card {
        padding: 10px;
    }

    .wrap-title-1 {
        font-size: 18px;
    }

    .wrap-title-2 {
        font-size: 12px;
    }

    .wrap-title-1 {
        font-size: 18px;
    }

    .wrap-title-2 {
        font-size: 12px;
    }

    .cta-row .btn {
        width: 100%;
    }

    .corp-sub {
        font-size: 1rem;
    }

    .font-xl {
        font-size: 18px;
    }

    .font-l {
        font-size: 17px;
    }

    .max-w-75 {
        max-width: 90%;
    }

    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-actions button {
        width: 100%;
    }

    .glass {
        border-radius: 16px;
        padding: 1rem !important;
    }

        .glass.userlist-wrap {
            padding: 14px !important;
        }

    .shadow-soft {
        box-shadow: 0 12px 35px rgba(0,0,0,0.45);
    }

    main.p-3 {
        padding: 12px !important;
    }

    .topbar {
        padding: 10px 12px !important;
    }

    .table-responsive {
        border-radius: 14px;
        overflow: hidden;
    }

    .search-btn {
        padding: 8px 10px;
    }

    .icon-btn {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .offcanvas.offcanvas-start {
        width: 68vw;
        max-width: 240px;
    }

    .userlist-actions {
        width: 100%;
        justify-content: stretch;
    }

        .userlist-actions .btn {
            flex: 1 1 auto;
        }

    .userlist-filter .col-12 {
        margin-top: 2px;
    }

    .userlist-filter .filter-actions {
        display: flex;
        gap: 10px;
    }

        .userlist-filter .filter-actions .btn {
            flex: 1 1 auto;
        }

    .dash-card .d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    .dash-card .badge-soft {
        align-self: flex-start;
    }

    .chart-sm {
        height: 200px;
    }

    .chart-lg {
        height: 220px;
    }

    .action-stack {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }

    .desktop-table {
        display: none;
    }

    .mobile-cards {
        display: grid;
        gap: .75rem;
    }

    .btn-fluid-sm {
        width: 100%;
    }

    .filters-row .btn-fluid-sm {
        min-width: 140px;
    }

    .notice-flag {
        max-width: 100%;
    }

    .notice-card {
        flex-direction: column;
        gap: 12px;
    }

    .notice-head {
        align-items: center;
        gap: 8px;
    }

    .notice-head-badges {
        justify-content: flex-start;
        width: 100%;
        margin-top: 6px;
    }

    .notice-actions {
        min-width: 0;
        width: 100%;
        align-items: stretch;
    }

    .notice-actions-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        width: 100%;
        flex-wrap: wrap;
    }

        .notice-actions-btns .btn {
            width: 100%;
            padding: 10px 12px;
            font-weight: 700;
        }

    .notice-actions-badges {
        justify-content: flex-start;
        width: 100%;
    }

        .notice-actions-badges .badge {
            padding: 8px 10px;
            font-weight: 700;
        }

    .notice-title-text {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .toast-alert,
    .toast-info {
        top: 14px;
        width: min(86vw, 380px);
        max-width: 86vw;
        min-width: auto;
        padding: 10px 14px;
        border-radius: 12px;
        font-size: 0.85rem;
        line-height: 1.35;
    }

    .msg-actions-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        width: 100% !important;
    }

        .msg-actions-grid a,
        .msg-actions-grid button {
            width: 100% !important;
            display: flex !important;
            justify-content: center !important;
            align-items: center !important;
            min-height: 44px !important;
        }

    .dash-head {
        margin-bottom: 10px;
    }

    .dash-title-1 {
        font-size: 18px;
    }

    .dash-title-2 {
        font-size: 12px;
    }

    .dash-wrap-card {
        padding: 10px;
    }

    .wrap-title-1 {
        font-size: 18px;
    }

    .wrap-title-2 {
        font-size: 12px;
    }

    .section-title {
        font-size: 18px;
    }

    .wrap-actions {
        width: 100%;
    }

        .wrap-actions .btn {
            width: 100%;
        }

    .modal {
        padding-top: calc(var(--mobile-nav-h) + env(safe-area-inset-top, 0px) + 6px) !important;
    }

        .modal.show .modal-dialog,
        .modal .modal-dialog {
            max-height: calc(100dvh - (var(--mobile-nav-h) + env(safe-area-inset-top, 0px) + 16px)) !important;
        }

    @supports not (height: 100dvh) {
        .modal.show .modal-dialog,
        .modal .modal-dialog {
            max-height: calc(100vh - (var(--mobile-nav-h) + env(safe-area-inset-top, 0px) + 16px)) !important;
        }
    }

    .modal .modal-dialog {
        width: min(94vw, 392px) !important;
        max-width: min(94vw, 392px) !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: flex-start !important;
    }

    .modal .modal-content {
        border-radius: 14px !important;
        overflow: hidden !important;
        max-height: inherit !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .modal .modal-header {
        padding: 8px 10px !important;
        gap: 8px !important;
        align-items: flex-start !important;
        flex: 0 0 auto !important;
    }

    .modal .modal-title {
        font-size: 1.03rem !important;
        line-height: 1.15 !important;
    }

    .modal .modal-body,
    .modal form.modal-body,
    .modal form.modal-body.p-4 {
        padding: 8px 10px !important;
        overflow: auto !important;
        -webkit-overflow-scrolling: touch !important;
        flex: 1 1 auto !important;
        padding-bottom: max(10px, env(safe-area-inset-bottom, 0px)) !important;
    }

    .modal .modal-footer {
        padding: 8px 10px !important;
        gap: 8px !important;
        flex: 0 0 auto !important;
        position: sticky !important;
        bottom: 0 !important;
        z-index: 2 !important;
        box-shadow: 0 -10px 22px rgba(0,0,0,.28);
    }

        .modal .modal-footer .btn {
            width: 100% !important;
            min-height: 38px !important;
            border-radius: 14px !important;
        }

    .modal .modal-body .row {
        --bs-gutter-x: .45rem !important;
        --bs-gutter-y: .45rem !important;
    }

    .modal .modal-body label {
        margin-bottom: .2rem !important;
        font-size: .76rem !important;
        line-height: 1.05 !important;
    }

    .modal .modal-body .form-control,
    .modal .modal-body .form-select,
    .modal .modal-body .input-dark {
        font-size: .90rem !important;
        padding: .42rem .55rem !important;
        min-height: 38px !important;
        border-radius: 14px !important;
    }

    .modal textarea {
        min-height: 96px !important;
        resize: vertical !important;
    }

    .modal .btn-close {
        transform: scale(.92);
        margin-top: 2px;
    }

    .modal input,
    .modal select,
    .modal textarea {
        font-size: 16px !important;
    }

    .notice-flag2 {
        min-height: 38px;
        padding: 6px 10px;
    }
}

@media (max-width: 575.98px) {
    .hide-xs {
        display: none !important;
    }

    .status-inline {
        display: inline-flex;
        margin-top: 6px;
    }

    .td-desc {
        max-width: 100%;
    }

    .msg-actions-grid {
        grid-template-columns: 1fr;
    }

    .kpi {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .kpi-value {
        font-size: 1.45rem;
    }

    .finance-actions {
        width: 100%;
    }

        .finance-actions .btn {
            width: 100%;
        }

    .finance-title {
        font-size: 1.25rem !important;
    }

    .chart-box.chart-sm {
        min-height: 260px;
    }

    .exp-actions {
        grid-template-columns: 1fr;
    }

    .money-badge {
        min-width: auto !important;
        padding: .55rem .8rem !important;
        font-weight: 800;
    }

    .table td, .table th {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .toast-alert,
    .toast-info {
        width: 80vw;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}
