/* Admin shell overlay. After modern-design-system.css. TASK-048: one control-height spec. */

body.theme-primary {
    --shell-header-h: 64px;
    --shell-sidebar-w: 19.29rem;
    --shell-ctrl-h: 36px;
    --shell-ctrl-h-md: 40px;
    --shell-radius: 8px;
    --shell-accent: #4A6EB3;
    --shell-ink: #0E0E23;
    --shell-muted: #64748b;
    --shell-line: #e2e8f0;
    --shell-surface: #ffffff;
}

/* Titles */
body.theme-primary .content-header::before {
    animation: none !important;
    content: none !important;
    display: none !important;
}

body.theme-primary .content-header .page-title,
body.theme-primary .content-header h4,
body.theme-primary .content-header h3,
body.theme-primary .content-header h2,
body.theme-primary .content-header .page-title i,
body.theme-primary .content-header h4 i {
    color: var(--shell-ink) !important;
}

/* Header chrome — one 64px bar; logo must not float or the navbar drops into content */
body.theme-primary .main-header {
    height: var(--shell-header-h) !important;
    min-height: var(--shell-header-h) !important;
    max-height: var(--shell-header-h) !important;
    background: var(--shell-surface) !important;
    border-bottom: 1px solid var(--shell-line) !important;
    box-shadow: none !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    overflow: visible !important;
}

body.theme-primary .main-header .logo-box {
    float: none !important;
    width: var(--shell-sidebar-w) !important;
    min-width: var(--shell-sidebar-w) !important;
    height: var(--shell-header-h) !important;
    background: var(--shell-surface) !important;
    border-right: 1px solid var(--shell-line) !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 0 var(--shell-sidebar-w) !important;
}

body.theme-primary .main-header .logo-box .logo-lg img {
    max-height: var(--shell-ctrl-h) !important;
    height: var(--shell-ctrl-h) !important;
}

body.theme-primary .main-header .navbar {
    float: none !important;
    height: var(--shell-header-h) !important;
    min-height: var(--shell-header-h) !important;
    max-height: var(--shell-header-h) !important;
    background: var(--shell-surface) !important;
    padding: 0 12px !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
}

body.theme-primary .main-header .navbar .nav,
body.theme-primary .main-header .navbar .navbar-nav,
body.theme-primary .main-header .app-menu,
body.theme-primary .main-header .header-megamenu,
body.theme-primary .main-header .navbar .app-menu .btn-group,
body.theme-primary .main-header .navbar .app-menu .nav-item {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.theme-primary .main-header .navbar .nav-link {
    padding: 0 !important;
    line-height: 1 !important;
}

body.theme-primary .shell-header-identity {
    flex: 0 1 auto;
    margin-left: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

body.theme-primary .shell-header-cluster {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    flex-wrap: nowrap !important;
    min-width: 0;
    height: var(--shell-ctrl-h);
    flex: 1 1 auto;
    margin: 0 !important;
}

body.theme-primary .shell-header-cluster .shell-user-btn {
    margin-left: auto !important;
}

body.theme-primary .shell-push-btn,
body.theme-primary .shell-user-btn,
body.theme-primary .shell-profile-chip,
body.theme-primary .shell-role-pill,
body.theme-primary #profileDropdownContainer {
    flex-shrink: 0 !important;
}

body.theme-primary .navbar-custom-menu.r-side {
    margin-left: 0 !important;
    flex: 0 0 auto;
    display: flex !important;
    align-items: center !important;
}

/* Shared 36px header controls */
body.theme-primary .main-header .navbar .nav-link.push-btn,
body.theme-primary .main-header .navbar .nav-link.shell-push-btn,
body.theme-primary .main-header .push-btn,
body.theme-primary .main-header .navbar .nav-link.shell-user-btn,
body.theme-primary .shell-profile-chip,
body.theme-primary .shell-role-pill {
    height: var(--shell-ctrl-h) !important;
    min-height: var(--shell-ctrl-h) !important;
    max-height: var(--shell-ctrl-h) !important;
    box-sizing: border-box !important;
    border-radius: var(--shell-radius) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 12px !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

body.theme-primary .main-header .navbar .nav-link.push-btn,
body.theme-primary .main-header .navbar .nav-link.shell-push-btn,
body.theme-primary .main-header .push-btn,
body.theme-primary .main-header .navbar .nav-link.shell-user-btn {
    width: var(--shell-ctrl-h) !important;
    padding: 0 !important;
    background: #f8fafc !important;
    color: var(--shell-ink) !important;
    border: 1px solid var(--shell-line) !important;
    box-shadow: none !important;
}

body.theme-primary .main-header .navbar .nav-link.push-btn i,
body.theme-primary .main-header .push-btn i,
body.theme-primary .main-header .navbar .nav-link.shell-user-btn i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 14px !important;
    margin: 0 !important;
}

body.theme-primary .shell-profile-chip {
    gap: 8px;
    background: #f8fafc !important;
    border: 1px solid var(--shell-line) !important;
}

body.theme-primary .shell-profile-chip.dropdown-toggle::after {
    display: none !important;
}

body.theme-primary .shell-hotel-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--shell-ink) !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
    line-height: 1 !important;
    margin: 0 !important;
}

body.theme-primary .profile-header-chevron {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    font-size: 11px !important;
    margin: 0 0 0 6px !important;
}

body.theme-primary .shell-role-pill {
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--shell-accent);
    background: rgba(74, 110, 179, 0.12);
    border: 1px solid rgba(74, 110, 179, 0.28);
    white-space: nowrap;
    pointer-events: none;
}

/* Collapsed rail = 60px */
body.theme-primary.sidebar-mini.sidebar-collapse .main-header .logo-box {
    width: 60px !important;
    min-width: 60px !important;
    justify-content: center !important;
    padding: 0 !important;
}

body.theme-primary.sidebar-mini.sidebar-collapse .main-sidebar {
    width: 60px !important;
}

body.theme-primary.sidebar-mini.sidebar-collapse .content-wrapper,
body.theme-primary.sidebar-mini.sidebar-collapse .main-footer {
    margin-left: 60px !important;
}

body.theme-primary.sidebar-mini.sidebar-collapse .sidebar-menu > li.header,
body.theme-primary.sidebar-mini.sidebar-collapse .sidebar-menu > li.header.shell-menu-caption {
    display: none !important;
}

body.theme-primary.sidebar-mini.sidebar-collapse .sidebar-menu > li > a span,
body.theme-primary.sidebar-mini.sidebar-collapse .sidebar-menu > li > a .pull-right-container {
    display: none !important;
}

body.theme-primary.sidebar-mini.sidebar-collapse .sidebar-menu > li > a {
    justify-content: center !important;
    padding: 10px 0 !important;
}

body.theme-primary.fixed .content-wrapper {
    margin-top: var(--shell-header-h) !important;
}

body.theme-primary .main-sidebar {
    margin-top: var(--shell-header-h) !important;
    width: var(--shell-sidebar-w) !important;
}

body.theme-primary .main-sidebar,
body.theme-primary .main-sidebar .sidebar,
body.theme-primary .multinav {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%) !important;
    box-shadow: none !important;
    border-right: 1px solid var(--shell-line) !important;
}

body.theme-primary .sidebar-menu {
    padding: 8px 10px 24px !important;
}

body.theme-primary .sidebar-menu > li.header.shell-menu-caption,
body.theme-primary .sidebar-menu .header {
    color: var(--shell-muted) !important;
    background: transparent !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-top: 1px solid var(--shell-line) !important;
    padding: 14px 12px 6px !important;
    margin: 0 !important;
    pointer-events: none;
}

body.theme-primary .sidebar-menu .header:first-child,
body.theme-primary .sidebar-menu > li.header.shell-menu-caption:first-child {
    border-top: none !important;
}

body.theme-primary .sidebar-menu > li > a,
body.theme-primary .sidebar-menu .treeview-menu li a {
    display: flex !important;
    align-items: center !important;
    line-height: 1.25 !important;
}

body.theme-primary .sidebar-menu > li > a {
    color: var(--shell-ink) !important;
    font-size: 14px !important;
    font-weight: 500;
    border-radius: var(--shell-radius) !important;
    margin: 2px 0 !important;
    padding: 9px 12px !important;
    min-height: var(--shell-ctrl-h-md);
    gap: 10px;
    transform: none !important;
}

body.theme-primary .sidebar-menu li a::before {
    display: none !important;
    content: none !important;
}

body.theme-primary .sidebar-menu > li > a i,
body.theme-primary .sidebar-menu .treeview-menu li a i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 20px;
    width: 20px !important;
    height: 20px !important;
    line-height: 1 !important;
    margin: 0 !important;
    font-size: 14px !important;
    transform: none !important;
    color: var(--shell-muted) !important;
}

body.theme-primary .sidebar-menu > li > a > span {
    line-height: 1.25 !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.theme-primary .sidebar-menu .treeview > a .pull-right-container {
    position: static !important;
    float: none !important;
    top: auto !important;
    transform: none !important;
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 20px !important;
    width: 16px !important;
    padding: 0 !important;
}

body.theme-primary .sidebar-menu .treeview > a .fa-angle-right,
body.theme-primary .sidebar-menu .treeview > a .pull-right-container i {
    transform: none !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

body.theme-primary .sidebar-menu > li > a:hover,
body.theme-primary .sidebar-menu > li:hover > a,
body.theme-primary .sidebar-menu .treeview.menu-open > a {
    background: rgba(74, 110, 179, 0.1) !important;
    color: var(--shell-ink) !important;
    transform: none !important;
    box-shadow: none !important;
}

body.theme-primary .sidebar-menu > li > a:hover i,
body.theme-primary .sidebar-menu li.active > a i,
body.theme-primary .sidebar-menu .treeview.menu-open > a i,
body.theme-primary .sidebar-menu .treeview-menu li a:hover i,
body.theme-primary .sidebar-menu .treeview-menu li.active > a i {
    color: var(--shell-accent) !important;
    transform: none !important;
}

body.theme-primary .sidebar-menu li.active > a {
    background: rgba(74, 110, 179, 0.16) !important;
    color: var(--shell-ink) !important;
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--shell-accent) !important;
}

body.theme-primary .sidebar-menu .treeview-menu {
    background: transparent !important;
    margin: 0 0 6px 8px !important;
    padding: 4px 0 !important;
    border-left: 2px solid var(--shell-line) !important;
}

body.theme-primary .sidebar-menu .treeview-menu li a {
    color: #334155 !important;
    font-size: 13px !important;
    padding: 7px 12px !important;
    margin: 1px 6px !important;
    border-radius: 6px !important;
}

body.theme-primary .sidebar-menu .treeview-menu li a:hover,
body.theme-primary .sidebar-menu .treeview-menu li.active > a {
    background: rgba(74, 110, 179, 0.12) !important;
    color: var(--shell-ink) !important;
}

body.theme-primary footer.main-footer {
    background: var(--shell-surface) !important;
    color: var(--shell-muted) !important;
    font-size: 12px;
    border-top: 1px solid var(--shell-line) !important;
    padding: 10px 16px !important;
}

/* Global small/default controls (whole _LayoutAdmin) */
body.theme-primary .btn-sm,
body.theme-primary .form-control-sm,
body.theme-primary .form-select-sm {
    height: var(--shell-ctrl-h) !important;
    min-height: var(--shell-ctrl-h) !important;
    box-sizing: border-box !important;
    border-radius: var(--shell-radius) !important;
    line-height: 1 !important;
}

body.theme-primary .btn-sm {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.theme-primary .form-control-sm,
body.theme-primary .form-select-sm {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.theme-primary .btn:not(.btn-sm):not(.btn-lg):not(.close),
body.theme-primary .form-control:not(.form-control-sm):not(.form-control-lg),
body.theme-primary .form-select:not(.form-select-sm):not(.form-select-lg) {
    min-height: var(--shell-ctrl-h-md);
    box-sizing: border-box;
    border-radius: var(--shell-radius);
}

body.theme-primary .content .box .box-header,
body.theme-primary .role-home-panel .box-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

body.theme-primary .content .box .box-header .btn-sm,
body.theme-primary .role-home-panel__toggle {
    height: var(--shell-ctrl-h) !important;
}

body.theme-primary .content-header .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    line-height: 1 !important;
}

body.theme-primary .content-header .btn i {
    line-height: 1 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

body.theme-primary .icon-shape {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.theme-primary .icon-shape i {
    line-height: 1 !important;
    margin: 0 !important;
}

body.theme-primary .shell-punch-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

body.theme-primary .shell-punch-row .form-label {
    display: block;
    margin: 0 0 4px !important;
    line-height: 1.2 !important;
}

body.theme-primary .shell-punch-row .form-select,
body.theme-primary .shell-punch-row .form-control,
body.theme-primary .shell-punch-row #btnMyPunch {
    height: var(--shell-ctrl-h) !important;
    min-height: var(--shell-ctrl-h) !important;
}

/* Dashboard surface */
body.theme-primary .content-wrapper,
body.theme-primary .content-wrapper > .content {
    background: #f4f7fb !important;
}

body.theme-primary .content-header {
    padding: 16px 20px 8px !important;
    background: transparent !important;
}

body.theme-primary .content-header.shell-dash-hero {
    margin: 12px 20px 4px !important;
    padding: 18px 20px !important;
    background: linear-gradient(120deg, #0E0E23 0%, #1c2a4a 55%, #4A6EB3 140%) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.theme-primary .content-header.shell-dash-hero h4,
body.theme-primary .content-header.shell-dash-hero h4.mb-sm-0 {
    color: #ffffff !important;
}

body.theme-primary .content-header.shell-dash-hero .role-home-greeting-sub {
    color: rgba(255, 255, 255, 0.72) !important;
}

body.theme-primary .content-header.shell-dash-hero .btn-primary {
    height: var(--shell-ctrl-h) !important;
    min-height: var(--shell-ctrl-h) !important;
    border-radius: var(--shell-radius) !important;
}

body.theme-primary .content-header h4.mb-sm-0 {
    font-size: 22px !important;
    font-weight: 700 !important;
}

body.theme-primary .role-home-greeting-sub {
    margin: 4px 0 0 !important;
    font-size: 13px !important;
    color: var(--shell-muted) !important;
}

body.theme-primary section.content {
    padding: 8px 20px 24px !important;
}

body.theme-primary .content .box,
body.theme-primary .card.card-stat {
    border: 1px solid var(--shell-line) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 28px rgba(14, 14, 35, 0.06) !important;
    background: var(--shell-surface) !important;
    overflow: hidden;
}

body.theme-primary .card.card-stat {
    position: relative;
    min-height: 128px;
}

body.theme-primary .card.card-stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4A6EB3, #7C9FD4, #0E0E23);
}

body.theme-primary .card.card-stat .card-body {
    padding: 16px 18px !important;
}

body.theme-primary .card.card-stat .font-semibold {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: var(--shell-muted) !important;
}

body.theme-primary .card.card-stat h3,
body.theme-primary .card.card-stat .h3 {
    font-size: 26px !important;
            font-weight: 700 !important;
    color: var(--shell-ink) !important;
    letter-spacing: -0.03em;
    line-height: 1.15 !important;
}

body.theme-primary .card.card-stat .icon-shape {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(14, 14, 35, 0.18);
}

body.theme-primary .card.card-stat .icon-shape i {
    font-size: 18px !important;
    color: #fff !important;
}

/* Package B — Owner phone KPI: keep 3-up readable at ~390px (col-4) */
@media (max-width: 575.98px) {
    body.theme-primary .shell-dashboard .card.card-stat {
        min-height: 0;
    }

    body.theme-primary .shell-dashboard .card.card-stat .card-body {
        padding: 10px 8px !important;
    }

    body.theme-primary .shell-dashboard .card.card-stat .font-semibold {
        font-size: 9px !important;
        letter-spacing: 0.02em;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
    }

    body.theme-primary .shell-dashboard .card.card-stat h3,
    body.theme-primary .shell-dashboard .card.card-stat .h3 {
        font-size: 15px !important;
    }

    body.theme-primary .shell-dashboard .card.card-stat .icon-shape {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
    }

    body.theme-primary .shell-dashboard .card.card-stat .icon-shape i {
        font-size: 13px !important;
    }

    body.theme-primary .shell-dashboard .card.card-stat .small,
    body.theme-primary .shell-dashboard .card.card-stat small {
        font-size: 9px !important;
        line-height: 1.25 !important;
    }
}

body.theme-primary .role-home-stat .box-body {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px;
    min-height: 88px;
}

body.theme-primary .role-home-stat .icon-shape {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 44px;
    color: #fff !important;
}

body.theme-primary .role-home-stat .icon-shape i {
    color: #fff !important;
    font-size: 16px !important;
}

body.theme-primary .icon-shape.bg-green { background: #259678 !important; color: #fff !important; }
body.theme-primary .icon-shape.bg-yellow { background: #F9B448 !important; color: #fff !important; }
body.theme-primary .icon-shape.bg-blue { background: #4A6EB3 !important; color: #fff !important; }
body.theme-primary .icon-shape.bg-light-blue { background: #7C9FD4 !important; color: #fff !important; }
body.theme-primary .icon-shape.bg-orange { background: #e67e22 !important; color: #fff !important; }
body.theme-primary .icon-shape.bg-red,
body.theme-primary .icon-shape.bg-danger { background: #c45c4a !important; color: #fff !important; }
body.theme-primary .icon-shape.bg-warning { background: #F9B448 !important; color: #fff !important; }
body.theme-primary .icon-shape.bg-info { background: #4A6EB3 !important; color: #fff !important; }
body.theme-primary .icon-shape.bg-secondary { background: #64748b !important; color: #fff !important; }

body.theme-primary .content .box .box-header {
    padding: 12px 16px !important;
    border-bottom: 1px solid #edf2f7 !important;
}

body.theme-primary .content .box .box-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--shell-ink) !important;
    margin: 0 !important;
    line-height: var(--shell-ctrl-h) !important;
}

body.theme-primary .content .box .box-body {
    padding: 14px 16px !important;
}

body.theme-primary .role-home-stat .role-home-stat__label {
    font-size: 11px !important;
    font-weight: 650;
    letter-spacing: 0.04em;
    color: var(--shell-muted) !important;
}

body.theme-primary .role-home-stat .role-home-stat__value {
    font-size: 24px !important;
    font-weight: 700;
    color: var(--shell-ink) !important;
}

body.theme-primary .shell-chart-canvas {
    height: 240px;
    width: 100%;
}

@media (max-width: 991.98px) {
    body.theme-primary {
        --shell-header-h: 56px;
    }

    body.theme-primary .main-header .logo-box {
        width: 56px !important;
        min-width: 56px !important;
        padding: 0 6px !important;
        justify-content: center !important;
    }

    body.theme-primary .main-header .logo-box .logo-lg img {
        max-height: 28px !important;
        height: 28px !important;
    }

    body.theme-primary .main-sidebar {
        width: 17.5rem !important;
        z-index: 1040 !important;
    }

    body.theme-primary section.content,
    body.theme-primary .content-header {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    body.theme-primary .sidebar-menu > li > a {
        min-height: 44px;
    }

    body.theme-primary .role-home-banner .box-body {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.theme-primary .shell-role-pill {
        display: none;
    }

    body.theme-primary .shell-hotel-name {
        max-width: 36vw;
    }

    body.theme-primary .shell-push-btn,
    body.theme-primary .shell-user-btn {
        width: var(--shell-ctrl-h) !important;
        min-width: var(--shell-ctrl-h) !important;
        flex: 0 0 var(--shell-ctrl-h) !important;
    }
}

@media (max-width: 575.98px) {
    body.theme-primary .shell-role-pill {
        display: none;
    }

    body.theme-primary section.shell-dashboard > .row.g-3.mb-4 > .col-md-4 {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }

    body.theme-primary section.shell-dashboard .row > .col-xl-3.col-12 {
        flex: 0 0 33.333% !important;
        max-width: 33.333% !important;
    }
}

/* Login (_LayoutAccount) — same tokens, no AdminLTE header */
body.theme-primary.shell-login {
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(180deg, #f1f5f9 0%, #e8eef6 100%) !important;
}

body.theme-primary.shell-login .shell-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

body.theme-primary.shell-login .shell-login-card {
    width: 100%;
    max-width: 420px;
    background: var(--shell-surface);
    border: 1px solid var(--shell-line);
    border-radius: 12px;
    box-shadow: none;
    padding: 32px 28px 28px;
}

body.theme-primary.shell-login .shell-login-logo {
    display: block;
    height: 36px;
    margin: 0 auto 16px;
}

body.theme-primary.shell-login .shell-login-title {
    margin: 0 0 6px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--shell-ink);
}

body.theme-primary.shell-login .shell-login-sub {
    margin: 0 0 24px;
    text-align: center;
    font-size: 14px;
    color: var(--shell-muted);
}

body.theme-primary.shell-login .form-control,
body.theme-primary.shell-login .input-group-text,
body.theme-primary.shell-login #Email,
body.theme-primary.shell-login #Password {
    height: var(--shell-ctrl-h-md) !important;
    min-height: var(--shell-ctrl-h-md) !important;
    max-height: var(--shell-ctrl-h-md) !important;
    box-sizing: border-box !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: var(--shell-ctrl-h-md) !important;
    border-radius: var(--shell-radius) !important;
    border-color: var(--shell-line) !important;
    background: #fff !important;
}

body.theme-primary.shell-login .input-group .form-control {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

body.theme-primary.shell-login .input-group-text {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

body.theme-primary.shell-login .btn-primary {
    height: var(--shell-ctrl-h-md) !important;
    min-height: var(--shell-ctrl-h-md) !important;
    border-radius: var(--shell-radius) !important;
    background: var(--shell-accent) !important;
    border-color: var(--shell-accent) !important;
    font-weight: 650;
}

/* Waiter / Kitchen floor */
body.theme-primary .shell-fnb-hero {
    background: linear-gradient(120deg, #0E0E23 0%, #1c2a4a 50%, #4A6EB3 160%) !important;
    border: none !important;
}

body.theme-primary .shell-fnb-hero .box-body {
    background: transparent !important;
}

body.theme-primary .shell-fnb-hero .box-title,
body.theme-primary .shell-fnb-hero .role-home-banner__hint,
body.theme-primary .shell-fnb-kicker {
    color: #fff !important;
}

body.theme-primary .shell-fnb-hero .role-home-banner__hint {
    opacity: 0.8;
    margin: 0;
}

body.theme-primary .shell-fnb-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

body.theme-primary .shell-fnb-hero .btn-outline-primary {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}

body.theme-primary .shell-table-tile {
    height: auto !important;
    min-height: 0 !important;
    cursor: pointer;
    border: 1px solid var(--shell-line) !important;
    border-left-width: 4px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(14, 14, 35, 0.06) !important;
    padding: 14px !important;
}

body.theme-primary .shell-table-tile .table-title {
    font-size: 16px !important;
}

body.theme-primary .shell-table-img {
    display: block;
    height: 56px;
    margin: 8px auto;
    object-fit: contain;
}

body.theme-primary .shell-table-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 8px;
}

body.theme-primary .shell-table-badge.available {
    background: #dcfce7;
    color: #166534;
}

body.theme-primary .shell-table-badge.occupied {
    background: #fef3c7;
    color: #92400e;
}

body.theme-primary .shell-kot-col {
    background: #f8fafc;
    border: 1px solid var(--shell-line);
    border-radius: 12px;
    min-height: 280px;
    padding: 0 0 12px;
    margin-bottom: 16px;
}

body.theme-primary .shell-kot-col__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--shell-line);
    border-radius: 12px 12px 0 0;
}

body.theme-primary .shell-kot-col__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--shell-ink);
}

body.theme-primary .shell-kot-col__count {
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--shell-accent);
}

body.theme-primary .shell-kot-col--0 .shell-kot-col__head { background: #e8eef8; }
body.theme-primary .shell-kot-col--0 .shell-kot-col__count { background: #4A6EB3; }
body.theme-primary .shell-kot-col--1 .shell-kot-col__head { background: #fff4e0; }
body.theme-primary .shell-kot-col--1 .shell-kot-col__count { background: #F9B448; }
body.theme-primary .shell-kot-col--2 .shell-kot-col__head { background: #e8f8ef; }
body.theme-primary .shell-kot-col--2 .shell-kot-col__count { background: #259678; }
body.theme-primary .shell-kot-col--3 .shell-kot-col__head { background: #eef2f7; }
body.theme-primary .shell-kot-col--3 .shell-kot-col__count { background: #64748b; }

body.theme-primary .shell-kot-col__body {
    padding: 12px;
}

body.theme-primary .shell-kot-card {
    height: auto !important;
    margin-bottom: 12px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    border: 1px solid var(--shell-line) !important;
}

body.theme-primary .next-stage-btn {
    height: var(--shell-ctrl-h) !important;
    min-height: var(--shell-ctrl-h) !important;
    border-radius: var(--shell-radius) !important;
    padding: 0 12px !important;
}

body.theme-primary .shell-fnb-hero--desk {
    background: linear-gradient(120deg, #3d2b1f 0%, #6b4f3a 45%, #c9a227 160%) !important;
}

body.theme-primary .shell-fnb-hero--kitchen {
    background: linear-gradient(120deg, #1a1210 0%, #5c2e1a 50%, #c45c4a 160%) !important;
}

body.theme-primary .shell-desk-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.theme-primary .shell-desk-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--shell-line);
    font-size: 13px;
}

body.theme-primary .shell-desk-list li:last-child {
    border-bottom: 0;
}

body.theme-primary .content-header.shell-fnb-hero h4,
body.theme-primary .content-header.shell-fnb-hero .page-title,
body.theme-primary .content-header.shell-fnb-hero .text-muted,
body.theme-primary .content-header.shell-fnb-hero .role-home-greeting-sub {
    color: #fff !important;
}

body.theme-primary .content-header.shell-fnb-hero .btn-outline-primary {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
}

body.theme-primary .role-home-stat.dashboard-stat-card {
    animation: none !important;
    transform: none !important;
    border-top: none !important;
}

body.theme-primary .role-home-stat.dashboard-stat-card::before {
    display: none !important;
}

body.theme-primary .shell-restaurant-page .table-card {
    background: #fff !important;
    border: 1px solid var(--shell-line) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 28px rgba(14, 14, 35, 0.06) !important;
    padding: 16px !important;
}

body.theme-primary .shell-restaurant-page .kot-column:nth-child(1) .kot-column-header,
body.theme-primary .shell-restaurant-page .kot-column:nth-child(1) .kot-card { border-color: #4A6EB3 !important; color: #4A6EB3; }
body.theme-primary .shell-restaurant-page .kot-column:nth-child(2) .kot-column-header,
body.theme-primary .shell-restaurant-page .kot-column:nth-child(2) .kot-card { border-color: #F9B448 !important; color: #92400e; }
body.theme-primary .shell-restaurant-page .kot-column:nth-child(3) .kot-column-header,
body.theme-primary .shell-restaurant-page .kot-column:nth-child(3) .kot-card { border-color: #259678 !important; color: #166534; }
body.theme-primary .shell-restaurant-page .kot-column:nth-child(4) .kot-column-header,
body.theme-primary .shell-restaurant-page .kot-column:nth-child(4) .kot-card { border-color: #64748b !important; color: #334155; }

body.theme-primary .shell-restaurant-page .kot-column:nth-child(1) .kot-card { border-left-color: #4A6EB3 !important; }
body.theme-primary .shell-restaurant-page .kot-column:nth-child(2) .kot-card { border-left-color: #F9B448 !important; }
body.theme-primary .shell-restaurant-page .kot-column:nth-child(3) .kot-card { border-left-color: #259678 !important; }
body.theme-primary .shell-restaurant-page .kot-column:nth-child(4) .kot-card { border-left-color: #64748b !important; }
