@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');


/* =========================================================
   ROOT / VARIABLES
========================================================= */

:root {
    --b: #20252b;
    --b-dark: #15191e;
    --b-light: #343b43;

    --r: #e4572e;
    --g: #f4b860;
    --g-light: #e6d4ac;

    --i: #fffaf4;
    --ink: #20252b;
    --m: #707780;

    --l: #e7e1d9;
    --s: #f5eee6;

    --white: #ffffff;
    --success: #39745b;
    --success-bg: #e7f3ec;

    --warning: #8b6721;
    --warning-bg: #fbf1dc;

    --danger: #a34e58;
    --danger-bg: #f9e5e7;

    --sidebar-width: 238px;
    --topbar-height: 68px;

    --radius-sm: 9px;
    --radius-md: 12px;
    --radius-lg: 16px;

    --shadow-sm: 0 5px 18px rgba(74, 31, 43, .055);
    --shadow: 0 10px 32px rgba(74, 31, 43, .075);
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #f8f5f2;
    color: var(--ink);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.5;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

a {
    transition: .18s ease;
}

img {
    max-width: 100%;
}


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

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;

    width: var(--sidebar-width);

    background: var(--b);
    color: var(--white);

    padding: 18px 12px;

    z-index: 1050;

    overflow-y: auto;
    overflow-x: hidden;

    box-shadow: 4px 0 25px rgba(36, 26, 29, .08);

    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.18) transparent;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

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

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,.18);
    border-radius: 10px;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 2px 8px 17px;

    border-bottom: 1px solid rgba(255,255,255,.12);
}

.brand-mark {
    width: 37px;
    height: 37px;

    flex: 0 0 37px;

    border-radius: 11px;

    display: grid;
    place-items: center;

    background: linear-gradient(
            135deg,
            var(--g),
            var(--g-light)
    );

    color: var(--b);

    font: 700 19px 'Playfair Display', serif;

    box-shadow: 0 5px 15px rgba(0,0,0,.12);
}

.brand-info {
    min-width: 0;
}

.brand h5 {
    margin: 0;

    color: #fff;

    font: 600 17px 'Playfair Display', serif;

    white-space: nowrap;
}

.brand small {
    display: block;

    margin-top: 1px;

    color: rgba(255,255,255,.55);

    font-size: 10px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-title {
    padding: 17px 9px 6px;

    color: rgba(255,255,255,.42);

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.side-nav a {
    display: flex;
    align-items: center;

    gap: 10px;

    min-height: 35px;

    padding: 7px 10px;

    border-radius: 9px;

    color: rgba(255,255,255,.68);

    text-decoration: none;

    font-size: 12px;
    font-weight: 500;
}

.side-nav a i {
    width: 17px;

    flex: 0 0 17px;

    font-size: 14px;

    text-align: center;
}

.side-nav a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;

    transform: translateX(1px);
}

.side-nav a.active {
    background: rgba(255,255,255,.13);
    color: #fff;

    box-shadow:
            inset 3px 0 0 var(--g),
            0 3px 12px rgba(0,0,0,.07);
}

.side-nav a.active i {
    color: var(--g-light);
}


/* =========================================================
   MAIN
========================================================= */

.main {
    margin-left: var(--sidebar-width);

    min-height: 100vh;

    width: calc(100% - var(--sidebar-width));
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    position: sticky;
    top: 0;

    z-index: 1000;

    height: var(--topbar-height);

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 0 24px;

    background: rgba(255,255,255,.94);

    border-bottom: 1px solid var(--l);

    backdrop-filter: blur(14px);

    box-shadow: 0 6px 22px rgba(36,26,29,.035);
}

.topbar-left {
    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 0;
}


/* =========================================================
   MOBILE TOGGLE
========================================================= */

.mobile-toggle {
    display: none;

    width: 36px;
    height: 36px;

    padding: 0;

    border: 0;
    border-radius: 9px;

    background: var(--s);
    color: var(--b);

    place-items: center;

    font-size: 18px;

    cursor: pointer;
}

.mobile-toggle:hover {
    background: var(--l);
}


/* =========================================================
   SEARCH
========================================================= */

.search {
    width: min(360px, 40vw);

    display: flex;
    align-items: center;

    gap: 7px;

    padding: 8px 11px;

    background: #f6f2f0;

    border: 1px solid var(--l);
    border-radius: 10px;

    transition: .18s ease;
}

.search:focus-within {
    background: #fff;

    border-color: var(--r);

    box-shadow: 0 0 0 3px rgba(166,106,115,.08);
}

.search i {
    color: var(--m);

    font-size: 13px;
}

.search input {
    width: 100%;

    border: 0;
    outline: 0;

    background: transparent;

    color: var(--ink);

    font-size: 12px;
}

.search input::placeholder {
    color: #9b9093;
}


/* =========================================================
   ADMIN USER
========================================================= */

.admin-user {
    display: flex;
    align-items: center;

    gap: 9px;

    flex-shrink: 0;
}

.admin-details strong {
    display: block;

    color: var(--ink);

    font-size: 12px;
    font-weight: 700;

    line-height: 1.2;
}

.admin-details small {
    display: block;

    margin-top: 2px;

    color: var(--m);

    font-size: 10px;
}

.avatar {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--s);
    color: var(--b);

    font-size: 13px;
    font-weight: 700;

    border: 1px solid var(--l);
}

.logout-form {
    margin-left: 2px;
}

.logout-btn {
    width: 34px;
    height: 34px;

    padding: 0;

    display: grid;
    place-items: center;

    border: 1px solid var(--l);
    border-radius: 9px;

    background: #fff;
    color: var(--b);

    cursor: pointer;

    transition: .18s ease;
}

.logout-btn:hover {
    background: var(--b);
    color: #fff;
    border-color: var(--b);
}


/* =========================================================
   PAGE ALERTS
========================================================= */

.page-alert {
    margin: 16px 24px 0;

    padding: 10px 13px;

    border-radius: 10px;

    font-size: 12px;

    border-width: 1px;
}

.page-alert ul {
    font-size: 12px;
}


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

.content {
    padding: 24px;
    max-width: 1800px;
}


/* =========================================================
   PAGE TITLE
========================================================= */

.page-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 19px;
}

.eyebrow {
    color: var(--r);

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.7px;
}

.page-title h1 {
    margin: 4px 0 0;

    color: var(--ink);

    font: 600 27px/1.2 'Playfair Display', serif;
}

.page-title p {
    margin: 5px 0 0;

    color: var(--m);

    font-size: 11px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    font-size: 12px;
    font-weight: 600;
}

.btn-main {
    padding: 9px 13px;

    border: 0;
    border-radius: 9px;

    background: var(--b);
    color: #fff;

    box-shadow: 0 5px 15px rgba(74,31,43,.12);
}

.btn-main:hover,
.btn-main:focus {
    background: var(--b-light);
    color: #fff;

    transform: translateY(-1px);
}

.btn-soft {
    padding: 7px 11px;

    border: 0;
    border-radius: 8px;

    background: var(--s);
    color: var(--b);

    font-size: 11px;
    font-weight: 600;
}

.btn-soft:hover {
    background: var(--l);
    color: var(--b);
}

.btn-outline-dark {
    font-size: 11px;
}


/* =========================================================
   DASHBOARD STAT CARDS
========================================================= */

.row.g-4 {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 14px;
}

.stat {
    height: 100%;

    padding: 16px;

    background: #fff;

    border: 1px solid var(--l);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
            transform .18s ease,
            box-shadow .18s ease;
}

.stat:hover {
    transform: translateY(-2px);

    box-shadow: var(--shadow);
}

.stat .icon {
    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    border-radius: 10px;

    background: var(--s);
    color: var(--b);

    font-size: 16px;
}

.stat h3 {
    margin: 12px 0 2px;

    color: var(--ink);

    font-size: 23px;
    font-weight: 700;

    line-height: 1.2;
}

.stat small {
    color: var(--m);

    font-size: 10px;
    font-weight: 500;
}


/* =========================================================
   CARDS
========================================================= */

.card {
    overflow: hidden;

    background: #fff;

    border: 1px solid var(--l);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}

.card-head {
    min-height: 58px;

    padding: 13px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    border-bottom: 1px solid var(--l);
}

.card-head h5 {
    margin: 0;

    color: var(--ink);

    font-size: 14px;
    font-weight: 700;
}

.card-head small {
    display: block;

    margin-top: 2px;

    font-size: 10px;
}


/* =========================================================
   TABLES
========================================================= */

.table-responsive {
    overflow-x: auto;

    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.table {
    margin: 0;

    width: 100%;

    --bs-table-bg: transparent;
}

.table th {
    padding: 10px 12px;

    background: #fcfaf9;

    border-bottom: 1px solid var(--l);

    color: #8b7c81;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .7px;

    white-space: nowrap;
}

.table td {
    padding: 10px 12px;

    color: #514448;

    border-bottom: 1px solid #f0e9e6;

    vertical-align: middle;

    font-size: 11px;

    white-space: nowrap;
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.table tbody tr {
    transition: background .15s ease;
}

.table tbody tr:hover {
    background: #fcf8f7;
}

.table td b {
    color: var(--ink);
    font-weight: 700;
}

.table td .btn {
    white-space: nowrap;
}


/* =========================================================
   STATUS
========================================================= */

.status {
    display: inline-flex;
    align-items: center;

    padding: 4px 8px;

    border-radius: 999px;

    font-size: 9px;
    font-weight: 700;

    line-height: 1;
}

.status.active,
.status.paid,
.status.delivered,
.status.approved {
    background: var(--success-bg);
    color: var(--success);
}

.status.pending,
.status.processing {
    background: var(--warning-bg);
    color: var(--warning);
}

.status.cancelled,
.status.rejected {
    background: var(--danger-bg);
    color: var(--danger);
}

.badge-soft {
    display: inline-flex;

    padding: 4px 7px;

    border-radius: 6px;

    background: var(--s);
    color: var(--b);

    font-size: 9px;
    font-weight: 700;
}


/* =========================================================
   FILTERS
========================================================= */

.filters {
    display: flex;
    align-items: center;

    gap: 8px;

    flex-wrap: wrap;
}

.filters .form-control,
.filters .form-select {
    min-width: 150px;
}


/* =========================================================
   FORMS
========================================================= */

.form-label {
    margin-bottom: 5px;

    color: #5f5055;

    font-size: 11px;
    font-weight: 700;
}

.form-control,
.form-select {
    min-height: 38px;

    padding: 8px 10px;

    border: 1px solid var(--l);
    border-radius: 9px;

    background: #fff;

    color: var(--ink);

    font-size: 12px;

    box-shadow: none;

    transition: .18s ease;
}

.form-control::placeholder {
    color: #a59b9e;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--r);

    box-shadow: 0 0 0 3px rgba(166,106,115,.10);
}

textarea.form-control {
    min-height: 100px;
}

.input-group-text {
    border-color: var(--l);

    background: #fcfaf9;

    color: var(--m);

    font-size: 12px;
}


/* =========================================================
   DETAIL GRID
========================================================= */

.detail-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   PROFILE
========================================================= */

.profile-cover {
    height: 105px;

    background:
            linear-gradient(
                    120deg,
                    var(--b),
                    #8b5360,
                    var(--g)
            );

    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.big-avatar {
    width: 78px;
    height: 78px;

    margin: -39px 0 9px 20px;

    display: grid;
    place-items: center;

    border: 4px solid #fff;
    border-radius: 50%;

    background: var(--s);
    color: var(--b);

    font-size: 24px;
    font-weight: 700;

    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.profile-meta {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 9px;
}

.meta-box {
    padding: 11px;

    background: #fcfaf9;

    border: 1px solid var(--l);
    border-radius: 10px;
}

.meta-box small {
    display: block;

    margin-bottom: 3px;

    color: var(--m);

    font-size: 9px;
}

.meta-box strong {
    color: var(--ink);

    font-size: 12px;
}


/* =========================================================
   TABS
========================================================= */

.tabs .nav-link,
.profile-tabs .nav-link {
    padding: 8px 12px;

    color: var(--m);

    border: 0;

    font-size: 11px;
}

.tabs .nav-link:hover,
.profile-tabs .nav-link:hover {
    color: var(--b);
}

.tabs .nav-link.active,
.profile-tabs .nav-link.active {
    color: var(--b);

    font-weight: 700;

    border-bottom: 2px solid var(--g);
}

.profile-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
}

.profile-tabs .nav-link {
    white-space: nowrap;
}


/* =========================================================
   TIMELINE
========================================================= */

.timeline {
    padding-left: 18px;

    border-left: 2px solid var(--l);
}

.timeline-item {
    position: relative;

    margin-bottom: 16px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:before {
    content: '';

    position: absolute;

    left: -25px;
    top: 4px;

    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: var(--r);

    border: 2px solid #fff;

    box-shadow: 0 0 0 1px var(--l);
}


/* =========================================================
   KPI
========================================================= */

.kpi {
    color: var(--ink);

    font-size: 20px;
    font-weight: 700;
}


/* =========================================================
   IMAGES
========================================================= */

.mini-img {
    width: 42px;
    height: 42px;

    object-fit: cover;

    border-radius: 9px;

    background: var(--s);

    border: 1px solid var(--l);
}


/* =========================================================
   ACTION BAR
========================================================= */

.actionbar,
.page-actions {
    display: flex;

    align-items: center;

    gap: 7px;

    flex-wrap: wrap;
}


/* =========================================================
   SECTION LABEL
========================================================= */

.section-label {
    margin-bottom: 7px;

    color: var(--r);

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.2px;
}


/* =========================================================
   PERMISSIONS
========================================================= */

.permission-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 8px;
}

.check-card {
    padding: 10px;

    background: #fff;

    border: 1px solid var(--l);
    border-radius: 10px;

    transition: .18s ease;
}

.check-card:hover {
    border-color: var(--r);

    background: #fdfafa;
}


/* =========================================================
   ACTIVITY
========================================================= */

.activity-row {
    display: flex;

    gap: 10px;

    padding: 10px 0;

    border-bottom: 1px solid var(--l);
}

.activity-row:last-child {
    border-bottom: 0;
}

.activity-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    margin-top: 5px;

    border-radius: 50%;

    background: var(--r);
}


/* =========================================================
   LOGIN
========================================================= */

.login-wrap {
    min-height: 100vh;

    display: grid;
    place-items: center;

    padding: 20px;

    background:
            radial-gradient(
                    circle at 15% 20%,
                    #ead3d2,
                    transparent 30%
            ),
            var(--i);
}

.login-card {
    width: min(410px, 94vw);

    padding: 30px;

    background: #fff;

    border: 1px solid var(--l);
    border-radius: 20px;

    box-shadow: var(--shadow);
}


/* =========================================================
   OVERLAY
========================================================= */

.mobile-overlay {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 1040;

    background: rgba(36,26,29,.45);

    backdrop-filter: blur(2px);
}


/* =========================================================
   PAGINATION
========================================================= */

.pagination {
    margin-bottom: 0;
    gap: 3px;
}

.pagination .page-link {
    min-width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    padding: 0 7px;

    border: 1px solid var(--l);

    border-radius: 7px !important;

    color: var(--b);

    font-size: 10px;
}

.pagination .page-item.active .page-link {
    background: var(--b);
    border-color: var(--b);

    color: #fff;
}


/* =========================================================
   DESKTOP LARGE SCREENS
========================================================= */

@media (min-width: 1400px) {

    :root {
        --sidebar-width: 238px;
    }

    .content {
        padding: 25px 28px;
    }

    .stat {
        padding: 17px;
    }

    .stat h3 {
        font-size: 24px;
    }
}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 1199px) {

    .sidebar {
        width: 225px;
    }

    .main {
        margin-left: 225px;
        width: calc(100% - 225px);
    }

    .topbar {
        padding: 0 18px;
    }

    .content {
        padding: 20px;
    }

    .search {
        width: min(320px, 38vw);
    }

    .profile-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .permission-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


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

@media (max-width: 991px) {

    .sidebar {
        width: min(275px, 88vw);

        transform: translateX(-105%);

        transition: transform .25s ease;

        box-shadow: 8px 0 30px rgba(0,0,0,.15);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main {
        width: 100%;
        margin-left: 0;
    }

    .mobile-toggle {
        display: grid;
    }

    .mobile-overlay.show {
        display: block;
    }

    .search {
        width: min(320px, 42vw);
    }

    .content {
        padding: 18px;
    }

    .page-title h1 {
        font-size: 25px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .profile-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .permission-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


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

@media (max-width: 767px) {

    :root {
        --topbar-height: 62px;
    }

    .topbar {
        padding: 0 12px;

        gap: 10px;
    }

    .topbar-left {
        gap: 8px;
    }

    .search {
        display: none;
    }

    .admin-details {
        display: none !important;
    }

    .avatar {
        width: 33px;
        height: 33px;

        flex-basis: 33px;
    }

    .logout-btn {
        width: 33px;
        height: 33px;
    }

    .content {
        padding: 14px;
    }

    .page-alert {
        margin: 12px 14px 0;
    }

    .page-title {
        display: block;

        margin-bottom: 15px;
    }

    .page-title h1 {
        margin-top: 3px;

        font-size: 23px;
    }

    .page-title > .btn-main,
    .page-title .page-actions {
        width: 100%;

        margin-top: 12px;
    }

    .page-title .page-actions .btn,
    .page-title > .btn-main {
        justify-content: center;
    }

    .stat {
        padding: 14px;

        border-radius: 14px;
    }

    .stat .icon {
        width: 35px;
        height: 35px;

        font-size: 15px;
    }

    .stat h3 {
        margin-top: 10px;

        font-size: 21px;
    }

    .card {
        border-radius: 14px;
    }

    .card-head {
        min-height: 52px;

        padding: 12px 13px;
    }

    .card-head h5 {
        font-size: 13px;
    }

    .table th {
        padding: 9px 10px;

        font-size: 8px;
    }

    .table td {
        padding: 9px 10px;

        font-size: 10px;
    }

    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    .filters {
        display: grid;

        grid-template-columns: 1fr;

        width: 100%;
    }

    .filters .form-control,
    .filters .form-select {
        width: 100% !important;
        min-width: 0;
    }

    .detail-grid {
        gap: 10px;
    }

    .profile-cover {
        height: 90px;
    }

    .big-avatar {
        width: 70px;
        height: 70px;

        margin: -35px 0 8px 16px;

        font-size: 22px;
    }

    .profile-meta {
        grid-template-columns: 1fr 1fr;

        gap: 7px;
    }

    .meta-box {
        padding: 9px;
    }

    .meta-box small {
        font-size: 8px;
    }

    .meta-box strong {
        font-size: 11px;
    }

    .permission-grid {
        grid-template-columns: 1fr;
    }

    .actionbar {
        width: 100%;
    }

    .actionbar .btn {
        flex: 1;
    }

    .login-card {
        padding: 24px 20px;

        border-radius: 18px;
    }
}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .content {
        padding: 11px;
    }

    .page-alert {
        margin-left: 11px;
        margin-right: 11px;
    }

    .page-title h1 {
        font-size: 21px;
    }

    .eyebrow {
        font-size: 8px;
    }

    .stat {
        padding: 12px;
    }

    .stat h3 {
        font-size: 20px;
    }

    .stat small {
        font-size: 9px;
    }

    .card-head {
        align-items: flex-start;
    }

    .card-head .btn {
        font-size: 10px;
        padding: 6px 8px;
    }

    .form-control,
    .form-select {
        min-height: 36px;

        padding: 7px 9px;

        font-size: 11px;
    }

    .form-label {
        font-size: 10px;
    }

    .profile-meta {
        grid-template-columns: 1fr 1fr;
    }

    .mini-img {
        width: 36px;
        height: 36px;
    }
}


/* =========================================================
   SMOOTH SCROLL / SELECTION
========================================================= */

::selection {
    background: rgba(166,106,115,.2);
    color: var(--b);
}

```css
       /* =========================================================
          LOGIN PAGE
       ========================================================= */

   .login-page {
       min-height: 100vh;
       margin: 0;
       background:
               radial-gradient(circle at 15% 20%, rgba(201, 169, 120, .14), transparent 28%),
               radial-gradient(circle at 85% 80%, rgba(166, 106, 115, .10), transparent 30%),
               #f8f4ef;
   }

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.login-shell {
    width: 100%;
    max-width: 930px;
    min-height: 570px;
    display: grid;
    grid-template-columns: 43% 57%;
    background: var(--white);
    border: 1px solid rgba(74, 31, 43, .08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(74, 31, 43, .12);
}


/* ---------------------------------------------------------
   BRAND PANEL
--------------------------------------------------------- */

.login-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 42px;
    overflow: hidden;
    color: #fff;
    background:
            radial-gradient(circle at 85% 15%, rgba(201, 169, 120, .20), transparent 25%),
            linear-gradient(145deg, #381620 0%, #4a1f2b 55%, #5c2736 100%);
}

.login-brand-panel::before,
.login-brand-panel::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(201, 169, 120, .12);
    border-radius: 50%;
    pointer-events: none;
}

.login-brand-panel::before {
    width: 270px;
    height: 270px;
    right: -130px;
    bottom: -100px;
}

.login-brand-panel::after {
    width: 150px;
    height: 150px;
    left: -90px;
    top: 55%;
}

.login-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-brand .brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(230, 212, 172, .55);
    border-radius: 11px;
    color: var(--g-light);
    font-family: "Playfair Display", serif;
    font-size: 20px;
    font-weight: 700;
    background: rgba(255,255,255,.06);
}

.login-brand-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.2px;
}

.login-brand-subtitle {
    margin-top: 1px;
    color: rgba(255,255,255,.56);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.login-brand-content {
    position: relative;
    z-index: 2;
    max-width: 310px;
    margin: auto 0;
}

.login-brand-content .eyebrow {
    color: var(--g-light);
}

.login-brand-content h1 {
    margin: 12px 0 16px;
    font-family: "Playfair Display", serif;
    font-size: 36px;
    line-height: 1.18;
    letter-spacing: -.7px;
}

.login-brand-content h1 span {
    display: block;
    color: var(--g-light);
}

.login-brand-content p {
    margin: 0;
    max-width: 290px;
    color: rgba(255,255,255,.66);
    font-size: 12px;
    line-height: 1.8;
}

.login-brand-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.50);
    font-size: 10px;
}

.login-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--g);
    box-shadow: 0 0 0 4px rgba(201,169,120,.10);
}


/* ---------------------------------------------------------
   FORM PANEL
--------------------------------------------------------- */

.login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 58px;
    background: #fff;
}

.login-mobile-brand {
    display: none;
}

.login-form-head {
    margin-bottom: 28px;
}

.login-form-head .eyebrow {
    margin-bottom: 7px;
}

.login-form-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: "Playfair Display", serif;
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: -.5px;
}

.login-form-head p {
    margin: 7px 0 0;
    color: var(--m);
    font-size: 12px;
}


/* ---------------------------------------------------------
   FIELDS
--------------------------------------------------------- */

.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
}

.login-input {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 45px;
    border: 1px solid #e4dad7;
    border-radius: 10px;
    background: #fff;
    transition: .2s ease;
}

.login-input:focus-within {
    border-color: var(--r);
    box-shadow: 0 0 0 3px rgba(166,106,115,.09);
}

.login-input > i:first-child {
    width: 42px;
    flex: 0 0 42px;
    text-align: center;
    color: #a18e92;
    font-size: 14px;
}

.login-input input {
    width: 100%;
    min-width: 0;
    height: 43px;
    padding: 0 12px 0 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 12px;
}

.login-input input::placeholder {
    color: #aaa0a2;
}

.password-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #9a8d90;
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--b);
}


/* ---------------------------------------------------------
   REMEMBER
--------------------------------------------------------- */

.login-options {
    margin: 2px 0 22px;
}

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

.remember-box input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.remember-check {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9cecb;
    border-radius: 4px;
    color: #fff;
    font-size: 10px;
    transition: .18s ease;
}

.remember-box input:checked + .remember-check {
    border-color: var(--b);
    background: var(--b);
}

.remember-box input:checked + .remember-check i {
    display: block;
}


/* ---------------------------------------------------------
   BUTTON
--------------------------------------------------------- */

.login-submit {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--b), var(--b-light));
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(74,31,43,.18);
    transition: .2s ease;
}

.login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 25px rgba(74,31,43,.22);
}

.login-submit i {
    font-size: 14px;
    transition: .2s ease;
}

.login-submit:hover i {
    transform: translateX(3px);
}


/* ---------------------------------------------------------
   ERROR
--------------------------------------------------------- */

.login-alert {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    padding: 11px 12px;
    border: 1px solid #f0cdd1;
    border-radius: 9px;
    background: #fff3f4;
    color: var(--danger);
    font-size: 10px;
    line-height: 1.55;
}

.login-alert > i {
    margin-top: 1px;
    font-size: 13px;
}


/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
    color: #aaa0a2;
    font-size: 9px;
}

.login-footer i {
    color: var(--success);
    font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .login-wrap {
        padding: 22px;
    }

    .login-shell {
        max-width: 760px;
        grid-template-columns: 40% 60%;
        min-height: 520px;
    }

    .login-brand-panel {
        padding: 34px;
    }

    .login-brand-content h1 {
        font-size: 29px;
    }

    .login-form-panel {
        padding: 38px 40px;
    }

}


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

@media (max-width: 767px) {

    .login-page {
        background:
                radial-gradient(circle at 10% 10%, rgba(201,169,120,.12), transparent 30%),
                #f8f4ef;
    }

    .login-wrap {
        min-height: 100vh;
        padding: 16px;
    }

    .login-shell {
        display: block;
        width: 100%;
        max-width: 460px;
        min-height: auto;
        border-radius: 18px;
    }

    .login-brand-panel {
        display: none;
    }

    .login-form-panel {
        min-height: calc(100vh - 32px);
        justify-content: center;
        padding: 30px 24px;
    }

    .login-mobile-brand {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 35px;
    }

    .login-mobile-brand .brand-mark {
        width: 39px;
        height: 39px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: var(--b);
        color: var(--g-light);
        font-family: "Playfair Display", serif;
        font-size: 18px;
        font-weight: 700;
        box-shadow: 0 7px 18px rgba(74,31,43,.16);
    }

    .login-mobile-brand .login-brand-title {
        color: var(--ink);
        text-align: left;
    }

    .login-mobile-brand .login-brand-subtitle {
        color: var(--m);
        text-align: left;
    }

    .login-form-head {
        margin-bottom: 24px;
        text-align: center;
    }

    .login-form-head h2 {
        font-size: 28px;
    }

    .login-form-head p {
        font-size: 11px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .login-wrap {
        padding: 10px;
    }

    .login-shell {
        border-radius: 16px;
    }

    .login-form-panel {
        min-height: calc(100vh - 20px);
        padding: 25px 19px;
    }

    .login-mobile-brand {
        margin-bottom: 28px;
    }

    .login-form-head h2 {
        font-size: 26px;
    }

    .login-field {
        margin-bottom: 15px;
    }

    .login-input {
        min-height: 43px;
    }

    .login-input input {
        height: 41px;
        font-size: 11px;
    }

    .login-submit {
        min-height: 44px;
    }

}
```


/* =========================================================
   INDEX / TABLE RESPONSIVENESS + FILTER TOOLBAR
   ========================================================= */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.table-responsive > .table {
  min-width: 720px;
  margin-bottom: 0;
}

.index-toolbar,
.filters,
.card-head form,
.content form.d-flex,
.content form.row {
  max-width: 100%;
}

@media (max-width: 767.98px) {
  .content {
    padding: 14px 10px !important;
  }

  .card-head {
    gap: 10px;
    flex-wrap: wrap;
  }

  .card-head h5,
  .card-head h4,
  .card-head h3 {
    margin-bottom: 0;
  }

  .filters,
  .index-toolbar,
  .card-head form {
    width: 100%;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .filters > *,
  .index-toolbar > *,
  .card-head form > * {
    min-width: 0;
    flex: 1 1 145px;
  }

  .filters .btn,
  .index-toolbar .btn,
  .card-head form .btn {
    flex: 0 0 auto;
  }

  .table-responsive {
    margin-left: -2px;
    margin-right: -2px;
    border-radius: 10px;
  }

  .table-responsive > .table {
    min-width: 680px;
  }

  .table th,
  .table td {
    white-space: nowrap;
    vertical-align: middle;
  }

  .table td .btn,
  .table th .btn {
    padding: .28rem .48rem;
    font-size: .78rem;
  }

  .pagination {
    flex-wrap: wrap;
    gap: 3px;
  }

  .pagination .page-link {
    padding: .3rem .55rem;
    font-size: .78rem;
  }

  .page-alert {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 420px) {
  .filters > *,
  .index-toolbar > *,
  .card-head form > * {
    flex-basis: 100%;
  }

  .filters .btn,
  .index-toolbar .btn,
  .card-head form .btn {
    width: 100%;
  }

  .table-responsive > .table {
    min-width: 620px;
  }
}

/* KHAANZA FOOD ADMIN THEME */
:root{--k-orange:#f05a28;--k-red:#b82d25;--k-ink:#171514;--k-bg:#f7f4f0;--k-line:#e9e0d7}
body{background:var(--k-bg)!important;font-family:'DM Sans',sans-serif!important}.sidebar{background:#171514!important;color:#fff!important}.sidebar .brand-mark{background:linear-gradient(135deg,var(--k-orange),var(--k-red))!important}.sidebar .brand-info h5{color:#fff!important}.sidebar .nav-title{color:#8f837b!important}.side-nav a.active{background:#2a211e!important;color:#ff9a6c!important;border-left:3px solid var(--k-orange)!important}.side-nav a:hover{background:#241d1a!important}.topbar{background:rgba(255,255,255,.96)!important;border-bottom:1px solid var(--k-line)!important}.search{background:#faf7f3!important;border-color:var(--k-line)!important}.content .page-title h1{font-family:'Manrope',sans-serif!important;font-weight:800!important;letter-spacing:-1px}.card,.product-card,.table-card{border-color:var(--k-line)!important;box-shadow:0 8px 28px rgba(35,20,10,.04)!important;border-radius:16px!important}.btn-main,.btn-primary{background:var(--k-orange)!important;border-color:var(--k-orange)!important}.btn-main:hover,.btn-primary:hover{background:#d9481d!important}.badge.bg-success{background:#27845b!important}.food-ingredient-row{display:grid;grid-template-columns:1fr 120px 110px;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--k-line)}.ingredient-food-list{border:1px solid var(--k-line);border-radius:12px;padding:8px 14px;background:#fff}.food-ingredient-row .form-check{margin:0}.food-ingredient-row .form-control{border-radius:9px}@media(max-width:700px){.food-ingredient-row{grid-template-columns:1fr}.ingredient-qty,.ingredient-unit{width:100%}}


/* =========================================================
   PREMIUM KHAANZA ADMIN POLISH
========================================================= */
:root{
  --k-orange:#f05a28;
  --k-red:#b82d25;
  --k-cream:#fffaf5;
  --k-border:#eadfd5;
  --k-muted:#877a72;
}
body{background:linear-gradient(135deg,#fbf8f4 0%,#f5eee8 100%)!important;letter-spacing:-.01em}
.sidebar{background:linear-gradient(180deg,#171514 0%,#211916 100%)!important}
.brand{padding-bottom:20px!important}
.brand-mark{box-shadow:0 8px 22px rgba(240,90,40,.25)!important}
.topbar{box-shadow:0 10px 30px rgba(43,25,16,.055)!important}
.content{padding-top:28px!important}
.page-title h1{font-size:clamp(24px,2.4vw,34px)!important}
.card,.stat,.product-card,.table-card{background:rgba(255,255,255,.94)!important;border:1px solid var(--k-border)!important;box-shadow:0 12px 35px rgba(45,25,14,.055)!important}
.card-head,.card-header-custom{border-bottom:1px solid var(--k-border)!important}
.form-control,.form-select{border:1px solid #e4d8ce!important;border-radius:11px!important;min-height:42px!important;background:#fffdfb!important}
.form-control:focus,.form-select:focus{border-color:var(--k-orange)!important;box-shadow:0 0 0 4px rgba(240,90,40,.10)!important}
.btn{border-radius:10px!important;transition:transform .18s ease,box-shadow .18s ease,background .18s ease!important}
.btn-main,.btn-primary{box-shadow:0 8px 18px rgba(240,90,40,.18)!important}
.btn-main:hover,.btn-primary:hover{transform:translateY(-2px)!important;box-shadow:0 12px 24px rgba(240,90,40,.24)!important}
.btn-soft{border:1px solid var(--k-border)!important;background:#fff8f2!important}
.table{--bs-table-bg:transparent!important}
.table thead th{background:#fff8f2!important;color:#8c7669!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.8px!important;border-bottom:1px solid var(--k-border)!important}
.table tbody tr{border-color:#f0e7df!important}
.table tbody tr:hover{background:#fffaf6!important}
.badge{border-radius:999px!important;padding:.42em .7em!important}
.page-alert{border-radius:13px!important;box-shadow:0 8px 24px rgba(45,25,14,.04)!important}
.image-upload-button{border:1px dashed #e1b6a5!important;background:#fff8f3!important;border-radius:12px!important;padding:12px!important;display:flex!important;justify-content:center!important;align-items:center!important;color:var(--k-orange)!important;font-weight:700!important;cursor:pointer!important}
.main-image-preview{border:1px solid var(--k-border)!important;border-radius:15px!important;background:linear-gradient(135deg,#fffaf6,#f5e9df)!important;overflow:hidden!important}
@media(max-width:991.98px){
  :root{--sidebar-width:250px}
  .sidebar{transform:translateX(-105%);transition:transform .25s ease;box-shadow:12px 0 40px rgba(0,0,0,.18)!important}
  .sidebar.open{transform:translateX(0)}
  .main{margin-left:0!important;width:100%!important}
  .mobile-toggle{display:grid!important}
  .mobile-overlay{display:block;position:fixed;inset:0;background:rgba(18,12,9,.42);backdrop-filter:blur(2px);z-index:1040;opacity:0;pointer-events:none;transition:opacity .25s ease}
  .mobile-overlay.open{opacity:1;pointer-events:auto}
  .topbar{padding:0 14px!important;gap:10px!important}
  .search{width:min(52vw,360px)!important}
}
@media(max-width:575.98px){
  .topbar{height:62px!important}
  .admin-user{gap:5px!important}
  .search{width:calc(100vw - 150px)!important;max-width:none!important}
  .content{padding:18px 12px!important}
  .page-title{align-items:flex-start!important;flex-direction:column!important}
  .page-actions,.page-actions .btn{width:100%!important}
  .page-actions .btn{justify-content:center!important}
  .card-head{padding:15px!important}
  .card-body,.card .p-4{padding:16px!important}
  .stat{padding:14px!important}
  .stat h3{font-size:22px!important}
}


/* =========================================================
   KHAANZA ORANGE REFRESH
========================================================= */
:root {
    --b: #251b16;
    --b-dark: #17100c;
    --b-light: #4b3428;
    --r: #f47b20;
    --g: #ffb45c;
    --g-light: #ffe0bd;
    --i: #fffaf5;
    --ink: #2b211b;
    --m: #8b776b;
    --l: #f0ded0;
    --s: #fff5ed;
    --success: #2f7d54;
    --shadow-sm: 0 8px 24px rgba(120, 63, 20, .07);
    --shadow: 0 16px 42px rgba(120, 63, 20, .11);
}
body { background: linear-gradient(135deg, #fffaf6 0%, #fff4ea 100%); }
.sidebar { background: linear-gradient(180deg, #2b1b14 0%, #1c120d 100%); border-right: 1px solid rgba(255,180,92,.18); }
.brand-mark, .btn-main, .pagination .page-item.active .page-link { background: linear-gradient(135deg, #f47b20, #d9570b) !important; border-color: #f47b20 !important; }
.side-nav a.active, .side-nav a:hover { color: #fff !important; background: rgba(244,123,32,.18) !important; border-left-color: #ffad5c !important; }
.btn-main { color: #fff !important; box-shadow: 0 6px 15px rgba(244,123,32,.22); }
.btn-main:hover { transform: translateY(-1px); filter: brightness(.96); }
.btn-soft:hover { color: #c9540b !important; border-color: #f47b20 !important; background: #fff0e3 !important; }
.card, .login-card, .login-shell { border-color: #f0ded0 !important; box-shadow: var(--shadow); }
.card-head { background: linear-gradient(90deg, #fff8f2, #fff); }
.table thead th { color: #a34e19; background: #fff4e9; }
.form-control:focus, .form-select:focus { border-color: #f47b20 !important; box-shadow: 0 0 0 .2rem rgba(244,123,32,.15) !important; }
.eyebrow { color: #d45f12 !important; letter-spacing: .14em; }
.login-brand-panel { background: radial-gradient(circle at 20% 20%, #f99a4b 0%, #b84c0a 38%, #2b1b14 100%) !important; }
.login-brand-panel h1 span { color: #ffd1a5 !important; }
.status { background: #fff0df !important; color: #b84c0a !important; border-color: #ffd0a7 !important; }
.pagination .page-link:hover { color: #c9540b !important; border-color: #f47b20 !important; }
