/* === Admin UI Redesign (2026-03-02) === */

body.admin-ui-shell {
    background: var(--admin-bg, #f3f6fb);
    color: var(--admin-text, #111827);
}

body.admin-ui-shell .admin-app-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 18%),
        var(--admin-bg, #f3f6fb);
}

body.admin-ui-shell .admin-main-shell {
    min-width: 0;
}

body.admin-ui-shell .admin-content-stage {
    position: relative;
    background: transparent;
}

body.admin-ui-shell .content-wrapper,
body.admin-ui-shell .admin-dashboard__content,
body.admin-ui-shell .admin-content-stage > .content,
body.admin-ui-shell #scrollable-container > .content {
    background: transparent;
}

body.admin-ui-shell .admin-topbar {
    position: sticky;
    top: 0;
    z-index: 32;
    backdrop-filter: blur(16px);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
}

body.admin-ui-shell .admin-topbar__inner {
    gap: 1rem;
}

body.admin-ui-shell .admin-topbar__left {
    min-width: 0;
}

body.admin-ui-shell .admin-topbar__breadcrumb-wrap {
    min-width: 0;
    align-items: center;
    gap: 0.75rem;
}

body.admin-ui-shell .admin-topbar__breadcrumb-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
}

body.admin-ui-shell .admin-topbar__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.admin-ui-shell .admin-topbar__breadcrumb-sep {
    opacity: 0.6;
}

body.admin-ui-shell .admin-topbar__search-wrap {
    flex: 1 1 20rem;
    max-width: 26rem;
    position: relative;
    align-items: center;
}

body.admin-ui-shell .admin-topbar__search-icon {
    position: absolute;
    left: 0.9rem;
    width: 1rem;
    height: 1rem;
    color: rgba(255, 255, 255, 0.72);
    pointer-events: none;
}

body.admin-ui-shell .admin-topbar__search-input {
    width: 100%;
    height: 2.6rem;
    padding: 0.65rem 0.95rem 0.65rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

body.admin-ui-shell .admin-topbar__search-input::placeholder {
    color: rgba(255, 255, 255, 0.66);
}

body.admin-ui-shell .admin-topbar__search-input:focus {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.14);
}

body.admin-ui-shell .admin-topbar__actions {
    flex-shrink: 0;
}

body.admin-ui-shell .admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
        var(--admin-sidebar-bg, #0f172a);
    color: rgba(255, 255, 255, 0.9);
    border-inline-end: 1px solid var(--admin-sidebar-border, rgba(148, 163, 184, 0.18));
    box-shadow: 12px 0 32px rgba(15, 23, 42, 0.12);
    transition: width 0.25s ease;
}

body.admin-ui-shell .admin-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    min-height: 5rem;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--admin-sidebar-border, rgba(148, 163, 184, 0.18));
    color: inherit;
    text-decoration: none;
}

body.admin-ui-shell .admin-sidebar__brand:hover,
body.admin-ui-shell .admin-sidebar__brand:focus {
    color: inherit;
    text-decoration: none;
}

body.admin-ui-shell .admin-sidebar__brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, var(--admin-primary, #2563eb), var(--admin-primary-soft, #dbeafe));
    color: var(--admin-primary-contrast, #ffffff);
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.18);
    flex-shrink: 0;
}

body.admin-ui-shell .admin-sidebar__brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.admin-ui-shell .admin-sidebar__brand-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.62);
}

body.admin-ui-shell .admin-sidebar__brand-name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.admin-ui-shell .admin-sidebar__status {
    width: 0.7rem;
    height: 0.7rem;
    margin-inline-start: auto;
    border-radius: 999px;
    background: var(--admin-primary, #2563eb);
    box-shadow: 0 0 0 0.22rem rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

body.admin-ui-shell .admin-sidebar__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 1rem 0.85rem 1.35rem;
    overflow-y: auto;
}

body.admin-ui-shell .admin-nav-group + .admin-nav-group {
    margin-top: 1rem;
}

body.admin-ui-shell .admin-nav-group__title {
    margin: 0 0 0.55rem;
    padding: 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.55);
}

body.admin-ui-shell .admin-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

body.admin-ui-shell .admin-nav-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.admin-ui-shell .admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    min-width: 0;
    padding: 0.78rem 0.85rem;
    border: 0;
    border-radius: 0.95rem;
    background: transparent;
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body.admin-ui-shell .admin-nav-link:hover,
body.admin-ui-shell .admin-nav-link:focus {
    background: var(--admin-sidebar-surface, rgba(255, 255, 255, 0.06));
    color: #ffffff;
    text-decoration: none;
}

body.admin-ui-shell .admin-nav-link--toggle {
    cursor: pointer;
}

body.admin-ui-shell .admin-nav-link.is-active,
body.admin-ui-shell .admin-nav-item.is-active > .admin-nav-link {
    background: var(--admin-sidebar-surface, rgba(255, 255, 255, 0.08));
    box-shadow: inset 0 0 0 1px var(--admin-primary, #2563eb);
    color: #ffffff;
}

body.admin-ui-shell .admin-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    min-width: 1.15rem;
    color: inherit;
    opacity: 0.95;
}

body.admin-ui-shell .admin-nav-icon svg,
body.admin-ui-shell .admin-nav-icon i {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
}

body.admin-ui-shell .admin-nav-icon--dot {
    width: 0.45rem;
    min-width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.75;
}

body.admin-ui-shell .admin-nav-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.admin-ui-shell .admin-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.45rem;
    height: 1.45rem;
    margin-inline-start: auto;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: var(--admin-sidebar-surface, rgba(255, 255, 255, 0.08));
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.72rem;
    font-weight: 700;
}

body.admin-ui-shell .admin-nav-caret {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-inline-start: 0.45rem;
    transition: transform 0.2s ease;
}

body.admin-ui-shell .admin-nav-item.is-open > .admin-nav-link .admin-nav-caret {
    transform: rotate(90deg);
}

body.admin-ui-shell .admin-nav-tree {
    display: flex;
    flex-direction: column;
    gap: 0.16rem;
    margin-top: 0.2rem;
    margin-inline-start: 0.85rem;
    padding-inline-start: 0.8rem;
    border-inline-start: 1px solid var(--admin-sidebar-border, rgba(148, 163, 184, 0.18));
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.22s ease, opacity 0.22s ease, margin-top 0.22s ease;
}

body.admin-ui-shell .admin-nav-item.is-open > .admin-nav-tree {
    max-height: 48rem;
    opacity: 1;
    margin-bottom: 0.15rem;
}

body.admin-ui-shell .admin-nav-link--level-1,
body.admin-ui-shell .admin-nav-link--level-2,
body.admin-ui-shell .admin-nav-link--level-3 {
    padding: 0.65rem 0.75rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(226, 232, 240, 0.74);
}

body.admin-ui-shell .admin-nav-inline-label {
    margin: 0.35rem 0;
    padding: 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.45);
}

body.admin-ui-shell .admin-nav-divider {
    margin: 0.35rem 0.8rem;
    height: 1px;
    background: rgba(148, 163, 184, 0.18);
}

body.admin-ui-shell.sidebar-collapse .admin-sidebar {
    width: 5.4rem;
}

body.admin-ui-shell.sidebar-collapse .admin-sidebar__brand {
    justify-content: center;
    padding-inline: 0.8rem;
}

body.admin-ui-shell.sidebar-collapse .admin-sidebar__brand-copy,
body.admin-ui-shell.sidebar-collapse .admin-sidebar__status,
body.admin-ui-shell.sidebar-collapse .admin-nav-group__title,
body.admin-ui-shell.sidebar-collapse .admin-nav-label,
body.admin-ui-shell.sidebar-collapse .admin-nav-badge,
body.admin-ui-shell.sidebar-collapse .admin-nav-caret,
body.admin-ui-shell.sidebar-collapse .admin-nav-tree {
    display: none;
}

body.admin-ui-shell.sidebar-collapse .admin-nav-link {
    justify-content: center;
    padding-inline: 0.65rem;
}

body.admin-ui-shell .small-view-side-active.admin-sidebar {
    display: flex !important;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 41;
    width: min(18.5rem, calc(100vw - 2.5rem));
}

body.admin-ui-shell .overlay {
    backdrop-filter: blur(3px);
    background: rgba(15, 23, 42, 0.42);
    z-index: 40;
}

body.admin-ui-shell .admin-dashboard {
    position: relative;
}

body.admin-ui-shell .admin-dashboard__hero-shell {
    padding-bottom: 1.25rem;
}

body.admin-ui-shell .admin-dashboard__hero-bar {
    gap: 1rem;
}

body.admin-ui-shell .admin-dashboard__hero-stage {
    position: relative;
    overflow: hidden;
    padding: 1.35rem 1.4rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.4rem;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(135deg, var(--admin-primary, #2563eb), rgba(15, 23, 42, 0.78));
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

body.admin-ui-shell .admin-dashboard__hero-stage::after {
    content: "";
    position: absolute;
    inset: auto -3rem -4rem auto;
    width: 12rem;
    height: 12rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
    pointer-events: none;
}

body.admin-ui-shell .admin-dashboard__hero-shell {
    position: relative;
    z-index: 1;
}

body.admin-ui-shell .admin-dashboard__hero-eyebrow {
    margin: 0 0 0.6rem;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

body.admin-ui-shell .admin-dashboard__hero-subcopy {
    margin: 0;
    max-width: 34rem;
    font-size: 0.96rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.84);
}

body.admin-ui-shell .admin-dashboard__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.admin-ui-shell .admin-dashboard__hero-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.75rem 1rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.admin-ui-shell .admin-dashboard__hero-link:hover,
body.admin-ui-shell .admin-dashboard__hero-link:focus {
    color: #ffffff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

body.admin-ui-shell .admin-dashboard__hero-link--ghost {
    background: rgba(15, 23, 42, 0.14);
}

body.admin-ui-shell .admin-dashboard__hero-bar .form-control,
body.admin-ui-shell .admin-dashboard__hero-bar .select2-selection--single {
    min-height: 2.8rem;
}

body.admin-ui-shell .admin-dashboard__hero-bar .form-control,
body.admin-ui-shell .admin-dashboard__hero-bar .select2-selection--single,
body.admin-ui-shell .admin-dashboard__hero-bar #dashboard_date_filter {
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: none;
}

body.admin-ui-shell .admin-dashboard__hero-bar .select2-selection--single,
body.admin-ui-shell .admin-dashboard__hero-bar #dashboard_location,
body.admin-ui-shell .admin-dashboard__hero-bar #dashboard_date_filter {
    background: rgba(255, 255, 255, 0.95) !important;
}

body.admin-ui-shell .admin-dashboard__kpi-grid {
    position: relative;
    z-index: 1;
}

body.admin-ui-shell .admin-dashboard__secondary-shell {
    position: relative;
    z-index: 2;
    margin-top: -1rem;
}

body.admin-ui-shell .admin-dashboard__kpi-grid--primary > div,
body.admin-ui-shell .admin-dashboard .tw-bg-white.tw-shadow-sm.tw-rounded-xl.tw-ring-1 {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), #ffffff);
    border: 1px solid var(--admin-border, #dbe3ef);
    box-shadow: var(--admin-shell-shadow, 0 18px 40px rgba(15, 23, 42, 0.08));
}

body.admin-ui-shell .admin-dashboard__kpi-grid--primary > div {
    position: relative;
    overflow: hidden;
    border-color: rgba(37, 99, 235, 0.12);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

body.admin-ui-shell .admin-dashboard__kpi-grid--primary > div::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--admin-primary, #2563eb), rgba(37, 99, 235, 0.18));
}

body.admin-ui-shell .admin-dashboard__kpi-grid--primary > div::after {
    content: "";
    position: absolute;
    inset: auto -2.25rem -2.8rem auto;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0));
    pointer-events: none;
}

body.admin-ui-shell .admin-dashboard__kpi-grid--primary > div > div {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
}

body.admin-ui-shell .admin-dashboard__kpi-grid--primary > div .tw-font-mono {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--admin-text, #111827);
}

body.admin-ui-shell .admin-dashboard__kpi-grid--primary > div p:first-child {
    color: #475569;
}

body.admin-ui-shell .admin-dashboard__kpi-grid--secondary > div {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body.admin-ui-shell .admin-dashboard__kpi-grid--secondary > div::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.32), transparent);
}

body.admin-ui-shell .admin-dashboard__kpi-grid--secondary > div .tw-font-mono {
    font-size: 1.18rem;
    font-weight: 650;
    color: #0f172a;
}

body.admin-ui-shell .admin-dashboard__kpi-grid--secondary > div p:first-child {
    color: #64748b;
}

body.admin-ui-shell .admin-dashboard .tw-bg-white.tw-shadow-sm.tw-rounded-xl.tw-ring-1:hover {
    transform: translateY(-2px);
}

body.admin-ui-shell .admin-dashboard__content {
    padding-top: 1.85rem;
}

body.admin-ui-shell .admin-dashboard__content-grid {
    align-items: start;
    gap: 1.35rem;
}

body.admin-ui-shell .admin-dashboard__section-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.96));
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

body.admin-ui-shell .admin-dashboard__section-intro[id] {
    scroll-margin-top: 6rem;
}

body.admin-ui-shell .admin-dashboard__workspace-shell {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.96));
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

body.admin-ui-shell .admin-dashboard__workspace-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

body.admin-ui-shell .admin-dashboard__workspace-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--admin-muted, #6b7280);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

body.admin-ui-shell .admin-dashboard__workspace-tab:hover,
body.admin-ui-shell .admin-dashboard__workspace-tab:focus {
    color: var(--admin-text, #111827);
    border-color: rgba(148, 163, 184, 0.28);
    background: #ffffff;
    outline: none;
}

body.admin-ui-shell .admin-dashboard__workspace-tab.is-active {
    color: var(--admin-primary, #2563eb);
    border-color: rgba(37, 99, 235, 0.24);
    background: var(--admin-primary-soft, #dbeafe);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.14);
}

body.admin-ui-shell .admin-dashboard [data-admin-workspace].is-hidden {
    display: none !important;
}

body.admin-ui-shell .admin-dashboard__section-intro--compact {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

body.admin-ui-shell .admin-dashboard__section-eyebrow {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--admin-primary, #2563eb);
}

body.admin-ui-shell .admin-dashboard__section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 1rem;
}

body.admin-ui-shell .admin-dashboard__section-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--admin-text, #111827);
}

body.admin-ui-shell .admin-dashboard__section-copy {
    margin: 0.25rem 0 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--admin-muted, #6b7280);
    max-width: 52rem;
}

body.admin-ui-shell .admin-dashboard__section-card {
    position: relative;
    overflow: hidden;
}

body.admin-ui-shell .admin-dashboard__section-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--admin-primary, #2563eb), transparent);
    opacity: 0.18;
    pointer-events: none;
}

body.admin-ui-shell .admin-dashboard__panel-head {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

body.admin-ui-shell .admin-settings-shell {
    overflow: visible;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), #ffffff);
    border: 1px solid var(--admin-border, #dbe3ef);
    box-shadow: var(--admin-shell-shadow, 0 18px 40px rgba(15, 23, 42, 0.08));
}

body.admin-ui-shell .admin-settings-shell > .tw-p-2 {
    padding: 1rem;
}

body.admin-ui-shell .admin-settings-shell .tw-flow-root {
    overflow: visible;
}

body.admin-ui-shell .admin-settings-shell .pos-tab-menu {
    padding-right: 0.4rem;
}

body.admin-ui-shell .admin-settings-shell .pos-tab-menu .list-group {
    position: sticky;
    top: 6.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

body.admin-ui-shell .admin-settings-shell .pos-tab-menu .list-group-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    min-height: 4.35rem;
    padding: 0.95rem 0.9rem;
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 0.95rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98));
    color: var(--admin-muted, #6b7280);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    text-shadow: none;
    line-height: 1.3;
    white-space: normal;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

body.admin-ui-shell .admin-settings-shell .pos-tab-menu .list-group-item:hover,
body.admin-ui-shell .admin-settings-shell .pos-tab-menu .list-group-item:focus {
    color: var(--admin-text, #111827);
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

body.admin-ui-shell .admin-settings-shell .pos-tab-menu .list-group-item.active,
body.admin-ui-shell .admin-settings-shell .pos-tab-menu .list-group-item.active:hover,
body.admin-ui-shell .admin-settings-shell .pos-tab-menu .list-group-item.active:focus {
    color: var(--admin-primary, #2563eb);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    border-color: rgba(148, 163, 184, 0.24);
    box-shadow:
        inset 3px 0 0 var(--admin-primary, #2563eb),
        0 14px 28px rgba(15, 23, 42, 0.06);
    text-shadow: none;
}

body.admin-ui-shell .admin-settings-shell .pos-tab > .pos-tab-content {
    margin-bottom: 0;
    padding: 1.15rem 1.2rem;
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 1.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), #ffffff);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

body.admin-ui-shell .admin-settings-shell .pos-tab .box {
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 1rem;
    box-shadow: none;
}

body.admin-ui-shell .admin-settings-shell .pos-tab .box-header {
    border-bottom-color: var(--admin-border, #dbe3ef);
}

body.admin-ui-shell .admin-settings-shell .pos-tab .form-control,
body.admin-ui-shell .admin-settings-shell .pos-tab .select2-selection--single {
    min-height: 2.8rem;
    border-radius: 0.9rem !important;
}

body.hold-transition.lockscreen .pos-screen-redesign {
    padding-top: 0.4rem;
}

body.hold-transition.lockscreen .pos-header .pos-header__bar {
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

body.hold-transition.lockscreen .pos-screen-redesign__canvas,
body.hold-transition.lockscreen .pos-screen-redesign__sidebar {
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), #ffffff);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body.hold-transition.lockscreen .pos-screen-redesign__canvas {
    padding: 0.25rem;
}

body.hold-transition.lockscreen .pos-screen-redesign__sidebar {
    padding: 0.45rem 0.5rem;
}

body.hold-transition.lockscreen .pos-screen-redesign__workspace {
    margin-bottom: 1rem;
}

body.hold-transition.lockscreen .pos-entry-toolbar,
body.hold-transition.lockscreen .pos-entry-meta {
    margin-left: -0.4rem;
    margin-right: -0.4rem;
}

body.hold-transition.lockscreen .pos-entry-toolbar .form-group,
body.hold-transition.lockscreen .pos-entry-meta .form-group {
    margin-bottom: 0.85rem;
}

body.hold-transition.lockscreen .pos-entry-toolbar .input-group,
body.hold-transition.lockscreen .pos-entry-meta .input-group {
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 0.95rem;
    overflow: hidden;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.hold-transition.lockscreen .pos-entry-toolbar .input-group-addon,
body.hold-transition.lockscreen .pos-entry-meta .input-group-addon {
    border: 0;
    background: #f8fafc;
    color: #64748b;
}

body.hold-transition.lockscreen .pos-entry-toolbar .form-control,
body.hold-transition.lockscreen .pos-entry-meta .form-control,
body.hold-transition.lockscreen .pos-entry-toolbar .select2-selection--single,
body.hold-transition.lockscreen .pos-entry-meta .select2-selection--single {
    min-height: 3rem;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.hold-transition.lockscreen .pos-entry-toolbar__block .form-group,
body.hold-transition.lockscreen .pos-entry-meta .form-group {
    margin-bottom: 0.75rem;
}

body.hold-transition.lockscreen .pos-entry-meta > div[class*='col-'] {
    margin-bottom: 0.15rem;
}

body.hold-transition.lockscreen .pos-entry-meta .form-group > .form-control,
body.hold-transition.lockscreen .pos-entry-meta .form-group > .select2-container,
body.hold-transition.lockscreen .pos-entry-meta .form-group > .input-group,
body.hold-transition.lockscreen .pos-entry-meta .checkbox {
    min-height: 3rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0.95rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow:
        0 12px 20px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

body.hold-transition.lockscreen .pos-entry-meta .form-group > .form-control,
body.hold-transition.lockscreen .pos-entry-meta .form-group > .select2-container {
    padding: 0.45rem 0.6rem;
}

body.hold-transition.lockscreen .pos-entry-meta .checkbox {
    display: flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
}

body.hold-transition.lockscreen .pos-entry-meta .checkbox label {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: #475569;
}

body.hold-transition.lockscreen .pos-entry-toolbar .contact_due_text {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.35rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    background: rgba(254, 242, 242, 0.9);
    color: #dc2626 !important;
}

body.hold-transition.lockscreen .pos-entry-grid {
    margin-top: 0.45rem;
}

body.hold-transition.lockscreen .pos-entry-grid__table-wrap {
    position: relative;
}

body.hold-transition.lockscreen .pos-entry-grid #pos_table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 1rem;
    overflow: hidden;
}

body.hold-transition.lockscreen .pos-entry-grid #pos_table thead th {
    background: #f8fafc;
    border-bottom: 1px solid var(--admin-border, #dbe3ef);
    color: #0f172a;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

body.hold-transition.lockscreen .pos-entry-grid #pos_table tbody tr td {
    background: #ffffff;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    vertical-align: middle;
}

body.hold-transition.lockscreen .pos-entry-totals {
    margin-top: 0.75rem;
    padding: 0.7rem 0.75rem 0.2rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 1rem;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.05), transparent 30%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.86), rgba(255, 255, 255, 0.98));
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.05);
}

body.hold-transition.lockscreen .pos-entry-totals__table {
    margin-bottom: 0;
}

body.hold-transition.lockscreen .pos-entry-totals__table > tbody > tr > td {
    padding: 0.5rem 0.45rem;
    border-top: 0;
    vertical-align: top;
}

body.hold-transition.lockscreen .pos-entry-totals__table > tbody > tr:first-child > td {
    padding-top: 0.15rem;
    padding-bottom: 0.85rem;
}

body.hold-transition.lockscreen .pos-entry-totals__table > tbody > tr:first-child > td > b,
body.hold-transition.lockscreen .pos-entry-totals__table > tbody > tr:first-child > td > span {
    display: inline-flex;
    align-items: center;
    gap: 0.18rem;
}

body.hold-transition.lockscreen .pos-entry-totals__table > tbody > tr:nth-child(2) > td {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

body.hold-transition.lockscreen .pos-suggestion-panel {
    margin-bottom: 0.75rem;
}

body.hold-transition.lockscreen .pos-suggestion-panel__trigger {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
        linear-gradient(135deg, var(--admin-primary, #2563eb), rgba(15, 23, 42, 0.78)) !important;
    box-shadow:
        0 18px 34px rgba(15, 23, 42, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.hold-transition.lockscreen .pos-suggestion-panel__trigger::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 52%);
    pointer-events: none;
}

body.hold-transition.lockscreen .pos-suggestion-panel__trigger:hover,
body.hold-transition.lockscreen .pos-suggestion-panel__trigger:focus {
    transform: translateY(-1px);
    filter: saturate(1.05);
    box-shadow:
        0 22px 36px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

body.hold-transition.lockscreen .pos-suggestion-panel__trigger svg {
    position: relative;
    z-index: 1;
}

body.hold-transition.lockscreen .pos-suggestion-panel__drawer {
    z-index: 4000;
}

body.hold-transition.lockscreen .pos-suggestion-panel__drawer .tw-dw-drawer-overlay {
    background: transparent;
    backdrop-filter: none;
}

body.hold-transition.lockscreen .pos-suggestion-panel .tw-dw-drawer-toggle:checked ~ .pos-suggestion-panel__drawer .tw-dw-drawer-overlay {
    background: rgba(15, 23, 42, 0.44);
    backdrop-filter: blur(4px);
}

body.hold-transition.lockscreen .pos-suggestion-panel__sheet {
    width: min(42rem, 82vw) !important;
    min-height: 100%;
    padding: 1.25rem 1.25rem 1.45rem !important;
    border-left: 1px solid rgba(148, 163, 184, 0.22);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 36%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.98), #ffffff 38%);
    box-shadow: -24px 0 48px rgba(15, 23, 42, 0.14);
}

body.hold-transition.lockscreen .pos-suggestion-panel__title {
    letter-spacing: 0.01em;
}

body.hold-transition.lockscreen .pos-suggestion-panel__close {
    min-width: 2.4rem;
    min-height: 2.4rem;
    border-radius: 999px;
    border: 1px solid rgba(239, 68, 68, 0.18);
    background: rgba(255, 255, 255, 0.92);
    color: #ef4444;
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.12);
}

body.hold-transition.lockscreen .pos-suggestion-panel__sheet-grid {
    margin-top: 0.4rem;
}

body.hold-transition.lockscreen .pos-suggestion-panel__chip {
    min-height: 6.1rem;
    padding: 0.25rem;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)) !important;
    box-shadow:
        0 14px 24px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

body.hold-transition.lockscreen .pos-suggestion-panel__chip:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.18) !important;
    box-shadow:
        0 18px 28px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(37, 99, 235, 0.08) !important;
}

body.hold-transition.lockscreen .pos-suggestion-panel__chip .tw-dw-card-body {
    padding: 0.9rem 0.8rem 0.8rem;
}

body.hold-transition.lockscreen .pos-suggestion-panel__chip .tw-dw-card-actions {
    gap: 0.35rem;
    padding: 0 0.65rem 0.75rem;
}

body.hold-transition.lockscreen .pos-suggestion-panel__chip .tw-dw-btn {
    border-radius: 999px;
}

body.hold-transition.lockscreen .pos-suggestion-panel__featured-toggle {
    border-radius: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    color: var(--admin-text, #111827);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
}

body.hold-transition.lockscreen .pos-suggestion-grid #product_list_body {
    min-height: 24rem;
    padding: 0.55rem 0.45rem 0.35rem;
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 1rem;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.06), transparent 32%),
        linear-gradient(180deg, rgba(248, 250, 252, 0.96), #ffffff);
}

body.hold-transition.lockscreen .pos-suggestion-grid__loader {
    padding: 0.65rem 0 0.35rem;
}

body.hold-transition.lockscreen .pos-suggestion-card-wrap {
    margin-bottom: 0.75rem;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
}

body.hold-transition.lockscreen .pos-suggestion-card {
    display: flex;
    flex-direction: column;
    min-height: 12.5rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 1.05rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.95));
    box-shadow:
        0 16px 26px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

body.hold-transition.lockscreen .pos-suggestion-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.16);
    box-shadow:
        0 22px 34px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(37, 99, 235, 0.08);
}

body.hold-transition.lockscreen .pos-suggestion-card--featured {
    min-height: 11.35rem;
}

body.hold-transition.lockscreen .pos-suggestion-card__media {
    position: relative;
    min-height: 6.4rem;
    margin: 0.6rem 0.6rem 0;
    border-radius: 0.9rem;
    background-color: rgba(241, 245, 249, 0.95);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

body.hold-transition.lockscreen .pos-suggestion-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 45%);
    pointer-events: none;
}

body.hold-transition.lockscreen .pos-suggestion-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 0.75rem 0.85rem;
}

body.hold-transition.lockscreen .pos-suggestion-card__title {
    display: block;
    font-size: 0.78rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--admin-text, #111827) !important;
}

body.hold-transition.lockscreen .pos-suggestion-card__sku {
    display: block;
    font-size: 0.7rem;
    line-height: 1.35;
    color: var(--admin-muted, #6b7280) !important;
}

body.hold-transition.lockscreen .pos-suggestion-card__stock {
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: #475569 !important;
    font-size: 0.66rem !important;
    font-weight: 700;
    letter-spacing: 0.02em;
}

body.hold-transition.lockscreen .pos-checkout-row {
    position: sticky;
    bottom: 0;
    z-index: 12;
    padding-bottom: 0.25rem;
    margin-top: 0.75rem;
}

body.hold-transition.lockscreen .pos-checkout-bar {
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 1.15rem 1.15rem 0 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
}

body.hold-transition.lockscreen .pos-checkout-bar__action-strip {
    gap: 0.7rem !important;
    padding: 0.25rem 0;
}

body.hold-transition.lockscreen .pos-checkout-bar__action-strip > button,
body.hold-transition.lockscreen .pos-checkout-bar__utility button,
body.hold-transition.lockscreen .pos-checkout-bar__mobile-actions > button {
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

body.hold-transition.lockscreen .pos-checkout-bar__action-strip > button:hover,
body.hold-transition.lockscreen .pos-checkout-bar__utility button:hover,
body.hold-transition.lockscreen .pos-checkout-bar__mobile-actions > button:hover {
    transform: translateY(-1px);
}

body.hold-transition.lockscreen .pos-checkout-bar__action-strip > button.tw-text-gray-700 {
    min-width: 4.9rem;
    padding: 0.45rem 0.55rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 0.95rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.04);
}

body.hold-transition.lockscreen .pos-checkout-bar__action-strip > button.tw-text-gray-700:hover {
    border-color: rgba(37, 99, 235, 0.14);
    box-shadow:
        0 14px 22px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(37, 99, 235, 0.06);
}

body.hold-transition.lockscreen .pos-checkout-bar__action-strip > button#pos-finalize,
body.hold-transition.lockscreen .pos-checkout-bar__action-strip > button#pos-cancel,
body.hold-transition.lockscreen .pos-checkout-bar__action-strip > button.pos-express-finalize[data-pay_method='cash'],
body.hold-transition.lockscreen .pos-checkout-bar__mobile-actions > button {
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
}

body.hold-transition.lockscreen .pos-checkout-bar__utility button {
    border: 1px solid rgba(99, 102, 241, 0.16);
    box-shadow: 0 12px 22px rgba(99, 102, 241, 0.14);
}

body.hold-transition.lockscreen .pos-checkout-bar__mobile-total .tw-pos-total,
body.hold-transition.lockscreen .pos-checkout-bar .pos-total {
    padding: 0.35rem 0.65rem;
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

body.admin-ui-shell .admin-dashboard__panel-icon {
    border-color: var(--admin-border, #dbe3ef);
    background: #f8fafc;
    flex-shrink: 0;
}

body.admin-ui-shell .admin-dashboard__panel-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

body.admin-ui-shell .admin-dashboard__panel-subcopy {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--admin-muted, #6b7280);
}

body.admin-ui-shell .admin-dashboard__panel-controls {
    align-items: flex-start;
}

body.admin-ui-shell .admin-dashboard__panel-controls > div:last-child {
    display: flex;
    justify-content: flex-end;
}

body.admin-ui-shell .admin-dashboard__chart-canvas {
    min-height: 22rem;
    padding: 0.75rem;
    border-style: solid;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.92)),
        #f8fafc;
}

body.admin-ui-shell .admin-dashboard__chart-canvas > p {
    margin: 0;
    display: grid;
    min-height: 100%;
    color: transparent;
}

body.admin-ui-shell .admin-dashboard__chart-canvas canvas,
body.admin-ui-shell .admin-dashboard__chart-canvas svg {
    width: 100% !important;
}

body.admin-ui-shell .admin-dashboard__section-card .tw-flow-root {
    margin-top: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 0.95rem;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.8), rgba(255, 255, 255, 0.95));
}

body.admin-ui-shell .admin-dashboard__section-card .tw-inline-block.tw-min-w-full {
    background: #ffffff;
    border-radius: 0.85rem;
}

body.admin-ui-shell .admin-dashboard__section-card .table {
    margin-bottom: 0;
}

body.admin-ui-shell .admin-dashboard__section-card .table > thead > tr > th {
    position: sticky;
    top: 0;
    z-index: 1;
}

body.admin-ui-shell .admin-dashboard__section-card--finance .footer-total {
    background: #f8fafc !important;
}

body.admin-ui-shell .admin-dashboard__hero-shell .select2-container--default .select2-selection--single,
body.admin-ui-shell .admin-dashboard__hero-shell .form-control {
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

body.admin-ui-shell .admin-dashboard .box,
body.admin-ui-shell .admin-dashboard .nav-tabs-custom,
body.admin-ui-shell .admin-dashboard .box-solid {
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 1rem;
    box-shadow: var(--admin-shell-shadow, 0 18px 40px rgba(15, 23, 42, 0.08));
    background: var(--admin-card, #ffffff);
    overflow: hidden;
}

body.admin-ui-shell .admin-dashboard .box-header,
body.admin-ui-shell .admin-dashboard .nav-tabs-custom > .nav-tabs {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--admin-border, #dbe3ef);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.88), #ffffff);
}

body.admin-ui-shell .admin-dashboard .box-header.with-border {
    border-bottom: 1px solid var(--admin-border, #dbe3ef);
}

body.admin-ui-shell .admin-dashboard .box-header .box-title,
body.admin-ui-shell .admin-dashboard .nav-tabs-custom > .nav-tabs > li > a {
    font-weight: 700;
    color: var(--admin-text, #111827);
}

body.admin-ui-shell .admin-dashboard .box-body,
body.admin-ui-shell .admin-dashboard .nav-tabs-custom .tab-content {
    padding: 1rem 1.15rem 1.15rem;
}

body.admin-ui-shell .admin-ui-shell .box-tools .btn,
body.admin-ui-shell .btn:not(.btn-link):not(.btn-flat) {
    border-radius: 0.85rem;
}

body.admin-ui-shell .form-control,
body.admin-ui-shell .input-group .form-control,
body.admin-ui-shell textarea.form-control {
    border-radius: 0.8rem;
    border-color: var(--admin-border, #dbe3ef);
    box-shadow: none;
    min-height: 2.75rem;
}

body.admin-ui-shell .form-control:focus,
body.admin-ui-shell .input-group .form-control:focus {
    border-color: var(--admin-primary, #2563eb);
    box-shadow: 0 0 0 0.22rem var(--admin-primary-soft, #dbeafe);
}

body.admin-ui-shell .select2-container--default .select2-selection--single,
body.admin-ui-shell .select2-container--default .select2-selection--multiple {
    min-height: 2.75rem;
    border-radius: 0.8rem;
    border-color: var(--admin-border, #dbe3ef);
    box-shadow: none;
    padding-top: 0.15rem;
}

body.admin-ui-shell .select2-container--default.select2-container--focus .select2-selection--multiple,
body.admin-ui-shell .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--admin-primary, #2563eb);
}

body.admin-ui-shell .select2-dropdown {
    border-color: var(--admin-border, #dbe3ef);
    border-radius: 0.9rem;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

body.admin-ui-shell .dataTables_wrapper {
    padding-top: 0.25rem;
}

body.admin-ui-shell .dataTables_wrapper .dataTables_length,
body.admin-ui-shell .dataTables_wrapper .dataTables_filter {
    margin-bottom: 0.75rem;
}

body.admin-ui-shell .dataTables_wrapper .dataTables_length select,
body.admin-ui-shell .dataTables_wrapper .dataTables_filter input {
    min-height: 2.45rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--admin-border, #dbe3ef);
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: none;
}

body.admin-ui-shell .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 0.7rem !important;
    border: 1px solid transparent !important;
}

body.admin-ui-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.admin-ui-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    border-color: var(--admin-primary, #2563eb) !important;
    background: var(--admin-primary-soft, #dbeafe) !important;
    color: var(--admin-primary, #2563eb) !important;
}

body.admin-ui-shell table.dataTable,
body.admin-ui-shell .table {
    border-color: var(--admin-border, #dbe3ef);
}

body.admin-ui-shell .table > thead > tr > th,
body.admin-ui-shell table.dataTable thead th,
body.admin-ui-shell table.dataTable thead td {
    background: #f8fafc;
    color: var(--admin-text, #111827);
    border-bottom-color: var(--admin-border, #dbe3ef);
    font-weight: 700;
}

body.admin-ui-shell .table > tbody > tr > td,
body.admin-ui-shell .table > tbody > tr > th {
    border-top-color: var(--admin-border, #dbe3ef);
    vertical-align: middle;
}

body.admin-ui-shell .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(248, 250, 252, 0.72);
}

body.admin-ui-shell .modal-content {
    border-radius: 1rem;
    border: 1px solid var(--admin-border, #dbe3ef);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

body.admin-ui-shell .modal-header,
body.admin-ui-shell .modal-footer {
    border-color: var(--admin-border, #dbe3ef);
}

body.admin-ui-shell .dropzone {
    border-radius: 1rem;
    border-color: var(--admin-border, #dbe3ef);
    background: rgba(248, 250, 252, 0.7);
}

body.admin-ui-shell .fc th,
body.admin-ui-shell .fc td {
    border-color: var(--admin-border, #dbe3ef);
}

body.admin-ui-shell .fc-toolbar .fc-button {
    border-radius: 0.75rem;
}

@media (max-width: 1279px) {
    body.admin-ui-shell .admin-topbar__search-wrap {
        display: none !important;
    }
}

@media (max-width: 991px) {
    body.admin-ui-shell .admin-topbar__inner {
        gap: 0.85rem;
    }

    body.admin-ui-shell .admin-topbar__left {
        min-width: 0;
    }

    body.admin-ui-shell .admin-topbar__breadcrumb-wrap {
        display: none !important;
    }

    body.admin-ui-shell .admin-sidebar {
        display: none;
    }

    body.admin-ui-shell .admin-content-stage {
        height: auto;
        min-height: calc(100vh - 4.5rem);
    }

    body.admin-ui-shell .admin-settings-shell .pos-tab-menu,
    body.admin-ui-shell .admin-settings-shell .pos-tab {
        width: 100%;
    }

    body.admin-ui-shell .admin-settings-shell .pos-tab-menu .list-group {
        position: static;
    }

    body.admin-ui-shell .admin-dashboard__secondary-shell {
        margin-top: 1rem;
    }

    body.hold-transition.lockscreen .pos-screen-redesign__sidebar {
        margin-top: 1rem;
    }

    body.hold-transition.lockscreen .pos-suggestion-panel__sheet {
        width: min(100vw, 100%) !important;
        padding: 1rem 0.9rem 1.15rem !important;
    }

    body.hold-transition.lockscreen .pos-entry-totals {
        padding: 0.6rem 0.55rem 0.15rem;
    }

    body.hold-transition.lockscreen .pos-checkout-bar__action-strip {
        gap: 0.5rem !important;
    }

    body.hold-transition.lockscreen .pos-checkout-row {
        position: static;
        padding-bottom: 0;
    }
}

@media (max-width: 767px) {
    body.admin-ui-shell .admin-topbar .tw-px-5 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    body.admin-ui-shell .admin-topbar__actions {
        width: 100%;
        justify-content: flex-end;
        gap: 0.5rem;
    }

    body.admin-ui-shell .admin-dashboard__hero-shell,
    body.admin-ui-shell .admin-dashboard__content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    body.admin-ui-shell .admin-dashboard__hero-stage {
        padding: 1.1rem;
        border-radius: 1rem;
    }

    body.admin-ui-shell .admin-dashboard__section-heading-row,
    body.admin-ui-shell .admin-dashboard__panel-head,
    body.admin-ui-shell .admin-dashboard__panel-controls {
        flex-direction: column;
        align-items: stretch;
    }

    body.admin-ui-shell .admin-dashboard__panel-controls > div:last-child {
        justify-content: stretch;
    }

    body.admin-ui-shell .admin-dashboard__section-card .tw-flow-root {
        padding: 0.5rem;
    }

    body.admin-ui-shell .admin-dashboard__hero-shell h1 {
        font-size: 1.65rem;
        line-height: 1.2;
    }

    body.admin-ui-shell .admin-dashboard__hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    body.admin-ui-shell .admin-dashboard__hero-link {
        width: 100%;
    }

    body.admin-ui-shell .admin-dashboard__workspace-tabs {
        flex-direction: column;
    }

    body.admin-ui-shell .admin-dashboard__workspace-tab {
        width: 100%;
    }

    body.admin-ui-shell .admin-dashboard__kpi-grid--primary > div .tw-font-mono,
    body.admin-ui-shell .admin-dashboard__kpi-grid--secondary > div .tw-font-mono {
        font-size: 1.15rem;
    }

    body.admin-ui-shell .admin-settings-shell .pos-tab-menu .list-group {
        gap: 0.4rem;
    }

    body.admin-ui-shell .admin-settings-shell .pos-tab-menu .list-group-item,
    body.admin-ui-shell .admin-settings-shell .pos-tab > .pos-tab-content {
        border-radius: 0.85rem;
    }

    body.hold-transition.lockscreen .pos-screen-redesign__canvas,
    body.hold-transition.lockscreen .pos-screen-redesign__sidebar {
        border-radius: 1rem;
    }

    body.hold-transition.lockscreen .pos-entry-meta > div[class*='col-'] {
        margin-bottom: 0.05rem;
    }

    body.hold-transition.lockscreen .pos-entry-totals__table > tbody > tr > td {
        display: block;
        width: 100%;
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }

    body.hold-transition.lockscreen .pos-entry-totals__table > tbody > tr:first-child > td:first-child {
        padding-bottom: 0.35rem;
    }

    body.hold-transition.lockscreen .pos-checkout-bar {
        border-radius: 1rem 1rem 0 0;
    }

    body.hold-transition.lockscreen .pos-checkout-bar__mobile-actions {
        flex-wrap: wrap;
    }

    body.hold-transition.lockscreen .pos-suggestion-panel__trigger {
        min-height: 3rem;
        border-radius: 0.9rem;
    }

    body.hold-transition.lockscreen .pos-suggestion-card-wrap {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }

    body.hold-transition.lockscreen .pos-suggestion-card {
        min-height: 11.25rem;
        border-radius: 0.9rem;
    }

    body.hold-transition.lockscreen .pos-suggestion-card__media {
        min-height: 5.5rem;
        margin: 0.45rem 0.45rem 0;
        border-radius: 0.8rem;
    }

    body.hold-transition.lockscreen .pos-suggestion-card__body {
        padding: 0.65rem 0.6rem 0.75rem;
    }
}
