@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Rubik:wght@400;500;600;700&family=Baloo+Bhaijaan+2:wght@500;600;700;800&display=swap');

:root {
    /* ═══════════════════════════════════════════════
       RANG-ROOP — Awadhi palette
       Genda (marigold) · Neel (indigo) · Chikan (ivory)
       ═══════════════════════════════════════════════ */

    /* Fonts */
    --font: "Inter", "Rubik", sans-serif;
    --font-local: "Tiro Devanagari Hindi", "Inter", serif;

    /* Base */
    --white-color:   #ffffff;
    --white-rgb:     255, 255, 255;
    --black-color:   #000000;
    --black-50:      rgba(0, 0, 0, 0.5);
    --body-color:    #4A4038;
    --text-dark:     #241C15;
    --text-muted:    #857A6E;

    /* Brand — Rojgar Mitra orange */
    --primary-color:  #F08A21;
    --primary-accent: #F5A24E;
    --primary-dark:   #C96A0C;
    --primary-light:  #FEF1E2;
    --primary-rgb:    240, 138, 33;
    --primary-accent-rgb: 245, 162, 78;

    /* Secondary — Rojgar Mitra navy */
    --indigo-color:  #17365D;
    --indigo-soft:   #E6ECF4;

    /* Maroon — sindoor / Banarasi border */
    --maroon-color:  #7B2D26;

    /* Status — paan green, sindoor red, haldi */
    --green-color:   #1F7A4D;
    --red-color:     #C0392B;
    --orange-color:  #D98324;

    /* Surface — warm cream, not cold grey */
    --assest-color:  #FDF7EE;

    /* Sidebar — Rojgar Mitra navy */
    --sidebar-bg:             #17365D;
    --sidebar-text:           #A9BBD3;
    --sidebar-text-hover:     #FDF7EE;
    --sidebar-active-bg:      rgba(240, 138, 33, 0.18);
    --sidebar-active-text:    #F5A24E;
    --sidebar-partition-text: #7590B4;
    --sidebar-border:         rgba(255,255,255,0.06);

    /* Header */
    --header-bg:     #FFFFFF;
    --header-height: 68px;

    /* Cards & Layout */
    --card-bg:      #FFFFFF;
    --card-shadow:  0 1px 2px rgba(60, 40, 20, 0.05), 0 4px 14px rgba(60, 40, 20, 0.05);
    --card-radius:  14px;
    --card-border:  #E8DFD2;
    --input-border: #DCD1C0;
    --table-header: #FDF7EE;

    /* Status Badges */
    --badge-success-bg:   #DCF0E4;
    --badge-success-text: #14603A;
    --badge-danger-bg:    #FBE3E0;
    --badge-danger-text:  #8C241A;
    --badge-warning-bg:   #FDF0D5;
    --badge-warning-text: #8A5A0B;
    --badge-info-bg:      #E6ECF4;
    --badge-info-text:    #17365D;

    /* Icon / placeholder */
    --icon-muted:            #A99C8C;

    /* Surface variants */
    --input-bg:              #FCFAF6;
    --card-header-bg:        #FDF7EE;
    --table-row-alt:         #FEFBF6;
    --table-row-hover:       #FEF1E2;

    /* Extended palette */
    --orange-light:          #F0B429;

    /* Sidebar dark-surface interactions */
    --sidebar-toggle-hover:  rgba(255, 255, 255, 0.08);
    --sidebar-toggle-span:   rgba(255, 255, 255, 0.45);
    --sidebar-toggle-active: rgba(255, 255, 255, 0.85);
    --sidebar-item-hover:    rgba(255, 255, 255, 0.07);
    --sidebar-scroll-track:  rgba(255, 255, 255, 0.04);
    --sidebar-scroll-border: rgba(255, 255, 255, 0.06);
    --sidebar-active-glow:   rgba(240, 138, 33, 0.55);
    --sidebar-caret:         rgba(169, 187, 211, 0.55);

    /* Modal */
    --modal-close-color:     rgba(255, 255, 255, 0.60);

    /* Primary-colour shadows & focus rings */
    --primary-shadow-sm:     rgba(240, 138, 33, 0.24);
    --primary-shadow-md:     rgba(240, 138, 33, 0.30);
    --primary-shadow-lg:     rgba(240, 138, 33, 0.34);
    --primary-shadow-xl:     rgba(240, 138, 33, 0.44);
    --primary-focus-ring:    rgba(240, 138, 33, 0.15);

    /* Generic shadows — warm-tinted, not neutral black */
    --shadow-xs:  rgba(60, 40, 20, 0.04);
    --shadow-sm:  rgba(60, 40, 20, 0.06);
    --shadow-md:  rgba(60, 40, 20, 0.09);
    --shadow-lg:  rgba(60, 40, 20, 0.12);
    --shadow-xl:  rgba(60, 40, 20, 0.20);

    /* Tinted surface tokens */
    --tint-primary-medium:  rgba(240, 138, 33, 0.11);
    --tint-success-soft:    rgba(31, 122, 77, 0.08);
    --tint-warning-soft:    rgba(217, 131, 36, 0.08);
    --tint-danger-soft:     rgba(192, 57, 43, 0.08);
}

html,
body {
    height: 100%;
    overflow: auto;
}
a {
    text-decoration: none !important;
}
.primary-color {
    color: var(--primary-color);
}
.text-gray {
    color: var(--body-color);
    opacity: 0.6;
}
.btn:focus {
    outline: none;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}
.mw-120 {
    min-width: 120px;
}
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
}
.defaultfont {
    font-family: var(--font);
}
.dot {
    height: 8px;
    width: 8px;
    background: var(--red-color);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}
.custom-tabs {
    list-style: none;
    margin: 0 0 20px;
    padding: 10px 14px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    gap: 6px;
    align-items: center;
}
.custom-tabs::-webkit-scrollbar {
    display: none;
}
.custom-tabs li.nav-item {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    text-align: center;
}
.custom-tabs .nav-link {
    display: block;
    padding: 7px 18px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    color: var(--body-color);
    background: var(--assest-color);
    white-space: nowrap;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
    line-height: 1.45;
}
.custom-tabs .nav-link:hover {
    background: var(--input-bg);
    color: var(--text-dark);
    border-color: var(--card-border);
    text-decoration: none;
}
.custom-tabs .nav-link.active {
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: 600;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px var(--primary-shadow-sm);
}
.box-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--body-color);
    padding-bottom: 10px;
    margin-top: 20px;
}
.box-title .title {
    font-size: 20px;
    font-weight: 600;
    margin: 5px 0;
}
.avatar-control {
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.avatar-control .avatar-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
}
.avatar-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.page-search .sorting {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 290px;
    background: var(--white-color);
    padding: 2px 12px;
    border-radius: 8px;
}
.page-search .sorting label {
    min-width: 60px;
    margin: 0;
    font-weight: 600;
}
.modal .close {
    font-size: 34px;
    color: var(--white-color);
    opacity: 1;
    position: absolute;
    right: 5px;
    top: 0px;
    font-weight: 200;
    z-index: 22;
    outline: none;
}
.inline-tabs {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: relative;
    z-index: 2;
}
.inline-tabs li.nav-item {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}
.inline-tabs .nav-link {
    padding: 10px 35px;
}
/* ════════════ RADIO GROUP ════════════ */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0;
}
.radio-group .custom-control {
    padding-left: 0;
    margin-right: 0;
}
.radio-group .custom-control-label {
    margin-bottom: 0;
    background: var(--input-bg);
    border: 1.5px solid var(--input-border);
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--body-color);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    line-height: 1.5;
    transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.radio-group .custom-control-label::before,
.radio-group .custom-control-label::after {
    display: none;
}
.radio-group .custom-control-label:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    color: var(--primary-dark);
}
.radio-group .custom-control-input:checked ~ .custom-control-label {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 600;
    box-shadow: 0 1px 4px var(--primary-shadow-sm);
}
.radio-group .custom-control-input:focus ~ .custom-control-label {
    box-shadow: 0 0 0 3px var(--primary-focus-ring);
    border-color: var(--primary-color);
    outline: none;
}
table.dataTable>thead .sorting:before,
table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_desc:before,
table.dataTable>thead .sorting_asc_disabled:before,
table.dataTable>thead .sorting_desc_disabled:before {
    content: "↑";
}
table.dataTable>thead .sorting:after,
table.dataTable>thead .sorting_asc:after,
table.dataTable>thead .sorting_desc:after,
table.dataTable>thead .sorting_asc_disabled:after,
table.dataTable>thead .sorting_desc_disabled:after {
    content: "↓";
}
div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:first-child,
div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:last-child {
    overflow: auto;
}
.custom-control .custom-control-label::before {
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
}
.custom-control .custom-control-input:checked~.custom-control-label::after {
    border-radius: 3px;
    background-color: var(--primary-color);
}
.custom-control.custom-radio .custom-control-label::before,
.custom-control.custom-radio .custom-control-label:after {
    border-radius: 50%;
}

/* Image Upload Preview */
.avatar-upload {
    position: relative;
    max-width: 205px;
}
.avatar-edit {
    position: absolute;
    right: 12px;
    z-index: 1;
}
.avatar-edit input {
    display: none;
}
.avatar-edit input+label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    margin-right: 30px;
    margin-top: 125px;
    border-radius: 100%;
    background: var(--white-color);
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px var(--assest-color);
    cursor: pointer;
    font-weight: normal;
    transition: all .2s ease-in-out;
}
.avatar-edit input+label:hover {
    background: var(--assest-color);
    border-color: var(--body-color);
}
.avatar-edit input+label:after {
    content: "\f0ee";
    font-family: 'FontAwesome';
    color: var(--body-color);
    position: absolute;
    top: 133px;
    left: 0;
    right: 30px;
    text-align: center;
    margin: auto;
}
.avatar-upload .avatar-preview {
    width: 150px;
    height: 150px;
    position: relative;
    border-radius: 10%;
}
.avatar-upload .avatar-preview>img {
    width: 100%;
    height: 100%;
    background-size: cover;
    border-radius: 10%;
    background-repeat: no-repeat;
    background-position: center;
}
/* Image Upload Preview (Landscape) */
.avatar-upload-landscape {
    position: relative;
    max-width: 265px;
}
.avatar-edit-landscape {
    position: absolute;
    right: 0;
    bottom: -20px;
    z-index: 1;
}
.avatar-edit-landscape input {
    display: none;
}
.avatar-edit-landscape input+label {
    display: inline-block;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
    margin-right: 30px;
    margin-top: 125px;
    border-radius: 100%;
    background: var(--white-color);
    border: 1px solid transparent;
    box-shadow: 0px 2px 4px 0px var(--assest-color);
    cursor: pointer;
    font-weight: normal;
    transition: all .2s ease-in-out;
}
.avatar-edit-landscape input+label:hover {
    background: var(--assest-color);
    border-color: var(--body-color);
}
.avatar-edit-landscape input+label:after {
    content: "\f0ee";
    font-family: 'FontAwesome';
    color: var(--body-color);
    position: absolute;
    top: 133px;
    left: 0;
    right: 30px;
    text-align: center;
    margin: auto;
}
.avatar-upload-landscape .avatar-preview-landscape {
    width: 220px;
    height: 120px;
    position: relative;
    border-radius: 10%;
}
.avatar-upload-landscape .avatar-preview-landscape>img {
    width: 100%;
    height: 100%;
    background-size: cover;
    border-radius: 10%;
    background-repeat: no-repeat;
    background-position: center;
}
/* Loader */
#dvloader {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.7;
    background-color: var(--white-color);
    z-index: 9999;
}
#dvloader img {
    max-width: 300px;
    max-height: 300px;
    z-index: 100;
}
/* Edit-Delete btn */
.edit-delete-btn {
    border: none;
    cursor: pointer;
    outline: none;
    background: var(--primary-color);
    color: var(--white-color);
    padding: 5px;
    border-radius: 5px;
    border: 2px dashed transparent;
}
.edit-delete-btn:hover {
    background: var(--white-color);
    border: 2px dashed var(--primary-color);
    color: var(--primary-color);
}
.edit-delete-btn:focus {
    outline: none;
    box-shadow: none;
}
/* Import File */
.import-file {
    background-color: var(--assest-color);
    color: var(--black-color);
}
.import-file::file-selector-button {
    border-radius: 4px;
    background-color: var(--assest-color);
    border: 1px solid var(--assest-color);
    height: 30px;
    cursor: pointer;
}
/* Color Picker */
.colorpicker-component {
    display: flex;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    overflow: hidden;
}
.colorpicker {
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    margin: 0;
}
.hexcolor {
    border: none;
    padding: 10px;
    width: 100px;
    outline: none;
}
/* Hide-Show Btn */
.show-btn,
.hide-btn {
    font-weight: bold;
    border: none;
    color: var(--white-color);
    padding: 6px 18px;
    outline: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    border: 2px dashed transparent;
}
.show-btn {
    background: var(--green-color);
}
.show-btn:hover {
    background: var(--white-color);
    border: 2px dashed var(--green-color);
    color: var(--green-color);
}
.hide-btn {
    background: var(--red-color);
}
.hide-btn:hover {
    background: var(--white-color);
    border: 2px dashed var(--red-color);
    color: var(--red-color);
}
.show-btn:focus,
.hide-btn:focus {
    outline: none;
    box-shadow: none;
}
/* Custom-Card */
.custom-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.custom-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}
.custom-card .card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 16px;
}
.custom-card .card-body h3 {
    margin: 0 0 3px;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}
.custom-card .card-body span {
    font-size: 0.82rem;
    color: var(--body-color);
    font-weight: 500;
}
.card-icon-primary {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--tint-primary-medium);
    color: var(--primary-color);
}
.card-color-primary:hover {
    border-color: var(--primary-color);
}
.card-color-primary .card-body h3 {
    color: var(--primary-color);
}
.custom-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}
/* ── Slot Picker ─────────────────────────────────────── */
.slot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
}
.slot-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1.5px solid var(--primary-color);
    background: var(--white-color);
    color: var(--primary-color);
    cursor: pointer;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    outline: none;
}
.slot-chip:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white-color);
}
.slot-chip.slot-selected {
    background: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 2px 8px var(--black-50);
}
.slot-chip.slot-selected .slot-check {
    display: inline-block;
}
.slot-check {
    display: none;
    font-size: 11px;
}
.slot-chip:disabled {
    background: var(--assest-color);
    border-color: var(--assest-color);
    color: var(--black-50);
    cursor: not-allowed;
    text-decoration: line-through;
}
.slot-chip:focus {
    border: none;
    outline: none;
}
/* ───────────────────────────────────────────────────── */

@media (min-width: 1600px) {
    .counter-row {
        margin-bottom: 20px;
    }
    .table thead th,
    .table td {
        font-size: 16px;
    }
    .custom-tabs .nav-link {
        font-size: 16px;
    }
    .form-group label {
        font-size: 16px;
    }
    .custom-border-card .card-header {
        font-size: 20px;
    }
}
@media (max-width: 991px) {
    .counter-row .col-md {
        padding-right: 5px;
        padding-left: 5px;
    }
}
@media (max-width: 767px) {
    .box-title {
        padding-bottom: 8px;
    }
    .box-title .title {
        font-size: 18px;
    }
    .avatar-control .avatar-img {
        height: 30px;
        width: 30px;
    }
    .inline-tabs {
        flex-wrap: nowrap;
        overflow: auto;
        margin-top: 0;
    }
    .inline-tabs::-webkit-scrollbar {
        display: none;
    }
    .inline-tabs .nav-link {
        padding: 8px 14px;
    }
}
@media (max-width: 567px) {
    .page-search {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-bottom: 15px;
    }
    .page-search .sorting {
        margin-top: 8px;
    }
    div.dataTables_wrapper div.dataTables_length label,
    div.dataTables_wrapper div.dataTables_filter label {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:first-child,
    div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:last-child {
        padding: 0;
        overflow: auto;
    }
}

/* ═══════════════════════════════════════════════════════
   ADMIN THEME v2 — MODERN REDESIGN
   All rules here override legacy styles above via cascade
═══════════════════════════════════════════════════════ */

/* ── Body & root ── */
body {
    font-family: var(--font);
    color: var(--body-color);
    background: var(--assest-color);
    overflow-x: hidden;
}

/* =========================
   SIDEBAR
========================= */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    max-width: 100%;
    transition: all 0.3s;
    background: var(--sidebar-bg);
    width: 260px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 1px 0 0 var(--sidebar-border);
}

/* Sidebar never scrolls — only .side-menu scrolls */
.sidebar::-webkit-scrollbar,
.sidebar::-webkit-scrollbar-thumb,
.sidebar::-webkit-scrollbar-track { display: none; }

/* ── Brand header ── */
.sidebar .side-head {
    height: 64px;
    min-height: 64px;
    padding: 0 16px 0 20px;
    border-bottom: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.sidebar .side-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
    overflow: hidden;
}

.side-brand-box {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px var(--primary-shadow-lg);
}

.side-brand-box i {
    font-size: 15px;
    color: var(--white-color);
}

.side-brand-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--white-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    letter-spacing: -0.2px;
}

/* ── Sidebar hamburger toggle ── */
.sidebar .side-head .side-toggle {
    display: flex;
    flex-direction: column;
    padding: 6px;
    border-radius: 7px;
    background: transparent;
    width: auto;
    height: auto;
    transition: background 0.15s;
}

.sidebar .side-head .side-toggle:hover {
    background: var(--sidebar-toggle-hover);
}

.sidebar .side-head .side-toggle span {
    background: var(--sidebar-toggle-span);
    width: 17px;
    height: 2px;
    margin: 2px 0;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease, background 0.15s;
}

.sidebar .side-head .side-toggle:hover span {
    background: var(--sidebar-toggle-active);
}

/* ── Menu container (only scroll zone in sidebar) ── */
.sidebar .side-menu {
    list-style: none;
    padding: 12px 8px 12px 12px;
    margin: 0;
    flex: 1 1 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--sidebar-scroll-track);
}

.sidebar .side-menu::-webkit-scrollbar { width: 5px; }

.sidebar .side-menu::-webkit-scrollbar-track {
    background: var(--sidebar-scroll-track);
    margin: 0;
}

.sidebar .side-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    border: 1px solid var(--sidebar-scroll-border);
    transition: background 0.2s;
}

.sidebar .side-menu::-webkit-scrollbar-thumb:hover {
    background: var(--sidebar-active-text);
    box-shadow: 0 0 6px var(--sidebar-active-glow);
}

.sidebar .side-menu::-webkit-scrollbar-corner { background: transparent; }

/* ── Section partition labels ── */
.sidebar .partition {
    margin: 18px 0 4px;
    padding: 0 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sidebar-partition-text);
}

.sidebar .partition span { display: block; }

/* ── Menu links ── */
.sidebar .side-menu a {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 8px;
    margin: 1px 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--sidebar-text);
    transition: background 0.15s, color 0.15s;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar .side-menu a:hover {
    background: var(--sidebar-item-hover);
    color: var(--sidebar-text-hover);
}

/* ── Active menu item ── */
.sidebar .side-menu .side_line.active a,
.sidebar .side-menu .dropdown.active > a {
    background: var(--sidebar-active-bg);
    color: var(--sidebar-active-text);
    font-weight: 600;
    border-radius: 8px;
}

.sidebar .side-menu .side_line.active a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 55%;
    background: var(--primary-color);
    border-radius: 0 3px 3px 0;
}

.sidebar .side-menu .side_line.active a:after { display: none; }

.sidebar .side-menu .side_line.active a .menu-icon {
    filter: none;
    color: var(--primary-color);
}

/* ── Menu icon ── */
.sidebar .side-menu a .menu-icon {
    margin-right: 11px;
    font-size: 15px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
    color: inherit;
}

/* ── Dropdown caret ── */
.sidebar .side-menu .dropdown-toggle::after {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border-top-color: var(--sidebar-caret);
    margin: 0;
}

/* ── Submenu ── */
.sidebar .side-menu .dropdown-menu {
    position: static !important;   /* beat Popper.js inline position: absolute */
    transform: none !important;    /* beat Popper.js inline transform */
    top: auto;
    left: auto;
    width: 100%;
    box-shadow: none;
    background: transparent;
    float: none;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 2px solid rgba(254, 170, 17, 0.3);
    margin: 4px 0 4px 16px;
    padding: 4px 0 4px 12px;
}

.sidebar .side-menu .dropdown-menu .dropdown-item {
    padding: 7px 12px;
    border-bottom: 0;
    border-radius: 7px;
    color: var(--sidebar-text);
    font-size: 13px;
    font-weight: 500;
    margin: 1px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    transition: background 0.15s, color 0.15s;
}

.sidebar .side-menu .dropdown-menu .dropdown-item:hover {
    background: var(--sidebar-item-hover);
    color: var(--sidebar-text-hover);
}

/* ── Submenu active ── */
.sidebar .side-menu .side-submenu .active {
    background: var(--sidebar-active-bg);
    border-radius: 7px;
    padding: 0;
    color: var(--sidebar-active-text);
}

.sidebar .side-menu .side-submenu .active a {
    color: var(--sidebar-active-text);
    font-weight: 600;
}

.sidebar .side-menu .side-submenu .active a:hover { color: var(--sidebar-active-text); }

.sidebar .side-menu .dropdown-menu a .submenu-icon {
    margin-right: 8px;
    font-size: 13px;
    width: 14px;
    text-align: center;
}

/* ── Collapsed sidebar (icon-only, desktop ≥ 992px) ── */
@media (min-width: 992px) {
    .sidebar.hide-sidebar {
        width: 68px;
        padding: 0;
    }

    .sidebar.hide-sidebar .side-head {
        padding: 0;
        justify-content: center;
        height: var(--header-height);
    }

    .sidebar.hide-sidebar .side-brand-text,
    .sidebar.hide-sidebar .side-brand-box {
        display: none;
    }

    .sidebar.hide-sidebar .side-head > .side-toggle {
        display: flex;
        margin: 0 auto;
    }

    .sidebar.hide-sidebar .side-menu {
        padding: 12px 8px;
    }

    .sidebar.hide-sidebar .partition { display: none; }

    .sidebar.hide-sidebar .side-menu a {
        justify-content: center;
        padding: 10px 0;
        width: 44px;
        height: 44px;
        margin: 2px auto;
    }

    .sidebar.hide-sidebar .side-menu a span { display: none; }

    .sidebar.hide-sidebar .side-menu a .menu-icon {
        margin-right: 0;
        font-size: 17px;
    }

    .sidebar.hide-sidebar .side-menu a::before { display: none; }

    .sidebar.hide-sidebar .side-menu .dropdown-toggle::after { display: none; }

    /* Collapsed submenu */
    .sidebar.hide-sidebar .side-menu .dropdown-menu {
        display: none;
        position: static;
        transform: none;
        top: auto;
        left: auto;
        float: none;
        box-shadow: none;
        background: transparent;
        border: 0;
        width: 44px;
        min-width: unset;
        margin: 0 auto;
        padding: 4px 0;
    }

    .sidebar.hide-sidebar .side-menu .dropdown-menu::before {
        content: '';
        position: absolute;
        left: calc(50% - 1px);
        top: 0;
        bottom: 0;
        width: 2px;
        background: rgba(254, 170, 17, 0.35);
        border-radius: 1px;
        pointer-events: none;
    }

    /* needed: overrides display:none set two rules above */
    .sidebar.hide-sidebar .side-menu .dropdown-menu.show { display: block; }

    .sidebar.hide-sidebar .side-menu .dropdown-menu .dropdown-item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 34px;
        padding: 0;
        margin: 2px auto;
        border-radius: 8px;
        color: var(--sidebar-text);
        font-size: 13px;
        font-weight: 500;
        background: var(--sidebar-bg);
        transition: background 0.15s, color 0.15s;
        position: relative;
        z-index: 1;
    }

    .sidebar.hide-sidebar .side-menu .dropdown-menu .dropdown-item span { display: none; }

    .sidebar.hide-sidebar .side-menu .dropdown-menu .dropdown-item .submenu-icon {
        margin-right: 0;
        font-size: 13px;
        width: auto;
    }

    .sidebar.hide-sidebar .side-menu .dropdown-menu .dropdown-item:hover {
        background: var(--sidebar-item-hover);
        color: var(--sidebar-text-hover);
    }

    .sidebar.hide-sidebar .side-menu .side-submenu .active a {
        background: var(--sidebar-active-bg);
        color: var(--sidebar-active-text);
        border-radius: 8px;
    }

    .right-content.right-content-0 { margin-left: 68px; }
}

/* =========================
   CONTENT AREA
========================= */

.right-content {
    margin-left: 260px;
    transition: all 0.3s;
    background: var(--assest-color);
    min-height: 100vh;
}

.body-content { padding: 24px; }

/* =========================
   HEADER
========================= */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    padding: 0 24px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--card-border);
    box-shadow: none;
}

.header .title-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Header hamburger — hidden on desktop, shown on mobile */
.header .title-control .side-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--assest-color);
    border: 1px solid var(--card-border);
    border-radius: 9px;
    width: 40px;
    height: 40px;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.15s;
}

.header .title-control .side-toggle:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.header .title-control .side-toggle span {
    background: #374151;
    width: 15px;
    height: 2px;
    margin: 2px 0;
    border-radius: 2px;
}

/* Page title (desktop, hidden on mobile) */
.header .page-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.2px;
}

/* Mobile brand logo (hidden on desktop) */
.header .side-logo {
    display: none;
    align-items: center;
    gap: 9px;
}

.header .side-logo::before {
    content: '\f0e7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--white-color);
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px var(--primary-shadow-md);
}

.header .side-logo h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

/* Right-side action cluster */
.header .head-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header .head-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--assest-color);
    border: 1px solid var(--card-border);
    box-shadow: none;
    padding: 0;
    transition: background 0.15s, border-color 0.15s;
}

.header .head-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.header .head-btn i { font-size: 16px; }

/* Demo mode badge */
.demo-mode-box {
    background: linear-gradient(135deg, var(--orange-color), var(--orange-light));
    color: var(--white-color);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 5px 13px;
    border: 0;
    white-space: nowrap;
}

/* Profile avatar */
.admin-profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-color));
    color: var(--white-color);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 0;
    box-shadow: 0 2px 8px var(--primary-shadow-md);
    transition: box-shadow 0.2s;
}

.admin-profile-avatar:hover { box-shadow: 0 4px 16px var(--primary-shadow-xl); }

/* =========================
   DROPDOWN MENUS
========================= */

.dropdown-menu {
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: 0 8px 24px var(--shadow-lg), 0 4px 8px var(--shadow-sm);
    padding: 6px;
    min-width: 165px;
    margin-top: 8px;
}

.dropdown-menu .dropdown-item {
    border-radius: 8px;
    border-bottom: 0;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--body-color);
    display: flex;
    align-items: center;
    gap: 9px;
    transition: background 0.13s;
}

.dropdown-menu .dropdown-item:hover {
    background: var(--assest-color);
    color: var(--text-dark);
}

.dropdown-menu .dropdown-item.text-danger { color: var(--red-color); }

.dropdown-menu .dropdown-item.text-danger:hover { background: var(--badge-danger-bg); }


/* Page title (mobile) */
.page-title-sm {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--card-border);
}

/* ════════════ PAGE HEADING ════════════ */
/* Hidden on mobile (header shows page title there); visible on desktop */
.page-heading {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 3px;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

@media (min-width: 992px) {
    .page-heading {
        display: none;
    }
}

/* ════════════ PAGE HEADER BAR ════════════ */
/* Drop-in replacement for the verbose d-flex border-bottom wrapper pattern.
   Apply to any module's top action row for consistent spacing + separator. */
.page-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--card-border);
}

/* ════════════ BREADCRUMB ════════════ */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.breadcrumb-item a {
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--text-dark);
    font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--icon-muted);
    content: '›';
    font-size: 17px;
    line-height: 1;
    padding: 0 5px;
    font-weight: 400;
}

.border-bottom {
    border-color: var(--card-border);
}

/* ════════════ CARDS ════════════ */
.card,
.custom-border-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 0;
    margin-bottom: 20px;
}

.card-header,
.custom-border-card .card-header {
    background: var(--card-header-bg);
    padding: 14px 20px;
    border-bottom: 1px solid var(--card-border);
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.1px;
}

.card-body,
.custom-border-card .card-body {
    padding: 20px;
}

/* ════════════ FORMS ════════════ */
.form-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--body-color);
    margin-bottom: 6px;
    letter-spacing: 0.1px;
}

.form-control,
.custom-select {
    border: 1px solid var(--input-border);
    border-radius: 8px;
    background: var(--input-bg);
    padding: 9px 14px;
    font-size: 13.5px;
    color: var(--body-color);
    height: auto;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    box-shadow: 0 1px 2px var(--shadow-xs);
}

.form-control:focus,
.custom-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-focus-ring);
    background: var(--white-color);
    outline: none;
}

.form-control::placeholder {
    color: var(--icon-muted);
}

/* ════════════ SELECT2 — global theme match ════════════
   Select2 4.0.x CDN loads per-page AFTER style.css, so every
   property that Select2's own CSS sets at the same specificity
   needs !important to win the cascade.
════════════════════════════════════════════════════════════ */

/* ── Single select container ── */
.select2-container .select2-selection--single {
    height: auto !important;          /* Select2 forces height:28px */
    min-height: 42px;
    border: 1px solid var(--input-border) !important;
    border-radius: 8px !important;
    background: var(--input-bg) !important;
    padding: 9px 14px !important;
    font-size: 13.5px;
    color: var(--body-color);
    box-shadow: 0 1px 2px var(--shadow-xs);
    transition: border-color 0.15s, box-shadow 0.15s;
    display: flex;
    align-items: center;
}

/* Rendered text inside single select */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--body-color) !important;      /* Select2: color:#444 */
    font-size: 13.5px;
    line-height: 1.5 !important;              /* Select2: line-height:28px */
    padding-left: 0 !important;              /* Select2: padding-left:8px */
    padding-right: 0 !important;             /* Select2: padding-right:20px */
    font-weight: normal;
}

/* Dropdown arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%);
    right: 10px !important;                  /* Select2: right:1px */
    height: 100% !important;                 /* Select2: height:26px */
    width: 20px;
}

/* ── Multiple select container ── */
.select2-container .select2-selection--multiple {
    min-height: 42px !important;             /* Select2: min-height:32px */
    height: auto !important;
    border: 1px solid var(--input-border) !important;
    border-radius: 8px !important;
    background: var(--input-bg) !important;
    padding: 5px 8px !important;
    font-size: 13.5px;
    color: var(--body-color);
    box-shadow: 0 1px 2px var(--shadow-xs);
    transition: border-color 0.15s, box-shadow 0.15s;
}

/* Inner list of multiple select */
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding: 0 !important;                   /* Select2: padding:0 5px */
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

/* Selected tag / choice pill */
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: var(--primary-color) !important;   /* Select2: #e4e4e4 */
    border: none !important;                        /* Select2: 1px solid #aaa */
    border-radius: 5px !important;                  /* Select2: 4px */
    color: var(--white-color) !important;
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px 2px 6px !important;           /* Select2: 0 5px */
    margin: 0 !important;                           /* Select2: margin-right:5px; margin-top:5px */
    float: none !important;                         /* Select2: float:left */
    line-height: 1.6;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}

/* Remove (×) button on choice pill */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--sidebar-toggle-active) !important;  /* Select2: color:#999 */
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    margin: 0 !important;                            /* Select2: margin-right:2px */
    padding: 0;
    order: -1;
    background: none !important;
    border: none !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: var(--white-color) !important;
    background: transparent !important;
}

/* Placeholder */
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
    color: var(--icon-muted) !important;
    font-size: 13.5px;
}

/* Inline search inside multiple */
.select2-container--default .select2-selection--multiple .select2-search__field {
    font-size: 13.5px !important;
    color: var(--body-color) !important;
    margin: 0 !important;
    padding: 2px 4px !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

/* ── Focus state — both single & multiple ── */
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--primary-color) !important;  /* Select2 multiple focus: #111 */
    box-shadow: 0 0 0 3px var(--primary-focus-ring) !important;
    outline: none !important;
}

/* ── Dropdown panel ── */
.select2-dropdown {
    border: 1px solid var(--card-border) !important;  /* Select2: #aaa */
    border-radius: 10px !important;                    /* Select2: 4px */
    box-shadow: 0 8px 20px var(--shadow-lg);
    overflow: hidden;
    background: var(--white-color) !important;
}

/* Dropdown search field */
.select2-search--dropdown .select2-search__field {
    border: 1px solid var(--input-border) !important;  /* Select2: #aaa */
    border-radius: 6px !important;
    padding: 7px 10px !important;                       /* Select2: 4px */
    font-size: 13px;
    color: var(--body-color) !important;
    background: var(--input-bg) !important;
    outline: none !important;
    width: 100%;
    box-sizing: border-box;
}

/* Dropdown options */
.select2-container--default .select2-results__option {
    font-size: 13.5px;
    color: var(--body-color);
    padding: 8px 14px !important;                       /* Select2: 6px */
}

/* Highlighted option */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--primary-color) !important;        /* Select2: #5897fb */
    color: var(--white-color) !important;
}

/* Already-selected option */
.select2-container--default .select2-results__option[aria-selected=true] {
    background: var(--primary-light) !important;        /* Select2: #ddd */
    color: var(--primary-dark) !important;
}

/* ── toolbar-filters: compact height override ── */
.toolbar-filters .select2-container .select2-selection--single,
.toolbar-filters .select2-container .select2-selection--multiple {
    min-height: 38px !important;
    padding: 5px 10px !important;
}

/* ════════════ BUTTONS ════════════ */
.btn-default {
    background: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    color: var(--white-color);
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 18px;
    transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
    box-shadow: 0 1px 3px var(--primary-shadow-sm);
    letter-spacing: 0.1px;
}

.btn-default:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white-color);
    box-shadow: 0 4px 14px var(--primary-shadow-lg);
    transform: translateY(-1px);
}

.btn-default:active {
    transform: translateY(0);
}

.btn-cancel {
    background: var(--white-color);
    border: 1.5px solid var(--card-border);
    color: var(--body-color);
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 18px;
    transition: background 0.15s;
}

.btn-cancel:hover {
    background: var(--assest-color);
    color: var(--text-dark);
}

.btn-link {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    padding: 0;
    border-radius: 0;
}

/* Icon button (edit/delete in tables) */
.btn-icon {
    padding: 6px 9px;
    border-radius: 7px;
    background: var(--assest-color);
    border: 1px solid var(--card-border);
    color: var(--body-color);
    transition: background 0.14s, border-color 0.14s;
}

.btn-icon:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

/* ════════════ TABLES ════════════ */
.table {
    border-color: var(--card-border);
    color: var(--body-color);
    min-width: 600px;
    margin: 0;
}

.table thead th {
    background: var(--table-header);
    border-bottom: 1px solid var(--card-border);
    border-top: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    padding: 12px 16px;
    white-space: nowrap;
}

.table td {
    border-bottom: 1px solid var(--card-border);
    border-top: 0;
    padding: 12px 16px;
    vertical-align: middle;
    font-size: 13.5px;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: transparent;
}

.table-striped tbody tr:nth-of-type(even) {
    background: var(--table-row-alt);
}

.table-striped tbody tr:hover,
.table tbody tr:hover {
    background: var(--table-row-hover);
}

/* Table action buttons */
.table .btn {
    padding: 5px 9px;
    border-radius: 7px;
    background: var(--assest-color);
    border: 1px solid var(--card-border);
    margin: 0 2px;
    color: var(--body-color);
    transition: background 0.14s, border-color 0.14s;
}

.table .btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.table .btn i {
    font-size: 13px;
}

/* Thumbnail images */
.table .img-thumbnail {
    border-radius: 8px;
    border: 1px solid var(--card-border);
    object-fit: cover;
    width: 52px;
    height: 52px;
    padding: 2px;
}

/* DataTable pagination/length */
div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label {
    background: var(--white-color);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--body-color);
    padding: 6px 14px;
}

div.dataTables_wrapper div.dataTables_length label .form-control,
div.dataTables_wrapper div.dataTables_filter label .form-control {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 2px 8px;
    font-size: 12.5px;
}

div.dataTables_wrapper div.dataTables_filter label input.form-control {
    margin-right: 0;
    text-align: left;
}

/* ════════════ SEARCH BAR ════════════ */
.page-search {
    background: var(--white-color);
    border: 1px solid var(--card-border);
    border-radius: 9px;
    padding: 6px 14px;
    box-shadow: var(--card-shadow);
}

.page-search .input-group-text {
    color: var(--icon-muted);
    background: transparent;
    border: 0;
}

.page-search .form-control {
    font-size: 13.5px;
    color: var(--body-color);
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 6px 4px;
}

/* ════════════ DATATABLES FOOTER ROW ALIGNMENT ════════════ */
div.dataTables_wrapper div.row:last-child {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0;
    line-height: 1.5;
}

div.dataTables_wrapper div.dataTables_paginate {
    padding-top: 0;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin-bottom: 0;
    margin-top: 0;
}

/* ════════════ PAGINATION ════════════ */
.pagination {
    border: 0;
    padding: 0;
    border-radius: 0;
    gap: 4px;
    margin-top: 0;
}

.pagination .page-link {
    border: 1px solid var(--card-border);
    background: var(--white-color);
    border-radius: 8px;
    color: var(--body-color);
    font-size: 13px;
    font-weight: 500;
    width: auto;
    height: auto;
    padding: 6px 12px;
    transition: background 0.14s, border-color 0.14s;
}

.pagination .page-link:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.pagination .active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

/* ════════════ MODALS ════════════ */
.modal-content {
    border-radius: 16px;
    border: 0;
    box-shadow: 0 20px 60px var(--shadow-xl);
    overflow: hidden;
}

.modal-header {
    background: var(--sidebar-bg);
    color: var(--white-color);
    padding: 16px 20px;
    border-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--white-color);
}

.modal-header .close {
    color: var(--modal-close-color);
    font-size: 26px;
    font-weight: 300;
    opacity: 1;
    position: static;
    line-height: 1;
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    transition: color 0.15s;
}

.modal-header .close:hover {
    color: var(--white-color);
}

.modal-body {
    padding: 24px;
    background: var(--white-color);
}

.modal-footer {
    padding: 14px 20px;
    background: var(--input-bg);
    border-top: 1px solid var(--card-border);
    border-radius: 0 0 16px 16px;
    gap: 8px;
}

/* ════════════ SORT LIST ════════════ */
.listitemClass {
    background: var(--assest-color);
    border: 1px solid var(--card-border);
    border-radius: 9px;
    margin-bottom: 6px;
    cursor: grab;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--body-color);
    transition: box-shadow 0.15s;
}

.listitemClass:hover {
    box-shadow: 0 2px 8px var(--shadow-md);
    background: var(--white-color);
}

.listitemClass::before {
    content: '⠿';
    color: var(--icon-muted);
    font-size: 17px;
}

/* ════════════ AVATAR UPLOAD ════════════ */

/* ════════════ SORTING — extended to toolbar-filters context ════════════
   .sorting already works inside .page-search (provider/service-man modules).
   These rules extend the same label+control pattern to .toolbar-filters
   (new admin theme) without duplicating any existing CSS.              */
.toolbar-filters .sorting {
    display: flex;
    align-items: center;
    height: 38px;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 0 10px;
    gap: 6px;
    flex: 1 1 130px;
    min-width: 0;
    box-shadow: 0 1px 2px var(--shadow-xs);
    transition: border-color 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

.toolbar-filters .sorting:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-focus-ring);
}

/* Shared label style — matches .page-search .sorting label weight/spacing */
.toolbar-filters .sorting label {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--body-color);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Strip own border/bg from any control inside a toolbar-filters .sorting */
.toolbar-filters .sorting .form-control {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    height: 38px;
    font-size: 13px;
    color: var(--body-color);
    flex: 1 1 0;
    min-width: 0;
    cursor: pointer;
}

.toolbar-filters .sorting .form-control:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

/* ════════════ STATUS BADGES ════════════ */
.badge-success-custom {
    display: inline-flex;
    align-items: center;
    background: var(--badge-success-bg);
    color: var(--badge-success-text);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
}

.badge-danger-custom {
    display: inline-flex;
    align-items: center;
    background: var(--badge-danger-bg);
    color: var(--badge-danger-text);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
}

.badge-warning-custom {
    display: inline-flex;
    align-items: center;
    background: var(--badge-warning-bg);
    color: var(--badge-warning-text);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
}

.badge-info-custom {
    display: inline-flex;
    align-items: center;
    background: var(--badge-info-bg);
    color: var(--badge-info-text);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
}

/* ════════════ CARD HEADER EXTRAS ════════════ */
.card-header i {
    color: var(--primary-color);
    font-size: 14px;
}

/* Search-style card header: content spread across full width */
.card-header-search {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 16px;
}

/* ════════════ REUSABLE MODULE TOOLBAR — use inside .card-header-search ════════════ */

/* Search wrapper: grows to fill available space, constrains page-search width */
.toolbar-search {
    flex: 1 1 220px;
    min-width: 0;
}

.toolbar-search .page-search {
    width: 100%;
    box-shadow: none;
    border-color: var(--card-border);
}

/* Filter controls group: any number of selects, stays right-aligned, never stacks on desktop */
.toolbar-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.toolbar-filters .form-control,
.toolbar-filters .select2-container {
    flex: 1 1 130px;
    min-width: 0;
}

.toolbar-filters .form-control {
    height: 38px;
    font-size: 13px;
    color: var(--body-color);
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    box-shadow: none;
    padding: 5px 10px;
    cursor: pointer;
    transition: border-color 0.15s;
}

.toolbar-filters .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

/* ════════════ REUSABLE EXPORT TOOLBAR — info text + buttons on one line ════════════ */
.export-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.export-toolbar-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--body-color);
    flex: 1 1 200px;
}

.export-toolbar-info i {
    color: var(--primary-color);
    font-size: 15px;
    flex-shrink: 0;
}

.export-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

/* ════════════ FORM ACTIONS FOOTER ════════════ */
.form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--card-border);
}

/* ════════════ TABLE CARD BODY (flush / no padding) ════════════ */
.card-body-flush {
    padding: 0;
}

/* ════════════ BUTTON UTILITIES ════════════ */
/* Icon spacing inside buttons */
.btn i {
    margin-right: 5px;
}

/* Flex-layout buttons get consistent internal gap */
.btn.d-flex {
    gap: 7px;
}

/* Minimum width for primary action buttons */
.btn-min {
    min-width: 110px;
}

/* ════════════ MODAL TITLE ICON ════════════ */
.modal-title i {
    margin-right: 8px;
    opacity: .7;
}

/* ════════════ SORT LIST EXTRAS ════════════ */
.sort-hint {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.sort-hint i {
    margin-right: 5px;
}

.listitemClass span {
    flex: 1;
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 991px) {
    .sidebar {
        transform: translateX(-260px);
        z-index: 1050;
    }

    .sidebar.hide-sidebar {
        transform: translateX(0);
    }

    .right-content,
    .right-content.right-content-0 {
        margin-left: 0;
    }

    .body-content { padding: 16px; }

    .header .page-title { display: none; }

    /* needed: overrides base display:none on both elements */
    .header .side-logo { display: flex; }
    .header .title-control .side-toggle { display: flex; }

    /* Sidebar close × animation */
    .sidebar.hide-sidebar .side-head .side-toggle {
        background: rgba(255, 255, 255, 0.08);
    }

    .sidebar.hide-sidebar .side-head .side-toggle span:first-child {
        transform: rotate(45deg) translate(4.5px, 3.5px);
    }

    .sidebar.hide-sidebar .side-head .side-toggle span:nth-child(2) {
        opacity: 0;
        width: 0;
    }

    .sidebar.hide-sidebar .side-head .side-toggle span:last-child {
        transform: rotate(-45deg) translate(4.5px, -3.5px);
    }
}

@media (max-width: 768px) {
    .header { padding: 0 16px; }
    .header .page-title { font-size: 16px; }
    .body-content { padding: 12px; }
    /* needed: overrides .card-body { padding: 20px } in CARDS section */
    .card-body,
    .custom-border-card .card-body { padding: 16px; }
}

/* ═══════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════
   SERVICE CARD  —  reusable across modules
   Usage: wrap a row with .svc-grid, each
   card in .svc-card inside .col-* columns.
   ══════════════════════════════════════════ */

/* Grid gap */
.svc-grid {
    row-gap: 20px;
    margin-bottom: 8px;
}

/* ── Card shell ── */
.svc-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.18s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.svc-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 6px 24px rgba(var(--primary-rgb), 0.13);
    transform: translateY(-3px);
}

/* ── Image area ── */
.svc-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--assest-color);
    flex-shrink: 0;
}
.svc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.svc-card:hover .svc-card-img img {
    transform: scale(1.04);
}

/* ── Status badge (top-right corner) ── */
.svc-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    pointer-events: none;
}
.svc-badge-show {
    background: var(--badge-success-bg);
    color: var(--badge-success-text);
}
.svc-badge-hide {
    background: var(--badge-danger-bg);
    color: var(--badge-danger-text);
}

/* ── Card body ── */
.svc-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* ── Service name ── */
.svc-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Price / meta row ── */
.svc-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}
.svc-card-price {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-color);
}
.svc-card-price i {
    font-size: 11px;
    opacity: 0.75;
}

/* ── Empty state ── */
.svc-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    gap: 14px;
    color: var(--text-muted);
}
.svc-empty i {
    font-size: 48px;
    opacity: 0.3;
}
.svc-empty p {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
}

/* ── Pagination bar ── */
.svc-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 4px 8px;
}
.svc-pagination-info {
    font-size: 13px;
    color: var(--text-muted);
}
.svc-pagination-info strong {
    color: var(--body-color);
    font-weight: 600;
}
/* ═══════════════════════════════════════════════════
   Entity Cards — Providers, Services, and similar
═══════════════════════════════════════════════════ */
.ent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}
.ent-card {
    background: var(--white-color);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}
.ent-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
}
.ent-card-img-wrap {
    position: relative;
    height: 150px;
    overflow: hidden;
    background: var(--assest-color);
    flex-shrink: 0;
}
.ent-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.ent-card:hover .ent-card-img { transform: scale(1.04); }
.ent-card-body {
    padding: 14px 16px 12px;
    flex: 1;
}
.ent-card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ent-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.ent-card-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
}
.ent-card-meta-item i { color: var(--primary-color); font-size: 11px; }
.ent-card-meta-item span { font-weight: 600; color: var(--body-color); }
.ent-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid var(--card-border);
    background: var(--table-header);
    gap: 8px;
}
.ent-card-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}
.ent-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 4px 24px;
}
.ent-pagination-info {
    font-size: 13px;
    color: var(--text-muted);
}
@media (max-width: 575px) {
    .ent-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .ent-card-img-wrap { height: 110px; }
}
@media (max-width: 380px) {
    .ent-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════
   Chip — reusable colored pill badge, any module
═══════════════════════════════════════════════════ */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.chip-info      { background: var(--badge-info-bg);    color: var(--badge-info-text); }
.chip-success   { background: var(--badge-success-bg); color: var(--badge-success-text); }
.chip-warning   { background: var(--badge-warning-bg); color: var(--badge-warning-text); }
.chip-danger    { background: var(--badge-danger-bg);  color: var(--badge-danger-text); }
.chip-secondary { background: var(--assest-color);     color: var(--body-color); }

/* ═══════════════════════════════════════════════════
   Detail Page — Reusable two-column admin layout
   Use on any show/detail page across modules
═══════════════════════════════════════════════════ */

/* Top section: two side-by-side info cards */
.detail-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Hero row: large ID + type badge at top of card body */
.detail-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--card-border);
}
.detail-hero-id {
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1;
}

/* Key-value info rows inside cards */
.detail-info-list {
    display: flex;
    flex-direction: column;
}
.detail-info-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--card-border);
}
.detail-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.detail-info-label {
    flex: 0 0 150px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding-top: 2px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}
.detail-info-label i {
    color: var(--primary-color);
    font-size: 12px;
    margin-top: 1px;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}
.detail-info-value {
    flex: 1;
    min-width: 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.55;
}

/* Inline code tag — transaction IDs, promo codes */
.detail-code-tag {
    font-family: "Courier New", monospace;
    font-size: 12px;
    background: var(--assest-color);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

/* Points badge — loyalty discount */
.detail-points-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 9px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    background: var(--primary-light);
    color: var(--primary-dark);
    margin-left: 6px;
    vertical-align: middle;
}

/* ── Line Items Table ── */
.detail-line-items {
    width: 100%;
    border-collapse: collapse;
}
.detail-line-items thead th {
    padding: 11px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    background: var(--table-header);
    border-bottom: 2px solid var(--card-border);
    text-align: left;
}
.detail-line-items thead th:last-child {
    text-align: right;
}
.detail-line-items tbody td {
    padding: 14px 20px;
    font-size: 13.5px;
    color: var(--body-color);
    border-bottom: 1px solid var(--card-border);
    text-align: left;
}
.detail-line-items tbody td:last-child {
    text-align: right;
    font-weight: 600;
}
.detail-line-items tbody tr:hover td {
    background: var(--table-row-hover);
}
.detail-line-items tfoot td {
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-muted);
    border-bottom: 1px dashed var(--card-border);
    text-align: left;
}
.detail-line-items tfoot td:last-child {
    text-align: right;
    font-weight: 600;
}
.detail-amount-add { color: var(--orange-color); }
.detail-amount-sub { color: var(--green-color); }

/* Saved row (subscription invoices) */
.detail-saved-row td {
    background: var(--tint-success-soft);
    color: var(--green-color);
    font-weight: 700;
    border-bottom: 1px solid var(--card-border);
}

/* Total paid row */
.detail-total-row td {
    background: var(--tint-primary-medium);
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
}
.detail-total-row td:last-child {
    color: var(--primary-color);
    font-size: 18px;
    text-align: right;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .detail-page-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575px) {
    .detail-info-label {
        flex: 0 0 110px;
        font-size: 10px;
    }
    .detail-line-items thead th,
    .detail-line-items tbody td,
    .detail-line-items tfoot td {
        padding-left: 14px;
        padding-right: 14px;
        font-size: 12px;
    }
    .detail-total-row td {
        padding: 14px 14px;
    }
    .detail-hero-id {
        font-size: 22px;
    }
}

/* ═══════════════════════════════════════════════════
   Detail Hero Badges — chip group in hero row
   Reusable on any detail page needing multiple badges
═══════════════════════════════════════════════════ */
.detail-hero-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   Detail Value Utilities — colored amount/value text
   Reusable for financial values in any detail page
═══════════════════════════════════════════════════ */
.detail-value-success { color: var(--green-color);   font-weight: 600; }
.detail-value-warning { color: var(--orange-color);  font-weight: 600; }
.detail-value-danger  { color: var(--red-color);     font-weight: 600; }
.detail-value-primary { color: var(--primary-color); font-weight: 600; }

/* ═══════════════════════════════════════════════════
   Booking Package Note — subscription info bar
   Appears below the hero row for subscription bookings
═══════════════════════════════════════════════════ */
.booking-package-note {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    padding: 9px 14px;
    background: var(--tint-primary-medium);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.5;
}
.booking-package-note i {
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: 13px;
}
.booking-package-note strong {
    color: var(--primary-dark);
}
.booking-package-note small {
    color: var(--text-muted);
    font-size: 12px;
}

/* ═══════════════════════════════════════════════════
   Detail Cancel Section — tinted danger container
   Wraps cancellation info rows with soft red background
═══════════════════════════════════════════════════ */
.detail-cancel-section {
    background: var(--tint-danger-soft);
    border-radius: 8px;
    padding: 2px 10px;
    margin-top: 4px;
}
.detail-cancel-section .detail-info-row:last-child {
    border-bottom: none;
}

/* ═══════════════════════════════════════════════════
   Booking Manage Grid — two-column layout inside the
   Manage Booking card (form fields left, proof right)
═══════════════════════════════════════════════════ */
.booking-manage-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 32px;
    align-items: start;
}

/* ═══════════════════════════════════════════════════
   Media Proof — reusable verification photo layout
   Use in any module that shows before/after evidence
═══════════════════════════════════════════════════ */
.media-proof-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--card-border);
}
.media-proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.media-proof-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.media-proof-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}
.media-proof-img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    background: var(--assest-color);
}

@media (max-width: 900px) {
    .booking-manage-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575px) {
    .media-proof-grid {
        grid-template-columns: 1fr;
    }
    .media-proof-img {
        height: 180px;
    }
}

/* ═══════════════════════════════════════════════════
   SETTINGS PAGE — Sidebar-nav + Content layout
   Used by App Settings module
═══════════════════════════════════════════════════ */

/* Two-column: sticky sidebar nav + scrollable content */
.settings-layout {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

/* ── Left sidebar panel ── */
.settings-nav-panel {
    flex: 0 0 210px;
    position: sticky;
    top: calc(var(--header-height) + 16px);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 6px 0 10px;
    overflow: hidden;
}

/* Group label (General / System / …) */
.settings-nav-group {
    padding: 12px 16px 5px;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-muted);
}
.settings-nav-group:first-child {
    padding-top: 8px;
}

/* Thin separator between groups */
.settings-nav-sep {
    height: 1px;
    background: var(--card-border);
    margin: 8px 0;
}

/* Nav item — resets Bootstrap nav-link, applies custom style */
.settings-nav-panel .settings-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--body-color);
    background: transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.14s, color 0.14s;
}
.settings-nav-panel .settings-nav-item:hover {
    background: var(--assest-color);
    color: var(--text-dark);
}
.settings-nav-panel .settings-nav-item.active {
    background: var(--tint-primary-medium);
    color: var(--primary-color);
    font-weight: 600;
}
/* Left accent bar on active item */
.settings-nav-panel .settings-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 3px;
    background: var(--primary-color);
    border-radius: 0 3px 3px 0;
}

/* Icon inside nav item */
.settings-nav-panel .settings-nav-item i {
    width: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--icon-muted);
    flex-shrink: 0;
    transition: color 0.14s;
}
.settings-nav-panel .settings-nav-item:hover i,
.settings-nav-panel .settings-nav-item.active i {
    color: var(--primary-color);
}

/* ── Right content panel ── */
.settings-content-panel {
    flex: 1;
    min-width: 0;
}

/* ═══════════════════════════════════════════════════
   API URL display rows
═══════════════════════════════════════════════════ */
.settings-api-url-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--card-border);
}
.settings-api-url-row:first-child { padding-top: 0; }
.settings-api-url-row:last-child  { border-bottom: none; padding-bottom: 0; }

.settings-api-url-label {
    flex: 0 0 210px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}
.settings-api-url-row .form-control {
    flex: 1;
    background: var(--input-bg);
    color: var(--text-muted);
    font-size: 13px;
    cursor: default;
}
.settings-api-copy-btn {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background: var(--input-bg);
    color: var(--body-color);
    cursor: pointer;
    font-size: 14px;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.settings-api-copy-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}
.settings-api-copy-btn:focus {
    outline: none;
    border: none;
}

/* ═══════════════════════════════════════════════════
   Repeatable rows — Onboarding & Social Links
═══════════════════════════════════════════════════ */
.settings-repeat-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    margin-bottom: 10px;
}
/* Dashed teal variant for the blank "new entry" row */
.settings-repeat-row--new {
    border-style: dashed;
    border-color: var(--primary-color);
    background: var(--tint-primary-medium);
}
.settings-repeat-row .row {
    margin: 0;
}

/* Thumbnail preview inside each row */
.settings-repeat-thumb {
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--card-border);
    background: var(--white-color);
    display: block;
}

/* Remove button (×) */
.settings-btn-remove-row {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: var(--tint-danger-soft);
    border: 1px solid var(--badge-danger-bg);
    color: var(--red-color);
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.settings-btn-remove-row:hover {
    background: var(--red-color);
    color: var(--white-color);
    border-color: var(--red-color);
}

/* Add-row button — dashed teal, fills on hover */
.settings-add-row-wrap {
    padding: 6px 0 14px;
}
.settings-btn-add-row {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 8px;
    background: var(--tint-primary-medium);
    border: 1.5px dashed var(--primary-color);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-style 0.15s;
}
.settings-btn-add-row:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-style: solid;
}

/* ═══════════════════════════════════════════════════
   Responsive — tablet and below
═══════════════════════════════════════════════════ */
@media (max-width: 991px) {
    /* Keep side-by-side but with a narrower nav panel */
    .settings-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }
    .settings-nav-panel {
        flex: 0 0 180px;
        width: 180px;
        position: sticky;
        top: calc(var(--header-height) + 16px);
    }
    .settings-nav-panel .settings-nav-item {
        padding: 8px 12px;
        font-size: 12.5px;
    }
    .settings-api-url-label {
        flex: 0 0 130px;
        font-size: 12px;
        white-space: normal;
    }
    .settings-repeat-thumb {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 600px) {
    /* Stack vertically on small phones, nav becomes horizontal pills */
    .settings-layout {
        flex-direction: column;
    }
    .settings-nav-panel {
        flex: none;
        width: 100%;
        position: static;
        display: flex;
        flex-wrap: wrap;
        padding: 8px;
        gap: 4px;
    }
    .settings-nav-group,
    .settings-nav-sep {
        display: none;
    }
    .settings-nav-panel .settings-nav-item {
        border-radius: 8px;
        padding: 7px 12px;
        font-size: 12px;
    }
    .settings-nav-panel .settings-nav-item.active::before {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════
   API TOKEN — matches settings module theme
═══════════════════════════════════════════════════ */

/* Token input + action buttons row */
.settings-token-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.settings-token-row .form-control {
    flex: 1;
    background: var(--input-bg);
    color: var(--text-muted);
    font-size: 13px;
    font-family: monospace;
    letter-spacing: 0.03em;
    cursor: default;
}
.settings-token-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.rotate {
    transform: rotate(360deg);
    transition: all 0.5s ease;
}

/* ═══════════════════════════════════════════════════
   NOTIFICATION CONFIGURATION — toggle in card-header
═══════════════════════════════════════════════════ */
.notif-toggle-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--body-color);
    white-space: nowrap;
}
.notif-toggle-check {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .notif-toggle-label {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════
   SYSTEM SETTINGS — operation tile cards
═══════════════════════════════════════════════════ */

/* Tile card */
.sysop-tile {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sysop-tile:hover {
    box-shadow: 0 6px 24px var(--shadow-md);
    transform: translateY(-2px);
}
.sysop-tile--danger {
    border-color: var(--badge-danger-bg);
}
.sysop-tile--danger:hover {
    border-color: var(--red-color);
}

/* Coloured header area */
.sysop-tile-head {
    padding: 36px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    position: relative;
}
.sysop-tile-head--primary { background: var(--tint-primary-medium); }
.sysop-tile-head--success  { background: var(--tint-success-soft); }
.sysop-tile-head--danger   { background: var(--tint-danger-soft); }

/* Large icon inside coloured circle */
.sysop-tile-icon {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--white-color);
    box-shadow: 0 4px 14px var(--shadow-lg);
}
.sysop-tile-head--primary .sysop-tile-icon { background: var(--primary-color); }
.sysop-tile-head--success  .sysop-tile-icon { background: var(--green-color); }
.sysop-tile-head--danger   .sysop-tile-icon { background: var(--red-color); }

/* Danger zone badge inside header */
.sysop-danger-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--badge-danger-bg);
    color: var(--red-color);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* Body — title + description */
.sysop-tile-body {
    padding: 22px 24px 16px;
    flex: 1;
}
.sysop-tile-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.sysop-tile-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Footer — full-width action button */
.sysop-tile-foot {
    padding: 16px 24px 24px;
    border-top: 1px solid var(--card-border);
    background: var(--input-bg);
}
.sysop-tile-foot .btn,
.sysop-tile-foot .btn-sys-danger {
    width: 100%;
    justify-content: center;
}

/* Danger button — outlined red, fills on hover */
.btn-sys-danger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    border: 1.5px solid var(--red-color);
    background: transparent;
    color: var(--red-color);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    line-height: 1.4;
}
.btn-sys-danger:hover,
.btn-sys-danger:focus {
    background: var(--red-color);
    color: var(--white-color);
    outline: none;
}

/* Grid row wrapper */
.sysop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Responsive */
@media (max-width: 991px) {
    .sysop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .sysop-grid {
        grid-template-columns: 1fr;
    }
    .sysop-tile:hover {
        transform: none;
    }
}

/* ═══════════════════════════════════════════════════
   DASHBOARD — stat cards, charts, rated sections
═══════════════════════════════════════════════════ */

/* Welcome bar */
.dash-welcome-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.dash-welcome-date {
    font-size: 13px;
    color: var(--text-muted);
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── Stat grid ── */
.dash-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Stat card */
.dash-stat-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.dash-stat-card:hover {
    box-shadow: 0 6px 24px var(--shadow-md);
    transform: translateY(-2px);
}
/* Top color accent bar */
.dash-stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
}
.dash-stat-card--primary::before { background: var(--primary-color); }
.dash-stat-card--success::before  { background: var(--green-color); }
.dash-stat-card--warning::before  { background: var(--orange-color); }
.dash-stat-card--info::before     { background: var(--badge-info-text); }
.dash-stat-card--danger::before   { background: var(--red-color); }

/* Icon badge */
.dash-stat-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.dash-stat-card--primary .dash-stat-icon { background: var(--tint-primary-medium); color: var(--primary-color); }
.dash-stat-card--success .dash-stat-icon  { background: var(--tint-success-soft);   color: var(--green-color); }
.dash-stat-card--warning .dash-stat-icon  { background: var(--tint-warning-soft);   color: var(--orange-color); }
.dash-stat-card--info .dash-stat-icon     { background: var(--badge-info-bg);       color: var(--badge-info-text); }
.dash-stat-card--danger .dash-stat-icon   { background: var(--badge-danger-bg);     color: var(--red-color); }

/* Stat text */
.dash-stat-content { flex: 1; min-width: 0; }
.dash-stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 2px;
}
.dash-stat-label {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Chart period toggle ── */
.dash-chart-period {
    display: flex;
    gap: 6px;
}
.dash-chart-period .btn {
    font-size: 12.5px;
    padding: 5px 14px;
    border-radius: 20px;
}

/* ── Top rated grid ── */
.dash-rated-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}
.dash-rated-item {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 12px 10px;
    text-align: center;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
    cursor: default;
}
.dash-rated-item:hover {
    box-shadow: 0 4px 14px var(--shadow-md);
    border-color: var(--primary-color);
}
.dash-rated-img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 8px;
    display: block;
}
.dash-rated-img--round {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 8px;
    display: block;
}
.dash-rated-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}
.dash-rated-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}
.dash-rated-score i { color: var(--orange-color); font-size: 11px; }

/* View all link */
.dash-view-all-link {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}
.dash-view-all-link:hover { text-decoration: underline; color: var(--primary-dark); }

/* ── Responsive ── */
@media (max-width: 1200px) {
    .dash-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .dash-stat-number { font-size: 22px; }
}
@media (max-width: 600px) {
    .dash-stat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .dash-stat-card { padding: 14px; gap: 12px; }
    .dash-stat-number { font-size: 20px; }
    .dash-rated-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-chart-period { flex-wrap: wrap; }
}

/* ══════════════════════════════════════════════════════════
   Admin Login Page
══════════════════════════════════════════════════════════ */

.lgn-wrap *, .lgn-wrap *::before, .lgn-wrap *::after { box-sizing: border-box; }

.lgn-wrap {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

/* ── LEFT — brand panel ── */
.lgn-left {
    flex: 0 0 62%;
    max-width: 62%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 52px 50px;
}

.lgn-left-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.lgn-left-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        148deg,
        rgba(var(--primary-rgb), .86) 0%,
        rgba(var(--primary-rgb), .72) 50%,
        rgba(var(--primary-rgb), .55) 100%
    );
}

.lgn-left-deco {
    position: absolute;
    top: 44%; left: 52%;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(var(--white-rgb), .04);
    pointer-events: none;
    z-index: 1;
}

/* Top row: brand (left) + version badge (right) */
.ll-top-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    animation: lgnUp .55s ease both;
}

/* Version badge — only visible in demo mode */
.ll-version-badge {
    flex-shrink: 0;
    align-self: flex-start;
    background: rgba(var(--white-rgb), .15);
    border: 1px solid rgba(var(--white-rgb), .25);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--white-color);
    letter-spacing: .5px;
    white-space: nowrap;
}

/* Brand block */
.ll-brand {
    position: relative;
    z-index: 2;
    animation: none;  /* animation lives on .ll-top-row now */
}

.ll-brand-mark {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(var(--white-rgb), .18);
    border: 1.5px solid rgba(var(--white-rgb), .28);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}

.ll-brand-name {
    font-size: 26px; font-weight: 800;
    color: var(--white-color);
    letter-spacing: -.5px; line-height: 1;
    margin-bottom: 5px;
}

.ll-brand-tag {
    font-size: 13.5px;
    color: rgba(var(--white-rgb), .72);
    font-weight: 500;
}

/* Headline & features */
.ll-body {
    position: relative;
    z-index: 2;
    animation: lgnUp .55s .08s ease both;
}

.ll-h1 {
    font-size: 36px; font-weight: 800;
    color: var(--white-color);
    line-height: 1.18; letter-spacing: -.65px;
    margin: 0 0 15px;
}

.ll-desc {
    font-size: 14.5px;
    color: rgba(var(--white-rgb), .76);
    line-height: 1.75;
    margin: 0 0 30px;
    max-width: 360px;
}

.ll-features { display: flex; flex-direction: column; gap: 14px; }

.ll-feat { display: flex; align-items: center; gap: 14px; }

.ll-feat-icon {
    width: 40px; height: 40px;
    border-radius: 11px;
    background: rgba(var(--white-rgb), .14);
    border: 1px solid rgba(var(--white-rgb), .2);
    display: flex; align-items: center; justify-content: center;
    color: var(--white-color); font-size: 15px;
    flex-shrink: 0;
}

.ll-feat-text {
    font-size: 13.5px;
    color: rgba(var(--white-rgb), .86);
    font-weight: 500; line-height: 1.4;
}

/* Bottom status strip */
.ll-foot {
    position: relative;
    z-index: 2;
    display: flex; align-items: center; gap: 10px;
    padding-top: 26px;
    border-top: 1px solid rgba(var(--white-rgb), .15);
    animation: lgnUp .55s .16s ease both;
}

.ll-foot-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green-color);
    box-shadow: 0 0 0 3px var(--tint-success-soft);
    flex-shrink: 0;
}

.ll-foot-text {
    font-size: 12.5px;
    color: rgba(var(--white-rgb), .7);
    font-weight: 500;
}

/* ── RIGHT — form panel ── */
.lgn-right {
    flex: 1;
    background: var(--assest-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 28px;
}

/* Card */
.lgn-card {
    background: var(--white-color);
    border-radius: 20px;
    box-shadow: 0 8px 32px var(--shadow-md), 0 1px 4px var(--shadow-xs);
    border: 1px solid var(--card-border);
    padding: 44px 40px 36px;
    width: 100%; max-width: 440px;
    animation: lgnUp .5s .06s ease both;
}

/* Card logo */
.lc-logo {
    display: flex; flex-direction: column;
    align-items: center;
    margin-bottom: 26px;
}

.lc-logo-mark {
    width: 58px; height: 58px;
    border-radius: 16px;
    background: var(--primary-color);
    color: var(--white-color);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 6px 18px var(--primary-shadow-md);
}

.lc-logo-name {
    font-size: 19px; font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -.35px;
    margin-bottom: 3px;
}

.lc-logo-sub {
    font-size: 11.5px; font-weight: 600;
    color: var(--text-muted);
    letter-spacing: .6px;
    text-transform: uppercase;
}

.lc-hr { height: 1px; background: var(--card-border); margin: 0 0 24px; }

/* Welcome */
.lc-welcome { margin-bottom: 24px; }

.lc-welcome h2 {
    font-size: 23px; font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 5px; letter-spacing: -.4px;
}

.lc-welcome p { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* Fields */
.lc-field { margin-bottom: 16px; }

.lc-field > label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--body-color); margin-bottom: 7px;
}

.lc-input-wrap { position: relative; }

.lc-input-wrap .lc-fi {
    position: absolute; left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--icon-muted); font-size: 14px;
    z-index: 2; pointer-events: none;
    transition: color .2s;
}

.lc-input-wrap:focus-within .lc-fi { color: var(--primary-color); }

.lc-input-wrap input {
    width: 100%; height: 50px;
    border: 1.5px solid var(--input-border);
    border-radius: 11px;
    padding: 0 44px 0 42px;
    font-size: 14px; color: var(--text-dark);
    background: var(--input-bg);
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    font-family: var(--font);
}

.lc-input-wrap input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-focus-ring);
    background: var(--white-color);
}

.lc-input-wrap input::placeholder { color: var(--icon-muted); }

/* Eye toggle */
.lc-eye {
    position: absolute; right: 14px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: var(--icon-muted); font-size: 15px;
    padding: 0; z-index: 2; line-height: 1;
    transition: color .2s;
}

.lc-eye:hover { color: var(--primary-color); }

/* Remember row */
.lc-remember-row { margin: 6px 0 22px; }

.lc-remember {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--body-color);
    cursor: pointer; user-select: none;
}

.lc-remember input[type=checkbox] {
    accent-color: var(--primary-color);
    width: 16px; height: 16px; cursor: pointer;
}

/* Sign-in button */
.lc-btn {
    width: 100%; height: 52px;
    background: var(--primary-color);
    color: var(--white-color); border: none;
    border-radius: 11px;
    font-size: 15.5px; font-weight: 700;
    cursor: pointer; font-family: var(--font);
    display: flex; align-items: center; justify-content: center; gap: 9px;
    transition: background .2s, box-shadow .2s, transform .12s;
    letter-spacing: .2px;
}

.lc-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 5px 18px var(--primary-shadow-lg);
    transform: translateY(-1px);
}

.lc-btn:focus {
    outline: none;
    border: none;
}

.lc-btn:active { transform: translateY(0); box-shadow: none; }
.lc-btn:disabled { opacity: .7; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* Button spinner */
.lc-btn .btn-spinner {
    display: none;
    width: 20px; height: 20px;
    border: 2.5px solid rgba(var(--white-rgb), .35);
    border-top-color: var(--white-color);
    border-radius: 50%;
    animation: lgnSpin .7s linear infinite;
}

.lc-btn.loading .btn-spinner { display: block; }
.lc-btn.loading .btn-label { display: none; }

/* Footer */
.lc-footer {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--card-border);
    display: flex; align-items: center; justify-content: center;
    gap: 7px; font-size: 12.5px; color: var(--text-muted);
    flex-wrap: wrap; text-align: center;
}

.lc-footer i { color: var(--primary-color); }

.lc-footer a {
    color: var(--primary-color);
    text-decoration: none; font-weight: 500;
}

.lc-footer a:hover { text-decoration: underline; }

/* Demo notice */
.lc-demo {
    margin-top: 14px; padding: 11px 14px;
    background: var(--tint-warning-soft);
    border: 1px solid var(--orange-color);
    border-radius: 10px;
    font-size: 12px; color: var(--badge-warning-text);
    text-align: center; line-height: 1.6;
}

.lc-demo a { color: var(--primary-color); font-weight: 600; }

/* ── Keyframes ── */
@keyframes lgnSpin { to { transform: rotate(360deg); } }

@keyframes lgnUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive breakpoints ── */

/* Large desktops */
@media (max-width: 1400px) {
    .lgn-left { flex: 0 0 58%; max-width: 58%; padding: 48px 46px; }
    .ll-h1 { font-size: 32px; }
}

/* Standard laptops */
@media (max-width: 1200px) {
    .lgn-left { flex: 0 0 55%; max-width: 55%; padding: 44px 40px; }
    .ll-h1 { font-size: 30px; }
    .ll-desc { font-size: 14px; }
}

/* Small laptops / large tablets landscape */
@media (max-width: 1024px) {
    .lgn-left { flex: 0 0 50%; max-width: 50%; padding: 40px 34px; }
    .ll-h1 { font-size: 26px; letter-spacing: -.4px; }
    .ll-desc { font-size: 13.5px; max-width: 300px; }
    .ll-feat-text { font-size: 13px; }
    .lgn-card { padding: 40px 34px 32px; }
}

/* Tablets portrait — stack layout, hide left panel */
@media (max-width: 768px) {
    .lgn-wrap { flex-direction: column; }
    .lgn-left { display: none; }
    .lgn-right {
        flex: 1;
        min-height: 100vh;
        padding: 32px 24px;
        align-items: center;
    }
    .lgn-card { max-width: 480px; padding: 40px 32px 32px; }
}

/* Large phones landscape / small tablets */
@media (max-width: 640px) {
    .lgn-right { padding: 24px 20px; }
    .lgn-card { padding: 32px 24px 28px; border-radius: 16px; max-width: 100%; }
    .lc-logo-mark { width: 52px; height: 52px; border-radius: 14px; }
    .lc-logo-name { font-size: 17px; }
    .lc-welcome h2 { font-size: 21px; }
    .lc-welcome p { font-size: 13px; }
    .lc-btn { height: 48px; font-size: 14.5px; }
}

/* Standard phones portrait */
@media (max-width: 480px) {
    .lgn-right { padding: 20px 16px; align-items: flex-start; padding-top: 48px; }
    .lgn-card { padding: 28px 20px 24px; border-radius: 14px; }
    .lc-logo-mark { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 10px; }
    .lc-logo-name { font-size: 16px; }
    .lc-logo-sub { font-size: 10.5px; }
    .lc-logo { margin-bottom: 20px; }
    .lc-welcome { margin-bottom: 20px; }
    .lc-welcome h2 { font-size: 19px; }
    .lc-welcome p { font-size: 12.5px; }
    .lc-field { margin-bottom: 14px; }
    .lc-field > label { font-size: 12.5px; }
    .lc-input-wrap input { height: 46px; font-size: 13.5px; }
    .lc-btn { height: 46px; font-size: 14px; border-radius: 10px; }
    .lc-footer { font-size: 11.5px; gap: 5px; }
    .lc-demo { font-size: 11.5px; padding: 10px 12px; }
    .lc-hr { margin: 0 0 20px; }
}

/* Extra small phones */
@media (max-width: 360px) {
    .lgn-right { padding: 16px 12px; padding-top: 36px; }
    .lgn-card { padding: 24px 16px 20px; border-radius: 12px; }
    .lc-logo-mark { width: 44px; height: 44px; }
    .lc-welcome h2 { font-size: 17px; }
    .lc-input-wrap input { height: 44px; padding: 0 40px 0 38px; font-size: 13px; }
    .lc-btn { height: 44px; font-size: 13.5px; }
    .lc-remember { font-size: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   ╔═══════════════════════════════════════════════════════════╗
   ║   S T H A N I Y A   L A Y E R  —  Uttar Pradesh Local     ║
   ║   Genda (marigold) · Neel (indigo) · Chikankari (ivory)   ║
   ╚═══════════════════════════════════════════════════════════╝
   Loaded last so it wins the cascade. Everything below gives the
   panel its regional character: warm ivory ground, marigold
   accents, jaali lattice texture and Awadhi-brick detailing.
═══════════════════════════════════════════════════════════════ */

/* ── Warm ivory ground with a faint jaali (lattice) weave ──
   Two crossed diagonal gradients read as chikankari cloth up
   close and as flat ivory from a normal viewing distance. */
body {
    background-color: var(--assest-color);
    background-image:
        repeating-linear-gradient(45deg,
            rgba(224, 123, 24, 0.022) 0 1px, transparent 1px 22px),
        repeating-linear-gradient(-45deg,
            rgba(30, 44, 85, 0.022) 0 1px, transparent 1px 22px);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Display face for headings & figures — rounded, warm, reads as
   a local shopfront sign rather than a SaaS dashboard. */
.page-heading,
.dash-stat-number,
.card-header,
.side-brand-text,
.lc-logo-name,
.ll-brand-name,
.custom-card .card-body h3 {
    font-family: "Baloo Bhaijaan 2", var(--font);
    letter-spacing: 0.1px;
}


/* ═══════════ TIRANGA / MARIGOLD RULE ═══════════
   A 3px saffron→white→green thread under the header. It is the
   one overtly national mark in the panel; everything else is
   regional rather than flag-coded. */
.header {
    position: relative;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 1px 3px var(--shadow-xs);
}
.header::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -3px;
    height: 3px;
    background: linear-gradient(90deg,
        #E07B18 0%, #E07B18 33%,
        #FBF7F0 33%, #FBF7F0 66%,
        #1F7A4D 66%, #1F7A4D 100%);
    opacity: 0.85;
}


/* ═══════════ SIDEBAR — neel with jaali ═══════════ */
.sidebar {
    background-color: var(--sidebar-bg);
    background-image:
        radial-gradient(circle at 1px 1px,
            rgba(245, 165, 36, 0.06) 1px, transparent 0);
    background-size: 18px 18px;
    border-right: 1px solid rgba(245, 165, 36, 0.10);
}

/* Brand block — marigold tile with a soft glow */
.side-brand-box {
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-color));
    box-shadow: 0 4px 14px rgba(224, 123, 24, 0.38);
    border-radius: 11px;
}
.side-brand-text {
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Section partitions get a marigold tick instead of plain text */
.sidebar .partition {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--sidebar-partition-text);
}
.sidebar .partition::before {
    content: '';
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-color);
    opacity: 0.7;
    flex-shrink: 0;
}
.sidebar .partition::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--sidebar-border);
}

/* Active item — marigold wash + left bar + gentle glow */
.sidebar .side-menu .side_line.active a {
    background: linear-gradient(90deg,
        rgba(224, 123, 24, 0.22) 0%, rgba(224, 123, 24, 0.06) 100%);
    box-shadow: inset 0 0 0 1px rgba(245, 165, 36, 0.14);
}
.sidebar .side-menu .side_line.active a::before {
    width: 3px;
    background: linear-gradient(180deg, var(--primary-accent), var(--primary-color));
    box-shadow: 0 0 10px var(--sidebar-active-glow);
}


/* ═══════════ CARDS — Awadhi brick detailing ═══════════ */
.card.custom-border-card {
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    background: var(--card-bg);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card.custom-border-card:hover {
    box-shadow: 0 2px 4px var(--shadow-sm), 0 10px 28px var(--shadow-md);
}

/* Card header — ivory band, marigold icon, hairline rule */
.card.custom-border-card > .card-header {
    background: var(--card-header-bg);
    border-bottom: 1px solid var(--card-border);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 18px;
    position: relative;
}
.card.custom-border-card > .card-header::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-accent), var(--primary-color));
}
.card.custom-border-card > .card-header i {
    color: var(--primary-color);
    font-size: 14px;
}
.card.custom-border-card > .card-header .card-title {
    font-size: 16.5px;
    font-weight: 700;
    margin: 0;
}

/* ═══════════ PAGE HEADER ═══════════ */
.page-header-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--card-border);
    position: relative;
}
.page-header-bar::after {
    content: '';
    position: absolute;
    left: 0; bottom: -1px;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-accent));
}
.page-heading {
    font-size: 21px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 5px;
}
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 12.5px;
}
.breadcrumb-item a { color: var(--primary-dark); font-weight: 600; }
.breadcrumb-item.active { color: var(--text-muted); }


/* ═══════════ STAT TILES ═══════════ */
.dash-stat-card {
    border-radius: var(--card-radius);
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dash-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px var(--shadow-sm), 0 12px 30px var(--shadow-md);
}
/* Colour is carried on a top rule, not a filled block — keeps the
   ivory ground readable when eight tiles sit side by side. */
.dash-stat-card::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: var(--primary-color);
}
.dash-stat-card--primary::before { background: linear-gradient(90deg, #E07B18, #F5A524); }
.dash-stat-card--success::before { background: linear-gradient(90deg, #1F7A4D, #35A96C); }
.dash-stat-card--info::before    { background: linear-gradient(90deg, #1E2C55, #3E5490); }
.dash-stat-card--warning::before { background: linear-gradient(90deg, #B8860B, #F0B429); }

.dash-stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}
.dash-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.2px;
}
.dash-stat-icon {
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary-dark);
}
.dash-stat-card--success .dash-stat-icon { background: var(--tint-success-soft); color: var(--green-color); }
.dash-stat-card--info    .dash-stat-icon { background: var(--indigo-soft);       color: var(--indigo-color); }
.dash-stat-card--warning .dash-stat-icon { background: var(--tint-warning-soft);  color: #8A5A0B; }


/* ═══════════ BUTTONS ═══════════ */
.btn-default {
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--primary-color) 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 13.5px;
    border-radius: 9px;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 2px 8px var(--primary-shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn-default:hover {
    color: #fff;
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px var(--primary-shadow-md);
}
.btn-default:active { transform: translateY(0); }

.btn-cancel {
    background: #fff;
    border: 1px solid var(--input-border);
    color: var(--body-color);
    font-weight: 600;
    font-size: 13.5px;
    border-radius: 9px;
    padding: 9px 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.btn-cancel:hover {
    background: var(--assest-color);
    border-color: var(--primary-color);
    color: var(--primary-dark);
}


/* ═══════════ FORMS ═══════════ */
.form-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    letter-spacing: 0.1px;
}
.form-control {
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 9px;
    font-size: 13.5px;
    color: var(--text-dark);
    padding: 9px 12px;
    height: auto;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.form-control:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3.5px var(--primary-focus-ring);
}
.form-control::placeholder { color: var(--icon-muted); }
select.form-control { cursor: pointer; }


/* ═══════════ TABLES ═══════════ */
.table thead th {
    background: var(--table-header);
    color: var(--text-dark);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border-top: none;
    border-bottom: 2px solid var(--card-border);
    padding: 13px 12px;
    white-space: nowrap;
}
.table tbody td {
    font-size: 13.5px;
    color: var(--body-color);
    border-color: var(--card-border);
    vertical-align: middle;
    padding: 12px;
}
.table-striped tbody tr:nth-of-type(odd) { background-color: var(--table-row-alt); }
.table tbody tr:hover { background-color: var(--table-row-hover); }

/* Row action buttons — marigold on hover */
.edit-delete-btn {
    color: var(--indigo-color);
    transition: color 0.15s, transform 0.15s;
}
.edit-delete-btn:hover {
    color: var(--primary-color);
    transform: scale(1.12);
}


/* ═══════════ RUPEE / NUMERALS ═══════════
   Money reads in tabular figures so lakh/crore columns line up. */
.money,
.rupee,
.dash-stat-number,
.table td .amount {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}
.rupee::before {
    content: '\20B9';
    margin-right: 1px;
    font-weight: 600;
    opacity: 0.85;
}


/* ═══════════ STATUS PILLS ═══════════ */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.6;
    white-space: nowrap;
}
.pill--ok     { background: var(--badge-success-bg); color: var(--badge-success-text); }
.pill--bad    { background: var(--badge-danger-bg);  color: var(--badge-danger-text); }
.pill--wait   { background: var(--badge-warning-bg); color: var(--badge-warning-text); }
.pill--info   { background: var(--badge-info-bg);    color: var(--badge-info-text); }


/* ═══════════ REGION STRIP ═══════════
   Sits in the header. States plainly which region this panel
   serves, so nobody has to hunt for a country setting that no
   longer exists. */
.region-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--primary-light);
    border: 1px solid rgba(224, 123, 24, 0.28);
    color: var(--primary-dark);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
.region-chip i { font-size: 10px; }

@media (max-width: 991px) {
    .region-chip .region-chip-text { display: none; }
    .region-chip { padding: 5px 8px; }
}


/* ═══════════ GREETING BAR ═══════════ */
.namaste-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 17px 22px;
    margin-bottom: 18px;
    border-radius: var(--card-radius);
    border: 1px solid var(--card-border);
    background:
        radial-gradient(circle at 1px 1px, rgba(224,123,24,0.07) 1px, transparent 0) 0 0/16px 16px,
        linear-gradient(120deg, #FFFDF9 0%, #FDF0DC 100%);
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}
.namaste-bar::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-accent), var(--primary-color));
}
.namaste-title {
    font-family: "Baloo Bhaijaan 2", var(--font);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}
.namaste-sub {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 3px 0 0;
    font-weight: 500;
}
.namaste-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}
.namaste-meta .nm-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.82);
    border: 1px solid var(--card-border);
    border-radius: 999px;
    padding: 6px 13px;
    font-size: 12px;
    font-weight: 600;
    color: var(--body-color);
}
.namaste-meta .nm-chip i { color: var(--primary-color); font-size: 11px; }


/* ═══════════ LOCKED-SETTING NOTICE ═══════════
   Used where a former international option is now a constant. */
.locked-setting {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 15px 17px;
    border-radius: 11px;
    background: var(--indigo-soft);
    border: 1px solid rgba(30, 44, 85, 0.14);
}
.locked-setting-icon {
    width: 38px; height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--indigo-color);
    color: #fff;
    font-size: 15px;
}
.locked-setting-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--indigo-color);
    margin: 0 0 3px;
}
.locked-setting-desc {
    font-size: 12.5px;
    color: var(--body-color);
    margin: 0;
    line-height: 1.55;
}
.locked-setting-value {
    font-family: "Baloo Bhaijaan 2", var(--font);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
}


/* ═══════════ PAYMENT METHOD TILES ═══════════ */
.pay-logo {
    width: 42px; height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 17px;
    color: #fff;
    flex-shrink: 0;
}
.pay-logo--upi   { background: linear-gradient(135deg, #1F7A4D, #35A96C); }
.pay-logo--cash  { background: linear-gradient(135deg, #B8860B, #F0B429); }
.pay-logo--card  { background: linear-gradient(135deg, #1E2C55, #3E5490); }
.pay-logo--other { background: linear-gradient(135deg, #E07B18, #F5A524); }


/* ═══════════ SCROLLBARS ═══════════ */
.body-content::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar { width: 9px; height: 9px; }
.body-content::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb {
    background: rgba(224, 123, 24, 0.30);
    border-radius: 9px;
}
.body-content::-webkit-scrollbar-thumb:hover,
.table-responsive::-webkit-scrollbar-thumb:hover {
    background: rgba(224, 123, 24, 0.50);
}


/* ═══════════ TOASTS ═══════════ */
#toast-container > .toast {
    border-radius: 11px !important;
    box-shadow: 0 8px 26px var(--shadow-lg) !important;
    opacity: 1 !important;
    font-size: 13.5px;
    font-weight: 500;
}
#toast-container > .toast-success { background-color: var(--green-color) !important; }
#toast-container > .toast-error   { background-color: var(--red-color) !important; }
#toast-container > .toast-info    { background-color: var(--indigo-color) !important; }
#toast-container > .toast-warning { background-color: var(--orange-color) !important; }


/* ═══════════ DATATABLE PAGINATION ═══════════ */
.dataTables_wrapper .paginate_button.current,
.dataTables_wrapper .paginate_button.current:hover {
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-color)) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 2px 7px var(--primary-shadow-sm);
}
.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-color));
    border-color: transparent;
    box-shadow: 0 2px 7px var(--primary-shadow-sm);
}
.page-link { color: var(--primary-dark); }
.page-link:hover { color: var(--primary-color); background: var(--primary-light); }


/* ═══════════ SIDEBAR REGION FOOTER ═══════════ */
.side-region { list-style: none; margin: 14px 0 22px; }
.side-region-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(245, 165, 36, 0.16);
}
.side-region-box > i {
    color: var(--primary-accent);
    font-size: 14px;
    flex-shrink: 0;
}
.side-region-state {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--sidebar-text-hover);
    line-height: 1.3;
    white-space: nowrap;
}
.side-region-sub {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--sidebar-partition-text);
    letter-spacing: 0.3px;
    white-space: nowrap;
}
/* Collapsed rail: keep only the pin */
.sidebar.hide-sidebar .side-region-box > div { display: none; }
.sidebar.hide-sidebar .side-region-box { justify-content: center; padding: 11px 0; }


/* ═══════════ GATEWAY GRID ═══════════ */
.gateway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.gateway-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gateway-card::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: var(--card-border);
}
.gateway-card.is-on::before {
    background: linear-gradient(90deg, var(--green-color), #35A96C);
}
.gateway-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 4px var(--shadow-sm), 0 12px 30px var(--shadow-md);
}
.gateway-card-top,
.gateway-head {
    display: flex;
    align-items: center;
    gap: 13px;
}
.gateway-head {
    padding: 14px 16px;
    margin-bottom: 18px;
    border-radius: 11px;
    background: var(--card-header-bg);
    border: 1px solid var(--card-border);
}
.gateway-title {
    font-family: "Baloo Bhaijaan 2", var(--font);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}
.gateway-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
    line-height: 1.4;
}
.gateway-card-meta {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
}
.gateway-card-foot {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--card-border);
}


/* ═══════════ LOCKED CURRENCY ═══════════ */
.rupee-lock {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 19px;
    border-radius: 12px;
    background: linear-gradient(120deg, #FFFDF9 0%, var(--primary-light) 100%);
    border: 1px solid rgba(224, 123, 24, 0.26);
}
.rupee-lock-mark {
    width: 52px; height: 52px;
    flex-shrink: 0;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-color));
    box-shadow: 0 5px 16px var(--primary-shadow-md);
}
.rupee-lock-body { flex: 1; min-width: 0; }
.rupee-lock-name {
    font-family: "Baloo Bhaijaan 2", var(--font);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
}
.rupee-lock-code {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 0.6px;
    margin-top: 2px;
}


/* ═══════════ FIXED (NON-EDITABLE) FIELD ═══════════
   Shown where a value used to be a free-text international field and is
   now a regional constant: +91, Uttar Pradesh, Bharat. Looks like an
   input so forms stay visually even, but reads as settled. */
.fixed-field {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 9px;
    background: var(--indigo-soft);
    border: 1px solid rgba(30, 44, 85, 0.16);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--indigo-color);
    min-height: 40px;
}
.fixed-field > i:first-child {
    color: var(--primary-color);
    font-size: 13px;
    flex-shrink: 0;
}
.fixed-field > span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fixed-field-lock {
    font-size: 10px;
    opacity: 0.45;
    flex-shrink: 0;
}


/* ═══════════ LOGIN — local treatment ═══════════ */
.ll-region-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    margin-bottom: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.95);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
}
.ll-region-tag i { font-size: 10px; color: var(--primary-accent); }

.ll-h1 {
    font-family: "Baloo Bhaijaan 2", var(--font);
    letter-spacing: 0.2px;
}

/* Marigold wash over the login hero so the photo reads warm, not corporate */
/* Panel wash: marigold at the top-left falling into deep neel, so the
   photograph reads warm and local rather than flat corporate orange. */
.lgn-left-bg::after {
    background:
        radial-gradient(115% 85% at 12% 8%, rgba(245, 165, 36, 0.62) 0%, transparent 58%),
        linear-gradient(148deg,
            rgba(224, 123, 24, 0.88) 0%,
            rgba(160, 80, 26, 0.86) 46%,
            rgba(22, 32, 58, 0.90) 100%);
}

/* Keep the accent circle a soft highlight, not a solid blob. */
.lgn-left-deco {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 90px 40px rgba(255, 255, 255, 0.035);
}

/* Tiranga thread along the top of the hero panel */
.lgn-left::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 4px;
    z-index: 5;
    background: linear-gradient(90deg,
        #E07B18 0%, #E07B18 33%,
        #FBF7F0 33%, #FBF7F0 66%,
        #1F7A4D 66%, #1F7A4D 100%);
}

.lc-logo-mark {
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-color));
    box-shadow: 0 6px 20px var(--primary-shadow-lg);
}
.lc-welcome h2 {
    font-family: "Baloo Bhaijaan 2", var(--font);
}
.lc-btn {
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-color));
    box-shadow: 0 5px 18px var(--primary-shadow-md);
}
.lc-btn:hover {
    filter: brightness(1.05);
    box-shadow: 0 8px 24px var(--primary-shadow-lg);
}


/* ═══════════════════════════════════════════════════════════════
   ╔═══════════════════════════════════════════════════════════╗
   ║  D E S I   S I D E B A R  —  Banarasi mehroon & zari      ║
   ╚═══════════════════════════════════════════════════════════╝
   Deep mehroon ground (Banarasi silk), zari-gold thread work,
   a jaali lattice borrowed from Awadhi stone screens, and a
   toran scallop hanging under the brand.
═══════════════════════════════════════════════════════════════ */

:root {
    /* Rojgar Mitra: the sidebar ground is navy, the thread work orange.
       Variable names are kept so the rules below need no change. */
    --zari-gold:       #F08A21;
    --zari-gold-light: #F7B36B;
    --zari-gold-dim:   rgba(240, 138, 33, 0.30);
    --mehroon-deep:    #17365D;
    --mehroon:         #1E4473;
    --mehroon-soft:    #24508A;
}

/* ── Ground: mehroon silk + jaali lattice ───────────────────────
   Two 60° crossed thread sets make the diamond lattice; the dot
   grid sits in the middle of each diamond like a stone jaali. */
.sidebar {
    background-color: var(--mehroon-deep);
    background-image:
        /* zari diamond lattice */
        repeating-linear-gradient(60deg,
            rgba(217, 167, 65, 0.055) 0 1px, transparent 1px 26px),
        repeating-linear-gradient(-60deg,
            rgba(217, 167, 65, 0.055) 0 1px, transparent 1px 26px),
        /* buti dots inside the lattice */
        radial-gradient(circle at 13px 22px,
            rgba(240, 204, 114, 0.10) 1.2px, transparent 1.3px),
        /* silk sheen down the panel */
        linear-gradient(170deg,
            var(--mehroon) 0%, var(--mehroon-deep) 55%, #10294A 100%);
    background-size: 26px 45px, 26px 45px, 26px 45px, 100% 100%;
    border-right: none;
    box-shadow: inset -1px 0 0 var(--zari-gold-dim);
}

/* Zari thread running the full height of the right edge */
.sidebar::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; right: 0;
    width: 3px;
    pointer-events: none;
    background:
        linear-gradient(180deg,
            var(--zari-gold-light) 0%,
            var(--zari-gold) 18%,
            rgba(217, 167, 65, 0.35) 50%,
            var(--zari-gold) 82%,
            var(--zari-gold-light) 100%);
    opacity: 0.55;
}


/* ── Brand head with a toran (bandhanwar) scallop ─────────────── */
.sidebar .side-head {
    position: relative;
    border-bottom: none;
    padding-bottom: 20px;
    background: linear-gradient(180deg,
        rgba(36, 80, 138, 0.75) 0%, transparent 100%);
}

/* The hanging scallop itself — repeating circles clipped to a strip */
.sidebar .side-head::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 9px;
    background:
        radial-gradient(circle at 7px 0,
            var(--zari-gold) 0 3.4px, transparent 3.6px) 0 0/14px 9px repeat-x;
    opacity: 0.55;
}

/* A zari rule sitting above the scallop */
.sidebar .side-head::before {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 9px;
    height: 1px;
    background: linear-gradient(90deg,
        transparent, var(--zari-gold-dim) 20%,
        var(--zari-gold) 50%, var(--zari-gold-dim) 80%, transparent);
}

.side-brand-box {
    background: linear-gradient(135deg, var(--zari-gold-light), var(--primary-dark));
    color: var(--mehroon-deep);
    border: 1px solid rgba(255, 240, 200, 0.42);
    box-shadow:
        0 4px 16px rgba(217, 167, 65, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.side-brand-box i { color: var(--mehroon-deep); }

/* Uploaded app logo in place of the icon: a white tile so any logo reads
   on the navy ground. */
.side-brand-box.has-logo {
    background: var(--white-color);
    padding: 3px;
    overflow: hidden;
}
.side-brand-box.has-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.side-brand-text {
    color: #FFF3DC;
    text-shadow: 0 1px 8px rgba(217, 167, 65, 0.28);
}


/* ── Section partitions as zari thread with a buti diamond ────── */
.sidebar .partition {
    color: rgba(240, 204, 114, 0.72);
    font-size: 9.5px;
    letter-spacing: 1.3px;
    margin: 20px 0 6px;
}
/* The leading tick becomes a rotated gold diamond (buti motif) */
.sidebar .partition::before {
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: var(--zari-gold);
    transform: rotate(45deg);
    opacity: 0.9;
    box-shadow: 0 0 7px rgba(217, 167, 65, 0.55);
}
.sidebar .partition::after {
    background: linear-gradient(90deg, var(--zari-gold-dim), transparent);
    height: 1px;
}


/* ── Menu items ───────────────────────────────────────────────── */
.sidebar .side-menu a {
    color: #E4CDBF;
    font-weight: 500;
    border-radius: 9px;
}
.sidebar .side-menu a:hover {
    background: rgba(217, 167, 65, 0.10);
    color: #FFF3DC;
}
.sidebar .side-menu a:hover .menu-icon { color: var(--zari-gold-light); }

.sidebar .side-menu a .menu-icon {
    color: rgba(240, 204, 114, 0.62);
    transition: color 0.15s;
}

/* Active: zari-lit item — gold wash, gold text, glowing left thread */
.sidebar .side-menu .side_line.active a,
.sidebar .side-menu .dropdown.active > a {
    background: linear-gradient(90deg,
        rgba(217, 167, 65, 0.26) 0%,
        rgba(217, 167, 65, 0.09) 60%,
        transparent 100%);
    color: #FFE9BC;
    font-weight: 700;
    box-shadow:
        inset 0 0 0 1px rgba(240, 204, 114, 0.22),
        0 2px 12px rgba(0, 0, 0, 0.25);
}
.sidebar .side-menu .side_line.active a::before {
    width: 3px;
    height: 62%;
    background: linear-gradient(180deg, var(--zari-gold-light), var(--zari-gold));
    box-shadow: 0 0 12px rgba(240, 204, 114, 0.85);
    border-radius: 0 3px 3px 0;
}
.sidebar .side-menu .side_line.active a .menu-icon {
    color: var(--zari-gold-light);
    filter: drop-shadow(0 0 6px rgba(240, 204, 114, 0.55));
}

/* Submenu items sit on a slightly deeper ground */
.sidebar .side-menu .dropdown-menu {
    background: rgba(0, 0, 0, 0.22);
    border-left: 1px solid var(--zari-gold-dim);
    margin-left: 18px;
    border-radius: 0 9px 9px 0;
}
.sidebar .side-menu .dropdown-menu a { color: #D8BCAE; font-size: 13px; }
.sidebar .side-menu .dropdown-menu a:hover { color: #FFF3DC; }
.sidebar .side-menu .submenu-icon { color: rgba(240, 204, 114, 0.55); }
.sidebar .side-menu .dropdown-toggle::after { border-top-color: rgba(240, 204, 114, 0.55); }


/* ── Hamburger ────────────────────────────────────────────────── */
.sidebar .side-head .side-toggle:hover { background: rgba(217, 167, 65, 0.14); }
.sidebar .side-head .side-toggle span { background: rgba(240, 204, 114, 0.60); }
.sidebar .side-head .side-toggle:hover span { background: var(--zari-gold-light); }


/* ── Logout gets a sindoor tint, not marigold ─────────────────── */
.sidebar .side-menu li:last-of-type a[onclick]:hover {
    background: rgba(192, 57, 43, 0.16);
}


/* ── Region footer as a zari-edged plaque ─────────────────────── */
.side-region-box {
    background: linear-gradient(135deg,
        rgba(217, 167, 65, 0.13), rgba(217, 167, 65, 0.05));
    border: 1px solid var(--zari-gold-dim);
    box-shadow: inset 0 1px 0 rgba(255, 240, 200, 0.10);
}
.side-region-box > i { color: var(--zari-gold-light); }
.side-region-state { color: #FFF3DC; }
.side-region-sub   { color: rgba(240, 204, 114, 0.68); }


/* ── Scrollbar in gold ────────────────────────────────────────── */
.sidebar .side-menu::-webkit-scrollbar-thumb {
    background: rgba(217, 167, 65, 0.28);
    border-radius: 8px;
}
.sidebar .side-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(217, 167, 65, 0.52);
}
.sidebar .side-menu::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.18); }


/* ── Collapsed rail keeps the jaali and the zari edge ─────────── */
.sidebar.hide-sidebar .side-head::after,
.sidebar.hide-sidebar .side-head::before { display: none; }
.sidebar.hide-sidebar .side-menu .side_line.active a {
    background: rgba(217, 167, 65, 0.20);
}


/* ═══════════ CHART PERIOD TOGGLE ═══════════
   Both buttons carry .btn-default, so the inactive one has to be
   explicitly quieted or it reads as white-on-marigold. */
.dash-chart-period .btn.btn-default {
    background: transparent;
    color: var(--primary-dark);
    border: 1px solid var(--input-border);
    box-shadow: none;
    font-weight: 600;
}
.dash-chart-period .btn.btn-default:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-dark);
    transform: none;
}
.dash-chart-period .btn.btn-default.active {
    background: linear-gradient(135deg, var(--primary-accent), var(--primary-color));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px var(--primary-shadow-sm);
}


/* ═══════════ HEADER THREAD ═══════════
   A continuous zari thread reading marigold → gold → paan green.
   The earlier flag-segmented version left a white middle band that
   vanished against the white header and looked like a broken bar. */
.header::after {
    height: 2.5px;
    opacity: 1;
    background: linear-gradient(90deg,
        #E07B18 0%,
        #F0CC72 26%,
        #D9A741 50%,
        #35A96C 78%,
        #1F7A4D 100%);
}
.lgn-left::before {
    background: linear-gradient(90deg,
        #E07B18 0%,
        #F0CC72 26%,
        #D9A741 50%,
        #35A96C 78%,
        #1F7A4D 100%);
}


/* ═══════════ GOVERNMENT COMPLIANCE (Tier 4) ═══════════ */

/* Overdue SLA reads as sindoor red — the number a department answers for. */
.dash-stat-card--overdue::before { background: linear-gradient(90deg, #C0392B, #E15A4C); }
.dash-stat-card--overdue .dash-stat-icon { background: var(--tint-danger-soft); color: var(--red-color); }
.dash-stat-card--overdue .dash-stat-number { color: var(--red-color); }

/* Ticket numbers, IPs — anything meant to be read character by character */
.mono-ticket {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
    font-size: 12.5px;
    letter-spacing: 0.2px;
}

.locked-setting--alert {
    background: var(--tint-danger-soft);
    border-color: rgba(192, 57, 43, 0.28);
}

/* Key/value detail pairs on the grievance record */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px 20px;
}
.detail-k {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--text-muted);
    margin-bottom: 3px;
}
.detail-v {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}
.grievance-body {
    background: var(--input-bg);
    border: 1px solid var(--card-border);
    border-left: 3px solid var(--primary-color);
    border-radius: 9px;
    padding: 13px 15px;
    font-size: 13.5px;
    line-height: 1.65;
    white-space: pre-wrap;
    margin: 0 0 6px;
}
.grievance-body--resolved { border-left-color: var(--green-color); }


/* ═══════════ ACCESSIBILITY (GIGW / WCAG 2.1 AA) ═══════════ */

/* Skip navigation — hidden until focused, then unmissable. */
.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 9999;
    padding: 11px 20px;
    border-radius: 0 0 10px 10px;
    background: var(--indigo-color);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 6px 20px var(--shadow-lg);
    transition: top 0.18s ease;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--primary-accent);
    outline-offset: 2px;
}

/* A visible focus ring on every interactive element. The template shipped
   with `outline: none` in places, which is a WCAG 2.4.7 failure. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}
.btn:focus-visible {
    outline: 3px solid var(--indigo-color) !important;
    outline-offset: 2px;
    box-shadow: none;
}
/* Dark sidebar needs the light ring to stay visible */
.sidebar a:focus-visible,
.sidebar button:focus-visible {
    outline: 3px solid var(--zari-gold-light);
    outline-offset: -2px;
}
/* The main landmark is programmatically focusable but must not show a ring */
main[tabindex="-1"]:focus { outline: none; }

/* Respect a reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* Windows High Contrast / forced colours */
@media (forced-colors: active) {
    .dash-stat-card, .card.custom-border-card, .gateway-card { border: 1px solid CanvasText; }
    .pill { border: 1px solid CanvasText; }
}

/* Screen-reader-only utility */
.sr-only-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.settings-subhead {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: var(--primary-dark);
    margin: 4px 0 14px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.settings-subhead::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--card-border);
}
