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

:root {
    --font: "Rubik", sans-serif;
    --white-color: #fff;
    --black-color: #000;
    --black-50: rgba(0, 0, 0, 0.5);
    --body-color: rgba(62, 72, 144, 0.06);
    --primary-color: #3e4890;
    --assest-color: #e9ecef;
    --partition-color: #1F2937;
    --green-color: #058f00;
    --red-color: #dc3545;
    --yellow-color: #FFA500;
    --blue-color: #007bff;
    --purple-color: #6f42c1;
    --dark-color: #343a40;
    --border-color: #dee2e6;
    --primary-light-color: #3E489033;
    --status-approve-bg: #10B98117;
    --status-approve-color: #065f46;
    --status-approve-border: #10B98133;
    --status-approve-hover: #10B98126;
    --status-review-bg: #F59E0B17;
    --status-review-color: #92400e;
    --status-review-border: #F59E0B33;
    --status-review-hover: #F59E0B26;
    --status-rejected-bg: #EF444417;
    --status-rejected-color: #991b1b;
    --status-rejected-border: #EF444433;
    --status-rejected-hover: #EF444426;
    /* Border Radius */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --text-dark: #2d2d2d;
    --text-muted: #6c757d;
    --kyc-surface: #f8fafc;
    --kyc-border: #e5e7eb;
    --kyc-doc-bg: #fafafa;
    --kyc-text-primary: #111827;
    --kyc-text-secondary: #6b7280;
}

html,
body {
    height: 100%;
    overflow: auto;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    font-size: 14px;
    overflow-x: hidden;
    background: var(--body-color);
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
}

.defaultfont {
    font-family: var(--font);
}

a {
    text-decoration: none !important;
}

.primary-color {
    color: var(--primary-color) !important;
}

.primary-bg {
    background-color: var(--primary-color) !important;
}

.text-gray {
    color: var(--partition-color);
    opacity: 0.6;
}

.text-black {
    color: var(--partition-color);
}

.btn:focus {
    outline: none;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
}

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

.btn-default {
    background: var(--primary-color);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 8px 20px;
}

.btn-default:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}

.upload-btn {
    background: var(--primary-color) !important;
    color: var(--white-color) !important;
}

.upload-btn:hover {
    background: var(--white-color) !important;
    border: 2px dashed var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.mw-120 {
    min-width: 120px;
}

.mw-150 {
    min-width: 150px;
}

.mw-300 {
    min-width: 300px;
}

.btn-icon {
    padding: 4px 8px;
    border-radius: 8px;
    background: var(--primary-color);
}

.dropright .dot-icon {
    height: 18px;
}

.dropright .dropdown-menu {
    top: 100% !important;
    right: 0;
    -webkit-transform: none !important;
    transform: none !important;
    left: auto !important;
}

.dropdown-menu {
    -webkit-box-shadow: 0 15px 35px var(--assest-color);
    box-shadow: 0 15px 35px var(--assest-color);
    padding: 4px;
    border: 0;
    border-radius: 12px;
}

.dropdown-menu .dropdown-item {
    font-weight: 500;
    border-bottom: 2px dashed var(--assest-color);
    padding: 7px 11px;
    font-size: 14px;
}

.dropdown-menu .dropdown-item:last-child {
    border-bottom: 0;
}

.breadcrumb {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    /* background-color: var(--assest-color); */
    border-radius: .25rem
}

.breadcrumb a {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 15px;
}

.breadcrumb-item+.breadcrumb-item::before {
    display: inline-block;
    padding-right: .5rem;
    padding-left: .5rem;
    content: "/"
}

.breadcrumb-item.active {
    color: var(--partition-color);
    font-size: 15px;
}

.side-toggle {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    background: transparent;
    padding: 5px;
    border-radius: 8px;
    -webkit-transition: background 0.2s ease;
    transition: background 0.2s ease;
}

.side-toggle:hover {
    background: rgba(62, 72, 144, 0.08);
}

.side-toggle span {
    background: var(--primary-color);
    width: 20px;
    height: 2px;
    margin: 2.5px 0;
    border-radius: 2px;
    display: block;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.side-toggle span:nth-child(2) {
    width: 13px;
    -ms-flex-item-align: start;
    align-self: flex-start;
}

.custom-control .custom-control-label::before {
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    font-size: xx-small;
}

.custom-control .custom-control-input:checked~.custom-control-label::after {
    border-radius: 3px;
    background: var(--primary-color);
}

.custom-control.custom-radio .custom-control-label::before,
.custom-control.custom-radio .custom-control-label:after {
    border-radius: 50% !important;
}

/* ============================================
   SIDEBAR — Premium SaaS Design
   ============================================ */

.sidebar {
    background: var(--white-color);
    border-right: 1px solid rgba(0, 0, 0, 0.07);
    -webkit-box-shadow: 2px 0 16px rgba(0, 0, 0, 0.05);
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.05);
    padding: 0;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 280px;
    max-width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    overflow: hidden;
    z-index: 100;
}

.sidebar::-webkit-scrollbar {
    width: 0;
}

@media (min-width: 1680px) {
    .sidebar {
        width: 300px;
    }
}

/* Sidebar Header */
.sidebar .side-head {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 18px 14px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    -ms-flex-negative: 0;
    flex-shrink: 0;
    overflow: hidden;
    gap: 8px;
}

.sidebar .side-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    text-decoration: none !important;
}

.sidebar-logo-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.3px;
}

/* Sidebar Scrollable Body */
.sidebar-body {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 0 12px;
}

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

.sidebar-body::-webkit-scrollbar-thumb {
    background-color: var(--primary-light-color);
    border-radius: 4px;
}

.sidebar-body::-webkit-scrollbar-track {
    background: transparent;
}

/* Sidebar Footer */
.sidebar-footer {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding: 0 0 12px;
}

.sidebar-footer-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.07);
    margin: 0 14px 8px;
}

/* Side Menu List */
.sidebar .side-menu {
    padding: 0 10px;
    list-style: none;
    margin: 0;
}

/* Section Labels */
.sidebar-section-label {
    list-style: none;
    padding: 20px 6px 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}

.sidebar-section-label span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--partition-color);
    opacity: 0.4;
    white-space: nowrap;
}

.sidebar-section-label::after {
    content: '';
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

/* Menu Items */
.side-item {
    margin: 1px 0;
    position: relative;
}

.side-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 12px;
    height: 44px;
    border-radius: 10px;
    color: var(--partition-color);
    font-size: 15px;
    font-weight: 500;
    -webkit-transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    text-decoration: none !important;
    border-left: 3px solid transparent;
}

.side-link:hover {
    background: var(--primary-light-color);
    color: var(--primary-color);
    text-decoration: none !important;
}

.side-icon {
    width: 20px;
    min-width: 20px;
    text-align: center;
    margin-right: 12px;
    font-size: 14px;
    color: inherit;
    opacity: 0.65;
    -webkit-transition: opacity 0.2s ease, color 0.2s ease;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.side-link:hover .side-icon {
    opacity: 1;
}

.side-label {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Active Menu Item */
.side-item.active>.side-link {
    background: var(--primary-light-color);
    color: var(--primary-color);
    font-weight: 600;
    border-left-color: var(--primary-color);
    padding-left: 9px;
}

.side-item.active>.side-link .side-icon {
    opacity: 1;
    color: var(--primary-color);
}

.side-item.active>.side-link:hover {
    background: var(--primary-light-color);
}

/* Dropdown Arrow */
.side-arrow {
    font-size: 10px;
    margin-left: 4px;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    color: var(--partition-color);
    opacity: 0.4;
}

.side-has-dropdown.active>.side-link .side-arrow,
.side-has-dropdown.submenu-open>.side-link .side-arrow {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    opacity: 0.7;
}

/* Submenu */
.side-submenu {
    list-style: none;
    padding: 3px 0 3px 14px;
    margin: 0 0 0 20px;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.3s ease;
    transition: max-height 0.3s ease;
    border-left: 2px solid rgba(62, 72, 144, 0.15);
}

.side-submenu.is-open {
    max-height: 600px;
}

.side-sublink {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 10px;
    height: 38px;
    border-radius: 8px;
    color: var(--partition-color);
    font-size: 15px;
    font-weight: 500;
    opacity: 0.82;
    -webkit-transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    text-decoration: none !important;
}

.side-sublink:hover {
    background: var(--primary-light-color);
    color: var(--primary-color);
    opacity: 1;
    text-decoration: none !important;
}

.side-subicon {
    width: 16px;
    min-width: 16px;
    text-align: center;
    margin-right: 10px;
    font-size: 12px;
    color: inherit;
}

.side-submenu li.active>.side-sublink {
    color: var(--primary-color);
    background: var(--primary-light-color);
    font-weight: 600;
    opacity: 1;
}

/* Logout / Danger Item */
.side-item-danger>.side-link-danger {
    color: var(--red-color);
}

.side-item-danger>.side-link-danger .side-icon {
    color: var(--red-color);
    opacity: 0.8;
}

.side-item-danger>.side-link-danger:hover {
    background: #DC354520;
    color: var(--red-color);
}

.side-item-danger>.side-link-danger:hover .side-icon {
    opacity: 1;
}

/* Right Content */
.right-content {
    margin-left: 280px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

@media (min-width: 1680px) {
    .right-content {
        margin-left: 300px;
    }
}

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

.right-content.right-content-0 .header .title-control .side-toggle {
    display: none;
}

/* ---- COLLAPSED SIDEBAR (Desktop >= 1024px) ---- */
@media (min-width: 1024px) {
    .sidebar.hide-sidebar {
        width: 72px;
    }

    .sidebar.hide-sidebar .sidebar-logo-text,
    .sidebar.hide-sidebar .side-label,
    .sidebar.hide-sidebar .sidebar-section-label,
    .sidebar.hide-sidebar .side-arrow,
    .sidebar.hide-sidebar .sidebar-footer-divider {
        display: none;
    }

    .sidebar.hide-sidebar .side-head {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding: 18px 8px 16px;
    }

    .sidebar.hide-sidebar .side-logo {
        display: none;
    }

    .sidebar.hide-sidebar .side-menu {
        padding: 0 6px;
    }

    .sidebar.hide-sidebar .side-link {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding: 0 !important;
        height: 44px;
        width: 44px;
        margin: 0 auto;
        border-left-color: transparent !important;
    }

    .sidebar.hide-sidebar .side-icon {
        margin-right: 0;
        opacity: 0.7;
    }

    .sidebar.hide-sidebar .side-item.active>.side-link .side-icon {
        opacity: 1;
    }

    .sidebar.hide-sidebar .side-submenu {
        max-height: 0 !important;
        display: none;
    }

    /* Tooltip on hover when collapsed */
    .sidebar.hide-sidebar .side-link[data-tooltip]:hover::after {
        content: attr(data-tooltip);
        position: absolute;
        left: calc(100% + 10px);
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        background: var(--partition-color);
        color: var(--white-color);
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 500;
        white-space: nowrap;
        z-index: 1000;
        pointer-events: none;
    }

    .sidebar.hide-sidebar .side-link[data-tooltip]:hover::before {
        content: '';
        position: absolute;
        left: calc(100% + 4px);
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        border: 6px solid transparent;
        border-right-color: var(--partition-color);
        z-index: 1000;
        pointer-events: none;
    }
}

@media (min-width: 1680px) {
    .sidebar.hide-sidebar {
        width: 72px;
    }
}

/* ============================================
   HEADER — Premium SaaS Design
   ============================================ */

.header {
    position: sticky;
    -webkit-position: -webkit-sticky;
    top: 0;
    background: var(--white-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    z-index: 22;
    height: 64px;
    padding: 0 24px;
    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;
}

/* Left — toggle + logo + page title */
.header-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.header-left .side-toggle {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: none;
}

.header .side-logo {
    display: none;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.header .page-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--black-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.3px;
}

/* Right — actions */
.header-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

/* Demo mode badge */
.header-demo-badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    background: rgba(62, 72, 144, 0.08);
    color: var(--primary-color);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 20px;
    border: 1px solid rgba(62, 72, 144, 0.15);
}

/* Icon button (language) */
.header-icon-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
    height: 40px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    color: var(--partition-color);
    font-size: 14px;
    -webkit-transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.header-lang-icon {
    font-size: 18px;
    color: var(--primary-color);
}

.header-lang-code {
    /* font-size: 11px; */
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--partition-color);
}

/* Profile button */
.header-profile-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 12px 0 6px;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
    color: var(--partition-color);
    font-size: 14px;
    -webkit-transition: background 0.2s ease, border-color 0.2s ease;
    transition: background 0.2s ease, border-color 0.2s ease;
}

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

.header-avatar {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(62, 72, 144, 0.12);
    color: var(--primary-color);
    font-size: 12px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.header-profile-name {
    /* font-size: 13px; */
    font-weight: 600;
    color: var(--partition-color);
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-caret {
    font-size: 10px;
    color: var(--partition-color);
    opacity: 0.5;
    margin-left: 2px;
}

/* Header dropdown */
.header-dropdown {
    min-width: 180px;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background: var(--white-color);
    margin-top: 6px !important;
}

.header-dropdown-item {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 8px 10px !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--partition-color) !important;
    border-bottom: 0 !important;
    -webkit-transition: background 0.15s ease, color 0.15s ease;
    transition: background 0.15s ease, color 0.15s ease;
}

.header-dropdown-item:hover {
    background: rgba(62, 72, 144, 0.06);
    color: var(--primary-color) !important;
}

.header-dropdown-icon {
    width: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--primary-color);
    opacity: 0.7;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.header-dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.07);
    margin: 4px 6px;
}

.header-dropdown-danger {
    color: var(--red-color) !important;
}

.header-dropdown-danger:hover {
    background: rgba(220, 53, 69, 0.06) !important;
    color: var(--red-color) !important;
}

.header-dropdown-danger .header-dropdown-icon {
    color: var(--red-color);
}

.avatar-img {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.body-content {
    padding: 20px;
}

.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: 50px;
    width: 50px;
    border-radius: 20%;
}

/* Updated — subtle stripe, row hover for modern SaaS table */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent;
}

.table-striped tbody tr:nth-of-type(even) {
    background: rgba(62, 72, 144, 0.09) !important;
}

.table tbody tr {
    -webkit-transition: background 0.15s ease;
    transition: background 0.15s ease;
}

.table tbody tr:hover {
    background: var(--primary-light-color) !important;
}

.table {
    /* border-color: var(--body-color); */
    /* color: var(--body-color); */
    min-width: 650px;
}

/* Updated — uppercase label style, better padding, cleaner header */
.table thead th {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-top: 0;
    border-bottom: 1px solid var(--body-color);
    background: var(--primary-light-color);
    padding: 14px 16px;
    color: var(--partition-color);
}

/* Updated — better vertical padding for row breathing room */
.table td {
    font-size: 14px;
    border-bottom: 1px solid var(--body-color);
    border-top: 0;
    vertical-align: middle;
    padding: 12px 16px;
}

.table .avatar-img {
    margin-right: 10px;
}

.table .clamp-text {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.table .btn {
    padding: 2px;
    background: transparent;
    margin: 0 3px;
}

.table .btn img {
    width: 16px;
}

.table tfoot {
    background-color: var(--primary-light-color);
}

.dot {
    height: 8px;
    width: 8px;
    background: var(--red-color);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.custom-tabs {
    margin: 20px 0;
    background: var(--assest-color);
    border-radius: 100px;
}

.custom-tabs li.nav-item {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
}

.custom-tabs .nav-link {
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black-color);
    padding: 10px;
}

.custom-tabs .nav-link.active {
    background: var(--primary-color);
}

.summary-table-card .border-card {
    padding: 10px;
    border: 2px solid var(--assest-color);
    border-radius: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.summary-table-card .border-card:hover {
    border: 2px solid var(--primary-color);
}

.summary-table-card .border-card>.row {
    margin: 0;
}

.summary-table-card .border-card>.row .col,
.summary-table-card .border-card>.row .col-1,
.summary-table-card .border-card>.row .col-2,
.summary-table-card .border-card>.row .col-12 {
    padding: 0;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.summary-table-card .avatar-control {
    min-width: 120px;
    font-weight: 600;
}

.summary-table-card .avatar-control img {
    margin-right: 8px;
}

.summary-table-card .price {
    color: var(--red-color);
    font-weight: 600;
}

.artist-row {
    margin: 0 -10px;
}

.artist-row .col-6 {
    padding: 0 10px;
}

.artist-grid-card {
    padding: 15px;
    border: 1px solid var(--body-color);
    border-radius: 5px;
    margin: 20px 0 0;
    text-align: center;
}

.artist-grid-card .name {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 5px;
}

.artist-grid-card .post {
    font-size: 14px;
    font-weight: 500;
    margin: 0 0 15px;
}

.artist-grid-card .detanils {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hashtag-card {
    padding-top: 10px;
    padding-bottom: 10px;
    border-left: 5px solid var(--primary-color);
    border-radius: 0px;
    font-size: 18px;
    font-weight: 600;
    background-color: var(--white-color);
}

.hashtag-card>.row {
    margin: 0;
}

.hashtag-card>.row .col,
.hashtag-card>.row .col-2 .hashtag-card>.row .col-10 {
    padding: 0;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: start;
}

.video-box {
    padding: 25px;
    background: var(--assest-color);
}

.video-box .f600 {
    font-weight: 600;
}

.video-box .box-border-0 {
    border: 0;
    padding-bottom: 0;
}

/* Updated — gap-based spacing, rounded container */
.page-search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--body-color);
    border-radius: 10px;
    padding: 8px 10px;
    gap: 10px;
}

.page-search .input-group-text,
.page-search .form-control {
    border: 0;
    background: transparent;
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
    font-size: 14px;
}

.page-search .input-group-text img,
.page-search .form-control img {
    width: 20px;
}

/* Added — white pill for search input, matching sorting pill style */
.page-search .input-group {
    background: var(--white-color);
    border-radius: 8px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

/* Updated — better vertical padding */
.page-search .sorting {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 220px;
    background: var(--white-color);
    padding: 4px 12px;
    border-radius: 8px;
}

.page-search .sorting label {
    min-width: 55px;
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--partition-color);
    opacity: 0.6;
    white-space: nowrap;
}

.pagination {
    padding: 5px;
    border: 1px solid var(--body-color);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    border-radius: 10px;
    margin: 35px auto 0;
}

.pagination .page-link {
    border: 0;
    height: 30px;
    width: 30px;
    background: var(--body-color) !important;
    margin: 0 5px;
    border-radius: 50px !important;
    color: var(--primary-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.pagination .page-link .right-arrow {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.pagination .page-link .dots {
    font-weight: 600;
    margin-top: -4px;
}

.pagination .arrow-icon {
    height: 20px;
    width: 20px;
    background-image: url("../../assets/imgs/left-arrow.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 7px;
}

.pagination .arrow-icon .next-arrow {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

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

.modal-content {
    /* background-color: var(--assest-color); */
}

.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;
}

.app-right-btn {
    text-align: right;
    margin-top: -60px;
    margin-bottom: 30px;
}

.custom-border-card {
    background: var(--white-color);
    -webkit-box-shadow: 0 15px 35px var(--assest-color);
    /* box-shadow: 0 15px 35px var(--body-color); */
    border: 1px solid var(--border-color);
    padding: 20px 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.custom-border-card .card-header {
    font-size: 18px;
    background: transparent;
    padding: 0;
    font-weight: 700;
    /* border-bottom: 2px solid var(--border-color); */
    padding-bottom: 15px;
    color: var(--partition-color);
}

.custom-border-card .card-body {
    padding: 18px 0 10px;
}

.card-header.system-text {
    color: var(--primary-color);
}

.system-note {
    font-weight: 600;
    font-size: 16px;
    color: var(--black-color);
}

.form-group label {
    font-weight: 500;
    color: var(--partition-color);
    font-size: 14px;
    /* margin-bottom: 10px; */
}

/* .form-control:disabled,
.form-control[readonly] {
    background-color: var(--white-color);
} */

.form-control,
.custom-select {
    /* border: 1px solid var(--assest-color); */
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 14px;
    height: auto !important;
}

.form-control:focus,
.custom-select:focus {
    -webkit-box-shadow: 0 0 0;
    box-shadow: 0 0 0;
    border-color: var(--primary-color);
}

.file-control {
    padding: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-radius: 15px;
    cursor: pointer;
}

.file-control span {
    opacity: 0.6;
    display: inline-block;
    margin-top: 10px;
}

.thumbnail-img {
    position: relative;
    border: 1px solid var(--assest-color);
    display: inline-block;
    height: 100px;
    width: 130px;
    border-radius: 10px;
    padding: 4px;
}

.thumbnail-img img {
    border-radius: 8px;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.thumbnail-img .close {
    position: absolute;
    top: 5px;
    right: 8px;
    color: var(--white-color);
    opacity: 1;
    font-weight: 300;
}

.radio-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 20px;
}

.radio-group .custom-control {
    padding-left: 0;
    margin-right: 15px;
}

.radio-group .custom-control-label {
    margin-bottom: 0;
    background: var(--assest-color);
    padding: 6px 23px 6px 33px;
    border-radius: 100px;
    font-size: 16px;
}

.radio-group .custom-control-label::before,
.radio-group .custom-control-label:after {
    border-radius: 50%;
    top: 10px;
    left: 10px;
}

.radio-group .custom-control-label:after {
    display: none;
}

.radio-group .custom-control-label::before {
    background: transparent;
    border: 3px solid var(--body-color);
}

.radio-group .custom-control-input:checked~.custom-control-label {
    background: var(--primary-color);
    color: var(--white-color);
}

.radio-group .custom-control-input:checked~.custom-control-label::before {
    background: var(--primary-color);
    border-color: var(--white-color);
}

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

.border-bottom {
    border-color: var(--assest-color) !important;
}

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.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_filter label {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: var(--assest-color);
    border-radius: 8px;
    padding: 6px 18px;
    font-weight: 600;
}

div.dataTables_wrapper div.dataTables_length label .form-control,
div.dataTables_wrapper div.dataTables_filter label .form-control {
    padding: 6px 12px;
    text-align: center;
    margin: 0 13px;
}

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

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;
}

/* Container for left caption area with background image */
.left-caption {
    height: 100%;
    position: relative;
}

.left-caption .bg-img {
    height: 100%;
    width: 100%;
    -o-object-fit: fill;
    object-fit: fill;
}

.left-caption .caption {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--black-50);
    color: var(--white-color);
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 160px;
}

.left-caption .caption .text {
    margin-top: 20px;
    font-size: 16px;
    line-height: 24px;
}

.login-bg {
    background: var(--assest-color);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: auto;
    padding-bottom: 20px;
}

@media (max-height: 600px) {
    .login-bg {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
    }
}

.app-logo img {
    width: 180px;
    margin: 15px 0 20px;
}

.app-login-box {
    max-width: 410px;
    margin: 0 auto;
    width: 90%;
    padding: 30px;
    background: var(--white-color);
    border-radius: 20px;
    border: 3px solid var(--primary-color);
}

.app-login-box .form-control {
    background: var(--assest-color);
}

.app-login-box .form-control:focus {
    background: var(--white-color);
}

@media (min-width: 1600px) {
    .counter-row {
        margin-bottom: 20px;
    }

    /* .table thead th,
    .table td {
        font-size: 13px;
    } */

    .custom-tabs .nav-link,
    .summary-table-card .border-card {
        font-size: 16px;
    }

    .form-group label {
        font-size: 16px;
    }

    /* .custom-border-card .card-header {
        font-size: 20px;
    } */

    .video-card .card-img-top {
        height: 250px;
    }

    .video-card .card-body .card-title {
        font-size: 18px;
    }

    .video-card .card-body .card-details p {
        font-size: 16px;
    }

    .video-card .play-btn-top img {
        width: 60px;
    }

    .suggested-video .poster-img {
        width: 160px;
        height: 100px;
        border-radius: 20px;
    }

    .suggested-video .video-title {
        font-size: 18px;
        font-weight: 600;
        margin: 0 0 10px;
    }

    .suggested-video .details {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: start;
    }

}

@media (max-width: 1280px) {
    .header .input-group {
        width: 280px;
    }
}

@media (max-width: 991px) {
    .sidebar {
        left: -280px;
    }

    .sidebar.hide-sidebar {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        left: 0;
        z-index: 99;
        width: 280px;
    }

    .sidebar.hide-sidebar .side-toggle span:first-child {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .sidebar.hide-sidebar .side-toggle span:nth-child(2) {
        display: none;
    }

    .sidebar.hide-sidebar .side-toggle span:last-child {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
        margin-top: -7px;
    }

    .right-content {
        margin-left: 0 !important;
    }

    .right-content .page-title {
        display: none;
    }

    .header {
        padding: 0 16px;
    }

    .header-left .side-toggle {
        display: -webkit-box !important;
        display: -ms-flexbox !important;
        display: flex !important;
    }

    .header .side-logo {
        display: block;
        max-width: 140px;
    }

    .header-profile-name {
        display: none;
    }

    .header-caret {
        display: none;
    }

    .counter-row .col-md {
        padding-right: 5px;
        padding-left: 5px;
    }

    .page-title-sm {
        font-size: 26px;
        font-weight: 600;
        margin: -10px 0 20px;
        display: block;
        border-bottom: 1px solid var(--assest-color);
        padding-bottom: 5px;
    }

    .app-logo img {
        margin: 20px 0 10px;
    }
}

@media (max-width: 767px) {
    .btn-default {
        font-size: 14px;
    }

    .header .input-group {
        height: 45px;
        width: 45px;
        border-radius: 5px;
    }

    .header .input-group .input-group-text {
        padding: 7px;
    }

    .header .input-group .form-control {
        display: none;
    }

    .box-title {
        padding-bottom: 8px;
    }

    .box-title .title {
        font-size: 18px;
    }

    .avatar-control .avatar-img {
        height: 30px;
        width: 30px;
    }

    .table th,
    .table td {
        padding: 8px 5px;
    }

    .summary-table-card .border-card {
        padding: 10px 2px;
    }

    .summary-table-card .border-card .row .col {
        text-align: left;
    }

    .summary-table-card .border-card .row .col-12 {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .summary-table-card .avatar-control {
        margin: 0 14px 10px;
    }

    .pagination {
        margin-top: 20px;
    }

    .inline-tabs {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        overflow: auto;
        margin-top: 0;
    }

    .inline-tabs::-webkit-scrollbar {
        display: none;
    }

    .inline-tabs .nav-link {
        padding: 8px 14px;
    }

    .app-right-btn {
        margin: 0 0 15px;
    }

    .form-group label {
        font-size: 14px;
    }

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

    .custom-border-card .card-header {
        font-size: 18px;
        padding-bottom: 12px;
    }

    .file-control {
        padding: 16px;
    }
}

@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;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        margin-top: 15px;
    }
}

@media (max-width: 340px) {
    .header .side-logo {
        width: 120px;
    }
}


/* 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: 130px;
    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;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    border-radius: 10px;
}

.avatar-remove {
    width: 28px;
    height: 28px;
    border-radius: 100%;
    background: var(--white-color);
    margin-top: -162px;
    margin-left: 135px;
    border: 1px solid #ddd;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    padding: 0;
    font-size: 14px;
    z-index: 10;
}

/* .avatar-upload .avatar-preview>img:hover {
    transform: scale(1.05);
} */

.landscape-preview {
    width: 220px !important;
    height: 120px !important;
}


/* 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(--assest-color);
    z-index: 9999;
}

#dvloader img {
    max-width: 300px;
    max-height: 300px;
    z-index: 100;
}

/* btn Cancel */
.btn-cancel {
    background: var(--black-color);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 8px 20px;
}

.btn-cancel:hover {
    color: var(--black-color);
    background: transparent;
    border-color: var(--black-color);
}

/* Edit-Delete btn — updated to modern rounded icon button */
.edit-delete-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid rgba(62, 72, 144, 0.15);
    cursor: pointer;
    outline: none;
    background: rgba(62, 72, 144, 0.06);
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
    -webkit-transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.edit-delete-btn:hover {
    -webkit-transform: scale(1.15);
    transform: scale(1.15);
    filter: brightness(1.2);
}


.edit-delete-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    -webkit-box-shadow: 0 3px 10px rgba(62, 72, 144, 0.3);
    box-shadow: 0 3px 10px var(--primary-light-color);
    text-decoration: none;
}

.edit-delete-btn:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}


.cart-bg {
    background-color: var(--assest-color);
}

/* Import File */
.import-file {
    color: var(--black-color);
}

.import-file::file-selector-button {
    border-radius: 4px;
    color: var(--partition-color);
    background-color: var(--body-color);
    border: 1px solid var(--assest-color);
    height: 30px;
    cursor: pointer;
}

/* Side Menu Partition (legacy — replaced by .sidebar-section-label) */
.partition {
    display: none;
}

/* Demo Mode Box (legacy — superseded by .header-demo-badge) */
.demo-mode-box {
    display: none;
}

/* Hide-Show Btn */
.show-btn,
.hide-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    /* font-size: 12px !important; */
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.show-btn {
    background: #d1fae5;
    color: var(--green-color);
}

.show-btn:hover {
    background: #a7f3d0;
    color: var(--green-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.hide-btn {
    background: #fee2e2;
    color: var(--red-color);
}

.hide-btn:hover {
    background: #fecaca;
    color: var(--red-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.show-btn:focus,
.hide-btn:focus {
    outline: none;
    box-shadow: none;
}

/* 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;
}

.bg-color-box {
    font-weight: bold;
    border: none;
    color: var(--white-color);
    padding: 5px 15px;
    outline: none;
    border-radius: 5px;
}


/* Dashboard Category */
.category-box {
    padding: 25px;
    background: var(--assest-color);
}

.category-box .f600 {
    font-weight: 600;
}

.category-box .box-border-0 {
    border: 0;
    padding-bottom: 0;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    width: 100%;
    color: var(--white-color);
    padding-left: 25px;
}

.category-image {
    max-height: 105px;
    height: 105px;
    width: 100%;
    border-radius: 8px;
    filter: blur(1.2px);
    -webkit-filter: blur(1.2px);
}

.box-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: 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;
}

/* Custom-Card */
.custom-card {
    background-color: var(--assest-color);
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}

.custom-card .card-body h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

.custom-card .card-body span {
    font-size: 1.2rem;
    color: var(--partition-color);
    font-weight: bold;
}

.custom-card .card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.card-icon-primary {
    padding: 15px;
    border-radius: 50%;
    color: var(--assest-color);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color) !important;
}

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

.card-color-primary .card-body {
    color: var(--primary-color);
}

.video-card {
    padding: 5px;
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    margin: 15px 0;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.video-card:hover {
    -webkit-box-shadow: 0 15px 35px var(--assest-color);
    box-shadow: 0 15px 35px var(--assest-color);
}

.video-card:hover .play-btn,
.video-card:hover .overlap-control,
.video-card:hover .play-btn-top {
    display: block;
}

.video-card .card-img-top {
    border-radius: 15px;
    -o-object-fit: cover;
    object-fit: cover;
}

.video-card .play-btn {
    background: transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    display: none;
}

.video-card .card-body {
    padding: 15px 10px;
    position: relative;
}

.video-card .card-body .dropdown {
    position: absolute;
    right: 10px;
    top: 10px;
}

.video-card .card-body .dropdown .dropdown-menu {
    top: auto !important;
    bottom: 100%;
}

.video-card .card-body .dropdown .head-btn {
    padding: 5px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.video-card .card-body .dropdown .dropdown-item {
    font-weight: 500;
}

.video-card .card-body .dropdown .dropdown-item img {
    height: 18px;
    width: 18px;
    -o-object-fit: contain;
    object-fit: contain;
    margin-right: 10px;
}

.video-card .card-body .card-title {
    padding-right: 10px;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card .card-body .card-details {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.video-card .card-body .card-details p {
    margin: 0;
    font-weight: 500;
    color: var(--table-color);
}

.video-card .card-body .card-details p.tag {
    color: var(--body-color);
}

.video-card .play-btn-top {
    position: absolute;
    right: 00px;
    top: 00px;
    background: transparent;
    padding: 0;
    display: none;
}

.video-card .play-btn-top img {
    width: 45px;
}

.video-card .overlap-control {
    position: absolute;
    right: 10px;
    bottom: -5px;
    display: none;
}

.video-card .overlap-control .btn {
    background: var(--white-color);
    padding: 2px 6px;
    border-radius: 10px;
}

.video-card .overlap-control .btn .dot-icon {
    height: 16px;
    width: 16px;
    -o-object-fit: contain;
    object-fit: contain;
}

.add-video-btn {
    height: calc(100% - 30px);
    background: var(--assest-color);
    border: 1px solid var(--primary-color);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin: 15px 0;
    width: 100%;
    border-radius: 15px;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    padding: 25px;
    color: var(--primary-color) !important;
}

.add-video-btn .icon {
    margin-bottom: 15px;
}

/* Video Ribbon */
.ribbon {
    width: 125px;
    height: 125px;
    overflow: hidden;
    position: absolute;
}

.ribbon span {
    position: absolute;
    display: block;
    width: 200px;
    padding: 5px 0;
    background-color: var(--primary-color);
    box-shadow: 0 5px 10px var(--assest-color);
    color: var(--white-color);
    font: 700 18px/1 'Lato', sans-serif;
    text-transform: uppercase;
    text-align: center;
}

.ribbon-top-left {
    top: -10px;
    left: -10px;
}

.ribbon-top-left::before {
    top: 0;
    right: 0;
}

.ribbon-top-left::after {
    bottom: 0;
    left: 0;
}

.ribbon-top-left span {
    right: -25px;
    top: 30px;
    transform: rotate(-45deg);
}

.badge {
    margin: 6px;
    display: inline-block;
    padding: 0.5em 1em;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    text-transform: uppercase;
    border-radius: 0.375rem;
    transition:
        background-color 0.2s ease-in-out,
        color 0.2s ease-in-out,
        border-color 0.2s ease-in-out,
        box-shadow 0.2s ease-in-out;
}

.badge.green {
    background-color: color-mix(in srgb, var(--green-color) 20%, white);
    color: color-mix(in srgb, var(--green-color) 80%, black);
}

.badge.red {
    background-color: color-mix(in srgb, var(--red-color) 20%, white);
    color: color-mix(in srgb, var(--red-color) 80%, black);

}

.general-badge {
    font-weight: bold;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.general-green {
    background-color: var(--green-color);
    color: var(--white-color);
}

.general-red {
    background-color: var(--red-color);
    color: var(--white-color);
}

/* Modal container */
.decision-modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Modal content */
.decision-modal-content {
    background-color: var(--white-color);
    border-radius: 10px;
    width: 450px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Close button */
.decision-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
}

/* Modal Body */
.decision-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Icon Styling */
.decision-icon-img {
    width: 60px;
    height: 60px;
}

.decision-modal-body .modal-style {
    font: bold;
    font-size: 16px;
}

/* Error Text */
.decision-error-text {
    color: var(--red-color);
    font-size: 20px;
    font-weight: bold;
    margin: 20px 10px;
}

/* Success Text */
.decision-success-text {
    color: var(--green-color);
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0;
}

#map {
    height: 355px;
    width: 700px;
    position: relative;
    overflow: hidden;
}

/** Schedule-Timing **/
.schedule-group {
    border: 1px solid var(--assest-color);
    border-radius: 10px;
    margin-bottom: 20px;
    background: var(--white-color);
    overflow: hidden;
}

.schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--assest-color);
    padding: 15px 20px;
    cursor: pointer;
}

.schedule-header label {
    color: var(--black-color);
}

.slot-card label {
    color: var(--black-color);
}

.schedule-header input[type="date"] {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid var(--assest-color);
    cursor: pointer;
}

.remove-date-btn {
    background-color: var(--red-color);
    color: var(--white-color);
    border: none;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
}

.schedule-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 20px;
}

.schedule-body.open {
    padding-top: 20px;
    padding-bottom: 20px;
    max-height: 1000px;
}

.slots-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slot-card {
    background: var(--white-color);
    padding: 12px;
    border: 1px solid var(--assest-color);
    border-radius: 8px;
}

.remove-slot-btn {
    background-color: var(--red-color);
    color: var(--white-color);
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.add-slot-btn,
.add-date-btn {
    background-color: var(--green-color);
    color: var(--white-color);
    padding: 6px 10px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;

}

.slot-times {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.slot-times .badge {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 7px 11px;
    font-size: 14px;
}

@media (max-width: 600px) {
    .slot-card {
        flex-direction: column;
    }
}

/* Installation */
.list-group-item {
    padding-top: 18px !important;
    padding-bottom: 18px !important;
    background-color: transparent;
}

/* btn Install */
.btn-install {
    background: var(--primary-color);
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 10px 40px;
}

.btn-install:hover {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}

/* btn Install Cancel */
.btn-install-cancel {
    background: var(--black-color);
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
    color: var(--white-color);
    border: 1px solid transparent;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    padding: 10px 40px;
}

.btn-install-cancel:hover {
    color: var(--black-color);
    background: transparent;
    border-color: var(--black-color);
}


.install-bg-img {
    text-align: center;
}

.install-bg-img img {
    max-width: 100%;
    height: auto;
}

.install-title {
    font-size: 50px;
    font-weight: bold;
}

.install_sub_title {
    font-size: 24px;
}

.install_text {
    font-size: 20px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.install-list li {
    font-size: 20px;
    margin-bottom: 10px;
}

.install-list li:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.install-card {
    margin-left: 100px;
    margin-right: 100px;
}

@media (max-width: 1024px) {
    .install-bg-img {
        display: none !important;
    }
}

.install-footer {
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: black;
    background-color: #4e45b8;
}

.install-footer a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 18px;
}

.install-footer a:hover {
    color: #000;
}

.install-social-icons {
    margin-top: 10px;
}

.install-social-icons a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

.install-social-icons a:hover {
    color: #000;
}

.install-footer .content {
    position: relative;
    z-index: 1;
}

/* ============================================
   PAGE HEADER ROW — Breadcrumb + Action Button
   ============================================ */

.page-header-row {
    display: -webkit-box;
    display: -ms-flexbox;
    flex-direction: column;
    -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;
    /* gap: 12px; */
    /* padding-bottom: 16px; */
    /* border-bottom: 1px solid var(--assest-color); */
}

.page-header-row .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 9px;
}

/* ============================================
   EXPORT TOOLBAR
   ============================================ */

.export-toolbar {
    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;
    background: var(--white-color);
    border-radius: 8px;
    padding: 10px 16px;
    gap: 12px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.export-toolbar .export-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--partition-color);
    opacity: 0.7;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

.export-toolbar .export-info i {
    color: var(--primary-color);
    opacity: 1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.export-btn-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.btn-export {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    -webkit-transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    background: var(--white-color);
    color: var(--partition-color);
}

.btn-export:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.btn-export i {
    font-size: 14px;
}

@media (max-width: 567px) {
    .export-toolbar {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .export-btn-group {
        width: 100%;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

/* ============================================
   USER MODULE — Identity Cell
   ============================================ */

.user-identity-cell {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    text-align: left;
}

.user-identity-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    -o-object-fit: cover;
    object-fit: cover;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border: 2px solid rgba(62, 72, 144, 0.12);
    -webkit-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
}

.user-identity-cell:hover .user-identity-avatar {
    border-color: var(--primary-color);
}

.user-identity-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.user-display-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--partition-color);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-full-name {
    /* font-size: 12px; */
    color: var(--partition-color);
    opacity: 0.55;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   USER MODULE — Contact Cell
   ============================================ */

.user-contact-cell {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 5px;
    min-width: 160px;
    text-align: left;
}

.user-contact-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--partition-color);
    text-align: left;
}

.user-contact-item i {
    width: 14px;
    text-align: center;
    font-size: 15px;
    color: var(--primary-color);
    opacity: 0.6;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.user-contact-item span {
    opacity: 0.8;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 15px;
}

/* ============================================
   USER MODULE — Login Type Badges
   ============================================ */

.login-type-badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.login-badge-otp {
    background: rgba(62, 72, 144, 0.1);
    color: var(--primary-color);
}

/* Updated — use existing CSS variable for badge colors */
.login-badge-google {
    background: rgba(220, 53, 69, 0.1);
    color: var(--red-color);
}

.login-badge-apple {
    background: rgba(52, 58, 64, 0.07);
    color: var(--dark-color);
}

.login-badge-normal {
    background: rgba(5, 143, 0, 0.1);
    color: var(--green-color);
}

/* ============================================
   DASHBOARD — Stat Cards
   ============================================ */

.dash-stats-row {
    margin-bottom: 0;
}

.dash-stat-card {
    background: var(--white-color);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    padding: 18px 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    -webkit-transition: -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dash-stat-card:hover {
    -webkit-box-shadow: 0 6px 24px rgba(62, 72, 144, 0.12);
    box-shadow: 0 6px 24px rgba(62, 72, 144, 0.12);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.dash-stat-info {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

.dash-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black-color);
    margin: 0 0 4px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.dash-stat-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--black-color);
    opacity: 0.55;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 18px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.dash-icon-primary {
    background: var(--primary-light-color);
    color: var(--primary-color);
}


/* ============================================
   DASHBOARD — Chart Cards
   ============================================ */

.dash-chart-card {
    background: var(--white-color);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 24px;
    -webkit-box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.dash-chart-header {
    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;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--body-color);
}

.dash-chart-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--partition-color);
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
}

.dash-chart-title i {
    color: var(--primary-color);
    opacity: 0.75;
    font-size: 14px;
}

.dash-chart-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.btn-filter {
    background: var(--assest-color);
    border: 1px solid transparent;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--partition-color);
    padding: 5px 14px;
    -webkit-transition: background 0.2s ease, color 0.2s ease;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
    line-height: 1.5;
    outline: none;
}

.btn-filter:hover {
    background: rgba(62, 72, 144, 0.12);
    color: var(--primary-color);
}

.btn-filter.active {
    background: var(--primary-color);
    color: var(--white-color);
}

.btn-filter:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.dash-chart-body {
    position: relative;
}

/* ============================================
   DASHBOARD — Best Category Grid
   ============================================ */

.dash-category-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 4px;
}

.dash-category-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.dash-category-img {
    width: 100%;
    height: 88px;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    -webkit-filter: brightness(0.7);
    filter: brightness(0.7);
}

.dash-category-label {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--white-color);
    text-align: center;
    padding: 4px 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   DASHBOARD — Latest Items Grid
   ============================================ */

.dash-items-row {
    margin-top: 4px;
}

.dash-item-card {
    background: var(--white-color);
    border: 1px solid var(--body-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    -webkit-transition: -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dash-item-card:hover {
    -webkit-box-shadow: 0 6px 20px rgba(62, 72, 144, 0.1);
    box-shadow: 0 6px 20px rgba(62, 72, 144, 0.1);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.dash-item-thumb {
    width: 100%;
    height: 120px;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}

.dash-item-body {
    padding: 10px 12px;
}

.dash-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--partition-color);
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-item-price {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.dash-item-price i {
    font-size: 13px;
    opacity: 0.7;
}

@media (max-width: 767px) {
    .dash-stat-value {
        font-size: 1.5rem;
    }

    .dash-chart-card {
        padding: 16px 18px;
    }

    .dash-chart-title {
        font-size: 14px;
    }
}

/* ============================================
   USER FORM — Add / Edit User Pages
   ============================================ */

.uf-form-container {
    /* max-width: 1080px; */
    width: 100%;
}

/* Section cards — scoped so global custom-border-card is unaffected */
.uf-form-container .custom-border-card {
    padding: 0 28px;
    border: 1px solid var(--assest-color);
    border-radius: 14px;
    box-shadow: 0 2px 16px rgba(62, 72, 144, 0.05);
    /* margin-bottom: 20px; */
}

.uf-form-container .custom-border-card .card-header {
    padding: 20px 0 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary-color);
    border-bottom: 1px solid var(--assest-color);
    margin-bottom: 0;
}


.uf-uploads-row {
    margin-top: 4px;
    margin-bottom: 0;
}

/* Upload dropzone */
.uf-upload-wrap {
    position: relative;
    width: 100%;
}

.uf-upload-wrap input[type="file"] {
    display: none;
}

.uf-upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 140px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 0;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    background: var(--white-color);
    transition: border-color 0.22s ease, background 0.22s ease, transform 0.15s ease;
}

.uf-upload-box:hover,
.uf-upload-box.dragover {
    border-color: var(--primary-color);
    background: var(--primary-light-color);
    transform: translateY(-2px);
}

.uf-upload-preview-img {
    display: none;
    width: 100%;
    height: 140px;
    object-fit: contain;
}

.uf-upload-box.has-preview .uf-upload-preview-img {
    display: block;
}

.uf-upload-box.has-preview .uf-upload-overlay {
    display: none;
}

.uf-upload-overlay {
    position: static;
    inset: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 16px;
    opacity: 1;
    background: transparent;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    border-radius: 0;
    transition: color 0.22s ease;
}

.uf-upload-overlay i {
    font-size: 30px;
    margin-bottom: 4px;
    transition: color 0.22s ease;
}

.uf-upload-overlay small {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 400;
}

.uf-upload-box:hover .uf-upload-overlay,
.uf-upload-box.dragover .uf-upload-overlay {
    color: var(--primary-color);
}

.uf-upload-box:hover .uf-upload-overlay i,
.uf-upload-box.dragover .uf-upload-overlay i {
    color: var(--primary-color);
}

.uf-upload-note {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: var(--partition-color);
    opacity: 0.45;
}

/* KYC pill toggle */
.uf-kyc-toggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    margin-top: 2px;
    background: var(--assest-color);
    border-radius: 50px;
}

.uf-kyc-toggle input[type="radio"] {
    display: none;
}

.uf-toggle-opt {
    padding: 7px 24px;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--partition-color);
    -webkit-user-select: none;
    user-select: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.uf-kyc-toggle input[type="radio"]:checked+.uf-toggle-opt {
    background: var(--primary-color);
    color: var(--white-color);
}

/* Sticky footer actions bar */
.uf-form-actions {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 13px 0;
    margin-top: 4px;
    background: var(--white-color);
    border-top: 1px solid var(--assest-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
}

@media (max-width: 991px) {
    .uf-form-container .custom-border-card {
        padding: 0 20px;
    }
}

@media (max-width: 767px) {
    .uf-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .uf-page-title {
        font-size: 18px;
    }

    .uf-form-container .custom-border-card {
        padding: 0 16px;
    }

    .uf-form-actions {
        flex-direction: column;
        justify-content: stretch;
    }

    .uf-form-actions .btn {
        width: 100%;
        text-align: center;
    }

    .uf-upload-box {
        min-height: 120px;
    }

    .uf-upload-box.has-preview .uf-upload-preview-img {
        height: 120px;
    }
}

/* ============================================
   CATEGORY MODULE
   ============================================ */

.cat-count-badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-decoration: none;
    -webkit-transition: background 0.2s ease, color 0.2s ease;
    transition: background 0.2s ease, color 0.2s ease;
}

.cat-count-badge-primary {
    background: rgba(62, 72, 144, 0.1);
    color: var(--primary-color);
}

.cat-count-badge-primary:hover {
    background: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
}

.cat-count-badge-info {
    background: rgba(0, 123, 255, 0.1);
    color: var(--blue-color);
}

.cat-count-badge-info:hover {
    background: var(--blue-color);
    color: var(--white-color);
    text-decoration: none;
}

.cat-sort-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--body-color);
    border: 1px solid var(--assest-color);
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: -webkit-grab;
    cursor: grab;
    -webkit-transition: background 0.15s ease, -webkit-box-shadow 0.15s ease, border-color 0.15s ease;
    transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cat-sort-item:hover {
    background: rgba(62, 72, 144, 0.04);
    border-color: rgba(62, 72, 144, 0.2);
    -webkit-box-shadow: 0 2px 8px rgba(62, 72, 144, 0.1);
    box-shadow: 0 2px 8px rgba(62, 72, 144, 0.1);
}

.cat-sort-item.ui-sortable-helper {
    cursor: -webkit-grabbing;
    cursor: grabbing;
    -webkit-box-shadow: 0 6px 20px rgba(62, 72, 144, 0.18);
    box-shadow: 0 6px 20px rgba(62, 72, 144, 0.18);
    border-color: var(--primary-color);
    background: rgba(62, 72, 144, 0.05);
}

.cat-sort-handle {
    color: var(--partition-color);
    opacity: 0.35;
    font-size: 14px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.cat-sort-name {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: var(--partition-color);
}

.cat-sort-hint {
    font-size: 12px;
    color: var(--partition-color);
    opacity: 0.5;
    margin-bottom: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
}

.cat-root-banner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 10px;
    background: var(--white-color);
    border: 1px solid rgba(62, 72, 144, 0.12);
    margin-bottom: 20px;
}

.cat-root-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--partition-color);
    opacity: 0.45;
    white-space: nowrap;
}

.cat-root-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
}

.cat-req-toggle {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2px;
    padding: 3px;
    background: var(--assest-color);
    border-radius: 50px;
    margin-top: 4px;
}

.cat-req-toggle input[type="radio"] {
    display: none;
}

.cat-req-opt {
    padding: 7px 20px;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--partition-color);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: background 0.2s ease, color 0.2s ease;
    transition: background 0.2s ease, color 0.2s ease;
}

.cat-req-toggle input[type="radio"]:checked+.cat-req-opt {
    background: var(--primary-color);
    color: var(--white-color);
}

/* ============================================
   ATTRIBUTES MODULE — Add / Edit Pages
   ============================================ */

.am-page-layout {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.am-form-col {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0px;
    flex: 1 1 0;
    min-width: 0;
}

.am-cat-col {
    width: 320px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.am-form-container .custom-border-card {
    padding: 0 24px;
    border: 1px solid var(--assest-color);
    border-radius: 14px;
    margin-bottom: 20px;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.am-form-container .custom-border-card .card-body {
    padding: 22px 0 18px;
}

.am-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--partition-color);
    opacity: 0.4;
    margin-bottom: 18px;
}

.am-divider {
    height: 1px;
    background: var(--assest-color);
    margin: 20px 0 22px;
}

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

.am-input.form-control {
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--assest-color);
    font-size: 14px;
    padding: 10px 14px;
    -webkit-transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: var(--white-color);
}

.am-input.form-control:focus {
    border-color: var(--primary-color);
    -webkit-box-shadow: 0 0 0 3px rgba(62, 72, 144, 0.1);
    box-shadow: 0 0 0 3px rgba(62, 72, 144, 0.1);
    outline: none;
}

select.am-input.form-control {
    height: 44px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.am-icon-upload-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    align-items: flex-start;
    gap: 24px;
}

.am-icon-upload-hint {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
}

.am-upload-hint-note {
    font-size: 12px;
    color: var(--partition-color);
    opacity: 0.5;
    line-height: 1.55;
    display: block;
}

.am-cat-panel.custom-border-card {
    padding: 0;
    overflow: hidden;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid var(--assest-color);
    border-radius: 14px;
    margin-bottom: 0;
}

.am-cat-panel-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid var(--assest-color);
}

.am-cat-panel-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    /* opacity: 0.4; */
}

.am-cat-search-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--assest-color);
    background: var(--body-color);
}

.am-cat-search-icon {
    color: var(--partition-color);
    opacity: 0.35;
    font-size: 13px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.am-cat-search-input {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border: none;
    background: transparent;
    font-size: 13px;
    color: var(--partition-color);
    outline: none;
    font-family: var(--font);
    padding: 0;
}

.am-cat-search-input::-webkit-input-placeholder {
    color: var(--partition-color);
    opacity: 0.4;
}

.am-cat-search-input::-moz-placeholder {
    color: var(--partition-color);
    opacity: 0.4;
}

.am-cat-search-input:-ms-input-placeholder {
    color: var(--partition-color);
    opacity: 0.4;
}

.am-cat-list {
    max-height: 420px;
    overflow-y: auto;
    padding: 6px 0;
}

.am-cat-list::-webkit-scrollbar {
    width: 4px;
}

.am-cat-list::-webkit-scrollbar-track {
    background: transparent;
}

.am-cat-list::-webkit-scrollbar-thumb {
    background: var(--assest-color);
    border-radius: 4px;
}

.am-cat-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    cursor: pointer;
    -webkit-transition: background 0.15s ease;
    transition: background 0.15s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.am-cat-item:hover {
    background: var(--body-color);
}

.am-cat-item input[type="checkbox"] {
    display: none;
}

.am-cat-item-check {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--assest-color);
    border-radius: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-transition: background 0.15s ease, border-color 0.15s ease;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.am-cat-item-check i {
    font-size: 9px;
    color: var(--white-color);
    opacity: 0;
    -webkit-transition: opacity 0.15s ease;
    transition: opacity 0.15s ease;
}

.am-cat-item.am-cat-selected .am-cat-item-check {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.am-cat-item.am-cat-selected .am-cat-item-check i {
    opacity: 1;
}

.am-cat-item-name {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: var(--partition-color);
    line-height: 1.4;
}

.am-cat-item--parent .am-cat-item-name {
    font-weight: 600;
}

.am-cat-item--child .am-cat-item-name {
    font-size: 12.5px;
    opacity: 0.85;
}

.am-cat-toggle-btn {
    border: none;
    background: none;
    padding: 2px 4px;
    cursor: pointer;
    color: var(--partition-color);
    opacity: 0.35;
    font-size: 10px;
    line-height: 1;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.am-cat-toggle-btn:hover {
    opacity: 0.7;
}

.am-cat-toggle-btn.am-cat-open i {
    display: inline-block;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.am-cat-sublist {
    display: none;
}

.am-val-chip {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 3px 10px;
    background: rgba(62, 72, 144, 0.08);
    color: var(--primary-color);
    border-radius: 20px;
    /* font-size: 12px; */
    font-weight: bold;
    white-space: nowrap;
}

.am-values-card {
    margin-top: 20px;
}


.am-values-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--partition-color);
}

@media (max-width: 991px) {
    .am-page-layout {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .am-cat-col {
        width: 100%;
    }

    .am-cat-list {
        max-height: 280px;
    }
}

@media (max-width: 767px) {
    .am-icon-upload-row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

/* ============================================
   KYC VERIFICATION MODULE
   ============================================ */

.kyc-status-actions {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.kyc-btn-accept {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(5, 143, 0, 0.08);
    color: #058f00;
    border: 1px solid rgba(5, 143, 0, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.4;
    font-family: var(--font);
}

.kyc-btn-accept:hover {
    background: #058f00;
    color: #fff;
    border-color: #058f00;
    -webkit-box-shadow: 0 2px 8px rgba(5, 143, 0, 0.28);
    box-shadow: 0 2px 8px rgba(5, 143, 0, 0.28);
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
}

.kyc-btn-reject {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.4;
    font-family: var(--font);
}

.kyc-btn-reject:hover {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
    -webkit-box-shadow: 0 2px 8px rgba(220, 53, 69, 0.28);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.28);
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
}

.kyc-btn-accept:focus,
.kyc-btn-reject:focus,
.kyc-btn-reject:active,
.kyc-btn-accept:active {
    outline: none;
    box-shadow: none;
}

.kyc-btn-details {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    background: var(--primary-color);
    color: #fff !important;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-box-shadow: 0 1px 4px rgba(62, 72, 144, 0.2);
    box-shadow: 0 1px 4px rgba(62, 72, 144, 0.2);
    text-decoration: none !important;
    white-space: nowrap;
}

.kyc-btn-details:hover {
    background: #313a78;
    color: #fff !important;
    -webkit-box-shadow: 0 4px 12px rgba(62, 72, 144, 0.32);
    box-shadow: 0 4px 12px rgba(62, 72, 144, 0.32);
    -webkit-transform: translateY(-1px);
    -ms-transform: translateY(-1px);
    transform: translateY(-1px);
}

.kyc-back-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    background: #fff;
    color: var(--partition-color) !important;
    border: 1px solid rgba(62, 72, 144, 0.18);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    text-decoration: none !important;
    white-space: nowrap;
}

.kyc-back-btn:hover {
    background: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
    -webkit-box-shadow: 0 3px 10px rgba(62, 72, 144, 0.28);
    box-shadow: 0 3px 10px rgba(62, 72, 144, 0.28);
}

/* ============================================
   KYC DETAIL PAGE — Premium Profile Card
   ============================================ */

.kyc-back-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    background: #fff;
    color: var(--partition-color) !important;
    border: 1px solid rgba(62, 72, 144, 0.18);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    text-decoration: none !important;
    white-space: nowrap;
}

.kyc-back-btn:hover {
    background: var(--primary-color);
    color: #fff !important;
    border-color: var(--primary-color);
    -webkit-box-shadow: 0 3px 10px rgba(62, 72, 144, 0.28);
    box-shadow: 0 3px 10px rgba(62, 72, 144, 0.28);
}



/* ============================================
   SECTION MODULE — Premium SaaS Design
   ============================================ */

.sec-page-header {
    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;
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.sec-page-header .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}

.sec-sort-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--white-color);
    border: 1.5px solid var(--assest-color);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--partition-color);
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    font-family: var(--font);
}

.sec-sort-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-light-color);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

/* Add Section Card */
.sec-add-card {
    border-radius: 16px;
    padding: 0 !important;
    margin-bottom: 24px;
    overflow: hidden;
}

.sec-add-card-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
    padding: 20px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.sec-add-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(62, 72, 144, 0.1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 16px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.sec-add-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--partition-color);
    margin: 0 0 2px;
}

.sec-add-sub {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
}

.sec-add-body {
    padding: 20px 20px;
}

/* Field Groups */
/* .sec-field-group {
    margin-bottom: 24px;
} */

.sec-field-group:last-of-type {
    margin-bottom: 0;
}

.sec-group-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Form Elements */
.sec-form-group {
    margin-bottom: 16px;
}

.sec-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.sec-input {
    display: block;
    width: 100%;
    height: 42px;
    padding: 0 14px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--partition-color);
    font-family: var(--font);
    -webkit-transition: border-color 0.2s ease, -webkit-box-shadow 0.2s ease, background 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.sec-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white-color);
    -webkit-box-shadow: 0 0 0 3px rgba(62, 72, 144, 0.08);
    box-shadow: 0 0 0 3px rgba(62, 72, 144, 0.08);
}

select.sec-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-color: #f9fafb;
    padding-right: 36px;
    cursor: pointer;
}

/* Radio Group */
.sec-radio-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 4px;
}

.sec-radio-opt {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    margin: 0;
    /* font-size: 12px; */
    font-weight: 600;
    color: #374151;
    line-height: 1;
}

.sec-radio-opt input[type="radio"] {
    width: 14px;
    height: 14px;
    accent-color: var(--primary-color);
    cursor: pointer;
    margin: 0;
}

.sec-radio-opt:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(62, 72, 144, 0.06);
    color: var(--primary-color);
}

/* Form Footer */
.sec-form-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 8px;
}

/* Buttons */
.sec-btn-primary {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 7px;
    padding: 9px 22px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
    font-family: var(--font);
}

.sec-btn-primary:hover {
    background: #323a7a;
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
    -webkit-box-shadow: 0 4px 12px rgba(62, 72, 144, 0.3);
    box-shadow: 0 4px 12px rgba(62, 72, 144, 0.3);
}

.sec-btn-secondary {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 7px;
    padding: 9px 22px;
    background: var(--white-color);
    color: #374151;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    font-family: var(--font);
}

.sec-btn-secondary:hover {
    border-color: #9ca3af;
    background: #f9fafb;
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

/* Section Item Cards */
#sec-append {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sec-item-card {
    position: relative;
    background: var(--white-color);
    border-radius: 14px;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
    -webkit-transition: -webkit-box-shadow 0.2s ease, -webkit-transform 0.2s ease;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    overflow: hidden;
}

.sec-item-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 4px;
    background: var(--primary-color);
}

.sec-item-card:hover {
    -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
}

.sec-item-body {
    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;
    padding: 18px 24px;
    gap: 16px;
}

.sec-item-info {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

.sec-item-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--partition-color);
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sec-item-subtitle {
    font-size: 12px;
    color: #9ca3af;
    margin: 0 0 10px;
    font-weight: 500;
}

.sec-item-badges {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 6px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.sec-badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.sec-badge-category {
    background: rgba(62, 72, 144, 0.1);
    color: var(--primary-color);
}

.sec-badge-items {
    background: rgba(5, 143, 0, 0.1);
    color: var(--green-color);
}

.sec-badge-layout {
    background: #f3f4f6;
    color: #6b7280;
}

/* Action Buttons in card */
.sec-item-actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.sec-btn-edit {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(62, 72, 144, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(62, 72, 144, 0.15);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    font-family: var(--font);
}

.sec-btn-edit:hover {
    background: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

.sec-btn-delete {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(220, 53, 69, 0.07);
    color: var(--red-color);
    border: 1px solid rgba(220, 53, 69, 0.15);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    font-family: var(--font);
}

.sec-btn-delete:hover {
    background: var(--red-color);
    color: var(--white-color);
    border-color: var(--red-color);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

/* Status Toggle Chip */
.sec-btn-status {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    font-family: var(--font);
}

.sec-btn-status.sec-status-show {
    background: rgba(5, 143, 0, 0.1);
    color: var(--green-color);
}

.sec-btn-status.sec-status-show:hover {
    background: var(--green-color);
    color: var(--white-color);
}

.sec-btn-status.sec-status-hide {
    background: rgba(220, 53, 69, 0.1);
    color: var(--red-color);
}

.sec-btn-status.sec-status-hide:hover {
    background: var(--red-color);
    color: var(--white-color);
}

/* Modal */
.sec-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    -webkit-box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.sec-modal-hd {
    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;
    padding: 20px 28px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.sec-modal-hd-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
}

.sec-modal-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(62, 72, 144, 0.1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 15px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.sec-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--partition-color);
    margin: 0;
}

.sec-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4f6;
    border: none;
    color: #6b7280;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 15px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.sec-modal-close:hover {
    background: #e5e7eb;
    color: var(--partition-color);
}

.sec-modal-bd {
    padding: 20px 20px;
    max-height: 65vh;
    overflow-y: auto;
}

.sec-modal-ft {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
}

/* Sortable Items */
.sec-sort-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 16px;
    font-weight: 500;
}

.sec-sort-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 8px;
    cursor: grab;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 600;
    color: var(--partition-color);
    font-family: var(--font);
}

.sec-sort-item:hover {
    border-color: var(--primary-color);
    background: rgba(62, 72, 144, 0.04);
}

.sec-sort-item:active {
    cursor: grabbing;
}

.sec-sort-handle {
    color: #9ca3af;
    font-size: 14px;
}

.sec-btn-primary:focus,
.sec-btn-secondary:focus,
.sec-btn-delete:focus,
.sec-btn-status:focus,
.sec-btn-edit:focus,
.sec-sort-btn:focus {
    outline: none;
    box-shadow: none;
}

/* Responsive — Section Module */
@media (max-width: 768px) {

    .sec-add-card-header,
    .sec-add-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sec-item-body {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 14px;
    }

    .sec-item-actions {
        width: 100%;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .sec-modal-hd,
    .sec-modal-bd,
    .sec-modal-ft {
        padding-left: 20px;
        padding-right: 20px;
    }

    #sec-append {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    #sec-append {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Items Page Redesign
   ============================================ */

/* Table elevation wrapper */
.items-table-wrap {
    background: var(--white-color);
    border-radius: 10px;
    -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 20px;
}

/* Remove harsh vertical column separators */
#datatable.table-bordered {
    border: 0;
}

#datatable.table-bordered thead th,
#datatable.table-bordered tbody td {
    border-left: 0;
    border-right: 0;
}

/* More breathing room per row */
#datatable tbody td {
    padding: 14px 16px;
    vertical-align: middle;
}

/* ---- Image + Title merged cell ---- */
.item-img-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    min-width: 220px;
    text-align: left;
}

.item-thumb-link {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: block;
}

.item-thumb {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.08);
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}

.item-thumb:hover {
    opacity: 0.85;
}

.item-title-wrap {
    min-width: 0;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.item-title-primary {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--partition-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
    line-height: 1.4;
}

/* ---- User column — two-line hierarchy ---- */
.user-cell {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.user-primary {
    font-size: 13px;
    font-weight: 600;
    color: var(--partition-color);
    line-height: 1.3;
}

.user-secondary {
    font-size: 13px;
    /* color: var(--partition-color); */
    opacity: 0.70;
    line-height: 1.3;
}


/* ---- Add Items button — pill + shadow ---- */
.add-btn {
    -webkit-box-shadow: 0 2px 8px rgba(62, 72, 144, 0.2);
    box-shadow: 0 2px 8px rgba(62, 72, 144, 0.2);
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.add-btn:hover {
    -webkit-box-shadow: 0 4px 14px rgba(62, 72, 144, 0.3);
    box-shadow: 0 4px 14px rgba(62, 72, 144, 0.3);
    -webkit-transform: translateY(-1px);
    transform: translateY(-1px);
}

/* ---- DataTable info + length controls ---- */
#datatable_wrapper .dataTables_info {
    font-size: 13px;
    color: var(--partition-color);
    opacity: 0.65;
    padding: 14px 16px 0;
}

#datatable_wrapper .dataTables_length label {
    font-size: 13px;
}

/* ---- Responsive ---- */
@media (max-width: 767px) {
    .item-img-title {
        min-width: 160px;
        gap: 8px;
    }

    .item-thumb {
        width: 38px;
        height: 38px;
    }

    .item-title-primary {
        max-width: 120px;
        font-size: 13px;
    }

    .add-btn {
        font-size: 13px;
        padding: 7px 14px;
    }
}


/* ----- CATEGORY COLUMN: Soft tagged cell -----
   Scoped to .items-table-wrap so other #datatable pages are unaffected.
   title col is visible:false → DataTables omits its <td> in tbody rows
   → category is td:nth-child(4) in rendered rows                        */

/* .items-table-wrap #datatable tbody td:nth-child(4) {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
} */

/* ----- PRICE COLUMN: Bold prominent value ----- */

.items-table-wrap #datatable tbody td:nth-child(5) {
    font-size: 15px;
    font-weight: 700;
    color: var(--partition-color);
    text-align: right !important;
    padding-right: 20px;
    letter-spacing: -0.3px;
}


/* ----- VIEW COLUMN: Minimal stat chip ----- */

.items-table-wrap #datatable tbody td:nth-child(7) {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    letter-spacing: -0.2px;
    white-space: nowrap;
}

/* ============================================
   Status Dropdown – Premium Redesign
   ============================================ */

/* ----- Base pill select ----- */

.items-table-wrap #datatable select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%231F2937' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 6px;
    background-color: rgba(62, 72, 144, 0.06);
    height: 36px !important;
    min-width: 132px;
    padding: 0 34px 0 14px;
    border-radius: 999px;
    border: 1.5px solid rgba(62, 72, 144, 0.14);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--primary-color);
    cursor: pointer;
    outline: none;
    -webkit-transition: background-color 0.2s ease, border-color 0.2s ease, -webkit-box-shadow 0.2s ease;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.items-table-wrap #datatable select.form-control:hover {
    border-color: rgba(62, 72, 144, 0.28);
    background-color: rgba(62, 72, 144, 0.1);
}

.items-table-wrap #datatable select.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    -webkit-box-shadow: 0 0 0 3px rgba(62, 72, 144, 0.1);
    box-shadow: 0 0 0 3px rgba(62, 72, 144, 0.1);
    background-color: var(--white-color);
}

/* ----- Under Review (value=1) — soft amber ----- */

.items-table-wrap #datatable select.form-control:has(option[value="1"]:checked) {
    background-color: var(--status-review-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2392400e' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    border-color: var(--status-review-border);
    color: var(--status-review-color);
}

.items-table-wrap #datatable select.form-control:has(option[value="1"]:checked):hover {
    background-color: var(--status-review-hover);
}

.items-table-wrap #datatable select.form-control:has(option[value="1"]:checked):focus {
    border-color: var(--status-review-color);
    -webkit-box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
    background-color: var(--white-color);
}

/* ----- Approve (value=2) — soft green ----- */

.items-table-wrap #datatable select.form-control:has(option[value="2"]:checked) {
    background-color: var(--status-approve-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23065f46' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    border-color: var(--status-approve-border);
    color: var(--status-approve-color);
}

.items-table-wrap #datatable select.form-control:has(option[value="2"]:checked):hover {
    background-color: var(--status-approve-hover);
}

.items-table-wrap #datatable select.form-control:has(option[value="2"]:checked):focus {
    border-color: var(--status-approve-color);
    -webkit-box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
    background-color: var(--white-color);
}

/* ----- Rejected (value=3) — soft red ----- */

.items-table-wrap #datatable select.form-control:has(option[value="3"]:checked) {
    background-color: var(--status-rejected-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23991b1b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    border-color: var(--status-rejected-border);
    color: var(--status-rejected-color);
}

.items-table-wrap #datatable select.form-control:has(option[value="3"]:checked):hover {
    background-color: var(--status-rejected-hover);
}

.items-table-wrap #datatable select.form-control:has(option[value="3"]:checked):focus {
    border-color: var(--status-rejected-color);
    -webkit-box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
    background-color: var(--white-color);
}

/* ----- Sold Out label — rendered as <a> with inline style from controller ----- */

.items-table-wrap #datatable tbody td:nth-child(6)>a {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    background: var(--status-approve-bg);
    color: var(--status-approve-color) !important;
    border: 1.5px solid var(--status-approve-border);
    text-decoration: none !important;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

.items-table-wrap #datatable tbody td:nth-child(6)>a:hover {
    background-color: var(--status-approve-hover);
}

/* ============================================================
   Settings Module – Final Premium Safe Redesign
   ============================================================ */


#pills-tab.custom-tabs {
    margin: 20px 0 24px;
    background: var(--white-color);
    border: 1.5px solid var(--assest-color);
    border-radius: 12px;
    padding: 5px;
    gap: 3px;
    -webkit-box-shadow: 0 2px 8px rgba(62, 72, 144, 0.07);
    box-shadow: 0 2px 8px rgba(62, 72, 144, 0.07);
}

#pills-tab.custom-tabs li.nav-item {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}

#pills-tab.custom-tabs .nav-link {
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    padding: 9px 22px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    background: transparent;
    white-space: nowrap;
}

#pills-tab.custom-tabs .nav-link:hover:not(.active) {
    background: var(--primary-light-color);
    color: var(--primary-color);
}

#pills-tab.custom-tabs .nav-link.active {
    background: var(--primary-color);
    color: var(--white-color) !important;
    font-weight: 600;
    -webkit-box-shadow: 0 2px 10px rgba(62, 72, 144, 0.25);
    box-shadow: 0 2px 10px rgba(62, 72, 144, 0.25);
}

/* App Settings — Section Cards inside Tabs
   ============================================================ */

.tab-pane .custom-border-card {
    border: 1.5px solid rgba(62, 72, 144, 0.10);
    border-radius: 12px;
    -webkit-box-shadow: 0 2px 12px rgba(62, 72, 144, 0.06);
    box-shadow: 0 2px 12px rgba(62, 72, 144, 0.06);
    padding: 24px 28px;
    margin-bottom: 24px;
    background: var(--white-color);
}

.tab-pane .custom-border-card .card-header {
    font-size: 15px;
    font-weight: 600;
    color: var(--partition-color);
    padding: 0 0 16px;
    /* border-bottom: var(--border-color); */
    margin-bottom: 2px;
    background: transparent;
}

.tab-pane .custom-border-card .card-body {
    padding: 18px 0 6px;
}

.custom-border-card .settings-card-hd {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    /* padding: 14px 20px; */
}

.settings-card-hd__icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light-color);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 14px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.settings-card-hd__text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

.settings-card-hd__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.settings-card-hd__desc {
    font-size: 12px;
    color: var(--text-muted);
    margin: 2px 0 0;
    line-height: 1.4;
}

/* Payment Gateways — Badge System
   ============================================================ */
.dt-badge {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.4;
}

/* Small dot icon inside badge */
.dt-badge .fa-circle {
    font-size: 7px;
}

/* Active — green */
.dt-badge--active {
    background: rgba(5, 143, 0, 0.10);
    color: var(--green-color);
}

/* Inactive — red */
.dt-badge--inactive {
    background: rgba(227, 0, 11, 0.10);
    color: var(--red-color);
}

/* Sandbox — muted grey */
.dt-badge--sandbox {
    background: var(--assest-color);
    color: var(--text-muted);
}


/* Panel Settings — Pill Radio Toggle
   ============================================================ */

.radio-group {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    gap: 4px;
    background: var(--assest-color);
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 20px;
}

.radio-group .custom-control {
    padding-left: 0;
    margin-right: 0;
}

.radio-group .custom-control-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-group .custom-control-label {
    background: transparent;
    border-radius: 7px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    margin-bottom: 0;
    line-height: 1.5;
}

.radio-group .custom-control-label::before,
.radio-group .custom-control-label::after {
    display: none !important;
}

.radio-group .custom-control-input:checked~.custom-control-label {
    background: var(--primary-color);
    color: var(--white-color);
    font-weight: 600;
    -webkit-box-shadow: 0 2px 8px rgba(62, 72, 144, 0.22);
    box-shadow: 0 2px 8px rgba(62, 72, 144, 0.22);
}


/* Master toggle banner — full-width card at top of page */
.notif-master-card {
    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;
    gap: 16px;
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    margin-bottom: 20px;
    -webkit-box-shadow: var(--shadow-xs);
    box-shadow: var(--shadow-xs);
}

.notif-master-card__info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    min-width: 0;
}

.notif-master-card__icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light-color);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 18px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.notif-master-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 3px;
}

.notif-master-card__desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.45;
}

/* The label wrapping the toggle — removes default label spacing */
.notif-master-card__switch {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
    line-height: 1;
}

/* Notification table card */
.notif-card {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    -webkit-box-shadow: var(--shadow-xs);
    box-shadow: var(--shadow-xs);
    margin-bottom: 24px;
    overflow: hidden;
}

.notif-card__header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
}

.notif-card__header-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-light-color);
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 14px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.notif-card__header-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.notif-card__body {
    padding: 16px 24px 8px;
}

.notif-card__footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 14px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--assest-color);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.toggle-input {
    display: none;
}

.toggle-label {
    display: inline-block;
    width: 46px;
    height: 26px;
    position: relative;
    background-color: var(--border-color);
    border-radius: 26px;
    cursor: pointer;
    -webkit-transition: background-color 0.25s ease;
    transition: background-color 0.25s ease;
    vertical-align: middle;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.toggle-label::after {
    content: '';
    width: 20px;
    height: 20px;
    position: absolute;
    top: 3px;
    left: 3px;
    background-color: var(--white-color);
    border-radius: 50%;
    -webkit-transition: -webkit-transform 0.25s ease;
    transition: transform 0.25s ease;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

.toggle-input:checked+.toggle-label {
    background-color: var(--primary-color);
}

.toggle-input:checked+.toggle-label::after {
    -webkit-transform: translateX(20px);
    transform: translateX(20px);
}

input[type="checkbox"].custom-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background-color: #d1d5db;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.5' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 3px center;
    background-size: 16px 16px;
    border: none;
    outline: none;
    cursor: pointer;
    vertical-align: middle;
    -webkit-transition: background-color 0.22s ease, background-position 0.22s ease;
    transition: background-color 0.22s ease, background-position 0.22s ease;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin: 0;
}

input[type="checkbox"].custom-checkbox:checked {
    background-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6.5' fill='white'/%3E%3C/svg%3E");
    background-position: calc(100% - 3px) center;
}

input[type="checkbox"].custom-checkbox:disabled {
    opacity: 0.40;
    cursor: not-allowed;
}

input[type="checkbox"].custom-checkbox:focus {
    outline: none;
    -webkit-box-shadow: 0 0 0 3px rgba(62, 72, 144, 0.15);
    box-shadow: 0 0 0 3px rgba(62, 72, 144, 0.15);
}

/* Responsive */
@media (max-width: 575px) {
    .notif-master-card {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .notif-master-card__switch {
        width: 100%;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
    }
}

/* Responsive — Settings Module
   ============================================================ */

@media (max-width: 991px) {
    #pills-tab.custom-tabs {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    #pills-tab.custom-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-pane .custom-border-card {
        padding: 18px 16px;
    }
}

@media (max-width: 767px) {
    #pills-tab.custom-tabs .nav-link {
        font-size: 12px;
        padding: 8px 14px;
    }

    .radio-group {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    #notificationToggle~.custom-control-label {
        font-size: 13px;
    }
}