@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: #4a1f2b;
    --b-dark: #381620;
    --b-light: #632b3a;

    --r: #a66a73;
    --g: #c9a978;
    --g-light: #e6d4ac;

    --i: #faf7f2;
    --ink: #241a1d;
    --m: #75696d;

    --l: #eadfdb;
    --s: #f3e8e6;

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

}
```
