/* ============================================================

   BOUNCE BACK REWARDS
   ADMIN CONTROL PANEL

============================================================ */


:root {

    --maroon: #7b0026;
    --maroon-dark: #570019;
    --maroon-deep: #390011;

    --charcoal: #24272a;
    --charcoal-dark: #17191b;

    --text: #2b2e31;
    --muted: #707579;

    --workspace: #f1f2f3;
    --panel: #ffffff;

    --border: #d7d9db;
    --border-light: #e7e8e9;

    --green: #34734f;
    --green-bg: #e8f3ec;

    --yellow: #8b681a;
    --yellow-bg: #fbf2d8;

    --red: #8e2948;
    --red-bg: #f7e9ee;

}


/* ============================================================
   RESET
============================================================ */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    color: var(--text);
    background: var(--workspace);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;

    -webkit-font-smoothing: antialiased;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
select {
    font: inherit;
}

html.admin-auth-checking body {
    visibility: hidden;
}

/* ============================================================
   TOP BRAND BAR
============================================================ */

.admin-brand-bar {
    height: 16px;

    background:
        linear-gradient(
            90deg,
            var(--maroon-deep),
            var(--maroon),
            var(--maroon-dark)
        );
}


/* ============================================================
   HEADER
============================================================ */

.admin-header {
    position: relative;

    z-index: 1000;

    display: grid;

    grid-template-columns:
        270px
        minmax(0, 1fr)
        215px;

    min-height: 92px;

    border-bottom:
        1px solid
        #cfd1d2;

    background: white;
}


/* ============================================================
   BRAND
============================================================ */

.admin-brand {
    display: flex;
    align-items: center;

    padding:
        10px 25px;

    border-right:
        1px solid
        #e0e1e2;

    background: #fafafa;
}

.admin-brand img {
    display: block;

    width: 190px;
    max-height: 68px;

    object-fit: contain;
}


/* ============================================================
   MAIN NAVIGATION
============================================================ */

.admin-main-nav {
    display: flex;
    align-items: stretch;

    overflow: hidden;
}

.admin-main-nav-link {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 6px;

    flex: 1 1 95px;

    min-width: 78px;
    max-width: 120px;

    padding:
        10px 8px
        8px;

    border-right:
        1px solid
        #eeeeef;

    color: #5f6468;
    background: white;

    font-size: 13px;
    font-weight: 600;

    transition:
        color .15s ease,
        background .15s ease;
}

.admin-main-nav-link:hover {
    color: var(--maroon);

    background: #faf7f8;
}

.admin-main-nav-link.active {
    color: white;

    background:
        linear-gradient(
            180deg,
            var(--maroon),
            var(--maroon-dark)
        );
}

.admin-main-nav-link.active::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 4px;

    background: #b8496b;
}


/* ICON */

.nav-icon {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;
}

.nav-icon svg {
    width: 31px;
    height: 31px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ============================================================
   USER AREA
============================================================ */

.admin-user-area {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 11px;

    padding:
        10px 20px;

    border-left:
        1px solid
        #e0e1e2;

    background: #fafafa;
}

.admin-user-copy {
    display: flex;
    flex-direction: column;

    text-align: right;
}

.admin-user-copy > span {
    color: #8b8f92;

    font-size: 11px;
}

.admin-user-copy strong {
    margin-top: 2px;

    color: var(--charcoal);

    font-size: 14px;
}

.admin-user-copy small {
    margin-top: 1px;

    color: #7c8083;

    font-size: 10px;
}

.admin-user-button {
    display: flex;
    align-items: center;

    gap: 6px;

    padding: 0;

    border: 0;

    color: #777b7e;
    background: transparent;

    cursor: pointer;
}

.admin-avatar {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    color: white;
    background: var(--maroon);

    font-size: 12px;
    font-weight: 700;
}

.admin-user-chevron {
    font-size: 25px;
}


/* ============================================================
   USER DROPDOWN
============================================================ */

.admin-user-menu {
    position: absolute;

    z-index: 1200;

    top: calc(100% - 7px);
    right: 18px;

    display: none;

    width: 220px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 6px;

    background: white;

    box-shadow:
        0 12px 35px
        rgba(0,0,0,.13);
}

.admin-user-menu.active {
    display: block;
}

.admin-user-menu-heading {
    padding:
        15px 17px;

    border-bottom:
        1px solid
        var(--border-light);

    background: #fafafa;
}

.admin-user-menu-heading strong {
    display: block;

    font-size: 14px;
}

.admin-user-menu-heading span {
    display: block;

    margin-top: 2px;

    color: #8b8f92;

    font-size: 11px;
}

.admin-user-menu a,
.admin-user-menu button {
    display: block;

    width: 100%;

    padding:
        12px 17px;

    border: 0;
    border-bottom:
        1px solid
        var(--border-light);

    color: #555a5e;
    background: white;

    font-size: 12px;

    text-align: left;

    cursor: pointer;
}

.admin-user-menu a:hover,
.admin-user-menu button:hover {
    color: var(--maroon);

    background: #faf7f8;
}


/* ============================================================
   SUB BAR
============================================================ */

.admin-subbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 46px;

    padding:
        0 25px;

    border-bottom:
        4px solid
        var(--maroon);

    color: #696e72;
    background: #f7f7f7;

    font-size: 12px;
}

.admin-subbar-left {
    display: flex;
    align-items: center;

    gap: 12px;
}

.admin-location {
    color: var(--maroon);

    font-weight: 700;
}

.admin-subbar-divider {
    width: 1px;
    height: 16px;

    background: #d3d5d6;
}

.admin-subbar-actions {
    display: flex;
    align-items: center;

    gap: 8px;
}

.admin-subbar-actions a {
    padding:
        6px 11px;

    border:
        1px solid
        #cfd1d2;

    border-radius: 4px;

    color: #555a5e;
    background: white;

    font-size: 11px;
    font-weight: 600;
}

.admin-subbar-actions a:last-child {
    border-color: var(--maroon);

    color: white;
    background: var(--maroon);
}


/* ============================================================
   MOBILE BUTTON
============================================================ */

.admin-mobile-button {
    display: none;

    width: 46px;
    height: 46px;

    margin: auto 18px auto 0;

    padding: 10px;

    border: 0;

    background: transparent;

    cursor: pointer;
}

.admin-mobile-button span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px 0;

    background: var(--charcoal);
}


/* ============================================================
   MOBILE NAV
============================================================ */

.admin-mobile-nav {
    display: none;

    border-bottom:
        4px solid
        var(--maroon);

    background: white;
}

.admin-mobile-nav.active {
    display: block;
}

.admin-mobile-nav a {
    display: block;

    padding:
        14px 20px;

    border-bottom:
        1px solid
        var(--border-light);

    color: #555a5e;

    font-size: 14px;
    font-weight: 600;
}

.admin-mobile-nav a.active {
    color: var(--maroon);

    background: #faf5f7;
}


/* ============================================================
   WORKSPACE
============================================================ */

.admin-workspace {
    width: 100%;

    padding:
        28px 28px
        60px;
}


/* ============================================================
   PAGE HEADING
============================================================ */

.admin-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 22px;
}

.page-eyebrow {
    display: block;

    margin-bottom: 3px;

    color: var(--maroon);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .8px;
}

.admin-page-heading h1 {
    margin: 0;

    color: var(--charcoal);

    font-size: 28px;

    letter-spacing: -.5px;
}

.admin-page-heading p {
    margin:
        5px 0
        0;

    color: var(--muted);

    font-size: 14px;
}

.program-status {
    display: flex;
    align-items: center;

    gap: 8px;

    padding:
        9px 13px;

    border:
        1px solid
        #cfe0d5;

    border-radius: 5px;

    color: var(--green);
    background: #f4faf6;

    font-size: 12px;
    font-weight: 700;
}

.program-status > span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #3d845c;
}


/* ============================================================
   STATS
============================================================ */

.dashboard-stats {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

    margin-bottom: 20px;
}

.dashboard-stat {
    display: flex;
    align-items: center;

    gap: 16px;

    min-height: 120px;

    padding:
        20px 21px;

    border:
        1px solid
        var(--border);

    border-top:
        7px solid
        #c8cacc;

    background: white;

    box-shadow:
        0 2px 5px
        rgba(0,0,0,.025);

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.dashboard-stat:hover {
    border-top-color: var(--maroon);

    box-shadow:
        0 7px 18px
        rgba(0,0,0,.07);
}

.dashboard-stat-icon {
    display: grid;
    place-items: center;

    flex: 0 0 51px;

    width: 51px;
    height: 51px;

    border-radius: 50%;

    color: #5f6569;
    background: #eff0f1;
}

.dashboard-stat-icon svg {
    width: 26px;
    height: 26px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-stat-icon.rewards {
    color: var(--maroon);
    background: var(--red-bg);
}

.dashboard-stat-icon.pending {
    color: var(--yellow);
    background: var(--yellow-bg);
}

.dashboard-stat-icon.used {
    color: var(--green);
    background: var(--green-bg);
}

.dashboard-stat > div:last-child {
    min-width: 0;
}

.dashboard-stat div > span {
    display: block;

    margin-bottom: 4px;

    color: #7a7f82;

    font-size: 12px;
    font-weight: 700;
}

.dashboard-stat div > strong {
    display: block;

    overflow: hidden;

    color: var(--charcoal);

    font-size: 28px;

    letter-spacing: -.6px;

    text-overflow: ellipsis;
}

.dashboard-stat small {
    display: block;

    margin-top: 4px;

    color: #929699;

    font-size: 11px;
}


/* ============================================================
   DASHBOARD GRID
============================================================ */

.dashboard-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.55fr)
        minmax(340px, .75fr);

    gap: 20px;

    align-items: start;
}


/* ============================================================
   WIDGET
============================================================ */

.admin-widget {
    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-top:
        10px solid
        #c9cbcc;

    background: white;

    box-shadow:
        0 2px 6px
        rgba(0,0,0,.025);
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 75px;

    padding:
        15px 21px;

    border-bottom:
        1px solid
        var(--border-light);
}

.widget-eyebrow {
    display: block;

    margin-bottom: 2px;

    color: var(--maroon);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .7px;
}

.widget-header h2 {
    margin: 0;

    color: #62676a;

    font-size: 21px;
    font-weight: 500;
}

.widget-header > a {
    padding:
        7px 11px;

    border:
        1px solid
        #d3d5d6;

    border-radius: 4px;

    color: #5d6265;
    background: #fafafa;

    font-size: 11px;
    font-weight: 700;
}

.widget-header > a:hover {
    color: var(--maroon);

    border-color: #cba3af;
}


/* ============================================================
   ACTIVITY
============================================================ */

.activity-row {
    display: grid;

    grid-template-columns:
        42px
        minmax(150px, .8fr)
        minmax(220px, 1.25fr)
        105px;

    gap: 15px;

    align-items: center;

    min-height: 86px;

    padding:
        13px 20px;

    border-bottom:
        1px solid
        var(--border-light);
}

.activity-row:last-child {
    border-bottom: 0;
}

.activity-row:hover {
    background: #fbfbfb;
}

.activity-type {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 700;
}

.activity-type.earned {
    color: var(--green);
    background: var(--green-bg);
}

.activity-type.pending {
    color: var(--yellow);
    background: var(--yellow-bg);
}

.activity-type.used {
    color: var(--maroon);
    background: var(--red-bg);
}

.activity-type.adjustment {
    color: #4f647a;
    background: #eaf0f5;
}

.activity-type.referral {
    color: var(--maroon);
    background: var(--red-bg);
}

.activity-person strong,
.activity-order strong {
    display: block;

    overflow: hidden;

    color: var(--charcoal);

    font-size: 13px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-person span,
.activity-order span {
    display: block;

    overflow: hidden;

    margin-top: 4px;

    color: #929699;

    font-size: 11px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-value {
    text-align: right;
}

.activity-value strong {
    display: block;

    font-size: 14px;
}

.activity-value span {
    display: block;

    margin-top: 3px;

    color: #979a9d;

    font-size: 10px;
}

.activity-value.earned strong {
    color: var(--green);
}

.activity-value.pending strong {
    color: var(--yellow);
}

.activity-value.used strong {
    color: var(--maroon);
}


/* ============================================================
   QUICK ACTIONS
============================================================ */

.quick-action-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);
}

.quick-action-grid > a {
    display: flex;
    align-items: center;

    gap: 12px;

    min-height: 105px;

    padding:
        17px;

    border-right:
        1px solid
        var(--border-light);

    border-bottom:
        1px solid
        var(--border-light);
}

.quick-action-grid > a:nth-child(2n) {
    border-right: 0;
}

.quick-action-grid > a:nth-last-child(-n+2) {
    border-bottom: 0;
}

.quick-action-grid > a:hover {
    background: #fafafa;
}

.quick-icon {
    display: grid;
    place-items: center;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    color: var(--maroon);
    background: #f7eaee;

    font-size: 14px;
    font-weight: 700;
}

.quick-action-grid strong {
    display: block;

    color: var(--charcoal);

    font-size: 13px;
}

.quick-action-grid div span {
    display: block;

    margin-top: 4px;

    color: #919598;

    font-size: 11px;

    line-height: 1.4;
}


/* ============================================================
   UPCOMING
============================================================ */

.upcoming-widget {
    grid-column:
        1 / -1;
}


/* ============================================================
   TABLE
============================================================ */

.table-scroll {
    overflow-x: auto;
}

.admin-table {
    width: 100%;

    border-collapse: collapse;

    white-space: nowrap;
}

.admin-table th {
    padding:
        13px 16px;

    border-bottom:
        1px solid
        var(--border);

    color: #74797c;
    background: #f2f3f3;

    font-size: 11px;
    font-weight: 700;

    text-align: left;
}

.admin-table td {
    padding:
        17px 16px;

    border-bottom:
        1px solid
        var(--border-light);

    color: #5f6467;

    font-size: 12px;
}

.admin-table tbody tr:last-child td {
    border-bottom: 0;
}

.admin-table tbody tr:hover {
    background: #fafafa;
}

.admin-table td strong {
    color: var(--charcoal);

    font-size: 12px;
}

.table-reward {
    color: var(--green) !important;

    font-weight: 700;
}

.table-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 29px;

    padding:
        0 10px;

    border:
        1px solid
        #d1d3d4;

    border-radius: 4px;

    color: var(--maroon);

    font-size: 11px;
    font-weight: 700;
}


/* ============================================================
   STATUS
============================================================ */

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding:
        0 10px;

    border-radius: 14px;

    font-size: 10px;
    font-weight: 700;
}

.status-pill.pending {
    color: var(--yellow);
    background: var(--yellow-bg);
}

.status-pill.complete {
    color: var(--green);
    background: var(--green-bg);
}


/* ============================================================
   PROGRAM SUMMARY
============================================================ */

.program-summary {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);
}

.program-summary > div {
    min-height: 112px;

    padding:
        20px;

    border-right:
        1px solid
        var(--border-light);

    border-bottom:
        1px solid
        var(--border-light);
}

.program-summary > div:nth-child(2n) {
    border-right: 0;
}

.program-summary > div:nth-last-child(-n+2) {
    border-bottom: 0;
}

.program-summary span {
    display: block;

    margin-bottom: 6px;

    color: #7d8285;

    font-size: 11px;
    font-weight: 700;
}

.program-summary strong {
    display: block;

    color: var(--charcoal);

    font-size: 23px;
}

.program-summary small {
    display: block;

    margin-top: 4px;

    color: #969a9d;

    font-size: 10px;
}


/* ============================================================
   REFERRALS
============================================================ */

.referral-admin-row {
    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr)
        auto;

    gap: 12px;

    align-items: center;

    min-height: 77px;

    padding:
        13px 18px;

    border-bottom:
        1px solid
        var(--border-light);
}

.referral-admin-row:last-child {
    border-bottom: 0;
}

.referral-admin-avatar {
    display: grid;
    place-items: center;

    width: 39px;
    height: 39px;

    border-radius: 50%;

    color: white;
    background: var(--charcoal);

    font-size: 10px;
    font-weight: 700;
}

.referral-admin-row strong {
    display: block;

    color: var(--charcoal);

    font-size: 13px;
}

.referral-admin-row div span {
    display: block;

    margin-top: 3px;

    color: #94989b;

    font-size: 11px;
}


/* ============================================================
   SYSTEM
============================================================ */

.system-list {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);
}

.system-list > div {
    display: flex;
    align-items: center;

    gap: 12px;

    min-height: 84px;

    padding:
        17px 19px;

    border-right:
        1px solid
        var(--border-light);

    border-bottom:
        1px solid
        var(--border-light);
}

.system-list > div:nth-child(2n) {
    border-right: 0;
}

.system-list > div:nth-last-child(-n+2) {
    border-bottom: 0;
}

.system-dot {
    flex: 0 0 9px;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #43835d;

    box-shadow:
        0 0 0 4px
        #e6f1ea;
}

.system-list strong {
    display: block;

    color: var(--charcoal);

    font-size: 12px;
}

.system-list div div span {
    display: block;

    margin-top: 3px;

    color: #8d9194;

    font-size: 10px;
}


/* ============================================================
   RESPONSIVE - HEADER
============================================================ */

@media (max-width: 1200px) {

    .admin-header {
        grid-template-columns:
            225px
            minmax(0, 1fr)
            185px;
    }

    .admin-brand img {
        width: 165px;
    }

    .admin-main-nav-link {
        min-width: 68px;

        font-size: 11px;
    }

    .nav-icon svg {
        width: 27px;
        height: 27px;
    }

    .admin-user-copy > span {
        display: none;
    }

}


/* ============================================================
   RESPONSIVE - TABLET
============================================================ */

@media (max-width: 1000px) {

    .admin-header {
        display: flex;
        align-items: center;
        justify-content: space-between;

        min-height: 82px;
    }

    .admin-brand {
        min-width: 220px;
        height: 82px;
    }

    .admin-main-nav {
        display: none;
    }

    .admin-user-area {
        margin-left: auto;

        border-left: 0;
        background: white;
    }

    .admin-mobile-button {
        display: block;
    }

    .dashboard-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .upcoming-widget {
        grid-column: auto;
    }

}


/* ============================================================
   RESPONSIVE - MOBILE
============================================================ */

@media (max-width: 700px) {

    .admin-brand-bar {
        height: 10px;
    }

    .admin-header {
        min-height: 72px;
    }

    .admin-brand {
        min-width: 0;
        height: 72px;

        padding:
            8px 16px;

        border-right: 0;
    }

    .admin-brand img {
        width: 145px;
    }

    .admin-user-copy {
        display: none;
    }

    .admin-avatar {
        width: 38px;
        height: 38px;
    }

    .admin-subbar {
        display: none;
    }

    .admin-workspace {
        padding:
            23px 16px
            45px;
    }

    .admin-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-page-heading h1 {
        font-size: 25px;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-stat {
        min-height: 105px;
    }

    .dashboard-stat div > strong {
        font-size: 26px;
    }

    .activity-row {
        grid-template-columns:
            40px
            minmax(0, 1fr)
            auto;

        gap: 11px;

        padding:
            16px;
    }

    .activity-order {
        grid-column:
            2 / -1;

        padding-top: 3px;
    }

    .activity-value {
        grid-column: 3;
        grid-row: 1;

        align-self: center;
    }

    .quick-action-grid {
        grid-template-columns: 1fr;
    }

    .quick-action-grid > a {
        min-height: 82px;

        border-right: 0;
        border-bottom:
            1px solid
            var(--border-light) !important;
    }

    .quick-action-grid > a:last-child {
        border-bottom: 0 !important;
    }

    .program-summary {
        grid-template-columns: 1fr;
    }

    .program-summary > div {
        border-right: 0;
        border-bottom:
            1px solid
            var(--border-light) !important;
    }

    .program-summary > div:last-child {
        border-bottom: 0 !important;
    }

    .system-list {
        grid-template-columns: 1fr;
    }

    .system-list > div {
        border-right: 0;
        border-bottom:
            1px solid
            var(--border-light) !important;
    }

    .system-list > div:last-child {
        border-bottom: 0 !important;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 430px) {

    .admin-brand img {
        width: 125px;
    }

    .admin-user-area {
        padding:
            8px 3px;
    }

    .admin-mobile-button {
        margin-right: 8px;
    }

    .widget-header {
        padding:
            14px 16px;
    }

    .widget-header h2 {
        font-size: 19px;
    }

}

/* ============================================================

   CUSTOMERS PAGE

============================================================ */


/* ============================================================
   HEADING ACTIONS
============================================================ */

.customer-heading-actions {
    display: flex;
    align-items: center;

    gap: 9px;
}

.customer-heading-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding:
        0 15px;

    border:
        1px solid
        var(--border);

    border-radius: 4px;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.customer-heading-button.secondary {
    color: #5d6265;
    background: white;
}

.customer-heading-button.primary {
    border-color:
        var(--maroon);

    color: white;
    background:
        var(--maroon);
}

.customer-heading-button.primary:hover {
    background:
        var(--maroon-dark);
}


/* ============================================================
   CUSTOMER SUMMARY
============================================================ */

.customer-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;

    margin-bottom: 20px;
}

.customer-summary-card {
    position: relative;

    min-height: 106px;

    padding:
        17px 19px;

    border:
        1px solid
        var(--border);

    border-top:
        6px solid
        #c8cacc;

    color: inherit;
    background: white;

    font-family: inherit;

    text-align: left;

    cursor: pointer;

    transition:
        border-color .15s ease,
        background .15s ease;
}

.customer-summary-card:hover {
    border-top-color:
        #a5a8aa;

    background:
        #fdfdfd;
}

.customer-summary-card.active {
    border-top-color:
        var(--maroon);

    background:
        #fffafb;
}

.customer-summary-card > span {
    display: block;

    margin-bottom: 5px;

    color: #7d8285;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .35px;
}

.customer-summary-card strong {
    display: block;

    color: var(--charcoal);

    font-size: 27px;

    letter-spacing: -.5px;
}

.customer-summary-card small {
    display: block;

    margin-top: 5px;

    color: #929699;

    font-size: 11px;
}


/* ============================================================
   SEARCH WIDGET
============================================================ */

.customer-search-widget {
    margin-bottom: 20px;
}

.customer-search-header {
    min-height: 82px;
}

.customer-search-header p {
    margin:
        4px 0
        0;

    color: #858a8d;

    font-size: 12px;
}

.customer-search-area {
    padding:
        21px;
}

.customer-search-main {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    margin-bottom: 17px;
}

.customer-search-icon {
    position: absolute;

    z-index: 2;

    top: 50%;
    left: 17px;

    display: grid;
    place-items: center;

    width: 24px;
    height: 24px;

    color: #8b9093;

    transform:
        translateY(-50%);
}

.customer-search-icon svg {
    width: 22px;
    height: 22px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.customer-search-main input {
    width: 100%;
    height: 52px;

    padding:
        0 18px
        0 52px;

    border:
        1px solid
        #bfc2c4;

    border-right: 0;

    border-radius:
        5px 0 0 5px;

    outline: none;

    color: var(--charcoal);
    background: white;

    font-size: 15px;
}

.customer-search-main input::placeholder {
    color: #9a9da0;
}

.customer-search-main input:focus {
    border-color:
        var(--maroon);

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.customer-search-main button {
    min-width: 112px;

    padding:
        0 20px;

    border:
        1px solid
        var(--maroon);

    border-radius:
        0 5px 5px 0;

    color: white;
    background:
        var(--maroon);

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.customer-search-main button:hover {
    background:
        var(--maroon-dark);
}


/* ============================================================
   FILTERS
============================================================ */

.customer-search-filters {
    display: flex;
    align-items: flex-end;

    gap: 12px;
}

.customer-filter-field {
    flex:
        0 1 220px;
}

.customer-filter-field label {
    display: block;

    margin-bottom: 6px;

    color: #686d70;

    font-size: 11px;
    font-weight: 700;
}

.customer-filter-field select {
    width: 100%;
    height: 40px;

    padding:
        0 34px
        0 11px;

    border:
        1px solid
        #cfd1d2;

    border-radius: 4px;

    outline: none;

    color: #555a5e;
    background: white;

    font-size: 12px;
}

.customer-filter-field select:focus {
    border-color:
        var(--maroon);
}

.clear-customer-filters {
    min-height: 40px;

    padding:
        0 13px;

    border:
        1px solid
        #d2d4d5;

    border-radius: 4px;

    color: #6c7174;
    background: #f7f7f7;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.clear-customer-filters:hover {
    color: var(--maroon);

    background: white;
}


/* ============================================================
   CUSTOMER LIST HEADER
============================================================ */

.customer-list-header {
    min-height: 74px;
}

.customer-results-meta {
    display: flex;
    align-items: baseline;

    gap: 5px;

    color: #858a8d;

    font-size: 11px;
}

.customer-results-meta strong {
    color: var(--charcoal);

    font-size: 14px;
}


/* ============================================================
   TABLE
============================================================ */

.customer-table-scroll {
    overflow-x: auto;
}

.customer-table {
    width: 100%;

    border-collapse: collapse;

    white-space: nowrap;
}

.customer-table th {
    padding:
        13px 15px;

    border-bottom:
        1px solid
        #cfd1d2;

    color: #717679;
    background: #f1f2f2;

    font-size: 11px;
    font-weight: 700;

    text-align: left;
}

.customer-table td {
    padding:
        15px;

    border-bottom:
        1px solid
        var(--border-light);

    color: #606568;

    font-size: 12px;

    vertical-align: middle;
}

.customer-table tbody tr:last-child td {
    border-bottom: 0;
}

.customer-table tbody tr:hover {
    background: #fafafa;
}

.customer-table tr[hidden] {
    display: none;
}


/* ============================================================
   CUSTOMER NAME
============================================================ */

.customer-name-cell {
    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 205px;
}

.customer-avatar {
    display: grid;
    place-items: center;

    flex:
        0 0 40px;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    color: white;
    background:
        var(--maroon);

    font-size: 11px;
    font-weight: 700;
}

.customer-avatar.inactive {
    background: #8d9295;
}

.customer-name {
    display: block;

    color: var(--charcoal);

    font-size: 13px;
    font-weight: 700;
}

.customer-name:hover {
    color: var(--maroon);
}

.customer-name-cell div > span {
    display: block;

    margin-top: 3px;

    color: #989c9f;

    font-size: 10px;
}


/* ============================================================
   CONTACT
============================================================ */

.customer-contact {
    min-width: 170px;
}

.customer-contact span {
    display: block;

    color: #5f6467;

    font-size: 11px;
}

.customer-contact span + span {
    margin-top: 4px;

    color: #8a8e91;
}


/* ============================================================
   PRS ID
============================================================ */

.prs-customer-id {
    display: inline-flex;
    align-items: center;

    min-height: 27px;

    padding:
        0 8px;

    border:
        1px solid
        #d6d8d9;

    border-radius: 3px;

    color: #656a6d;
    background: #f8f8f8;

    font-size: 11px;
    font-weight: 700;
}


/* ============================================================
   BALANCES
============================================================ */

.customer-balance {
    color: var(--green);

    font-size: 13px;
}

.customer-pending {
    color: var(--yellow);

    font-size: 13px;
}

.customer-zero {
    color: #a0a3a5;

    font-size: 12px;
    font-weight: 500;
}


/* ============================================================
   LAST ACTIVITY
============================================================ */

.customer-last-activity {
    min-width: 125px;
}

.customer-last-activity strong {
    display: block;

    color: #555a5e;

    font-size: 11px;
}

.customer-last-activity span {
    display: block;

    margin-top: 3px;

    color: #989c9f;

    font-size: 10px;
}


/* ============================================================
   CUSTOMER STATUS
============================================================ */

.customer-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding:
        0 10px;

    border-radius: 14px;

    font-size: 10px;
    font-weight: 700;
}

.customer-status.active {
    color: var(--green);
    background: var(--green-bg);
}

.customer-status.pending {
    color: var(--yellow);
    background: var(--yellow-bg);
}

.customer-status.inactive {
    color: #666b6e;
    background: #eceeef;
}


/* ============================================================
   VIEW BUTTON
============================================================ */

.customer-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 31px;

    padding:
        0 12px;

    border:
        1px solid
        #cfd1d2;

    border-radius: 4px;

    color: var(--maroon);
    background: white;

    font-size: 11px;
    font-weight: 700;
}

.customer-view-button:hover {
    border-color:
        var(--maroon);

    color: white;
    background:
        var(--maroon);
}


/* ============================================================
   NO RESULTS
============================================================ */

.customer-no-results {
    padding:
        60px 20px;

    text-align: center;
}

.customer-no-results[hidden] {
    display: none;
}

.no-results-icon {
    display: grid;
    place-items: center;

    width: 56px;
    height: 56px;

    margin:
        0 auto
        13px;

    border-radius: 50%;

    color: #8a8f92;
    background: #eff0f1;
}

.no-results-icon svg {
    width: 27px;
    height: 27px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.customer-no-results h3 {
    margin:
        0 0
        6px;

    color: var(--charcoal);

    font-size: 18px;
}

.customer-no-results p {
    margin:
        0 auto
        16px;

    max-width: 430px;

    color: #858a8d;

    font-size: 12px;

    line-height: 1.6;
}

.customer-no-results button {
    min-height: 38px;

    padding:
        0 14px;

    border:
        1px solid
        var(--maroon);

    border-radius: 4px;

    color: white;
    background:
        var(--maroon);

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   TABLE FOOTER
============================================================ */

.customer-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 65px;

    padding:
        12px 17px;

    border-top:
        1px solid
        var(--border-light);

    color: #858a8d;
    background: #fafafa;

    font-size: 11px;
}

.customer-table-footer strong {
    color: var(--charcoal);
}

.customer-pagination {
    display: flex;
    align-items: center;

    gap: 4px;
}

.customer-pagination button {
    min-width: 32px;
    height: 32px;

    padding:
        0 9px;

    border:
        1px solid
        #d2d4d5;

    border-radius: 3px;

    color: #62676a;
    background: white;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}

.customer-pagination button:hover:not(:disabled),
.customer-pagination button.active {
    border-color:
        var(--maroon);

    color: white;
    background:
        var(--maroon);
}

.customer-pagination button:disabled {
    opacity: .45;

    cursor: default;
}

.customer-pagination span {
    padding:
        0 3px;

    color: #989c9f;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1000px) {

    .customer-summary-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .customer-search-filters {
        flex-wrap: wrap;
    }

    .customer-filter-field {
        flex:
            1 1 200px;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 700px) {

    .customer-heading-actions {
        width: 100%;
    }

    .customer-heading-button {
        flex: 1;
    }

    .customer-summary-grid {
        grid-template-columns: 1fr;
    }

    .customer-summary-card {
        min-height: 92px;
    }

    .customer-search-area {
        padding: 16px;
    }

    .customer-search-main {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .customer-search-main input {
        height: 49px;

        border:
            1px solid
            #bfc2c4;

        border-radius: 5px;
    }

    .customer-search-main button {
        min-height: 44px;

        border-radius: 5px;
    }

    .customer-search-filters {
        display: grid;

        grid-template-columns: 1fr;
    }

    .customer-filter-field {
        width: 100%;
    }

    .customer-table-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-pagination {
        flex-wrap: wrap;
    }

}

/* ============================================================

   INDIVIDUAL CUSTOMER RECORD

============================================================ */


/* ============================================================
   BACK
============================================================ */

.customer-record-back {
    display: inline-flex;
    align-items: center;

    margin-bottom: 16px;

    color: #6f7477;

    font-size: 12px;
    font-weight: 700;
}

.customer-record-back:hover {
    color: var(--maroon);
}


/* ============================================================
   CUSTOMER HERO
============================================================ */

.customer-record-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    min-height: 125px;

    margin-bottom: 14px;

    padding:
        22px 25px;

    border:
        1px solid
        var(--border);

    border-top:
        7px solid
        var(--maroon);

    background: white;
}

.customer-record-identity {
    display: flex;
    align-items: center;

    gap: 18px;
}

.customer-record-avatar {
    display: grid;
    place-items: center;

    flex:
        0 0 68px;

    width: 68px;
    height: 68px;

    border-radius: 50%;

    color: white;
    background:
        var(--maroon);

    font-size: 20px;
    font-weight: 700;
}

.customer-record-title {
    display: flex;
    align-items: center;

    gap: 12px;
}

.customer-record-title h1 {
    margin: 0;

    color: var(--charcoal);

    font-size: 28px;

    letter-spacing: -.5px;
}

.customer-record-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 8px;

    color: #858a8d;

    font-size: 12px;
}

.record-meta-divider {
    color: #c0c2c4;
}

.customer-record-actions {
    display: flex;
    align-items: center;

    gap: 9px;
}

.record-action {
    min-height: 41px;

    padding:
        0 15px;

    border:
        1px solid
        #cfd1d2;

    border-radius: 4px;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.record-action.secondary {
    color: #5f6467;
    background: white;
}

.record-action.primary {
    border-color:
        var(--maroon);

    color: white;
    background:
        var(--maroon);
}

.record-action.primary:hover {
    background:
        var(--maroon-dark);
}


/* ============================================================
   ACCOUNT BANNER
============================================================ */

.customer-account-banner {
    display: flex;
    align-items: center;

    gap: 12px;

    min-height: 62px;

    margin-bottom: 14px;

    padding:
        10px 17px;

    border:
        1px solid
        #cfe0d5;

    background:
        #f5faf7;
}

.customer-account-banner-icon {
    display: grid;
    place-items: center;

    flex:
        0 0 31px;

    width: 31px;
    height: 31px;

    border-radius: 50%;

    color: white;
    background:
        var(--green);

    font-size: 12px;
    font-weight: 700;
}

.customer-account-banner > div:nth-child(2) {
    min-width: 0;
}

.customer-account-banner strong {
    display: block;

    color: #355f47;

    font-size: 13px;
}

.customer-account-banner span {
    display: block;

    margin-top: 2px;

    color: #728078;

    font-size: 11px;
}

.customer-account-banner > a {
    margin-left: auto;

    color: var(--green);

    font-size: 11px;
    font-weight: 700;
}


/* ============================================================
   STATS
============================================================ */

.customer-record-stats {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    margin-bottom: 18px;

    border:
        1px solid
        var(--border);

    background: white;
}

.record-stat {
    min-height: 107px;

    padding:
        18px;

    border-right:
        1px solid
        var(--border-light);

    border-top:
        5px solid
        #c8cacc;
}

.record-stat:last-child {
    border-right: 0;
}

.record-stat.featured {
    border-top-color:
        var(--maroon);

    background:
        #fffafb;
}

.record-stat > span {
    display: block;

    margin-bottom: 6px;

    color: #7c8184;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: .4px;
}

.record-stat strong {
    display: block;

    color: var(--charcoal);

    font-size: 25px;
}

.record-stat.featured strong {
    color: var(--maroon);
}

.record-stat small {
    display: block;

    margin-top: 4px;

    color: #969a9d;

    font-size: 10px;
}


/* ============================================================
   CUSTOMER TABS
============================================================ */

.customer-record-tabs {
    display: flex;
    align-items: stretch;

    margin-bottom: 18px;

    overflow-x: auto;

    border:
        1px solid
        var(--border);

    border-bottom:
        4px solid
        var(--maroon);

    background: white;
}

.customer-record-tabs button {
    position: relative;

    min-height: 50px;

    padding:
        0 20px;

    border: 0;
    border-right:
        1px solid
        var(--border-light);

    color: #666b6e;
    background: white;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;

    cursor: pointer;
}

.customer-record-tabs button:hover {
    color: var(--maroon);

    background: #faf7f8;
}

.customer-record-tabs button.active {
    color: white;
    background:
        var(--maroon);
}


/* ============================================================
   PANELS
============================================================ */

.customer-record-tab-panel {
    display: none;
}

.customer-record-tab-panel.active {
    display: block;
}


/* ============================================================
   OVERVIEW GRID
============================================================ */

.customer-record-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(320px, .7fr);

    gap: 18px;

    align-items: start;
}

.record-upcoming-widget,
.record-recent-widget {
    grid-column:
        1 / -1;
}


/* ============================================================
   WIDGET BUTTONS
============================================================ */

.widget-text-button,
.widget-primary-button {
    padding:
        7px 11px;

    border:
        1px solid
        #d2d4d5;

    border-radius: 4px;

    color: #62676a;
    background: #fafafa;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.widget-text-button:hover {
    color: var(--maroon);

    border-color:
        #cba3af;

    background: white;
}

.widget-primary-button {
    border-color:
        var(--maroon);

    color: white;
    background:
        var(--maroon);
}


/* ============================================================
   INFO LIST
============================================================ */

.record-info-row {
    display: grid;

    grid-template-columns:
        150px
        minmax(0, 1fr);

    gap: 20px;

    align-items: center;

    min-height: 64px;

    padding:
        12px 20px;

    border-bottom:
        1px solid
        var(--border-light);
}

.record-info-row:last-child {
    border-bottom: 0;
}

.record-info-row > span {
    color: #858a8d;

    font-size: 11px;
    font-weight: 700;
}

.record-info-row > div {
    min-width: 0;
}

.record-info-row strong {
    color: var(--charcoal);

    font-size: 13px;
}

.record-info-row small {
    display: block;

    margin-top: 3px;

    color: #989c9f;

    font-size: 10px;
}

.record-info-row .verified-label {
    color: var(--green);
}


/* ============================================================
   ACTION LIST
============================================================ */

.record-action-list > button {
    display: grid;

    grid-template-columns:
        40px
        minmax(0, 1fr)
        auto;

    gap: 11px;

    align-items: center;

    width: 100%;
    min-height: 70px;

    padding:
        12px 16px;

    border: 0;
    border-bottom:
        1px solid
        var(--border-light);

    color: inherit;
    background: white;

    text-align: left;

    cursor: pointer;
}

.record-action-list > button:last-child {
    border-bottom: 0;
}

.record-action-list > button:hover {
    background: #fafafa;
}

.record-action-icon {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    color: var(--maroon);
    background: #f7eaee;

    font-size: 12px;
    font-weight: 700;
}

.record-action-list strong {
    display: block;

    color: var(--charcoal);

    font-size: 12px;
}

.record-action-list div span {
    display: block;

    margin-top: 3px;

    color: #93979a;

    font-size: 10px;
}

.record-action-list b {
    color: #9ca0a2;

    font-size: 18px;
}


/* ============================================================
   UPCOMING RENTAL
============================================================ */

.record-upcoming-rental {
    display: grid;

    grid-template-columns:
        74px
        minmax(0, 1fr)
        145px
        auto;

    gap: 20px;

    align-items: center;

    padding:
        22px;
}

.record-rental-date {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    width: 66px;
    height: 72px;

    border:
        1px solid
        #d8dadb;

    border-top:
        5px solid
        var(--maroon);

    background: #fafafa;
}

.record-rental-date span {
    color: var(--maroon);

    font-size: 9px;
    font-weight: 700;
}

.record-rental-date strong {
    margin-top: 1px;

    color: var(--charcoal);

    font-size: 24px;
}

.record-rental-date small {
    color: #929699;

    font-size: 9px;
}

.record-rental-brand {
    color: var(--maroon);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .5px;
}

.record-rental-main h3 {
    margin:
        4px 0
        4px;

    color: var(--charcoal);

    font-size: 16px;
}

.record-rental-main p {
    margin: 0;

    color: #888d90;

    font-size: 11px;
}

.record-rental-reward span {
    display: block;

    color: #8b6d25;

    font-size: 9px;
    font-weight: 700;
}

.record-rental-reward strong {
    display: block;

    margin-top: 4px;

    color: var(--yellow);

    font-size: 18px;
}


/* ============================================================
   RECENT REWARDS
============================================================ */

.record-reward-row {
    display: grid;

    grid-template-columns:
        39px
        minmax(0, 1fr)
        115px
        90px;

    gap: 13px;

    align-items: center;

    min-height: 75px;

    padding:
        12px 19px;

    border-bottom:
        1px solid
        var(--border-light);
}

.record-reward-row:last-child {
    border-bottom: 0;
}

.record-reward-type {
    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;

    font-size: 13px;
    font-weight: 700;
}

.record-reward-type.earned {
    color: var(--green);
    background: var(--green-bg);
}

.record-reward-type.used {
    color: var(--maroon);
    background: var(--red-bg);
}

.record-reward-type.pending {
    color: var(--yellow);
    background: var(--yellow-bg);
}

.record-reward-row div strong {
    display: block;

    color: var(--charcoal);

    font-size: 12px;
}

.record-reward-row div span {
    display: block;

    margin-top: 3px;

    color: #93979a;

    font-size: 10px;
}

.record-reward-row time {
    color: #858a8d;

    font-size: 10px;
}

.record-reward-row > b {
    text-align: right;

    font-size: 13px;
}

.record-reward-row > b.earned,
.ledger-earned {
    color: var(--green) !important;

    font-weight: 700;
}

.record-reward-row > b.used,
.ledger-used {
    color: var(--maroon) !important;

    font-weight: 700;
}

.record-reward-row > b.pending,
.ledger-pending {
    color: var(--yellow) !important;

    font-weight: 700;
}


/* ============================================================
   FULL WIDTH TAB WIDGET
============================================================ */

.record-full-widget {
    width: 100%;
}

.record-header-note {
    color: #8b9093;

    font-size: 11px;
}


/* ============================================================
   REFERRAL SUMMARY
============================================================ */

.customer-referral-summary {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    margin-bottom: 18px;

    border:
        1px solid
        var(--border);

    background: white;
}

.customer-referral-summary > div {
    min-height: 95px;

    padding: 18px;

    border-right:
        1px solid
        var(--border-light);

    border-top:
        5px solid
        #c8cacc;
}

.customer-referral-summary > div:first-child {
    border-top-color:
        var(--maroon);
}

.customer-referral-summary > div:last-child {
    border-right: 0;
}

.customer-referral-summary span {
    display: block;

    color: #7d8285;

    font-size: 10px;
    font-weight: 700;
}

.customer-referral-summary strong {
    display: block;

    margin-top: 6px;

    color: var(--charcoal);

    font-size: 22px;
}


/* ============================================================
   ACCOUNT TAB
============================================================ */

.customer-account-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

    align-items: start;
}

.customer-danger-widget {
    grid-column:
        1 / -1;
}

.customer-admin-controls > div {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    min-height: 84px;

    padding:
        16px 20px;

    border-bottom:
        1px solid
        var(--border-light);
}

.customer-admin-controls > div:last-child {
    border-bottom: 0;
}

.customer-admin-controls strong {
    display: block;

    color: var(--charcoal);

    font-size: 12px;
}

.customer-admin-controls span {
    display: block;

    margin-top: 4px;

    color: #8c9194;

    font-size: 10px;

    line-height: 1.5;
}

.customer-admin-controls button {
    flex: 0 0 auto;

    min-height: 36px;

    padding:
        0 12px;

    border:
        1px solid
        #cfd1d2;

    border-radius: 4px;

    color: #5f6467;
    background: white;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}

.customer-admin-controls .danger-outline {
    border-color:
        #cfa6b3;

    color: var(--maroon);
}


/* ============================================================
   MODAL
============================================================ */

body.modal-open {
    overflow: hidden;
}

.admin-modal-backdrop {
    position: fixed;

    z-index: 5000;

    inset: 0;

    display: grid;
    place-items: center;

    padding: 20px;

    background:
        rgba(22, 24, 26, .55);
}

.admin-modal-backdrop[hidden] {
    display: none;
}

.admin-modal {
    width:
        min(
            520px,
            100%
        );

    overflow: hidden;

    border:
        1px solid
        #bfc1c3;

    border-top:
        8px solid
        var(--maroon);

    background: white;

    box-shadow:
        0 24px 65px
        rgba(0,0,0,.25);
}

.admin-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding:
        20px 22px;

    border-bottom:
        1px solid
        var(--border-light);
}

.admin-modal-header span {
    display: block;

    margin-bottom: 3px;

    color: var(--maroon);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .6px;
}

.admin-modal-header h2 {
    margin: 0;

    color: var(--charcoal);

    font-size: 20px;
}

.admin-modal-close {
    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;

    color: #777c7f;
    background: transparent;

    font-size: 25px;

    cursor: pointer;
}

.admin-modal-body {
    padding: 22px;
}

.adjustment-current-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 18px;

    padding:
        13px 15px;

    border:
        1px solid
        #e0d3d7;

    background:
        #fff9fb;
}

.adjustment-current-balance span {
    color: #707578;

    font-size: 11px;
    font-weight: 700;
}

.adjustment-current-balance strong {
    color: var(--maroon);

    font-size: 20px;
}

.adjustment-type {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    margin-bottom: 19px;

    border:
        1px solid
        #d3d5d6;
}

.adjustment-type button {
    min-height: 42px;

    border: 0;

    color: #6d7275;
    background: #f8f8f8;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.adjustment-type button + button {
    border-left:
        1px solid
        #d3d5d6;
}

.adjustment-type button.active {
    color: white;
    background:
        var(--maroon);
}


/* ============================================================
   MODAL FORM
============================================================ */

.admin-form-field {
    margin-bottom: 16px;
}

.admin-form-field:last-child {
    margin-bottom: 0;
}

.admin-form-field label {
    display: block;

    margin-bottom: 6px;

    color: #5f6467;

    font-size: 11px;
    font-weight: 700;
}

.admin-form-field input,
.admin-form-field select,
.admin-form-field textarea {
    width: 100%;

    border:
        1px solid
        #cdd0d1;

    border-radius: 4px;

    outline: none;

    color: var(--charcoal);
    background: white;

    font-size: 12px;
}

.admin-form-field input,
.admin-form-field select {
    height: 43px;

    padding:
        0 11px;
}

.admin-form-field textarea {
    padding: 11px;

    resize: vertical;

    line-height: 1.5;
}

.admin-form-field input:focus,
.admin-form-field select:focus,
.admin-form-field textarea:focus {
    border-color:
        var(--maroon);

    box-shadow:
        0 0 0 1px
        var(--maroon);
}

.currency-input {
    position: relative;
}

.currency-input > span {
    position: absolute;

    top: 50%;
    left: 13px;

    color: #6f7477;

    font-size: 13px;
    font-weight: 700;

    transform:
        translateY(-50%);
}

.currency-input input {
    padding-left: 29px;
}


/* ============================================================
   MODAL FOOTER
============================================================ */

.admin-modal-footer {
    display: flex;
    justify-content: flex-end;

    gap: 8px;

    padding:
        15px 22px;

    border-top:
        1px solid
        var(--border-light);

    background:
        #f7f7f7;
}

.admin-modal-footer button {
    min-height: 39px;

    padding:
        0 15px;

    border-radius: 4px;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.modal-cancel-button {
    border:
        1px solid
        #cfd1d2;

    color: #62676a;
    background: white;
}

.modal-save-button {
    border:
        1px solid
        var(--maroon);

    color: white;
    background:
        var(--maroon);
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1050px) {

    .customer-record-stats {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .record-stat:nth-child(3) {
        border-right: 0;
    }

    .customer-record-grid {
        grid-template-columns: 1fr;
    }

    .record-upcoming-widget,
    .record-recent-widget {
        grid-column: auto;
    }

    .customer-referral-summary {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 700px) {

    .customer-record-hero {
        align-items: flex-start;
        flex-direction: column;

        padding:
            18px;
    }

    .customer-record-avatar {
        flex-basis: 55px;

        width: 55px;
        height: 55px;

        font-size: 16px;
    }

    .customer-record-title {
        align-items: flex-start;
        flex-direction: column;

        gap: 6px;
    }

    .customer-record-title h1 {
        font-size: 23px;
    }

    .customer-record-actions {
        width: 100%;
    }

    .record-action {
        flex: 1;
    }

    .customer-account-banner {
        align-items: flex-start;
    }

    .customer-account-banner > a {
        display: none;
    }

    .customer-record-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .record-stat:nth-child(3) {
        border-right:
            1px solid
            var(--border-light);
    }

    .record-stat:nth-child(2n) {
        border-right: 0;
    }

    .customer-record-tabs button {
        min-height: 47px;

        padding:
            0 15px;
    }

    .record-info-row {
        grid-template-columns: 1fr;

        gap: 5px;

        min-height: 70px;
    }

    .record-upcoming-rental {
        grid-template-columns:
            70px
            minmax(0, 1fr);
    }

    .record-rental-reward {
        grid-column: 2;
    }

    .record-upcoming-rental > div:last-child {
        grid-column: 2;
    }

    .record-reward-row {
        grid-template-columns:
            38px
            minmax(0, 1fr)
            auto;
    }

    .record-reward-row time {
        grid-column: 2;
    }

    .record-reward-row > b {
        grid-column: 3;
        grid-row: 1;
    }

    .customer-referral-summary {
        grid-template-columns: 1fr 1fr;
    }

    .customer-account-grid {
        grid-template-columns: 1fr;
    }

    .customer-danger-widget {
        grid-column: auto;
    }

    .customer-admin-controls > div {
        align-items: flex-start;
        flex-direction: column;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 440px) {

    .customer-record-identity {
        align-items: flex-start;
    }

    .customer-record-meta {
        align-items: flex-start;
        flex-direction: column;

        gap: 3px;
    }

    .record-meta-divider {
        display: none;
    }

    .customer-record-stats {
        grid-template-columns: 1fr;
    }

    .record-stat,
    .record-stat:nth-child(3) {
        border-right: 0;
    }

    .customer-referral-summary {
        grid-template-columns: 1fr;
    }

}

/* ============================================================

   REWARDS ACTIVITY TABLE
   FIXED TABLE LAYOUT

============================================================ */


/* ============================================================
   TABLE CONTAINER
============================================================ */

.activity-ledger-widget {
    width: 100%;
    min-width: 0;
}

.activity-table-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
}


/* ============================================================
   FORCE REAL TABLE BEHAVIOR
============================================================ */

.activity-table {
    display: table !important;

    width: 100% !important;
    min-width: 1180px;

    table-layout: fixed;

    border-collapse: collapse;
    border-spacing: 0;

    background: #ffffff;
}

.activity-table thead {
    display: table-header-group !important;
}

.activity-table tbody {
    display: table-row-group !important;
}

.activity-table tr {
    display: table-row !important;
}

.activity-table th,
.activity-table td {
    display: table-cell !important;

    box-sizing: border-box;

    vertical-align: middle;

    text-align: left;
}


/* ============================================================
   COLUMN WIDTHS
============================================================ */

/* DATE */

.activity-table th:nth-child(1),
.activity-table td:nth-child(1) {
    width: 120px;
}


/* CUSTOMER */

.activity-table th:nth-child(2),
.activity-table td:nth-child(2) {
    width: 210px;
}


/* TYPE */

.activity-table th:nth-child(3),
.activity-table td:nth-child(3) {
    width: 110px;
}


/* DESCRIPTION */

.activity-table th:nth-child(4),
.activity-table td:nth-child(4) {
    width: 210px;
}


/* BRAND */

.activity-table th:nth-child(5),
.activity-table td:nth-child(5) {
    width: 150px;
}


/* ORDER */

.activity-table th:nth-child(6),
.activity-table td:nth-child(6) {
    width: 100px;
}


/* AMOUNT */

.activity-table th:nth-child(7),
.activity-table td:nth-child(7) {
    width: 105px;
}


/* STATUS */

.activity-table th:nth-child(8),
.activity-table td:nth-child(8) {
    width: 110px;
}


/* VIEW */

.activity-table th:nth-child(9),
.activity-table td:nth-child(9) {
    width: 75px;
}


/* ============================================================
   TABLE HEADER
============================================================ */

.activity-table thead th {
    height: 46px;

    padding: 0 15px;

    border: 0;
    border-bottom: 1px solid #cfd1d2;

    color: #606568;
    background: #eef0f1;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.2;

    white-space: nowrap;
}


/* ============================================================
   ROWS
============================================================ */

.activity-table tbody tr {
    height: 76px;

    background: #ffffff;
}

.activity-table tbody tr:hover {
    background: #fafafa;
}

.activity-table tbody td {
    height: 76px;

    padding: 13px 15px;

    border: 0;
    border-bottom: 1px solid #e4e5e6;

    color: #5d6265;

    font-size: 12px;

    white-space: normal;
}

.activity-table tbody tr:last-child td {
    border-bottom: 0;
}

.activity-table tbody tr[hidden] {
    display: none !important;
}


/* ============================================================
   DATE
============================================================ */

.activity-date {
    display: block;

    min-width: 0;
}

.activity-date strong {
    display: block;

    margin: 0;

    color: #4e5356;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.3;

    white-space: nowrap;
}

.activity-date span {
    display: block;

    margin-top: 3px;

    color: #969a9d;

    font-size: 10px;

    line-height: 1.2;

    white-space: nowrap;
}


/* ============================================================
   CUSTOMER
============================================================ */

.activity-customer {
    display: flex !important;

    align-items: center;

    gap: 10px;

    min-width: 0;

    color: inherit;

    text-decoration: none;
}

.activity-avatar {
    display: grid;
    place-items: center;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    color: #ffffff;
    background: var(--maroon);

    font-size: 10px;
    font-weight: 700;
}

.activity-customer > div {
    min-width: 0;
}

.activity-customer strong {
    display: block;

    overflow: hidden;

    color: var(--charcoal);

    font-size: 12px;
    font-weight: 700;

    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-customer span:not(.activity-avatar) {
    display: block;

    margin-top: 3px;

    color: #969a9d;

    font-size: 10px;

    line-height: 1.2;

    white-space: nowrap;
}

.activity-customer:hover strong {
    color: var(--maroon);
}


/* ============================================================
   TYPE
============================================================ */

.activity-type {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-height: 28px;

    padding: 0 10px;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    white-space: nowrap;
}

.activity-type.earned {
    color: #28734a;
    background: #e7f4ec;
}

.activity-type.pending {
    color: #8b6410;
    background: #fff2cf;
}

.activity-type.redeemed {
    color: var(--maroon);
    background: #f7e8ed;
}

.activity-type.adjustment {
    color: #395a83;
    background: #e9f1fb;
}


/* ============================================================
   DESCRIPTION
============================================================ */

.activity-description {
    display: block;

    min-width: 0;
}

.activity-description strong {
    display: block;

    overflow: hidden;

    color: #4f5457;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.3;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-description span {
    display: block;

    overflow: hidden;

    margin-top: 4px;

    color: #929699;

    font-size: 10px;

    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   BRAND
============================================================ */

.activity-table td:nth-child(5) {
    color: #606568;

    font-size: 11px;

    line-height: 1.35;
}


/* ============================================================
   ORDER
============================================================ */

.activity-order {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-height: 28px;

    padding: 0 8px;

    border: 1px solid #d7d9da;

    border-radius: 3px;

    color: #565b5e;
    background: #f8f8f8;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    white-space: nowrap;
}


/* ============================================================
   AMOUNT
============================================================ */

.activity-amount {
    display: inline-block;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}

.activity-amount.earned {
    color: #24734a;
}

.activity-amount.pending {
    color: #9a6b00;
}

.activity-amount.redeemed {
    color: var(--maroon);
}


/* ============================================================
   STATUS
============================================================ */

.activity-status {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-height: 28px;

    padding: 0 10px;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    white-space: nowrap;
}

.activity-status.available {
    color: #28734a;
    background: #e7f4ec;
}

.activity-status.pending {
    color: #8b6410;
    background: #fff2cf;
}

.activity-status.redeemed {
    color: #666b6e;
    background: #eceeef;
}


/* ============================================================
   VIEW BUTTON
============================================================ */

.activity-view {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-width: 52px;
    min-height: 31px;

    padding: 0 10px;

    border: 1px solid #cfd1d2;

    border-radius: 4px;

    color: var(--maroon);
    background: #ffffff;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;
}

.activity-view:hover {
    border-color: var(--maroon);

    color: #ffffff;
    background: var(--maroon);
}


/* ============================================================
   TABLE FOOTER
============================================================ */

.activity-table-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 65px;

    padding: 12px 17px;

    border-top: 1px solid #e0e1e2;

    color: #858a8d;
    background: #fafafa;

    font-size: 11px;
}


/* ============================================================
   RESPONSIVE

   On smaller screens we DO NOT destroy the table.
   We simply allow horizontal scrolling.

============================================================ */

@media (max-width: 1100px) {

    .activity-table {
        min-width: 1180px;
    }

}


@media (max-width: 700px) {

    .activity-table-scroll {
        -webkit-overflow-scrolling: touch;
    }

    .activity-table {
        min-width: 1180px;
    }

}

/* ============================================================

   BOUNCE BACK REWARDS
   ADMIN - REWARDS ACTIVITY

============================================================ */


/* ============================================================
   PAGE
============================================================ */

.ra-page {
    width: 100%;
}


/* ============================================================
   PAGE HEADING
============================================================ */

.ra-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 22px;
}

.ra-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: var(--maroon);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .65px;
}

.ra-page-heading h1 {
    margin: 0;

    color: var(--charcoal);

    font-size: 34px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -.8px;
}

.ra-page-heading p {
    max-width: 720px;

    margin:
        9px 0
        0;

    color: #777c80;

    font-size: 15px;
    line-height: 1.55;
}

.ra-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-height: 44px;

    padding:
        0 18px;

    border:
        1px solid
        var(--maroon);

    border-radius: 4px;

    color: white;
    background:
        var(--maroon);

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.ra-primary-button:hover {
    background:
        var(--maroon-dark);
}


/* ============================================================
   SUMMARY
============================================================ */

.ra-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin-bottom: 20px;
}

.ra-summary-card {
    position: relative;

    min-width: 0;
    min-height: 122px;

    padding:
        19px 20px
        18px;

    border:
        1px solid
        var(--border);

    border-top:
        6px solid
        #c9ccce;

    border-radius: 0;

    color: inherit;
    background: white;

    font-family: inherit;

    text-align: left;

    cursor: pointer;

    transition:
        border-color .15s ease,
        background .15s ease,
        box-shadow .15s ease;
}

.ra-summary-card:hover {
    border-top-color:
        #9da1a4;

    background:
        #fdfdfd;
}

.ra-summary-card.active {
    border-top-color:
        var(--maroon);

    background:
        #fffafb;

    box-shadow:
        inset 0 0 0 1px
        rgba(123, 0, 38, .04);
}

.ra-summary-label {
    display: block;

    margin-bottom: 8px;

    color: #777c80;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .45px;
}

.ra-summary-value {
    display: block;

    overflow: hidden;

    color: var(--charcoal);

    font-size: 28px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -.55px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.ra-summary-description {
    display: block;

    margin-top: 7px;

    color: #919598;

    font-size: 11px;
    line-height: 1.4;
}


/* ============================================================
   PANELS
============================================================ */

.ra-panel {
    overflow: hidden;

    width: 100%;

    border:
        1px solid
        var(--border);

    border-top:
        9px solid
        #c8cacc;

    background: white;
}

.ra-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 82px;

    padding:
        15px 20px;

    border-bottom:
        1px solid
        var(--border-light);
}

.ra-panel-eyebrow {
    display: block;

    margin-bottom: 3px;

    color: var(--maroon);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .55px;
}

.ra-panel-header h2 {
    margin: 0;

    color: var(--charcoal);

    font-size: 22px;
    font-weight: 500;

    line-height: 1.2;
}

.ra-panel-header p {
    margin:
        5px 0
        0;

    color: #858a8d;

    font-size: 12px;
    line-height: 1.45;
}


/* ============================================================
   FILTER PANEL
============================================================ */

.ra-filter-panel {
    margin-bottom: 20px;
}

.ra-filter-body {
    padding: 20px;
}


/* ============================================================
   SEARCH
============================================================ */

.ra-search {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        110px;

    margin-bottom: 18px;
}

.ra-search-field {
    position: relative;
}

.ra-search-field svg {
    position: absolute;

    top: 50%;
    left: 16px;

    width: 21px;
    height: 21px;

    fill: none;

    stroke: #898e91;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transform:
        translateY(-50%);

    pointer-events: none;
}

.ra-search-field input {
    display: block;

    width: 100%;
    height: 50px;

    box-sizing: border-box;

    padding:
        0 16px
        0 50px;

    border:
        1px solid
        #bdc1c3;

    border-right: 0;

    border-radius:
        4px 0 0 4px;

    outline: none;

    color: var(--charcoal);
    background: white;

    font-family: inherit;
    font-size: 14px;
}

.ra-search-field input::placeholder {
    color: #9a9ea1;
}

.ra-search-field input:focus {
    position: relative;

    z-index: 2;

    border-color:
        var(--maroon);

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.ra-search-button {
    height: 50px;

    border:
        1px solid
        var(--maroon);

    border-radius:
        0 4px 4px 0;

    color: white;
    background:
        var(--maroon);

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.ra-search-button:hover {
    background:
        var(--maroon-dark);
}


/* ============================================================
   FILTER GRID
============================================================ */

.ra-filter-grid {
    display: grid;

    grid-template-columns:
        minmax(180px, 240px)
        minmax(180px, 240px)
        minmax(180px, 240px)
        auto;

    align-items: end;

    gap: 12px;
}

.ra-filter label {
    display: block;

    margin-bottom: 7px;

    color: #666b6e;

    font-size: 12px;
    font-weight: 700;
}

.ra-filter select {
    display: block;

    width: 100%;
    height: 43px;

    box-sizing: border-box;

    padding:
        0 38px
        0 12px;

    border:
        1px solid
        #c7cacc;

    border-radius: 4px;

    outline: none;

    color: #505558;
    background-color: white;

    font-family: inherit;
    font-size: 13px;

    cursor: pointer;
}

.ra-filter select:focus {
    border-color:
        var(--maroon);

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.ra-filter-action {
    display: flex;
    align-items: flex-end;
}

.ra-clear-button {
    min-height: 43px;

    padding:
        0 16px;

    border:
        1px solid
        #cfd1d2;

    border-radius: 4px;

    color: #616669;
    background: #f7f7f7;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.ra-clear-button:hover {
    border-color:
        #b9bcbe;

    color: var(--maroon);

    background: white;
}


/* ============================================================
   LEDGER HEADER
============================================================ */

.ra-ledger-header {
    min-height: 77px;
}

.ra-result-count {
    display: flex;
    align-items: baseline;

    gap: 5px;

    color: #858a8d;

    font-size: 12px;

    white-space: nowrap;
}

.ra-result-count strong {
    color: var(--charcoal);

    font-size: 17px;
}


/* ============================================================
   TABLE CONTAINER
============================================================ */

.ra-table-wrap {
    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


/* ============================================================
   TABLE
============================================================ */

.ra-table {
    width: 100%;
    min-width: 1190px;

    border-collapse: collapse;
    border-spacing: 0;

    table-layout: fixed;

    background: white;
}

.ra-table thead {
    background: #eef0f1;
}

.ra-table th {
    height: 47px;

    box-sizing: border-box;

    padding:
        0 14px;

    border-bottom:
        1px solid
        #cfd1d2;

    color: #5f6467;

    font-size: 12px;
    font-weight: 700;

    text-align: left;
    vertical-align: middle;

    white-space: nowrap;
}

.ra-table td {
    height: 72px;

    box-sizing: border-box;

    padding:
        13px 14px;

    border-bottom:
        1px solid
        #e2e4e5;

    color: #5b6063;

    font-size: 13px;

    text-align: left;
    vertical-align: middle;
}

.ra-table tbody tr {
    background: white;
}

.ra-table tbody tr:hover {
    background: #fafafa;
}

.ra-table tbody tr:last-child td {
    border-bottom: 0;
}

.ra-table tbody tr[hidden] {
    display: none;
}


/* ============================================================
   TABLE COLUMN WIDTHS
============================================================ */

.ra-table th:nth-child(1),
.ra-table td:nth-child(1) {
    width: 125px;
}

.ra-table th:nth-child(2),
.ra-table td:nth-child(2) {
    width: 215px;
}

.ra-table th:nth-child(3),
.ra-table td:nth-child(3) {
    width: 115px;
}

.ra-table th:nth-child(4),
.ra-table td:nth-child(4) {
    width: 220px;
}

.ra-table th:nth-child(5),
.ra-table td:nth-child(5) {
    width: 145px;
}

.ra-table th:nth-child(6),
.ra-table td:nth-child(6) {
    width: 100px;
}

.ra-table th:nth-child(7),
.ra-table td:nth-child(7) {
    width: 105px;
}

.ra-table th:nth-child(8),
.ra-table td:nth-child(8) {
    width: 110px;
}

.ra-table th:nth-child(9),
.ra-table td:nth-child(9) {
    width: 75px;
}


/* ============================================================
   DATE
============================================================ */

.ra-date strong {
    display: block;

    color: #4e5356;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.25;

    white-space: nowrap;
}

.ra-date span {
    display: block;

    margin-top: 4px;

    color: #93979a;

    font-size: 10px;

    line-height: 1.2;
}


/* ============================================================
   CUSTOMER
============================================================ */

.ra-customer {
    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 0;

    color: inherit;

    text-decoration: none;
}

.ra-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    flex:
        0 0 40px;

    width: 40px;
    height: 40px;

    box-sizing: border-box;

    margin: 0;
    padding: 0;

    border-radius: 50%;

    color: white;
    background:
        var(--maroon);

    font-size: 11px;
    font-weight: 700;

    line-height: 1;

    text-align: center;
}

.ra-customer-info {
    display: block;

    min-width: 0;
}

.ra-customer-info strong {
    display: block;

    overflow: hidden;

    color: var(--charcoal);

    font-size: 13px;
    font-weight: 700;

    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.ra-customer-info small {
    display: block;

    margin-top: 4px;

    color: #929699;

    font-size: 10px;

    line-height: 1.2;

    white-space: nowrap;
}

.ra-customer:hover strong {
    color: var(--maroon);
}


/* ============================================================
   TYPE
============================================================ */

.ra-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 29px;

    box-sizing: border-box;

    padding:
        0 11px;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    white-space: nowrap;
}

.ra-earned {
    color: #28734a;
    background: #e7f4ec;
}

.ra-pending {
    color: #8b6410;
    background: #fff2cf;
}

.ra-redeemed {
    color: var(--maroon);
    background: #f7e8ed;
}

.ra-adjustment {
    color: #425f80;
    background: #e9f1f8;
}


/* ============================================================
   DESCRIPTION
============================================================ */

.ra-description {
    min-width: 0;
}

.ra-description strong {
    display: block;

    overflow: hidden;

    color: #4d5255;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.ra-description span {
    display: block;

    overflow: hidden;

    margin-top: 4px;

    color: #929699;

    font-size: 10px;

    line-height: 1.25;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   ORDER
============================================================ */

.ra-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 74px;
    min-height: 29px;

    box-sizing: border-box;

    padding:
        0 8px;

    border:
        1px solid
        #d4d7d8;

    border-radius: 3px;

    color: #54595c;
    background: #f8f8f8;

    font-size: 10px;
    font-weight: 700;

    white-space: nowrap;
}


/* ============================================================
   AMOUNT
============================================================ */

.ra-amount {
    display: inline-block;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.2;

    white-space: nowrap;
}

.ra-positive {
    color: #24734a;
}

.ra-negative {
    color: var(--maroon);
}

.ra-pending-text {
    color: #916700;
}


/* ============================================================
   STATUS
============================================================ */

.ra-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 29px;

    box-sizing: border-box;

    padding:
        0 11px;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    white-space: nowrap;
}

.ra-available {
    color: #28734a;
    background: #e7f4ec;
}

.ra-status-pending {
    color: #8b6410;
    background: #fff2cf;
}

.ra-status-redeemed {
    color: var(--maroon);
    background: #f7e8ed;
}


/* ============================================================
   VIEW BUTTON
============================================================ */

.ra-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 52px;
    min-height: 33px;

    box-sizing: border-box;

    padding:
        0 10px;

    border:
        1px solid
        #cfd1d2;

    border-radius: 4px;

    color: var(--maroon);
    background: white;

    font-size: 10px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;
}

.ra-view-button:hover {
    border-color:
        var(--maroon);

    color: white;
    background:
        var(--maroon);
}


/* ============================================================
   MUTED
============================================================ */

.ra-muted {
    color: #999da0;
}


/* ============================================================
   EMPTY STATE
============================================================ */

.ra-empty {
    padding:
        60px 20px;

    text-align: center;
}

.ra-empty[hidden] {
    display: none;
}

.ra-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin:
        0 auto
        12px;

    border-radius: 50%;

    color: var(--maroon);
    background: #f6e9ed;

    font-size: 24px;
}

.ra-empty h3 {
    margin:
        0 0
        6px;

    color: var(--charcoal);

    font-size: 18px;
}

.ra-empty p {
    margin:
        0 0
        16px;

    color: #858a8d;

    font-size: 13px;
}

.ra-empty button {
    min-height: 38px;

    padding:
        0 14px;

    border:
        1px solid
        var(--maroon);

    border-radius: 4px;

    color: white;
    background:
        var(--maroon);

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   TABLE FOOTER
============================================================ */

.ra-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 66px;

    box-sizing: border-box;

    padding:
        12px 16px;

    border-top:
        1px solid
        var(--border-light);

    color: #858a8d;
    background: #fafafa;

    font-size: 12px;
}

.ra-showing strong {
    color: var(--charcoal);
}


/* ============================================================
   PAGINATION
============================================================ */

.ra-pagination {
    display: flex;
    align-items: center;

    gap: 5px;
}

.ra-pagination button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 34px;

    padding:
        0 10px;

    border:
        1px solid
        #cfd1d2;

    border-radius: 3px;

    color: #5f6467;
    background: white;

    font-family: inherit;
    font-size: 11px;
    font-weight: 600;

    cursor: pointer;
}

.ra-pagination button:hover:not(:disabled) {
    border-color:
        var(--maroon);

    color: var(--maroon);
}

.ra-pagination button.active {
    border-color:
        var(--maroon);

    color: white;
    background:
        var(--maroon);
}

.ra-pagination button:disabled {
    color: #b3b6b8;
    background: #f5f5f5;

    cursor: default;
}

.ra-pagination span {
    padding:
        0 3px;

    color: #8e9295;
}


/* ============================================================
   1200
============================================================ */

@media (max-width: 1200px) {

    .ra-summary-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

    .ra-filter-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }

    .ra-filter-action {
        grid-column:
            1 / -1;
    }

}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 850px) {

    .ra-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .ra-summary-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .ra-filter-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .ra-filter-action {
        grid-column:
            auto;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 650px) {

    .ra-page-heading h1 {
        font-size: 29px;
    }

    .ra-primary-button {
        width: 100%;
    }

    .ra-summary-grid {
        grid-template-columns: 1fr;
    }

    .ra-summary-card {
        min-height: 104px;
    }

    .ra-panel-header {
        align-items: flex-start;
        flex-direction: column;

        min-height: 0;

        padding:
            16px;
    }

    .ra-filter-body {
        padding: 16px;
    }

    .ra-search {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .ra-search-field input {
        border:
            1px solid
            #bdc1c3;

        border-radius: 4px;
    }

    .ra-search-button {
        height: 44px;

        border-radius: 4px;
    }

    .ra-filter-grid {
        grid-template-columns: 1fr;
    }

    .ra-filter-action {
        grid-column: auto;
    }

    .ra-clear-button {
        width: 100%;
    }

    .ra-result-count {
        padding-top: 2px;
    }

    .ra-table-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .ra-pagination {
        overflow-x: auto;

        width: 100%;

        padding-bottom: 3px;
    }

}

/* ============================================================

   BOUNCE BACK REWARDS
   ADMIN - PRODUCTS

============================================================ */


/* ============================================================
   PAGE
============================================================ */

.rp-page {
    width: 100%;
}


/* ============================================================
   HEADING
============================================================ */

.rp-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 22px;
}

.rp-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: var(--maroon);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .65px;
}

.rp-heading h1 {
    margin: 0;

    color: var(--charcoal);

    font-size: 34px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -.8px;
}

.rp-heading p {
    max-width: 750px;

    margin: 9px 0 0;

    color: #777c80;

    font-size: 15px;
    line-height: 1.55;
}


/* ============================================================
   CONNECTION STATUS
============================================================ */

.rp-heading-status {
    display: flex;
    align-items: center;

    flex: 0 0 auto;

    gap: 11px;

    min-width: 220px;

    padding: 12px 15px;

    border: 1px solid #d8dadd;

    background: white;
}

.rp-status-dot {
    flex: 0 0 11px;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 4px
        var(--green-bg);
}

.rp-heading-status strong {
    display: block;

    color: var(--charcoal);

    font-size: 12px;
}

.rp-heading-status span:not(.rp-status-dot) {
    display: block;

    margin-top: 3px;

    color: #898e91;

    font-size: 10px;
}


/* ============================================================
   SUMMARY
============================================================ */

.rp-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 18px;
}

.rp-summary-card {
    min-width: 0;
    min-height: 115px;

    padding: 18px 20px;

    border: 1px solid var(--border);
    border-top: 6px solid #c9ccce;

    color: inherit;
    background: white;

    font-family: inherit;

    text-align: left;
}

button.rp-summary-card {
    cursor: pointer;
}

button.rp-summary-card:hover {
    background: #fdfdfd;
}

.rp-summary-card.active {
    border-top-color: var(--maroon);

    background: #fffafb;
}

.rp-summary-card.eligible {
    border-top-color: var(--green);
}

.rp-summary-card span {
    display: block;

    margin-bottom: 7px;

    color: #777c80;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .45px;
}

.rp-summary-card strong {
    display: block;

    color: var(--charcoal);

    font-size: 29px;
    font-weight: 700;

    line-height: 1.05;
}

.rp-summary-card small {
    display: block;

    margin-top: 7px;

    color: #919598;

    font-size: 11px;
}


/* ============================================================
   INFO
============================================================ */

.rp-info {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 18px;

    padding: 15px 17px;

    border: 1px solid #d8dde1;
    border-left: 5px solid #647b8d;

    background: #f8fafb;
}

.rp-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 27px;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    color: white;
    background: #647b8d;

    font-size: 13px;
    font-weight: 700;
}

.rp-info strong {
    display: block;

    color: var(--charcoal);

    font-size: 13px;
}

.rp-info p {
    margin: 4px 0 0;

    color: #72777a;

    font-size: 12px;
    line-height: 1.5;
}


/* ============================================================
   PANEL
============================================================ */

.rp-panel {
    overflow: hidden;

    width: 100%;

    border: 1px solid var(--border);
    border-top: 9px solid #c8cacc;

    background: white;
}

.rp-filter-panel {
    margin-bottom: 20px;
}

.rp-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 80px;

    padding: 15px 20px;

    border-bottom: 1px solid var(--border-light);
}

.rp-panel-eyebrow {
    display: block;

    margin-bottom: 3px;

    color: var(--maroon);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .55px;
}

.rp-panel-header h2 {
    margin: 0;

    color: var(--charcoal);

    font-size: 22px;
    font-weight: 500;
}

.rp-panel-header p {
    margin: 5px 0 0;

    color: #858a8d;

    font-size: 12px;
}


/* ============================================================
   SEARCH
============================================================ */

.rp-filter-body {
    padding: 20px;
}

.rp-search {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 110px;

    margin-bottom: 18px;
}

.rp-search-field {
    position: relative;
}

.rp-search-field svg {
    position: absolute;

    top: 50%;
    left: 16px;

    width: 21px;
    height: 21px;

    fill: none;
    stroke: #898e91;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transform: translateY(-50%);

    pointer-events: none;
}

.rp-search-field input {
    width: 100%;
    height: 50px;

    box-sizing: border-box;

    padding: 0 16px 0 50px;

    border: 1px solid #bdc1c3;
    border-right: 0;

    border-radius: 4px 0 0 4px;

    outline: none;

    color: var(--charcoal);
    background: white;

    font-family: inherit;
    font-size: 14px;
}

.rp-search-field input:focus {
    border-color: var(--maroon);

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.rp-search button {
    border: 1px solid var(--maroon);

    border-radius: 0 4px 4px 0;

    color: white;
    background: var(--maroon);

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   FILTERS
============================================================ */

.rp-filter-grid {
    display: grid;

    grid-template-columns:
        minmax(180px, 240px)
        minmax(180px, 240px)
        minmax(180px, 240px)
        auto;

    align-items: end;

    gap: 12px;
}

.rp-filter label {
    display: block;

    margin-bottom: 7px;

    color: #666b6e;

    font-size: 12px;
    font-weight: 700;
}

.rp-filter select {
    width: 100%;
    height: 43px;

    padding: 0 38px 0 12px;

    border: 1px solid #c7cacc;
    border-radius: 4px;

    outline: none;

    color: #505558;
    background: white;

    font-family: inherit;
    font-size: 13px;
}

.rp-clear {
    min-height: 43px;

    padding: 0 16px;

    border: 1px solid #cfd1d2;
    border-radius: 4px;

    color: #616669;
    background: #f7f7f7;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   RESULTS
============================================================ */

.rp-results {
    display: flex;
    align-items: baseline;

    gap: 5px;

    color: #858a8d;

    font-size: 12px;
}

.rp-results strong {
    color: var(--charcoal);

    font-size: 17px;
}


/* ============================================================
   BULK BAR
============================================================ */

.rp-bulk-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 57px;

    padding: 10px 16px;

    border-bottom: 1px solid #d8dadd;

    color: #505558;
    background: #f8edef;

    font-size: 12px;
}

.rp-bulk-bar[hidden] {
    display: none;
}

.rp-bulk-bar strong {
    color: var(--maroon);

    font-size: 14px;
}

.rp-bulk-actions {
    display: flex;
    align-items: center;

    gap: 7px;
}

.rp-bulk-actions button {
    min-height: 34px;

    padding: 0 11px;

    border: 1px solid #c8cacc;
    border-radius: 3px;

    color: #565b5e;
    background: white;

    font-family: inherit;
    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   TABLE
============================================================ */

.rp-table-wrap {
    width: 100%;

    overflow-x: auto;
}

.rp-table {
    width: 100%;
    min-width: 1200px;

    border-collapse: collapse;

    table-layout: fixed;
}

.rp-table th {
    height: 47px;

    padding: 0 13px;

    border-bottom: 1px solid #cfd1d2;

    color: #5f6467;
    background: #eef0f1;

    font-size: 12px;
    font-weight: 700;

    text-align: left;
    vertical-align: middle;

    white-space: nowrap;
}

.rp-table td {
    height: 75px;

    padding: 13px;

    border-bottom: 1px solid #e2e4e5;

    color: #5b6063;

    font-size: 12px;

    vertical-align: middle;
}

.rp-table tbody tr:hover {
    background: #fafafa;
}

.rp-table tbody tr[hidden] {
    display: none;
}


/* ============================================================
   COLUMN WIDTHS
============================================================ */

.rp-table th:nth-child(1),
.rp-table td:nth-child(1) {
    width: 42px;
}

.rp-table th:nth-child(2),
.rp-table td:nth-child(2) {
    width: 255px;
}

.rp-table th:nth-child(3),
.rp-table td:nth-child(3) {
    width: 90px;
}

.rp-table th:nth-child(4),
.rp-table td:nth-child(4) {
    width: 135px;
}

.rp-table th:nth-child(5),
.rp-table td:nth-child(5) {
    width: 145px;
}

.rp-table th:nth-child(6),
.rp-table td:nth-child(6) {
    width: 85px;
}

.rp-table th:nth-child(7),
.rp-table td:nth-child(7),
.rp-table th:nth-child(8),
.rp-table td:nth-child(8) {
    width: 70px;
}

.rp-table th:nth-child(9),
.rp-table td:nth-child(9) {
    width: 65px;
}

.rp-table th:nth-child(10),
.rp-table td:nth-child(10) {
    width: 70px;
}


/* ============================================================
   PRODUCT
============================================================ */

.rp-product {
    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 0;
}

.rp-product-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border-radius: 4px;

    color: white;
    background: var(--maroon);

    font-size: 10px;
    font-weight: 800;
}

.rp-product-icon.excluded {
    color: #6e7376;
    background: #e9eaeb;
}

.rp-product > div:last-child {
    min-width: 0;
}

.rp-product strong {
    display: block;

    overflow: hidden;

    color: var(--charcoal);

    font-size: 13px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.rp-product span {
    display: block;

    margin-top: 4px;

    color: #929699;

    font-size: 10px;
}


/* ============================================================
   PRS ID
============================================================ */

.rp-prs-id {
    display: inline-block;

    padding: 5px 7px;

    border: 1px solid #d5d7d8;
    border-radius: 3px;

    color: #5d6265;
    background: #f8f8f8;

    font-size: 10px;
    font-weight: 700;
}


/* ============================================================
   SWITCH
============================================================ */

.rp-switch {
    position: relative;

    display: inline-block;

    width: 42px;
    height: 23px;

    flex: 0 0 42px;
}

.rp-switch input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
}

.rp-switch > span {
    position: absolute;

    inset: 0;

    border-radius: 20px;

    background: #c8cbcd;

    cursor: pointer;

    transition: .18s ease;
}

.rp-switch > span::after {
    position: absolute;

    top: 3px;
    left: 3px;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 1px 3px
        rgba(0, 0, 0, .22);

    content: "";

    transition: .18s ease;
}

.rp-switch input:checked + span {
    background: var(--green);
}

.rp-switch input:checked + span::after {
    transform: translateX(19px);
}


/* ============================================================
   YES / NO / RATE
============================================================ */

.rp-yes {
    color: var(--green);

    font-weight: 700;
}

.rp-no {
    color: #929699;

    font-weight: 700;
}

.rp-rate {
    color: var(--charcoal);

    font-size: 13px;
}

.rp-muted {
    color: #a0a4a6;
}


/* ============================================================
   EDIT
============================================================ */

.rp-edit-button {
    min-width: 50px;
    min-height: 32px;

    padding: 0 10px;

    border: 1px solid #cfd1d2;
    border-radius: 4px;

    color: var(--maroon);
    background: white;

    font-family: inherit;
    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}

.rp-edit-button:hover {
    border-color: var(--maroon);

    color: white;
    background: var(--maroon);
}


/* ============================================================
   EMPTY
============================================================ */

.rp-empty {
    padding: 60px 20px;

    text-align: center;
}

.rp-empty[hidden] {
    display: none;
}

.rp-empty h3 {
    margin: 0 0 6px;

    color: var(--charcoal);

    font-size: 18px;
}

.rp-empty p {
    margin: 0 0 15px;

    color: #858a8d;

    font-size: 12px;
}

.rp-empty button {
    min-height: 38px;

    padding: 0 14px;

    border: 1px solid var(--maroon);
    border-radius: 4px;

    color: white;
    background: var(--maroon);

    font-family: inherit;
    font-weight: 700;
}


/* ============================================================
   FOOTER / PAGINATION
============================================================ */

.rp-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 66px;

    padding: 12px 16px;

    border-top: 1px solid var(--border-light);

    color: #858a8d;
    background: #fafafa;

    font-size: 12px;
}

.rp-table-footer strong {
    color: var(--charcoal);
}

.rp-pagination {
    display: flex;
    align-items: center;

    gap: 5px;
}

.rp-pagination button {
    min-width: 34px;
    height: 34px;

    padding: 0 10px;

    border: 1px solid #cfd1d2;
    border-radius: 3px;

    color: #5f6467;
    background: white;

    font-family: inherit;
    font-size: 11px;

    cursor: pointer;
}

.rp-pagination button.active {
    border-color: var(--maroon);

    color: white;
    background: var(--maroon);
}

.rp-pagination button:disabled {
    color: #b3b6b8;
    background: #f5f5f5;

    cursor: default;
}


/* ============================================================
   DRAWER
============================================================ */

body.rp-drawer-open {
    overflow: hidden;
}

.rp-drawer-backdrop {
    position: fixed;

    z-index: 4000;

    inset: 0;

    visibility: hidden;

    background:
        rgba(20, 22, 24, .42);

    opacity: 0;

    transition: .2s ease;
}

.rp-drawer-backdrop.open {
    visibility: visible;

    opacity: 1;
}

.rp-drawer {
    position: fixed;

    z-index: 4100;

    top: 0;
    right: 0;

    display: flex;
    flex-direction: column;

    width: min(470px, 100%);
    height: 100vh;

    background: white;

    box-shadow:
        -10px 0 35px
        rgba(0, 0, 0, .18);

    transform: translateX(105%);

    transition:
        transform .22s ease;
}

.rp-drawer.open {
    transform: translateX(0);
}

.rp-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    padding: 24px;

    border-top: 12px solid var(--maroon);
    border-bottom: 1px solid var(--border);
}

.rp-drawer-header span {
    color: var(--maroon);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .6px;
}

.rp-drawer-header h2 {
    margin: 4px 0 0;

    color: var(--charcoal);

    font-size: 23px;
}

.rp-drawer-header button {
    width: 36px;
    height: 36px;

    border: 1px solid #d4d6d7;
    border-radius: 3px;

    color: #666b6e;
    background: white;

    font-size: 25px;

    cursor: pointer;
}

.rp-drawer-body {
    flex: 1;

    overflow-y: auto;

    padding: 24px;
}

.rp-drawer-product {
    padding: 14px 15px;

    border: 1px solid #dedfe0;

    background: #f7f8f8;
}

.rp-drawer-product span {
    display: block;

    color: #858a8d;

    font-size: 10px;
    font-weight: 700;
}

.rp-drawer-product strong {
    display: block;

    margin-top: 4px;

    color: var(--charcoal);

    font-size: 14px;
}

.rp-setting-section {
    padding: 24px 0;

    border-bottom: 1px solid #e3e4e5;
}

.rp-setting-section h3 {
    margin: 0 0 14px;

    color: var(--charcoal);

    font-size: 15px;
}

.rp-setting-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 13px 0;
}

.rp-setting-toggle > div {
    min-width: 0;
}

.rp-setting-toggle strong {
    display: block;

    color: #4d5255;

    font-size: 13px;
}

.rp-setting-toggle > div > span {
    display: block;

    margin-top: 4px;

    color: #858a8d;

    font-size: 11px;
    line-height: 1.45;
}

.rp-rate-field > span {
    display: block;

    margin-bottom: 7px;

    color: #606568;

    font-size: 12px;
    font-weight: 700;
}

.rp-rate-field > div {
    display: flex;

    width: 160px;
}

.rp-rate-field input {
    width: 115px;
    height: 42px;

    box-sizing: border-box;

    padding: 0 11px;

    border: 1px solid #c9ccce;
    border-right: 0;

    border-radius: 4px 0 0 4px;

    outline: none;

    font-family: inherit;
    font-size: 14px;
}

.rp-rate-field > div > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;

    border: 1px solid #c9ccce;
    border-radius: 0 4px 4px 0;

    color: #666b6e;
    background: #f5f5f5;

    font-weight: 700;
}

.rp-field-help {
    margin: 8px 0 0;

    color: #898e91;

    font-size: 11px;
    line-height: 1.45;
}

.rp-drawer-footer {
    display: flex;
    justify-content: flex-end;

    gap: 9px;

    padding: 17px 24px;

    border-top: 1px solid #dfe1e2;

    background: #fafafa;
}

.rp-secondary-button,
.rp-save-button {
    min-height: 42px;

    padding: 0 17px;

    border-radius: 4px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.rp-secondary-button {
    border: 1px solid #c9ccce;

    color: #606568;
    background: white;
}

.rp-save-button {
    border: 1px solid var(--maroon);

    color: white;
    background: var(--maroon);
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1100px) {

    .rp-summary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .rp-filter-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .rp-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .rp-heading h1 {
        font-size: 29px;
    }

    .rp-heading-status {
        width: 100%;

        box-sizing: border-box;
    }

    .rp-summary-grid {
        grid-template-columns: 1fr;
    }

    .rp-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .rp-search {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .rp-search-field input {
        border: 1px solid #bdc1c3;
        border-radius: 4px;
    }

    .rp-search button {
        height: 44px;

        border-radius: 4px;
    }

    .rp-filter-grid {
        grid-template-columns: 1fr;
    }

    .rp-clear {
        width: 100%;
    }

    .rp-bulk-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .rp-bulk-actions {
        flex-wrap: wrap;
    }

    .rp-table-footer {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* ============================================================
   REWARD TYPE
============================================================ */

.rp-reward-type {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-bottom: 20px;
}

.rp-reward-type-option {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    padding: 14px;

    border: 1px solid #d4d6d7;
    border-radius: 4px;

    background: white;

    cursor: pointer;
}

.rp-reward-type-option:has(input:checked) {
    border-color: var(--maroon);

    background: #fff8fa;

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.rp-reward-type-option input {
    margin: 3px 0 0;

    accent-color: var(--maroon);
}

.rp-reward-type-option > span {
    display: block;
}

.rp-reward-type-option strong {
    display: block;

    color: var(--charcoal);

    font-size: 13px;
}

.rp-reward-type-option small {
    display: block;

    margin-top: 4px;

    color: #858a8d;

    font-size: 10px;
    line-height: 1.45;
}


/* ============================================================
   REWARD VALUE
============================================================ */

.rp-reward-value-field {
    padding: 16px;

    border: 1px solid #dedfe0;

    background: #f8f9f9;
}

.rp-reward-value-field[hidden] {
    display: none;
}

.rp-reward-value-field > label {
    display: block;

    margin-bottom: 8px;

    color: #555a5d;

    font-size: 12px;
    font-weight: 700;
}

.rp-value-input {
    display: flex;

    width: 175px;
}

.rp-value-input input {
    width: 125px;
    height: 43px;

    box-sizing: border-box;

    padding: 0 12px;

    border: 1px solid #c8cbcd;

    outline: none;

    color: var(--charcoal);
    background: white;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
}

.rp-value-input > span:not(.rp-value-prefix) {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;

    border: 1px solid #c8cbcd;
    border-left: 0;

    color: #656a6d;
    background: #eeeeef;

    font-size: 13px;
    font-weight: 700;
}

.rp-value-prefix {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;

    border: 1px solid #c8cbcd;
    border-right: 0;

    color: #656a6d;
    background: #eeeeef;

    font-size: 14px;
    font-weight: 700;
}

.rp-value-prefix + input {
    width: 130px;
}

.rp-reward-value-field p {
    margin: 9px 0 0;

    color: #858a8d;

    font-size: 11px;
    line-height: 1.45;
}


@media (max-width: 500px) {

    .rp-reward-type {
        grid-template-columns: 1fr;
    }

}

/* ============================================================

   BOUNCE BACK REWARDS
   ADMIN - REFERRALS

============================================================ */


/* ============================================================
   PAGE
============================================================ */

.rf-page {
    width: 100%;
}


/* ============================================================
   HEADING
============================================================ */

.rf-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 22px;
}

.rf-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: var(--maroon);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .65px;
}

.rf-heading h1 {
    margin: 0;

    color: var(--charcoal);

    font-size: 34px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -.8px;
}

.rf-heading p {
    max-width: 750px;

    margin: 9px 0 0;

    color: #777c80;

    font-size: 15px;
    line-height: 1.55;
}


/* ============================================================
   PROGRAM STATUS
============================================================ */

.rf-program-status {
    display: flex;
    align-items: center;

    flex: 0 0 auto;

    gap: 11px;

    min-width: 220px;

    box-sizing: border-box;

    padding: 12px 15px;

    border: 1px solid #d8dadd;

    background: white;
}

.rf-program-dot {
    flex: 0 0 11px;

    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 4px
        var(--green-bg);
}

.rf-program-status strong {
    display: block;

    color: var(--charcoal);

    font-size: 12px;
}

.rf-program-status span:not(.rf-program-dot) {
    display: block;

    margin-top: 3px;

    color: #898e91;

    font-size: 10px;
}


/* ============================================================
   SUMMARY
============================================================ */

.rf-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 18px;
}

.rf-summary-card {
    min-width: 0;
    min-height: 115px;

    box-sizing: border-box;

    padding: 18px 20px;

    border: 1px solid var(--border);
    border-top: 6px solid #c9ccce;

    color: inherit;
    background: white;

    font-family: inherit;

    text-align: left;
}

button.rf-summary-card {
    cursor: pointer;
}

button.rf-summary-card:hover {
    background: #fdfdfd;
}

.rf-summary-card.active {
    border-top-color: var(--maroon);

    background: #fffafb;
}

.rf-summary-card.completed {
    border-top-color: var(--green);
}

.rf-summary-card > span {
    display: block;

    margin-bottom: 7px;

    color: #777c80;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .45px;
}

.rf-summary-card > strong {
    display: block;

    overflow: hidden;

    color: var(--charcoal);

    font-size: 28px;
    font-weight: 700;

    line-height: 1.05;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.rf-summary-card small {
    display: block;

    margin-top: 7px;

    color: #919598;

    font-size: 11px;
}


/* ============================================================
   PROGRAM CARD
============================================================ */

.rf-program-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        auto;

    align-items: center;

    gap: 30px;

    margin-bottom: 18px;

    padding: 20px 22px;

    border: 1px solid #d4d6d7;
    border-left: 6px solid var(--maroon);

    background: white;
}

.rf-program-label {
    display: block;

    margin-bottom: 5px;

    color: var(--maroon);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .55px;
}

.rf-program-main h2 {
    margin: 0;

    color: var(--charcoal);

    font-size: 22px;
    font-weight: 600;
}

.rf-program-main p {
    max-width: 690px;

    margin: 7px 0 0;

    color: #777c80;

    font-size: 12px;
    line-height: 1.5;
}

.rf-program-values {
    display: flex;

    gap: 8px;
}

.rf-program-values > div {
    min-width: 125px;

    padding: 12px 14px;

    border: 1px solid #dedfe0;

    background: #f7f8f8;
}

.rf-program-values span {
    display: block;

    color: #858a8d;

    font-size: 9px;
    font-weight: 700;
}

.rf-program-values strong {
    display: block;

    margin-top: 3px;

    color: var(--maroon);

    font-size: 18px;
}

.rf-program-card > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 14px;

    border: 1px solid var(--maroon);
    border-radius: 4px;

    color: var(--maroon);
    background: white;

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}

.rf-program-card > a:hover {
    color: white;
    background: var(--maroon);
}


/* ============================================================
   PANELS
============================================================ */

.rf-panel {
    overflow: hidden;

    width: 100%;

    border: 1px solid var(--border);
    border-top: 9px solid #c8cacc;

    background: white;
}

.rf-filter-panel {
    margin-bottom: 20px;
}

.rf-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 80px;

    box-sizing: border-box;

    padding: 15px 20px;

    border-bottom: 1px solid var(--border-light);
}

.rf-panel-eyebrow {
    display: block;

    margin-bottom: 3px;

    color: var(--maroon);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .55px;
}

.rf-panel-header h2 {
    margin: 0;

    color: var(--charcoal);

    font-size: 22px;
    font-weight: 500;
}

.rf-panel-header p {
    margin: 5px 0 0;

    color: #858a8d;

    font-size: 12px;
    line-height: 1.45;
}


/* ============================================================
   SEARCH
============================================================ */

.rf-filter-body {
    padding: 20px;
}

.rf-search {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        110px;

    margin-bottom: 18px;
}

.rf-search-field {
    position: relative;
}

.rf-search-field svg {
    position: absolute;

    top: 50%;
    left: 16px;

    width: 21px;
    height: 21px;

    fill: none;
    stroke: #898e91;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transform: translateY(-50%);

    pointer-events: none;
}

.rf-search-field input {
    display: block;

    width: 100%;
    height: 50px;

    box-sizing: border-box;

    padding: 0 16px 0 50px;

    border: 1px solid #bdc1c3;
    border-right: 0;

    border-radius: 4px 0 0 4px;

    outline: none;

    color: var(--charcoal);
    background: white;

    font-family: inherit;
    font-size: 14px;
}

.rf-search-field input:focus {
    position: relative;

    z-index: 2;

    border-color: var(--maroon);

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.rf-search > button {
    height: 50px;

    border: 1px solid var(--maroon);

    border-radius: 0 4px 4px 0;

    color: white;
    background: var(--maroon);

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.rf-search > button:hover {
    background: var(--maroon-dark);
}


/* ============================================================
   FILTERS
============================================================ */

.rf-filter-grid {
    display: grid;

    grid-template-columns:
        minmax(180px, 240px)
        minmax(180px, 240px)
        minmax(180px, 240px)
        auto;

    align-items: end;

    gap: 12px;
}

.rf-filter label {
    display: block;

    margin-bottom: 7px;

    color: #666b6e;

    font-size: 12px;
    font-weight: 700;
}

.rf-filter select {
    display: block;

    width: 100%;
    height: 43px;

    box-sizing: border-box;

    padding: 0 38px 0 12px;

    border: 1px solid #c7cacc;
    border-radius: 4px;

    outline: none;

    color: #505558;
    background: white;

    font-family: inherit;
    font-size: 13px;

    cursor: pointer;
}

.rf-filter select:focus {
    border-color: var(--maroon);

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.rf-clear {
    min-height: 43px;

    padding: 0 16px;

    border: 1px solid #cfd1d2;
    border-radius: 4px;

    color: #616669;
    background: #f7f7f7;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.rf-clear:hover {
    border-color: #b9bcbe;

    color: var(--maroon);

    background: white;
}


/* ============================================================
   RESULTS
============================================================ */

.rf-results {
    display: flex;
    align-items: baseline;

    gap: 5px;

    color: #858a8d;

    font-size: 12px;

    white-space: nowrap;
}

.rf-results strong {
    color: var(--charcoal);

    font-size: 17px;
}


/* ============================================================
   TABLE
============================================================ */

.rf-table-wrap {
    width: 100%;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}

.rf-table {
    width: 100%;
    min-width: 1400px;

    border-collapse: collapse;

    table-layout: fixed;

    background: white;
}

.rf-table th {
    height: 47px;

    box-sizing: border-box;

    padding: 0 13px;

    border-bottom: 1px solid #cfd1d2;

    color: #5f6467;
    background: #eef0f1;

    font-size: 12px;
    font-weight: 700;

    text-align: left;
    vertical-align: middle;

    white-space: nowrap;
}

.rf-table td {
    height: 78px;

    box-sizing: border-box;

    padding: 13px;

    border-bottom: 1px solid #e2e4e5;

    color: #5b6063;

    font-size: 12px;

    vertical-align: middle;
}

.rf-table tbody tr:hover {
    background: #fafafa;
}

.rf-table tbody tr[hidden] {
    display: none;
}


/* ============================================================
   COLUMN WIDTHS
============================================================ */

.rf-table th:nth-child(1),
.rf-table td:nth-child(1) {
    width: 115px;
}

.rf-table th:nth-child(2),
.rf-table td:nth-child(2) {
    width: 195px;
}

.rf-table th:nth-child(3),
.rf-table td:nth-child(3) {
    width: 195px;
}

.rf-table th:nth-child(4),
.rf-table td:nth-child(4) {
    width: 125px;
}

.rf-table th:nth-child(5),
.rf-table td:nth-child(5) {
    width: 105px;
}

.rf-table th:nth-child(6),
.rf-table td:nth-child(6) {
    width: 145px;
}

.rf-table th:nth-child(7),
.rf-table td:nth-child(7) {
    width: 125px;
}

.rf-table th:nth-child(8),
.rf-table td:nth-child(8) {
    width: 135px;
}

.rf-table th:nth-child(9),
.rf-table td:nth-child(9) {
    width: 70px;
}


/* ============================================================
   DATE
============================================================ */

.rf-date strong {
    display: block;

    color: #4e5356;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}

.rf-date span {
    display: block;

    margin-top: 4px;

    color: #93979a;

    font-size: 10px;
}


/* ============================================================
   PERSON
============================================================ */

.rf-person {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 0;

    color: inherit;

    text-decoration: none;
}

.rf-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    box-sizing: border-box;

    margin: 0;
    padding: 0;

    border-radius: 50%;

    color: white;
    background: var(--maroon);

    font-size: 10px;
    font-weight: 700;

    line-height: 1;
}

.rf-avatar.secondary {
    color: #555a5d;
    background: #e7e8e9;
}

.rf-person > span:last-child {
    min-width: 0;
}

.rf-person strong {
    display: block;

    overflow: hidden;

    color: var(--charcoal);

    font-size: 12px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.rf-person small {
    display: block;

    margin-top: 4px;

    color: #929699;

    font-size: 9px;

    white-space: nowrap;
}

.rf-person:hover strong {
    color: var(--maroon);
}


/* ============================================================
   REFERRAL CODE
============================================================ */

.rf-code {
    display: inline-block;

    padding: 6px 8px;

    border: 1px solid #d5d7d8;
    border-radius: 3px;

    color: #555a5d;
    background: #f7f8f8;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .25px;
}


/* ============================================================
   STATUS
============================================================ */

.rf-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 29px;

    box-sizing: border-box;

    padding: 0 11px;

    border-radius: 20px;

    font-size: 9px;
    font-weight: 700;

    white-space: nowrap;
}

.rf-joined {
    color: #52677c;
    background: #e8eef3;
}

.rf-booked {
    color: #8b6410;
    background: #fff2cf;
}

.rf-completed {
    color: #28734a;
    background: #e7f4ec;
}

.rf-cancelled {
    color: #7c7f82;
    background: #eeeeef;
}


/* ============================================================
   RENTAL
============================================================ */

.rf-rental strong {
    display: block;

    color: var(--charcoal);

    font-size: 11px;
}

.rf-rental span {
    display: block;

    overflow: hidden;

    margin-top: 4px;

    color: #8d9295;

    font-size: 9px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.rf-no-rental {
    color: #929699;

    font-size: 10px;
    font-style: italic;
}


/* ============================================================
   REWARDS
============================================================ */

.rf-reward-issued strong,
.rf-reward-pending strong,
.rf-reward-waiting strong {
    display: block;

    font-size: 12px;
    font-weight: 700;
}

.rf-reward-issued strong {
    color: var(--green);
}

.rf-reward-pending strong {
    color: #8b6410;
}

.rf-reward-waiting strong {
    color: #777c80;
}

.rf-reward-issued span,
.rf-reward-pending span,
.rf-reward-waiting span {
    display: block;

    margin-top: 4px;

    color: #929699;

    font-size: 9px;

    white-space: nowrap;
}


/* ============================================================
   VIEW
============================================================ */

.rf-view {
    min-width: 50px;
    min-height: 32px;

    padding: 0 9px;

    border: 1px solid #cfd1d2;
    border-radius: 4px;

    color: var(--maroon);
    background: white;

    font-family: inherit;
    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}

.rf-view:hover {
    border-color: var(--maroon);

    color: white;
    background: var(--maroon);
}


/* ============================================================
   EMPTY
============================================================ */

.rf-empty {
    padding: 60px 20px;

    text-align: center;
}

.rf-empty[hidden] {
    display: none;
}

.rf-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin: 0 auto 12px;

    border-radius: 50%;

    color: var(--maroon);
    background: #f6e9ed;

    font-size: 22px;
}

.rf-empty h3 {
    margin: 0 0 6px;

    color: var(--charcoal);

    font-size: 18px;
}

.rf-empty p {
    margin: 0 0 15px;

    color: #858a8d;

    font-size: 12px;
}

.rf-empty button {
    min-height: 38px;

    padding: 0 14px;

    border: 1px solid var(--maroon);
    border-radius: 4px;

    color: white;
    background: var(--maroon);

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   TABLE FOOTER
============================================================ */

.rf-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 66px;

    box-sizing: border-box;

    padding: 12px 16px;

    border-top: 1px solid var(--border-light);

    color: #858a8d;
    background: #fafafa;

    font-size: 12px;
}

.rf-table-footer strong {
    color: var(--charcoal);
}


/* ============================================================
   PAGINATION
============================================================ */

.rf-pagination {
    display: flex;
    align-items: center;

    gap: 5px;
}

.rf-pagination button {
    min-width: 34px;
    height: 34px;

    padding: 0 10px;

    border: 1px solid #cfd1d2;
    border-radius: 3px;

    color: #5f6467;
    background: white;

    font-family: inherit;
    font-size: 11px;

    cursor: pointer;
}

.rf-pagination button.active {
    border-color: var(--maroon);

    color: white;
    background: var(--maroon);
}

.rf-pagination button:disabled {
    color: #b3b6b8;
    background: #f5f5f5;

    cursor: default;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1200px) {

    .rf-summary-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .rf-program-card {
        grid-template-columns:
            1fr auto;
    }

    .rf-program-card > a {
        grid-column: 1 / -1;

        justify-self: start;
    }

    .rf-filter-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .rf-filter-action {
        grid-column: 1 / -1;
    }

}


@media (max-width: 800px) {

    .rf-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .rf-program-status {
        width: 100%;
    }

    .rf-summary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .rf-program-card {
        grid-template-columns: 1fr;
    }

    .rf-program-values {
        flex-wrap: wrap;
    }

    .rf-filter-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .rf-filter-action {
        grid-column: auto;
    }

}


@media (max-width: 600px) {

    .rf-heading h1 {
        font-size: 29px;
    }

    .rf-summary-grid {
        grid-template-columns: 1fr;
    }

    .rf-program-values {
        display: grid;

        grid-template-columns:
            1fr 1fr;
    }

    .rf-program-values > div {
        min-width: 0;
    }

    .rf-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .rf-search {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .rf-search-field input {
        border: 1px solid #bdc1c3;

        border-radius: 4px;
    }

    .rf-search > button {
        height: 44px;

        border-radius: 4px;
    }

    .rf-filter-grid {
        grid-template-columns: 1fr;
    }

    .rf-clear {
        width: 100%;
    }

    .rf-table-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .rf-pagination {
        overflow-x: auto;

        width: 100%;
    }

}

/* ============================================================

   BOUNCE BACK REWARDS
   ADMIN - PROMOTIONS

============================================================ */


/* ============================================================
   PAGE
============================================================ */

.pm-page {
    width: 100%;
}


/* ============================================================
   HEADING
============================================================ */

.pm-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 22px;
}

.pm-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: var(--maroon);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .65px;
}

.pm-heading h1 {
    margin: 0;

    color: var(--charcoal);

    font-size: 34px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -.8px;
}

.pm-heading p {
    max-width: 760px;

    margin: 9px 0 0;

    color: #777c80;

    font-size: 15px;
    line-height: 1.55;
}


/* ============================================================
   CREATE BUTTON
============================================================ */

.pm-create-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 44px;

    padding: 0 17px;

    border: 1px solid var(--maroon);
    border-radius: 4px;

    color: white;
    background: var(--maroon);

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;
}

.pm-create-button span {
    font-size: 17px;
    font-weight: 400;
}

.pm-create-button:hover {
    background: var(--maroon-dark);
}


/* ============================================================
   SUMMARY
============================================================ */

.pm-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 18px;
}

.pm-summary-card {
    min-width: 0;
    min-height: 115px;

    box-sizing: border-box;

    padding: 18px 20px;

    border: 1px solid var(--border);
    border-top: 6px solid #c9ccce;

    color: inherit;
    background: white;

    font-family: inherit;

    text-align: left;
}

button.pm-summary-card {
    cursor: pointer;
}

button.pm-summary-card:hover {
    background: #fdfdfd;
}

.pm-summary-card.active {
    border-top-color: var(--maroon);

    background: #fffafb;
}

.pm-summary-card.active-card {
    border-top-color: var(--green);
}

.pm-summary-card.scheduled-card {
    border-top-color: #b18425;
}

.pm-summary-card > span {
    display: block;

    margin-bottom: 7px;

    color: #777c80;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .45px;
}

.pm-summary-card > strong {
    display: block;

    overflow: hidden;

    color: var(--charcoal);

    font-size: 28px;
    font-weight: 700;

    line-height: 1.05;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-summary-card small {
    display: block;

    margin-top: 7px;

    color: #919598;

    font-size: 11px;
}


/* ============================================================
   PANELS
============================================================ */

.pm-panel {
    overflow: hidden;

    width: 100%;

    border: 1px solid var(--border);
    border-top: 9px solid #c8cacc;

    background: white;
}

.pm-filter-panel {
    margin-bottom: 20px;
}

.pm-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 80px;

    box-sizing: border-box;

    padding: 15px 20px;

    border-bottom: 1px solid var(--border-light);
}

.pm-panel-eyebrow {
    display: block;

    margin-bottom: 3px;

    color: var(--maroon);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .55px;
}

.pm-panel-header h2 {
    margin: 0;

    color: var(--charcoal);

    font-size: 22px;
    font-weight: 500;
}

.pm-panel-header p {
    margin: 5px 0 0;

    color: #858a8d;

    font-size: 12px;
    line-height: 1.45;
}


/* ============================================================
   SEARCH / FILTER
============================================================ */

.pm-filter-body {
    padding: 20px;
}

.pm-search {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        110px;

    margin-bottom: 18px;
}

.pm-search-field {
    position: relative;
}

.pm-search-field svg {
    position: absolute;

    top: 50%;
    left: 16px;

    width: 21px;
    height: 21px;

    fill: none;
    stroke: #898e91;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transform: translateY(-50%);
}

.pm-search-field input {
    display: block;

    width: 100%;
    height: 50px;

    box-sizing: border-box;

    padding: 0 16px 0 50px;

    border: 1px solid #bdc1c3;
    border-right: 0;

    border-radius: 4px 0 0 4px;

    outline: none;

    color: var(--charcoal);
    background: white;

    font-family: inherit;
    font-size: 14px;
}

.pm-search-field input:focus {
    border-color: var(--maroon);

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.pm-search > button {
    height: 50px;

    border: 1px solid var(--maroon);

    border-radius: 0 4px 4px 0;

    color: white;
    background: var(--maroon);

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.pm-filter-grid {
    display: grid;

    grid-template-columns:
        minmax(180px, 240px)
        minmax(180px, 240px)
        minmax(180px, 240px)
        auto;

    align-items: end;

    gap: 12px;
}

.pm-filter label {
    display: block;

    margin-bottom: 7px;

    color: #666b6e;

    font-size: 12px;
    font-weight: 700;
}

.pm-filter select {
    display: block;

    width: 100%;
    height: 43px;

    box-sizing: border-box;

    padding: 0 12px;

    border: 1px solid #c7cacc;
    border-radius: 4px;

    outline: none;

    color: #505558;
    background: white;

    font-family: inherit;
    font-size: 13px;
}

.pm-clear {
    min-height: 43px;

    padding: 0 16px;

    border: 1px solid #cfd1d2;
    border-radius: 4px;

    color: #616669;
    background: #f7f7f7;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   RESULTS
============================================================ */

.pm-results {
    display: flex;
    align-items: baseline;

    gap: 5px;

    color: #858a8d;

    font-size: 12px;
}

.pm-results strong {
    color: var(--charcoal);

    font-size: 17px;
}


/* ============================================================
   TABLE
============================================================ */

.pm-table-wrap {
    overflow-x: auto;

    width: 100%;
}

.pm-table {
    width: 100%;
    min-width: 1320px;

    border-collapse: collapse;

    table-layout: fixed;
}

.pm-table th {
    height: 47px;

    box-sizing: border-box;

    padding: 0 13px;

    border-bottom: 1px solid #cfd1d2;

    color: #5f6467;
    background: #eef0f1;

    font-size: 12px;
    font-weight: 700;

    text-align: left;
    vertical-align: middle;
}

.pm-table td {
    height: 80px;

    box-sizing: border-box;

    padding: 13px;

    border-bottom: 1px solid #e2e4e5;

    color: #5b6063;

    font-size: 12px;

    vertical-align: middle;
}

.pm-table tbody tr:hover {
    background: #fafafa;
}

.pm-table tbody tr[hidden] {
    display: none;
}


/* WIDTHS */

.pm-table th:nth-child(1),
.pm-table td:nth-child(1) {
    width: 220px;
}

.pm-table th:nth-child(2),
.pm-table td:nth-child(2) {
    width: 115px;
}

.pm-table th:nth-child(3),
.pm-table td:nth-child(3) {
    width: 190px;
}

.pm-table th:nth-child(4),
.pm-table td:nth-child(4) {
    width: 140px;
}

.pm-table th:nth-child(5),
.pm-table td:nth-child(5) {
    width: 140px;
}

.pm-table th:nth-child(6),
.pm-table td:nth-child(6) {
    width: 105px;
}

.pm-table th:nth-child(7),
.pm-table td:nth-child(7) {
    width: 75px;
}

.pm-table th:nth-child(8),
.pm-table td:nth-child(8) {
    width: 130px;
}

.pm-table th:nth-child(9),
.pm-table td:nth-child(9) {
    width: 70px;
}


/* ============================================================
   PROMOTION NAME
============================================================ */

.pm-promotion-name {
    display: flex;
    align-items: center;

    gap: 10px;

    min-width: 0;
}

.pm-promo-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    color: white;
    background: var(--maroon);

    font-size: 15px;
    font-weight: 700;
}

.pm-promotion-name > div {
    min-width: 0;
}

.pm-promotion-name strong {
    display: block;

    overflow: hidden;

    color: var(--charcoal);

    font-size: 12px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.pm-promotion-name div span {
    display: block;

    overflow: hidden;

    margin-top: 4px;

    color: #929699;

    font-size: 9px;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ============================================================
   TABLE CONTENT
============================================================ */

.pm-reward strong {
    display: block;

    color: var(--maroon);

    font-size: 16px;
    font-weight: 700;
}

.pm-reward span,
.pm-scope span,
.pm-dates span,
.pm-issued span {
    display: block;

    margin-top: 4px;

    color: #929699;

    font-size: 9px;
}

.pm-scope strong,
.pm-dates strong {
    display: block;

    color: #4d5255;

    font-size: 11px;
    font-weight: 700;
}

.pm-brand-badge {
    display: inline-block;

    padding: 6px 8px;

    border: 1px solid #d6d8d9;
    border-radius: 3px;

    color: #5d6265;
    background: #f7f8f8;

    font-size: 9px;
    font-weight: 700;
}

.pm-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 29px;

    box-sizing: border-box;

    padding: 0 11px;

    border-radius: 20px;

    font-size: 9px;
    font-weight: 700;
}

.pm-active {
    color: #28734a;
    background: #e7f4ec;
}

.pm-scheduled {
    color: #896313;
    background: #fff2cf;
}

.pm-ended {
    color: #72777a;
    background: #eceeef;
}

.pm-draft {
    color: #52677c;
    background: #e8eef3;
}

.pm-uses {
    color: var(--charcoal);

    font-size: 13px;
}

.pm-issued strong {
    color: var(--green);

    font-size: 12px;
}

.pm-action-button {
    min-width: 48px;
    min-height: 32px;

    padding: 0 9px;

    border: 1px solid #cfd1d2;
    border-radius: 4px;

    color: var(--maroon);
    background: white;

    font-family: inherit;
    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}

.pm-action-button:hover {
    border-color: var(--maroon);

    color: white;
    background: var(--maroon);
}


/* ============================================================
   EMPTY
============================================================ */

.pm-empty {
    padding: 60px 20px;

    text-align: center;
}

.pm-empty[hidden] {
    display: none;
}

.pm-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin: 0 auto 12px;

    border-radius: 50%;

    color: var(--maroon);
    background: #f6e9ed;

    font-size: 20px;
    font-weight: 700;
}

.pm-empty h3 {
    margin: 0 0 6px;

    color: var(--charcoal);

    font-size: 18px;
}

.pm-empty p {
    margin: 0 0 15px;

    color: #858a8d;

    font-size: 12px;
}

.pm-empty button {
    min-height: 38px;

    padding: 0 14px;

    border: 1px solid var(--maroon);
    border-radius: 4px;

    color: white;
    background: var(--maroon);

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   TABLE FOOTER
============================================================ */

.pm-table-footer {
    min-height: 62px;

    box-sizing: border-box;

    padding: 20px;

    border-top: 1px solid var(--border-light);

    color: #858a8d;
    background: #fafafa;

    font-size: 12px;
}

.pm-table-footer strong {
    color: var(--charcoal);
}


/* ============================================================
   DRAWER
============================================================ */

body.pm-drawer-open {
    overflow: hidden;
}

.pm-drawer-overlay {
    position: fixed;

    z-index: 998;

    inset: 0;

    visibility: hidden;

    background: rgba(20, 22, 24, .48);

    opacity: 0;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}

.pm-drawer-overlay.active {
    visibility: visible;

    opacity: 1;
}

.pm-drawer {
    position: fixed;

    z-index: 999;

    top: 0;
    right: 0;

    display: flex;
    flex-direction: column;

    width: min(650px, 100%);
    height: 100vh;

    background: #f3f4f4;

    box-shadow:
        -10px 0 35px
        rgba(0, 0, 0, .16);

    transform: translateX(105%);

    transition:
        transform .25s ease;
}

.pm-drawer.active {
    transform: translateX(0);
}


/* ============================================================
   DRAWER HEADER
============================================================ */

.pm-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    flex: 0 0 auto;

    padding: 22px 24px;

    border-bottom: 1px solid #d6d8d9;

    background: white;
}

.pm-drawer-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: var(--maroon);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .65px;
}

.pm-drawer-header h2 {
    margin: 0;

    color: var(--charcoal);

    font-size: 25px;
    font-weight: 600;
}

.pm-drawer-header p {
    margin: 5px 0 0;

    color: #858a8d;

    font-size: 11px;
}

.pm-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid #d5d7d8;
    border-radius: 4px;

    color: #6f7477;
    background: white;

    font-size: 24px;
    font-weight: 300;

    cursor: pointer;
}

.pm-drawer-close:hover {
    color: white;
    background: var(--maroon);
}


/* ============================================================
   DRAWER BODY
============================================================ */

.pm-drawer-body {
    flex: 1 1 auto;

    overflow-y: auto;

    padding: 18px;
}


/* ============================================================
   FORM SECTIONS
============================================================ */

.pm-form-section {
    margin-bottom: 16px;

    padding: 20px;

    border: 1px solid #d9dbdc;

    background: white;
}

.pm-section-heading {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-bottom: 18px;
}

.pm-section-heading > span {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    color: white;
    background: var(--maroon);

    font-size: 10px;
    font-weight: 800;
}

.pm-section-heading h3 {
    margin: 0;

    color: var(--charcoal);

    font-size: 16px;
    font-weight: 700;
}

.pm-section-heading p {
    margin: 3px 0 0;

    color: #8a8f92;

    font-size: 10px;
}


/* ============================================================
   FIELDS
============================================================ */

.pm-field {
    margin-top: 16px;
}

.pm-field:first-of-type {
    margin-top: 0;
}

.pm-field > label {
    display: block;

    margin-bottom: 7px;

    color: #5c6164;

    font-size: 11px;
    font-weight: 700;
}

.pm-field input[type="text"],
.pm-field input[type="date"],
.pm-field input[type="number"],
.pm-field textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid #c9ccce;
    border-radius: 3px;

    outline: none;

    color: var(--charcoal);
    background: white;

    font-family: inherit;
    font-size: 13px;
}

.pm-field input[type="text"],
.pm-field input[type="date"],
.pm-field input[type="number"] {
    height: 43px;

    padding: 0 12px;
}

.pm-field textarea {
    padding: 11px 12px;

    resize: vertical;
}

.pm-field input:focus,
.pm-field textarea:focus {
    border-color: var(--maroon);

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.pm-field > small {
    display: block;

    margin-top: 7px;

    color: #909497;

    font-size: 10px;
    line-height: 1.45;
}


/* ============================================================
   REWARD TYPES
============================================================ */

.pm-type-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 9px;
}

.pm-type-option {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    min-height: 72px;

    box-sizing: border-box;

    padding: 12px;

    border: 1px solid #d3d5d6;
    border-radius: 4px;

    background: white;

    cursor: pointer;
}

.pm-type-option:has(input:checked) {
    border-color: var(--maroon);

    background: #fff8fa;

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.pm-type-option input {
    margin-top: 3px;

    accent-color: var(--maroon);
}

.pm-type-option strong {
    display: block;

    color: var(--charcoal);

    font-size: 11px;
}

.pm-type-option small {
    display: block;

    margin-top: 4px;

    color: #8b9093;

    font-size: 9px;
    line-height: 1.4;
}


/* ============================================================
   VALUE CONTROL
============================================================ */

.pm-reward-value {
    padding: 14px;

    border: 1px solid #dedfe0;

    background: #f8f9f9;
}

.pm-reward-value[hidden],
.pm-minimum-field[hidden] {
    display: none;
}

.pm-value-control {
    display: flex;

    width: 190px;
}

.pm-value-control input {
    width: 130px !important;

    border-radius: 0 !important;
}

.pm-value-control > span:not(.pm-prefix) {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;

    border: 1px solid #c9ccce;
    border-left: 0;

    color: #616669;
    background: #eceeef;

    font-size: 13px;
    font-weight: 700;
}

.pm-prefix {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;

    border: 1px solid #c9ccce;
    border-right: 0;

    color: #616669;
    background: #eceeef;

    font-size: 13px;
    font-weight: 700;
}

.pm-prefix.dollar {
    flex-basis: 32px;

    border-left: 0;
}


/* ============================================================
   CHOICES
============================================================ */

.pm-choice-stack {
    display: grid;

    gap: 8px;
}

.pm-choice {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    padding: 12px;

    border: 1px solid #d6d8d9;
    border-radius: 4px;

    cursor: pointer;
}

.pm-choice:has(input:checked) {
    border-color: var(--maroon);

    background: #fff8fa;
}

.pm-choice input {
    margin-top: 3px;

    accent-color: var(--maroon);
}

.pm-choice strong {
    display: block;

    color: var(--charcoal);

    font-size: 11px;
}

.pm-choice small {
    display: block;

    margin-top: 3px;

    color: #8b9093;

    font-size: 9px;
}


/* ============================================================
   BRAND CHECKS
============================================================ */

.pm-check-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 8px;
}

.pm-check {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    padding: 12px;

    border: 1px solid #d6d8d9;
    border-radius: 4px;

    cursor: pointer;
}

.pm-check:has(input:checked) {
    border-color: var(--maroon);

    background: #fff8fa;
}

.pm-check input {
    margin-top: 3px;

    accent-color: var(--maroon);
}

.pm-check strong {
    display: block;

    color: var(--charcoal);

    font-size: 11px;
}

.pm-check small {
    display: block;

    margin-top: 3px;

    color: #8b9093;

    font-size: 9px;
}


/* ============================================================
   TWO COLUMN
============================================================ */

.pm-two-column {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;
}


/* ============================================================
   NOTICE
============================================================ */

.pm-notice {
    margin-top: 14px;

    padding: 11px 12px;

    border-left: 4px solid var(--maroon);

    color: #6d7275;
    background: #f6f1f3;

    font-size: 10px;
    line-height: 1.5;
}


/* ============================================================
   SWITCHES
============================================================ */

.pm-switch-list {
    border: 1px solid #d9dbdc;
}

.pm-switch-row {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    min-height: 68px;

    box-sizing: border-box;

    padding: 12px 14px;

    border-bottom: 1px solid #e1e3e4;

    cursor: pointer;
}

.pm-switch-row:last-child {
    border-bottom: 0;
}

.pm-switch-row > span:first-child {
    flex: 1 1 auto;
}

.pm-switch-row strong {
    display: block;

    color: var(--charcoal);

    font-size: 11px;
}

.pm-switch-row small {
    display: block;

    max-width: 410px;

    margin-top: 3px;

    color: #8b9093;

    font-size: 9px;
    line-height: 1.4;
}

.pm-switch-row input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.pm-switch {
    position: relative;

    flex: 0 0 42px;

    width: 42px;
    height: 23px;

    border-radius: 30px;

    background: #c6c9cb;

    transition: .2s ease;
}

.pm-switch::after {
    content: "";

    position: absolute;

    top: 3px;
    left: 3px;

    width: 17px;
    height: 17px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 1px 3px
        rgba(0, 0, 0, .2);

    transition: .2s ease;
}

.pm-switch-row input:checked + .pm-switch {
    background: var(--maroon);
}

.pm-switch-row input:checked + .pm-switch::after {
    transform: translateX(19px);
}


/* ============================================================
   STATUS OPTIONS
============================================================ */

.pm-status-options {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 9px;
}

.pm-status-option {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    padding: 12px;

    border: 1px solid #d6d8d9;
    border-radius: 4px;

    cursor: pointer;
}

.pm-status-option:has(input:checked) {
    border-color: var(--maroon);

    background: #fff8fa;
}

.pm-status-option input {
    margin-top: 3px;

    accent-color: var(--maroon);
}

.pm-status-option strong {
    display: block;

    color: var(--charcoal);

    font-size: 11px;
}

.pm-status-option small {
    display: block;

    margin-top: 3px;

    color: #8b9093;

    font-size: 9px;
    line-height: 1.4;
}


/* ============================================================
   DRAWER FOOTER
============================================================ */

.pm-drawer-footer {
    display: flex;
    justify-content: flex-end;

    gap: 9px;

    flex: 0 0 auto;

    padding: 14px 18px;

    border-top: 1px solid #d6d8d9;

    background: white;
}

.pm-cancel-button,
.pm-save-button {
    min-height: 41px;

    padding: 0 16px;

    border-radius: 4px;

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.pm-cancel-button {
    border: 1px solid #cfd1d2;

    color: #62676a;
    background: white;
}

.pm-save-button {
    border: 1px solid var(--maroon);

    color: white;
    background: var(--maroon);
}

.pm-save-button:hover {
    background: var(--maroon-dark);
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1200px) {

    .pm-summary-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .pm-filter-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

    .pm-filter-action {
        grid-column: 1 / -1;
    }

}


@media (max-width: 800px) {

    .pm-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .pm-summary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pm-filter-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .pm-filter-action {
        grid-column: auto;
    }

}


@media (max-width: 600px) {

    .pm-heading h1 {
        font-size: 29px;
    }

    .pm-create-button {
        width: 100%;
    }

    .pm-summary-grid {
        grid-template-columns: 1fr;
    }

    .pm-search {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .pm-search-field input {
        border-right: 1px solid #bdc1c3;

        border-radius: 4px;
    }

    .pm-search > button {
        height: 44px;

        border-radius: 4px;
    }

    .pm-filter-grid {
        grid-template-columns: 1fr;
    }

    .pm-clear {
        width: 100%;
    }

    .pm-drawer-body {
        padding: 10px;
    }

    .pm-form-section {
        padding: 16px;
    }

    .pm-type-grid,
    .pm-check-grid,
    .pm-two-column,
    .pm-status-options {
        grid-template-columns: 1fr;
    }

    .pm-value-control {
        width: 100%;
    }

    .pm-value-control input {
        flex: 1 1 auto;

        width: auto !important;
    }

    .pm-drawer-footer {
        display: grid;

        grid-template-columns:
            1fr 1fr;
    }

}

/* ============================================================

   BOUNCE BACK REWARDS
   ADMIN - MANUAL ADJUSTMENTS

============================================================ */


/* ============================================================
   PAGE
============================================================ */

.adj-page {
    width: 100%;
}


/* ============================================================
   HEADING
============================================================ */

.adj-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 22px;
}

.adj-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: var(--maroon);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .65px;
}

.adj-heading h1 {
    margin: 0;

    color: var(--charcoal);

    font-size: 34px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -.8px;
}

.adj-heading p {
    max-width: 780px;

    margin: 9px 0 0;

    color: #777c80;

    font-size: 15px;
    line-height: 1.55;
}


/* ============================================================
   BUTTON
============================================================ */

.adj-create-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 44px;

    padding: 0 17px;

    border: 1px solid var(--maroon);
    border-radius: 4px;

    color: white;
    background: var(--maroon);

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;
}

.adj-create-button span {
    font-size: 17px;
    font-weight: 400;
}

.adj-create-button:hover {
    background: var(--maroon-dark);
}


/* ============================================================
   SUMMARY
============================================================ */

.adj-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 18px;
}

.adj-summary-card {
    min-width: 0;
    min-height: 115px;

    box-sizing: border-box;

    padding: 18px 20px;

    border: 1px solid var(--border);
    border-top: 6px solid #c9ccce;

    color: inherit;
    background: white;

    font-family: inherit;

    text-align: left;
}

button.adj-summary-card {
    cursor: pointer;
}

button.adj-summary-card:hover {
    background: #fdfdfd;
}

.adj-summary-card.active {
    border-top-color: var(--maroon);

    background: #fffafb;
}

.adj-summary-card > span {
    display: block;

    margin-bottom: 7px;

    color: #777c80;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .45px;
}

.adj-summary-card > strong {
    display: block;

    color: var(--charcoal);

    font-size: 28px;
    font-weight: 700;

    line-height: 1.05;
}

.adj-summary-card > strong.adj-positive {
    color: var(--green);
}

.adj-summary-card small {
    display: block;

    margin-top: 7px;

    color: #919598;

    font-size: 11px;
}


/* ============================================================
   NOTICE
============================================================ */

.adj-notice {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 18px;

    padding: 16px 18px;

    border: 1px solid #e3d7b9;
    border-left: 5px solid #a47c25;

    background: #fffaf0;
}

.adj-notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    color: white;
    background: #a47c25;

    font-size: 13px;
    font-weight: 800;
}

.adj-notice strong {
    display: block;

    color: #544b37;

    font-size: 12px;
}

.adj-notice p {
    margin: 4px 0 0;

    color: #7e755f;

    font-size: 11px;
    line-height: 1.5;
}


/* ============================================================
   PANELS
============================================================ */

.adj-panel {
    overflow: hidden;

    width: 100%;

    border: 1px solid var(--border);
    border-top: 9px solid #c8cacc;

    background: white;
}

.adj-filter-panel {
    margin-bottom: 20px;
}

.adj-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 80px;

    box-sizing: border-box;

    padding: 15px 20px;

    border-bottom: 1px solid var(--border-light);
}

.adj-panel-eyebrow {
    display: block;

    margin-bottom: 3px;

    color: var(--maroon);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .55px;
}

.adj-panel-header h2 {
    margin: 0;

    color: var(--charcoal);

    font-size: 22px;
    font-weight: 500;
}

.adj-panel-header p {
    margin: 5px 0 0;

    color: #858a8d;

    font-size: 12px;
    line-height: 1.45;
}


/* ============================================================
   SEARCH
============================================================ */

.adj-filter-body {
    padding: 20px;
}

.adj-search {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        110px;

    margin-bottom: 18px;
}

.adj-search-field {
    position: relative;
}

.adj-search-field svg {
    position: absolute;

    top: 50%;
    left: 16px;

    width: 21px;
    height: 21px;

    fill: none;
    stroke: #898e91;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    transform: translateY(-50%);
}

.adj-search-field input {
    width: 100%;
    height: 50px;

    box-sizing: border-box;

    padding: 0 16px 0 50px;

    border: 1px solid #bdc1c3;
    border-right: 0;

    border-radius: 4px 0 0 4px;

    outline: none;

    color: var(--charcoal);
    background: white;

    font-family: inherit;
    font-size: 14px;
}

.adj-search-field input:focus {
    border-color: var(--maroon);

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.adj-search > button {
    height: 50px;

    border: 1px solid var(--maroon);

    border-radius: 0 4px 4px 0;

    color: white;
    background: var(--maroon);

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   FILTERS
============================================================ */

.adj-filter-grid {
    display: grid;

    grid-template-columns:
        minmax(180px, 240px)
        minmax(180px, 240px)
        minmax(180px, 240px)
        auto;

    align-items: end;

    gap: 12px;
}

.adj-filter label {
    display: block;

    margin-bottom: 7px;

    color: #666b6e;

    font-size: 12px;
    font-weight: 700;
}

.adj-filter select {
    width: 100%;
    height: 43px;

    box-sizing: border-box;

    padding: 0 12px;

    border: 1px solid #c7cacc;
    border-radius: 4px;

    outline: none;

    color: #505558;
    background: white;

    font-family: inherit;
    font-size: 13px;
}

.adj-clear {
    min-height: 43px;

    padding: 0 16px;

    border: 1px solid #cfd1d2;
    border-radius: 4px;

    color: #616669;
    background: #f7f7f7;

    font-family: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   RESULTS
============================================================ */

.adj-results {
    display: flex;
    align-items: baseline;

    gap: 5px;

    color: #858a8d;

    font-size: 12px;
}

.adj-results strong {
    color: var(--charcoal);

    font-size: 17px;
}


/* ============================================================
   TABLE
============================================================ */

.adj-table-wrap {
    overflow-x: auto;

    width: 100%;
}

.adj-table {
    width: 100%;
    min-width: 1160px;

    border-collapse: collapse;

    table-layout: fixed;
}

.adj-table th {
    height: 47px;

    box-sizing: border-box;

    padding: 0 13px;

    border-bottom: 1px solid #cfd1d2;

    color: #5f6467;
    background: #eef0f1;

    font-size: 12px;
    font-weight: 700;

    text-align: left;
    vertical-align: middle;
}

.adj-table td {
    height: 78px;

    box-sizing: border-box;

    padding: 13px;

    border-bottom: 1px solid #e2e4e5;

    color: #5b6063;

    font-size: 12px;

    vertical-align: middle;
}

.adj-table tbody tr:hover {
    background: #fafafa;
}

.adj-table tbody tr[hidden] {
    display: none;
}


/* WIDTHS */

.adj-table th:nth-child(1),
.adj-table td:nth-child(1) {
    width: 130px;
}

.adj-table th:nth-child(2),
.adj-table td:nth-child(2) {
    width: 205px;
}

.adj-table th:nth-child(3),
.adj-table td:nth-child(3) {
    width: 120px;
}

.adj-table th:nth-child(4),
.adj-table td:nth-child(4) {
    width: 200px;
}

.adj-table th:nth-child(5),
.adj-table td:nth-child(5) {
    width: 130px;
}

.adj-table th:nth-child(6),
.adj-table td:nth-child(6) {
    width: 130px;
}

.adj-table th:nth-child(7),
.adj-table td:nth-child(7) {
    width: 115px;
}

.adj-table th:nth-child(8),
.adj-table td:nth-child(8) {
    width: 65px;
}


/* ============================================================
   DATE
============================================================ */

.adj-date strong {
    display: block;

    color: #4e5356;

    font-size: 11px;
}

.adj-date span {
    display: block;

    margin-top: 4px;

    color: #929699;

    font-size: 9px;
}


/* ============================================================
   CUSTOMER
============================================================ */

.adj-customer {
    display: flex;
    align-items: center;

    gap: 10px;

    color: inherit;

    text-decoration: none;
}

.adj-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    color: white;
    background: var(--maroon);

    font-size: 11px;
    font-weight: 800;

    line-height: 1;
}

.adj-customer-info {
    min-width: 0;
}

.adj-customer-info strong {
    display: block;

    overflow: hidden;

    color: var(--charcoal);

    font-size: 12px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.adj-customer-info small {
    display: block;

    margin-top: 4px;

    color: #93979a;

    font-size: 9px;
}


/* ============================================================
   AMOUNT
============================================================ */

.adj-amount {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 72px;
    min-height: 31px;

    box-sizing: border-box;

    padding: 0 9px;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 800;
}

.adj-credit {
    color: #28734a;
    background: #e7f4ec;
}

.adj-debit {
    color: #922e4c;
    background: #f7e8ed;
}


/* ============================================================
   REASON
============================================================ */

.adj-reason strong {
    display: block;

    color: #4e5356;

    font-size: 11px;
}

.adj-reason span {
    display: block;

    margin-top: 4px;

    color: #929699;

    font-size: 9px;
}


/* ============================================================
   REFERENCE
============================================================ */

.adj-reference {
    color: var(--maroon);

    font-size: 11px;
    font-weight: 700;

    text-decoration: none;
}

.adj-reference:hover {
    text-decoration: underline;
}

.adj-no-reference {
    color: #a1a5a7;
}


/* ============================================================
   ADMIN
============================================================ */

.adj-admin {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #555a5d;

    font-size: 10px;
    font-weight: 700;
}

.adj-admin-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    color: white;
    background: #4f5559;

    font-size: 8px;
    font-weight: 800;
}


/* ============================================================
   BALANCE / VIEW
============================================================ */

.adj-balance {
    color: var(--charcoal);

    font-size: 12px;
}

.adj-view-button {
    min-width: 48px;
    min-height: 32px;

    padding: 0 9px;

    border: 1px solid #cfd1d2;
    border-radius: 4px;

    color: var(--maroon);
    background: white;

    font-family: inherit;
    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}

.adj-view-button:hover {
    border-color: var(--maroon);

    color: white;
    background: var(--maroon);
}


/* ============================================================
   EMPTY
============================================================ */

.adj-empty {
    padding: 60px 20px;

    text-align: center;
}

.adj-empty[hidden] {
    display: none;
}

.adj-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin: 0 auto 12px;

    border-radius: 50%;

    color: var(--maroon);
    background: #f6e9ed;

    font-size: 20px;
    font-weight: 700;
}

.adj-empty h3 {
    margin: 0 0 6px;

    color: var(--charcoal);

    font-size: 18px;
}

.adj-empty p {
    margin: 0 0 15px;

    color: #858a8d;

    font-size: 12px;
}

.adj-empty button {
    min-height: 38px;

    padding: 0 14px;

    border: 1px solid var(--maroon);
    border-radius: 4px;

    color: white;
    background: var(--maroon);

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   TABLE FOOTER
============================================================ */

.adj-table-footer {
    min-height: 62px;

    box-sizing: border-box;

    padding: 20px;

    border-top: 1px solid var(--border-light);

    color: #858a8d;
    background: #fafafa;

    font-size: 12px;
}

.adj-table-footer strong {
    color: var(--charcoal);
}


/* ============================================================
   DRAWER
============================================================ */

body.adj-drawer-open {
    overflow: hidden;
}

.adj-drawer-overlay {
    position: fixed;

    z-index: 998;

    inset: 0;

    visibility: hidden;

    background: rgba(20, 22, 24, .48);

    opacity: 0;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}

.adj-drawer-overlay.active {
    visibility: visible;

    opacity: 1;
}

.adj-drawer {
    position: fixed;

    z-index: 999;

    top: 0;
    right: 0;

    display: flex;
    flex-direction: column;

    width: min(650px, 100%);
    height: 100vh;

    background: #f3f4f4;

    box-shadow:
        -10px 0 35px
        rgba(0, 0, 0, .16);

    transform: translateX(105%);

    transition:
        transform .25s ease;
}

.adj-drawer.active {
    transform: translateX(0);
}


/* ============================================================
   DRAWER HEADER
============================================================ */

.adj-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    flex: 0 0 auto;

    padding: 22px 24px;

    border-bottom: 1px solid #d6d8d9;

    background: white;
}

.adj-drawer-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: var(--maroon);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .65px;
}

.adj-drawer-header h2 {
    margin: 0;

    color: var(--charcoal);

    font-size: 25px;
    font-weight: 600;
}

.adj-drawer-header p {
    margin: 5px 0 0;

    color: #858a8d;

    font-size: 11px;
}

.adj-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid #d5d7d8;
    border-radius: 4px;

    color: #6f7477;
    background: white;

    font-size: 24px;

    cursor: pointer;
}

.adj-drawer-close:hover {
    color: white;
    background: var(--maroon);
}


/* ============================================================
   DRAWER BODY
============================================================ */

.adj-drawer-body {
    flex: 1 1 auto;

    overflow-y: auto;

    padding: 18px;
}


/* ============================================================
   FORM SECTIONS
============================================================ */

.adj-form-section {
    margin-bottom: 16px;

    padding: 20px;

    border: 1px solid #d9dbdc;

    background: white;
}

.adj-section-heading {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-bottom: 18px;
}

.adj-section-heading > span {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    color: white;
    background: var(--maroon);

    font-size: 10px;
    font-weight: 800;
}

.adj-section-heading h3 {
    margin: 0;

    color: var(--charcoal);

    font-size: 16px;
    font-weight: 700;
}

.adj-section-heading p {
    margin: 3px 0 0;

    color: #8a8f92;

    font-size: 10px;
}


/* ============================================================
   FIELDS
============================================================ */

.adj-field {
    margin-top: 16px;
}

.adj-field:first-of-type {
    margin-top: 0;
}

.adj-field > label {
    display: block;

    margin-bottom: 7px;

    color: #5c6164;

    font-size: 11px;
    font-weight: 700;
}

.adj-optional {
    margin-left: 5px;

    color: #9a9ea1;

    font-size: 9px;
    font-weight: 400;
}

.adj-field input[type="text"],
.adj-field input[type="search"],
.adj-field input[type="number"],
.adj-field select,
.adj-field textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid #c9ccce;
    border-radius: 3px;

    outline: none;

    color: var(--charcoal);
    background: white;

    font-family: inherit;
    font-size: 13px;
}

.adj-field input[type="text"],
.adj-field input[type="search"],
.adj-field input[type="number"],
.adj-field select {
    height: 43px;

    padding: 0 12px;
}

.adj-field textarea {
    padding: 11px 12px;

    resize: vertical;
}

.adj-field input:focus,
.adj-field select:focus,
.adj-field textarea:focus {
    border-color: var(--maroon);

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.adj-field > small {
    display: block;

    margin-top: 7px;

    color: #909497;

    font-size: 10px;
    line-height: 1.45;
}


/* ============================================================
   CUSTOMER SEARCH
============================================================ */

.adj-customer-search {
    position: relative;
}

.adj-customer-search svg {
    position: absolute;

    top: 50%;
    left: 13px;

    width: 18px;
    height: 18px;

    fill: none;
    stroke: #8c9194;

    stroke-width: 1.8;

    transform: translateY(-50%);
}

.adj-customer-search input {
    padding-left: 41px !important;
}


/* ============================================================
   SELECTED CUSTOMER
============================================================ */

.adj-selected-customer {
    display: flex;
    align-items: center;

    gap: 11px;

    width: 100%;

    margin-top: 10px;

    padding: 12px;

    border: 1px solid var(--maroon);
    border-radius: 4px;

    color: inherit;
    background: #fff8fa;

    font-family: inherit;

    text-align: left;

    cursor: pointer;
}

.adj-selected-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    color: white;
    background: var(--maroon);

    font-size: 11px;
    font-weight: 800;
}

.adj-selected-info {
    flex: 1 1 auto;

    min-width: 0;
}

.adj-selected-info strong {
    display: block;

    color: var(--charcoal);

    font-size: 12px;
}

.adj-selected-info > span {
    display: block;

    margin-top: 2px;

    color: #777c80;

    font-size: 9px;
}

.adj-selected-info small {
    display: block;

    margin-top: 5px;

    color: var(--green);

    font-size: 10px;
    font-weight: 700;
}

.adj-selected-check {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    border-radius: 50%;

    color: white;
    background: var(--maroon);

    font-size: 11px;
}


/* ============================================================
   TYPE OPTIONS
============================================================ */

.adj-type-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 9px;
}

.adj-type-option {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    min-height: 82px;

    box-sizing: border-box;

    padding: 13px;

    border: 1px solid #d3d5d6;
    border-radius: 4px;

    cursor: pointer;
}

.adj-type-option input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.adj-type-option:has(input:checked) {
    border-color: var(--maroon);

    background: #fff8fa;

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.adj-type-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 32px;

    width: 32px;
    height: 32px;

    border-radius: 50%;

    color: white;
    background: #707579;

    font-size: 19px;
    font-weight: 500;
}

.adj-add-option:has(input:checked) .adj-type-icon {
    background: var(--green);
}

.adj-remove-option:has(input:checked) .adj-type-icon {
    background: var(--maroon);
}

.adj-type-option strong {
    display: block;

    color: var(--charcoal);

    font-size: 11px;
}

.adj-type-option small {
    display: block;

    margin-top: 4px;

    color: #8b9093;

    font-size: 9px;
    line-height: 1.4;
}


/* ============================================================
   AMOUNT
============================================================ */

.adj-amount-control {
    display: flex;

    width: 220px;
}

.adj-amount-control span {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 45px;

    border: 1px solid #c9ccce;
    border-right: 0;

    color: #5e6366;
    background: #eceeef;

    font-size: 15px;
    font-weight: 700;
}

.adj-amount-control input {
    border-radius: 0 3px 3px 0 !important;
}


/* ============================================================
   BALANCE PREVIEW
============================================================ */

.adj-balance-preview {
    display: grid;

    grid-template-columns:
        1fr auto 1fr;

    align-items: center;

    gap: 15px;

    margin-top: 17px;

    padding: 15px;

    border: 1px solid #dedfe0;

    background: #f7f8f8;
}

.adj-balance-preview div {
    text-align: center;
}

.adj-balance-preview span {
    display: block;

    color: #878c8f;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .4px;
}

.adj-balance-preview strong {
    display: block;

    margin-top: 5px;

    color: var(--charcoal);

    font-size: 18px;
}

.adj-preview-arrow {
    color: var(--maroon) !important;

    font-size: 20px !important;
}


/* ============================================================
   CONFIRM
============================================================ */

.adj-confirm-box {
    border: 1px solid #d7d9da;

    background: #f8f9f9;
}

.adj-confirm-customer {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 13px;

    border-bottom: 1px solid #dfe1e2;
}

.adj-confirm-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    color: white;
    background: var(--maroon);

    font-size: 9px;
    font-weight: 800;
}

.adj-confirm-customer strong {
    display: block;

    color: var(--charcoal);

    font-size: 11px;
}

.adj-confirm-customer div span {
    display: block;

    margin-top: 2px;

    color: #8b9093;

    font-size: 9px;
}

.adj-confirm-values {
    display: grid;

    grid-template-columns:
        1fr 1fr;
}

.adj-confirm-values > div {
    padding: 13px;

    text-align: center;
}

.adj-confirm-values > div:first-child {
    border-right: 1px solid #dfe1e2;
}

.adj-confirm-values span {
    display: block;

    color: #878c8f;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}

.adj-confirm-values strong {
    display: block;

    margin-top: 5px;

    color: var(--charcoal);

    font-size: 17px;
}

.adj-confirm-values strong.adj-confirm-credit {
    color: var(--green);
}

.adj-confirm-values strong.adj-confirm-debit {
    color: var(--maroon);
}


/* ============================================================
   CONFIRM CHECK
============================================================ */

.adj-confirm-check {
    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin-top: 13px;

    padding: 12px;

    border: 1px solid #e0e1e2;

    color: #666b6e;
    background: white;

    font-size: 10px;
    line-height: 1.45;

    cursor: pointer;
}

.adj-confirm-check input {
    margin-top: 2px;

    accent-color: var(--maroon);
}


/* ============================================================
   DRAWER FOOTER
============================================================ */

.adj-drawer-footer {
    display: flex;
    justify-content: flex-end;

    gap: 9px;

    flex: 0 0 auto;

    padding: 14px 18px;

    border-top: 1px solid #d6d8d9;

    background: white;
}

.adj-cancel-button,
.adj-save-button {
    min-height: 41px;

    padding: 0 16px;

    border-radius: 4px;

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.adj-cancel-button {
    border: 1px solid #cfd1d2;

    color: #62676a;
    background: white;
}

.adj-save-button {
    border: 1px solid var(--maroon);

    color: white;
    background: var(--maroon);
}

.adj-save-button:hover {
    background: var(--maroon-dark);
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1100px) {

    .adj-summary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .adj-filter-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 700px) {

    .adj-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .adj-heading h1 {
        font-size: 29px;
    }

    .adj-create-button {
        width: 100%;
    }

    .adj-search {
        grid-template-columns: 1fr;

        gap: 8px;
    }

    .adj-search-field input {
        border-right: 1px solid #bdc1c3;

        border-radius: 4px;
    }

    .adj-search > button {
        height: 44px;

        border-radius: 4px;
    }

    .adj-filter-grid {
        grid-template-columns: 1fr;
    }

    .adj-clear {
        width: 100%;
    }

    .adj-drawer-body {
        padding: 10px;
    }

    .adj-form-section {
        padding: 16px;
    }

    .adj-type-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 520px) {

    .adj-summary-grid {
        grid-template-columns: 1fr;
    }

    .adj-balance-preview {
        grid-template-columns: 1fr;
    }

    .adj-preview-arrow {
        transform: rotate(90deg);
    }

    .adj-amount-control {
        width: 100%;
    }

    .adj-confirm-values {
        grid-template-columns: 1fr;
    }

    .adj-confirm-values > div:first-child {
        border-right: 0;
        border-bottom: 1px solid #dfe1e2;
    }

    .adj-drawer-footer {
        display: grid;

        grid-template-columns:
            1fr 1fr;
    }

}

/* ============================================================

   BOUNCE BACK REWARDS
   ADMIN - SETTINGS

============================================================ */


/* ============================================================
   PAGE
============================================================ */

.set-page {
    width: 100%;
}


/* ============================================================
   HEADING
============================================================ */

.set-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 20px;
}

.set-eyebrow {
    display: block;

    margin-bottom: 5px;

    color: var(--maroon);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .65px;
}

.set-heading h1 {
    margin: 0;

    color: var(--charcoal);

    font-size: 34px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: -.8px;
}

.set-heading p {
    max-width: 760px;

    margin: 9px 0 0;

    color: #777c80;

    font-size: 15px;
    line-height: 1.55;
}

.set-heading-actions {
    display: flex;
    align-items: center;

    gap: 12px;
}

.set-save-status {
    color: #929699;

    font-size: 11px;
}

.set-save-status.changed {
    color: #8b681a;
}

.set-save-status.saved {
    color: var(--green);
}

.set-save-button {
    min-height: 43px;

    padding: 0 18px;

    border: 1px solid var(--maroon);
    border-radius: 4px;

    color: white;
    background: var(--maroon);

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;
}

.set-save-button:hover {
    background: var(--maroon-dark);
}


/* ============================================================
   STATUS BAR
============================================================ */

.set-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 20px;

    padding: 15px 18px;

    border: 1px solid #cdded3;
    border-left: 5px solid var(--green);

    background: #f4faf6;
}

.set-status-main {
    display: flex;
    align-items: center;

    gap: 12px;
}

.set-live-dot {
    width: 11px;
    height: 11px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 0 5px
        rgba(52, 115, 79, .11);
}

.set-status-main strong {
    display: block;

    color: #3c5747;

    font-size: 12px;
}

.set-status-main span {
    display: block;

    margin-top: 3px;

    color: #75827a;

    font-size: 10px;
}


/* ============================================================
   LAYOUT
============================================================ */

.set-layout {
    display: grid;

    grid-template-columns:
        245px minmax(0, 1fr);

    align-items: start;

    gap: 18px;
}


/* ============================================================
   SECTION NAV
============================================================ */

.set-section-nav {
    position: sticky;

    top: 18px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-top: 7px solid var(--maroon);

    background: white;
}

.set-section-nav-title {
    display: block;

    padding: 14px 16px 10px;

    color: #8a8f92;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .65px;
}

.set-nav-link {
    display: flex;
    align-items: center;

    gap: 10px;

    width: 100%;

    padding: 13px 15px;

    border: 0;
    border-top: 1px solid #eceeef;

    color: inherit;
    background: white;

    font-family: inherit;

    text-align: left;

    cursor: pointer;
}

.set-nav-link:hover {
    background: #f8f8f8;
}

.set-nav-link.active {
    background: #fff7f9;

    box-shadow:
        inset 4px 0 0
        var(--maroon);
}

.set-nav-number {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 28px;

    width: 28px;
    height: 28px;

    border-radius: 50%;

    color: #73787b;
    background: #eceeef;

    font-size: 9px;
    font-weight: 800;
}

.set-nav-link.active .set-nav-number {
    color: white;
    background: var(--maroon);
}

.set-nav-link strong {
    display: block;

    color: #4f5457;

    font-size: 11px;
}

.set-nav-link.active strong {
    color: var(--maroon);
}

.set-nav-link small {
    display: block;

    margin-top: 2px;

    color: #989c9f;

    font-size: 12px;
}


/* ============================================================
   CONTENT / PANEL
============================================================ */

.set-content {
    min-width: 0;
}

.set-section {
    display: none;
}

.set-section.active {
    display: block;
}

.set-panel {
    overflow: hidden;

    border: 1px solid var(--border);
    border-top: 9px solid #c8cacc;

    background: white;
}

.set-panel-header {
    padding: 19px 22px;

    border-bottom: 1px solid var(--border-light);
}

.set-panel-eyebrow {
    display: block;

    margin-bottom: 4px;

    color: var(--maroon);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .55px;
}

.set-panel-header h2 {
    margin: 0;

    color: var(--charcoal);

    font-size: 23px;
    font-weight: 500;
}

.set-panel-header p {
    max-width: 720px;

    margin: 6px 0 0;

    color: #858a8d;

    font-size: 12px;
    line-height: 1.5;
}

.set-panel-body {
    padding: 22px;
}


/* ============================================================
   DIVIDER
============================================================ */

.set-divider {
    height: 1px;

    margin: 24px 0;

    background: #e4e6e7;
}


/* ============================================================
   SETTING ROW
============================================================ */

.set-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.set-setting-copy strong {
    display: block;

    color: var(--charcoal);

    font-size: 13px;
}

.set-setting-copy p {
    max-width: 660px;

    margin: 5px 0 0;

    color: #858a8d;

    font-size: 11px;
    line-height: 1.5;
}


/* ============================================================
   SWITCH
============================================================ */

.set-switch {
    position: relative;

    display: inline-flex;

    flex: 0 0 auto;

    cursor: pointer;
}

.set-switch input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.set-switch-track {
    position: relative;

    display: block;

    width: 46px;
    height: 24px;

    border-radius: 20px;

    background: #b8bcbf;

    transition: .18s ease;
}

.set-switch-track span {
    position: absolute;

    top: 3px;
    left: 3px;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 1px 3px
        rgba(0, 0, 0, .2);

    transition: .18s ease;
}

.set-switch input:checked +
.set-switch-track {
    background: var(--maroon);
}

.set-switch input:checked +
.set-switch-track span {
    transform: translateX(22px);
}

.set-switch input:disabled +
.set-switch-track {
    opacity: .7;

    cursor: not-allowed;
}


/* ============================================================
   SUBHEADING
============================================================ */

.set-subheading {
    margin-bottom: 15px;
}

.set-subheading h3 {
    margin: 0;

    color: var(--charcoal);

    font-size: 16px;
    font-weight: 700;
}

.set-subheading p {
    margin: 5px 0 0;

    color: #898e91;

    font-size: 11px;
    line-height: 1.5;
}


/* ============================================================
   FIELDS
============================================================ */

.set-field {
    max-width: 620px;
}

.set-small-field {
    max-width: 300px;
}

.set-field > label {
    display: block;

    margin-bottom: 7px;

    color: #5d6265;

    font-size: 11px;
    font-weight: 700;
}

.set-field input,
.set-field select {
    width: 100%;
    height: 43px;

    box-sizing: border-box;

    padding: 0 12px;

    border: 1px solid #c8cbcd;
    border-radius: 3px;

    outline: none;

    color: var(--charcoal);
    background: white;

    font-family: inherit;
    font-size: 13px;
}

.set-field input:focus,
.set-field select:focus {
    border-color: var(--maroon);

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.set-field > small {
    display: block;

    margin-top: 7px;

    color: #969a9d;

    font-size: 9px;
    line-height: 1.5;
}

.set-field-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


/* ============================================================
   PREFIX / SUFFIX
============================================================ */

.set-input-prefix,
.set-input-suffix {
    display: flex;

    width: 100%;
}

.set-input-prefix > span,
.set-input-suffix > span {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    min-width: 44px;

    box-sizing: border-box;

    padding: 0 12px;

    border: 1px solid #c8cbcd;

    color: #656a6d;
    background: #eef0f1;

    font-size: 11px;
    font-weight: 700;
}

.set-input-prefix > span {
    border-right: 0;

    border-radius: 3px 0 0 3px;
}

.set-input-prefix input {
    border-radius: 0 3px 3px 0;
}

.set-input-suffix input {
    border-radius: 3px 0 0 3px;
}

.set-input-suffix > span {
    border-left: 0;

    border-radius: 0 3px 3px 0;
}


/* ============================================================
   BRANDS
============================================================ */

.set-brand-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.set-brand-card {
    position: relative;

    display: grid;

    grid-template-columns:
        95px minmax(0, 1fr) 28px;

    align-items: center;

    gap: 15px;

    min-height: 94px;

    box-sizing: border-box;

    padding: 14px;

    border: 1px solid #d6d8da;
    border-radius: 4px;

    cursor: pointer;
}

.set-brand-card:has(input:checked) {
    border-color: var(--maroon);

    background: #fffafb;
}

.set-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 60px;

    padding: 6px;

    box-sizing: border-box;

    border: 1px solid #eceeef;

    background: white;
}

.set-brand-logo img {
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.set-brand-info strong {
    display: block;

    color: var(--charcoal);

    font-size: 12px;
}

.set-brand-info span {
    display: block;

    margin-top: 4px;

    color: #8c9194;

    font-size: 9px;
}

.set-brand-card > input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.set-check-box {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    border: 1px solid #c9ccce;
    border-radius: 3px;

    color: transparent;
    background: white;

    font-size: 11px;
    font-weight: 800;
}

.set-brand-card input:checked ~
.set-check-box {
    border-color: var(--maroon);

    color: white;
    background: var(--maroon);
}


/* ============================================================
   OPTION CARDS
============================================================ */

.set-option-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-bottom: 18px;
}

.set-option-card {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    min-height: 92px;

    box-sizing: border-box;

    padding: 15px;

    border: 1px solid #d5d7d9;
    border-radius: 4px;

    cursor: pointer;
}

.set-option-card > input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.set-option-card:has(input:checked) {
    border-color: var(--maroon);

    background: #fff8fa;

    box-shadow:
        inset 0 0 0 1px
        var(--maroon);
}

.set-option-radio {
    position: relative;

    flex: 0 0 19px;

    width: 19px;
    height: 19px;

    margin-top: 1px;

    border: 2px solid #b9bdc0;
    border-radius: 50%;

    box-sizing: border-box;
}

.set-option-card input:checked ~
.set-option-radio {
    border-color: var(--maroon);
}

.set-option-card input:checked ~
.set-option-radio::after {
    content: "";

    position: absolute;

    top: 3px;
    left: 3px;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: var(--maroon);
}

.set-option-content strong {
    display: block;

    color: var(--charcoal);

    font-size: 12px;
}

.set-option-content small {
    display: block;

    margin-top: 5px;

    color: #898e91;

    font-size: 10px;
    line-height: 1.45;
}


/* ============================================================
   VALUE SECTION
============================================================ */

.set-value-section {
    display: flex;
    align-items: flex-end;

    gap: 20px;

    padding: 17px;

    border: 1px solid #e0e2e3;

    background: #f8f9f9;
}

.set-value-section[hidden] {
    display: none;
}

.set-example {
    padding-bottom: 3px;
}

.set-example span {
    display: block;

    color: #929699;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}

.set-example strong {
    display: block;

    margin-top: 4px;

    color: #555a5d;

    font-size: 11px;
}


/* ============================================================
   TOGGLE LIST
============================================================ */

.set-toggle-list {
    border: 1px solid #dde0e1;
}

.set-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    min-height: 72px;

    box-sizing: border-box;

    padding: 13px 15px;

    border-bottom: 1px solid #e5e7e8;
}

.set-toggle-row:last-child {
    border-bottom: 0;
}

.set-toggle-row strong {
    display: block;

    color: #505558;

    font-size: 11px;
}

.set-toggle-row div > span {
    display: block;

    margin-top: 4px;

    color: #8b9093;

    font-size: 9px;
    line-height: 1.45;
}


/* ============================================================
   INFO BOX
============================================================ */

.set-info-box {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-top: 18px;

    padding: 13px 14px;

    border: 1px solid #d9dfe3;
    border-left: 4px solid #758b99;

    background: #f5f8f9;
}

.set-info-box > span {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 23px;

    width: 23px;
    height: 23px;

    border-radius: 50%;

    color: white;
    background: #758b99;

    font-size: 11px;
    font-weight: 800;
}

.set-info-box p {
    margin: 2px 0 0;

    color: #6e777c;

    font-size: 10px;
    line-height: 1.55;
}

.set-info-box a {
    color: var(--maroon);

    font-weight: 700;

    text-decoration: none;
}


/* ============================================================
   DEPENDENT
============================================================ */

.set-dependent {
    transition: opacity .2s ease;
}

.set-dependent.disabled {
    opacity: .4;

    pointer-events: none;
}


/* ============================================================
   NOTIFICATIONS
============================================================ */

.set-notification-header,
.set-notification-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        70px
        70px;

    align-items: center;
}

.set-notification-header {
    min-height: 38px;

    padding: 0 15px;

    border: 1px solid #d8dbdc;

    color: #707578;
    background: #eef0f1;

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .35px;
}

.set-notification-header span:not(:first-child) {
    text-align: center;
}

.set-notification-row {
    min-height: 70px;

    padding: 0 15px;

    border-right: 1px solid #e0e2e3;
    border-bottom: 1px solid #e0e2e3;
    border-left: 1px solid #e0e2e3;
}

.set-notification-row strong {
    display: block;

    color: #505558;

    font-size: 11px;
}

.set-notification-row div > span {
    display: block;

    margin-top: 4px;

    color: #909497;

    font-size: 9px;
}


/* ============================================================
   CHECKBOX
============================================================ */

.set-checkbox {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.set-checkbox input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.set-checkbox span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    border: 1px solid #c9ccce;
    border-radius: 3px;

    color: transparent;
    background: white;

    font-size: 10px;
    font-weight: 800;
}

.set-checkbox input:checked +
span {
    border-color: var(--maroon);

    color: white;
    background: var(--maroon);
}


/* ============================================================
   SYSTEM INFORMATION
============================================================ */

.set-system-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    border-top: 1px solid #dfe1e2;
    border-left: 1px solid #dfe1e2;
}

.set-system-grid > div {
    padding: 15px;

    border-right: 1px solid #dfe1e2;
    border-bottom: 1px solid #dfe1e2;
}

.set-system-grid span {
    display: block;

    color: #929699;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .4px;
}

.set-system-grid strong {
    display: block;

    margin-top: 5px;

    color: #505558;

    font-size: 11px;
}

.set-environment {
    color: var(--green) !important;
}


/* ============================================================
   SAVE BAR
============================================================ */

.set-save-bar {
    position: fixed;

    z-index: 990;

    right: 20px;
    bottom: 20px;
    left: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    max-width: 850px;

    margin: auto;

    padding: 14px 16px;

    border: 1px solid #44494c;
    border-radius: 5px;

    color: white;
    background: #292d30;

    box-shadow:
        0 8px 30px
        rgba(0, 0, 0, .22);

    visibility: hidden;

    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity .2s ease,
        transform .2s ease,
        visibility .2s ease;
}

.set-save-bar.active {
    visibility: visible;

    opacity: 1;

    transform: translateY(0);
}

.set-save-bar strong {
    display: block;

    font-size: 11px;
}

.set-save-bar div > span {
    display: block;

    margin-top: 3px;

    color: #b9bdc0;

    font-size: 9px;
}

.set-save-bar-actions {
    display: flex;

    gap: 8px;
}

.set-discard-button {
    min-height: 39px;

    padding: 0 14px;

    border: 1px solid var(--maroon);
    border-radius: 4px;

    color: var(--maroon);
    background: transparent;

    font-family: inherit;
    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 1050px) {

    .set-layout {
        grid-template-columns:
            205px minmax(0, 1fr);
    }

    .set-brand-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 850px) {

    .set-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .set-heading-actions {
        width: 100%;

        justify-content: space-between;
    }

    .set-layout {
        display: block;
    }

    .set-section-nav {
        position: static;

        display: flex;

        overflow-x: auto;

        margin-bottom: 14px;

        border-top-width: 5px;
    }

    .set-section-nav-title {
        display: none;
    }

    .set-nav-link {
        flex: 0 0 auto;

        width: auto;
        min-width: 150px;

        border-top: 0;
        border-right: 1px solid #eceeef;
    }

    .set-nav-link.active {
        box-shadow:
            inset 0 -4px 0
            var(--maroon);
    }

    .set-nav-number {
        display: none;
    }

}


@media (max-width: 650px) {

    .set-heading h1 {
        font-size: 29px;
    }

    .set-status-bar {
        align-items: flex-start;
    }

    .set-panel-body {
        padding: 16px;
    }

    .set-setting-row {
        align-items: flex-start;
    }

    .set-field-grid,
    .set-option-grid,
    .set-system-grid {
        grid-template-columns: 1fr;
    }

    .set-value-section {
        align-items: stretch;
        flex-direction: column;
    }

    .set-small-field {
        max-width: none;
    }

    .set-brand-card {
        grid-template-columns:
            80px minmax(0, 1fr) 28px;
    }

    .set-notification-header,
    .set-notification-row {
        grid-template-columns:
            minmax(0, 1fr)
            55px
            55px;
    }

    .set-save-bar {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

}


@media (max-width: 480px) {

    .set-heading-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .set-save-button {
        width: 100%;
    }

    .set-status-main span {
        line-height: 1.4;
    }

    .set-brand-card {
        grid-template-columns:
            minmax(0, 1fr)
            28px;
    }

    .set-brand-logo {
        grid-column:
            1 / -1;

        height: 70px;
    }

    .set-save-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .set-save-bar-actions {
        display: grid;

        grid-template-columns:
            1fr 1fr;
    }

}

:root {

    --maroon: #7b0026;
    --maroon-dark: #570019;
    --maroon-deep: #390011;

    --charcoal: #24272a;

    --text: #2b2e31;
    --muted: #707579;

    --workspace: #f1f2f3;
    --panel: #ffffff;

    --border: #d7d9db;
    --border-light: #e7e8e9;

    --red: #8e2948;
    --red-bg: #f7e9ee;

    --green: #34734f;
    --green-bg: #e8f3ec;

}


* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    min-height: 100%;
}


body {

    min-height: 100vh;

    background:
        linear-gradient(
            180deg,
            #eceeef 0%,
            #f5f5f5 100%
        );

    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

}


button,
input {
    font: inherit;
}


/* =========================================================
   BRAND BAR
========================================================= */

.login-brand-bar {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 8px;

    background: var(--maroon);

}


/* =========================================================
   PAGE
========================================================= */

.login-page {

    min-height: 100vh;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 55px 20px 35px;

}


/* =========================================================
   CARD
========================================================= */

.login-card {

    width: 100%;
    max-width: 500px;

    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: 8px;

    box-shadow:
        0 14px 40px
        rgba(0, 0, 0, 0.08);

    overflow: hidden;

}


/* =========================================================
   LOGO
========================================================= */

.login-logo {

    min-height: 125px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 25px 35px;

    border-bottom:
        1px solid var(--border-light);

}


.login-logo img {

    display: block;

    width: 290px;
    max-width: 85%;

    height: auto;

}


/* =========================================================
   STEP
========================================================= */

.login-step {

    padding: 38px 42px 32px;

}


.login-step[hidden] {
    display: none;
}


/* =========================================================
   HEADING
========================================================= */

.login-heading {
    margin-bottom: 28px;
}


.login-eyebrow {

    display: block;

    margin-bottom: 8px;

    color: var(--maroon);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;

}


.login-heading h1 {

    margin:
        0 0 12px;

    color: var(--charcoal);

    font-size: 29px;
    line-height: 1.2;

}


.login-heading p {

    margin: 0;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.6;

}


.login-heading p strong {
    color: var(--charcoal);
}


/* =========================================================
   FORM
========================================================= */

.form-group {

    display: flex;
    flex-direction: column;

    gap: 8px;

}


.form-group label {

    color: var(--charcoal);

    font-size: 14px;
    font-weight: 700;

}


.form-group input {

    width: 100%;

    height: 50px;

    padding:
        0 14px;

    border:
        1px solid #bfc3c6;

    border-radius: 4px;

    outline: none;

    background: #ffffff;

    color: var(--text);

    font-size: 16px;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;

}


.form-group input:focus {

    border-color:
        var(--maroon);

    box-shadow:
        0 0 0 3px
        rgba(123, 0, 38, 0.10);

}


.code-input {

    text-align: center;

    font-size: 26px !important;

    font-weight: 700;

    letter-spacing: 9px;

}


/* =========================================================
   BUTTON
========================================================= */

.login-button {

    width: 100%;

    min-height: 50px;

    margin-top: 22px;

    border: 0;

    border-radius: 4px;

    background: var(--maroon);

    color: #ffffff;

    cursor: pointer;

    font-size: 15px;
    font-weight: 700;

    transition:
        background 0.15s ease;

}


.login-button:hover {
    background: var(--maroon-dark);
}


.login-button:disabled {

    cursor: wait;

    opacity: 0.65;

}


/* =========================================================
   MESSAGES
========================================================= */

.login-message {

    display: none;

    margin-top: 15px;

    padding: 11px 13px;

    border-radius: 4px;

    font-size: 14px;
    line-height: 1.45;

}


.login-message.error {

    display: block;

    background: var(--red-bg);

    color: var(--red);

    border:
        1px solid
        rgba(142, 41, 72, 0.18);

}


.login-message.success {

    display: block;

    background: var(--green-bg);

    color: var(--green);

    border:
        1px solid
        rgba(52, 115, 79, 0.18);

}


/* =========================================================
   SECONDARY ACTIONS
========================================================= */

.login-secondary-actions {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-top: 22px;

}


.login-secondary-actions span {

    width: 1px;
    height: 16px;

    background: var(--border);

}


.text-button {

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--maroon);

    cursor: pointer;

    font-size: 14px;
    font-weight: 700;

}


.text-button:hover {
    text-decoration: underline;
}


/* =========================================================
   SECURITY
========================================================= */

.login-security {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 18px 25px;

    background: #fafafa;

    border-top:
        1px solid var(--border-light);

    color: var(--muted);

    font-size: 12px;

}


.login-security svg {

    width: 16px;
    height: 16px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;

}


/* =========================================================
   FOOTER
========================================================= */

.login-footer {

    margin:
        25px 0 0;

    text-align: center;

    color: #6e7377;

    font-size: 12px;
    line-height: 1.6;

}


.login-footer span {
    color: #8b8f92;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .login-page {

        justify-content: flex-start;

        padding:
            35px 14px 25px;

    }


    .login-card {
        margin-top: 15px;
    }


    .login-logo {
        min-height: 105px;
    }


    .login-logo img {
        width: 245px;
    }


    .login-step {

        padding:
            30px 24px 28px;

    }


    .login-heading h1 {
        font-size: 25px;
    }


    .code-input {

        font-size: 23px !important;

        letter-spacing: 7px;

    }

}

/* =========================================================
   CUSTOMER ORDER DRAWER
========================================================= */

.customer-order-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1998;

    background:
        rgba(18, 20, 22, .48);

    backdrop-filter:
        blur(2px);
}


.customer-order-drawer {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;

    z-index: 1999;

    width:
        min(760px, 94vw);

    background:
        var(--white, #ffffff);

    box-shadow:
        -16px 0 48px
        rgba(0, 0, 0, .18);

    transform:
        translateX(105%);

    transition:
        transform .24s ease;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}


.customer-order-drawer.open {
    transform:
        translateX(0);
}


.customer-order-drawer-header {
    display: flex;

    align-items:
        flex-start;

    justify-content:
        space-between;

    gap: 24px;

    padding:
        26px 30px;

    border-bottom:
        1px solid
        var(--border, #dedfe0);

    background:
        #ffffff;
}


.customer-order-drawer-header h2 {
    margin:
        4px 0 0;

    font-size:
        26px;

    line-height:
        1.15;

    color:
        var(--text, #24272a);
}


.customer-order-drawer-header p {
    margin:
        7px 0 0;

    color:
        var(--muted, #65696d);

    font-size:
        14px;
}


.customer-order-drawer-close {
    width: 42px;
    height: 42px;

    flex:
        0 0 42px;

    display: flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid
        var(--border, #dedfe0);

    border-radius:
        8px;

    background:
        #ffffff;

    color:
        #333;

    font-size:
        27px;

    line-height:
        1;

    cursor:
        pointer;
}


.customer-order-drawer-close:hover {
    background:
        #f5f5f5;
}


.customer-order-drawer-body {
    flex: 1;

    overflow-y: auto;

    padding:
        28px 30px 50px;

    background:
        #f6f6f6;
}


.customer-order-loading {
    padding:
        70px 20px;

    text-align:
        center;

    color:
        var(--muted, #65696d);
}


body.customer-order-drawer-open {
    overflow:
        hidden;
}


/* =========================================================
   ORDER SUMMARY HEADER
========================================================= */

.customer-order-overview {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 12px;

    margin-bottom:
        20px;
}


.customer-order-overview-card {
    padding:
        17px 18px;

    background:
        #ffffff;

    border:
        1px solid
        var(--border, #dedfe0);

    border-radius:
        8px;
}


.customer-order-overview-card span {
    display:
        block;

    margin-bottom:
        7px;

    color:
        var(--muted, #65696d);

    font-size:
        11px;

    font-weight:
        700;

    letter-spacing:
        .06em;

    text-transform:
        uppercase;
}


.customer-order-overview-card strong {
    display:
        block;

    color:
        var(--text, #24272a);

    font-size:
        17px;
}


/* =========================================================
   ORDER DRAWER SECTION
========================================================= */

.customer-order-section {
    margin-top:
        18px;

    background:
        #ffffff;

    border:
        1px solid
        var(--border, #dedfe0);

    border-radius:
        9px;

    overflow:
        hidden;
}


.customer-order-section-header {
    display: flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap: 16px;

    padding:
        17px 20px;

    border-bottom:
        1px solid
        var(--border, #dedfe0);
}


.customer-order-section-header span {
    color:
        var(--muted, #65696d);

    font-size:
        11px;

    font-weight:
        700;

    letter-spacing:
        .06em;

    text-transform:
        uppercase;
}


.customer-order-section-header h3 {
    margin:
        3px 0 0;

    color:
        var(--text, #24272a);

    font-size:
        18px;
}


.customer-order-info {
    padding:
        6px 20px;
}


.customer-order-info-row {
    display: grid;

    grid-template-columns:
        160px minmax(0, 1fr);

    gap: 20px;

    padding:
        13px 0;

    border-bottom:
        1px solid #eeeeee;
}


.customer-order-info-row:last-child {
    border-bottom:
        0;
}


.customer-order-info-row > span {
    color:
        var(--muted, #65696d);

    font-size:
        13px;
}


.customer-order-info-row > strong {
    color:
        var(--text, #24272a);

    font-size:
        14px;

    font-weight:
        600;

    text-align:
        right;

    overflow-wrap:
        anywhere;
}


/* =========================================================
   PRODUCTS
========================================================= */

.customer-order-products {
    padding:
        0 20px;
}


.customer-order-product {
    display: grid;

    grid-template-columns:
        70px minmax(0, 1fr) auto;

    align-items:
        center;

    gap: 16px;

    padding:
        18px 0;

    border-bottom:
        1px solid #eeeeee;
}


.customer-order-product:last-child {
    border-bottom:
        0;
}


.customer-order-product-image {
    width: 70px;
    height: 58px;

    border-radius:
        6px;

    overflow:
        hidden;

    background:
        #eeeeee;
}


.customer-order-product-image img {
    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    display:
        block;
}


.customer-order-product-image-placeholder {
    width:
        100%;

    height:
        100%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    color:
        #999;

    font-size:
        11px;

    text-align:
        center;
}


.customer-order-product-main {
    min-width:
        0;
}


.customer-order-product-main strong {
    display:
        block;

    color:
        var(--text, #24272a);

    font-size:
        14px;
}


.customer-order-product-main span {
    display:
        block;

    margin-top:
        5px;

    color:
        var(--muted, #65696d);

    font-size:
        12px;
}


.customer-order-product-price {
    text-align:
        right;
}


.customer-order-product-price strong {
    display:
        block;

    font-size:
        15px;
}


.customer-order-product-price span {
    display:
        block;

    margin-top:
        4px;

    color:
        var(--muted, #65696d);

    font-size:
        11px;
}


/* =========================================================
   BOUNCE BACK ELIGIBILITY
========================================================= */

.customer-order-reward-status {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        6px;

    margin-top:
        8px;

    padding:
        4px 8px;

    border-radius:
        999px;

    background:
        #f0f1f2;

    color:
        #686d71;

    font-size:
        10px;

    font-weight:
        700;

    letter-spacing:
        .03em;

    text-transform:
        uppercase;
}


/* =========================================================
   FINANCIAL SUMMARY
========================================================= */

.customer-order-totals {
    padding:
        10px 20px;
}


.customer-order-total-row {
    display: flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    padding:
        8px 0;

    color:
        var(--text, #24272a);

    font-size:
        14px;
}


.customer-order-total-row span {
    color:
        var(--muted, #65696d);
}


.customer-order-total-row.grand-total {
    margin-top:
        8px;

    padding-top:
        15px;

    border-top:
        1px solid
        var(--border, #dedfe0);

    font-size:
        17px;

    font-weight:
        700;
}


.customer-order-total-row.grand-total span {
    color:
        var(--text, #24272a);
}


.customer-order-total-row.balance {
    color:
        var(--maroon, #7b0026);

    font-weight:
        700;
}


.customer-order-total-row.balance span {
    color:
        inherit;
}


/* =========================================================
   NOTES
========================================================= */

.customer-order-note {
    margin:
        0;

    padding:
        18px 20px;

    color:
        var(--text, #24272a);

    font-size:
        13px;

    line-height:
        1.65;

    white-space:
        pre-wrap;
}


/* =========================================================
   ORDER ERROR
========================================================= */

.customer-order-error {
    padding:
        40px 25px;

    text-align:
        center;

    background:
        #ffffff;

    border:
        1px solid
        var(--border, #dedfe0);

    border-radius:
        8px;
}


.customer-order-error strong {
    display:
        block;

    margin-bottom:
        7px;

    font-size:
        18px;
}


.customer-order-error span {
    color:
        var(--muted, #65696d);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 700px) {

    .customer-order-drawer {
        width:
            100%;
    }


    .customer-order-drawer-header {
        padding:
            20px;
    }


    .customer-order-drawer-body {
        padding:
            20px 16px 40px;
    }


    .customer-order-overview {
        grid-template-columns:
            1fr;
    }


    .customer-order-info-row {
        grid-template-columns:
            1fr;

        gap:
            5px;
    }


    .customer-order-info-row > strong {
        text-align:
            left;
    }


    .customer-order-product {
        grid-template-columns:
            58px minmax(0, 1fr);
    }


    .customer-order-product-image {
        width:
            58px;

        height:
            50px;
    }


    .customer-order-product-price {
        grid-column:
            2;

        text-align:
            left;
    }

}

/* =========================================================
   ORDER REWARD ELIGIBILITY
========================================================= */

.customer-order-reward-status.eligible {
    background:
        #e9f6ee;

    color:
        #237744;
}


.customer-order-reward-status.ineligible {
    background:
        #f1f1f1;

    color:
        #73777a;
}


.customer-order-reward-detail {
    display:
        block;

    margin-top:
        6px;

    color:
        var(--muted, #65696d);

    font-size:
        11px;

    line-height:
        1.4;
}


.customer-order-product-reward {
    color:
        #237744 !important;

    font-weight:
        700;
}


.customer-order-reward-summary-status {
    display:
        inline-flex;

    align-items:
        center;

    padding:
        6px 10px;

    border-radius:
        999px;

    font-size:
        10px !important;

    font-weight:
        700;

    letter-spacing:
        .04em;

    text-transform:
        uppercase;
}


.customer-order-reward-summary-status.eligible {
    background:
        #e9f6ee;

    color:
        #237744;
}


.customer-order-reward-summary-status.ineligible {
    background:
        #f1f1f1;

    color:
        #73777a;
}

/* =========================================================
   REFERRALS — LIVE DATA
========================================================= */

.rf-primary-text,
.rf-secondary-text {
    display: block;
}

.rf-primary-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--text, #24272a);
}

.rf-secondary-text {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted, #65696d);
}

.rf-customer-link {
    display: inline-block;
    color: var(--maroon, #7b0026);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.rf-customer-link:hover {
    text-decoration: underline;
}

.rf-code {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border: 1px solid var(--border, #dedfe0);
    border-radius: 5px;
    background: #f7f7f7;
    color: #333;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
}

.rf-reward-amount {
    color: #237a48;
}

.rf-reward-issued {
    color: #237a48;
}

.rf-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    color: var(--muted, #65696d);
}

.rf-action:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

/* =========================================================
   MANUAL ADJUSTMENTS
========================================================= */

.adj-page {
    width: 100%;
}


/* =========================================================
   HEADING
========================================================= */

.adj-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.adj-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--maroon, #7b0026);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
}

.adj-heading h1 {
    margin: 0 0 8px;
    color: var(--text, #24272a);
    font-size: 32px;
    line-height: 1.15;
}

.adj-heading p {
    max-width: 700px;
    margin: 0;
    color: var(--muted, #65696d);
    line-height: 1.6;
}

.adj-heading-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--border, #dedfe0);
    border-radius: 8px;
    background: #fff;
    color: var(--text, #24272a);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.adj-heading-link:hover {
    border-color: var(--maroon, #7b0026);
    color: var(--maroon, #7b0026);
}


/* =========================================================
   SUMMARY
========================================================= */

.adj-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.adj-summary-card {
    padding: 22px;
    border: 1px solid var(--border, #dedfe0);
    border-radius: 12px;
    background: #fff;
}

.adj-summary-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--gray, #74797d);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.adj-summary-card strong {
    display: block;
    color: var(--text, #24272a);
    font-size: 28px;
    line-height: 1;
}

.adj-summary-card small {
    display: block;
    margin-top: 9px;
    color: var(--gray, #74797d);
    font-size: 13px;
}

.adj-summary-card.added strong {
    color: #237a44;
}

.adj-summary-card.removed strong {
    color: #a12626;
}


/* =========================================================
   PAGE GRID
========================================================= */

.adj-layout {
    display: grid;
    grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}


/* =========================================================
   PANELS
========================================================= */

.adj-panel {
    overflow: hidden;
    border: 1px solid var(--border, #dedfe0);
    border-radius: 12px;
    background: #fff;
}

.adj-panel-header {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border, #dedfe0);
}

.adj-panel-header > span {
    display: block;
    margin-bottom: 6px;
    color: var(--maroon, #7b0026);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.adj-panel-header h2 {
    margin: 0;
    color: var(--text, #24272a);
    font-size: 20px;
}

.adj-panel-header p {
    margin: 7px 0 0;
    color: var(--gray, #74797d);
    font-size: 14px;
    line-height: 1.5;
}

.adj-panel-body {
    padding: 22px;
}


/* =========================================================
   FORM
========================================================= */

.adj-field {
    margin-bottom: 20px;
}

.adj-field:last-child {
    margin-bottom: 0;
}

.adj-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--text, #24272a);
    font-size: 13px;
    font-weight: 700;
}

.adj-input,
.adj-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cfd1d2;
    border-radius: 8px;
    background: #fff;
    color: var(--text, #24272a);
    font: inherit;
    outline: none;
}

.adj-input {
    min-height: 46px;
    padding: 0 13px;
}

.adj-textarea {
    min-height: 105px;
    padding: 12px 13px;
    resize: vertical;
}

.adj-input:focus,
.adj-textarea:focus {
    border-color: var(--maroon, #7b0026);
    box-shadow: 0 0 0 3px rgba(123, 0, 38, .08);
}

.adj-input:disabled {
    background: #f3f3f3;
    cursor: not-allowed;
}

.adj-help {
    display: block;
    margin-top: 6px;
    color: var(--gray, #74797d);
    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   CUSTOMER SEARCH
========================================================= */

.adj-customer-search-wrap {
    position: relative;
}

.adj-customer-results {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    max-height: 330px;
    overflow-y: auto;
    border: 1px solid var(--border, #dedfe0);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.adj-customer-results[hidden] {
    display: none;
}

.adj-customer-result {
    width: 100%;
    padding: 13px 14px;
    border: 0;
    border-bottom: 1px solid #eef0f1;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.adj-customer-result:last-child {
    border-bottom: 0;
}

.adj-customer-result:hover {
    background: var(--cream, #f8f6f3);
}

.adj-customer-result strong {
    display: block;
    margin-bottom: 3px;
    color: var(--text, #24272a);
    font-size: 14px;
}

.adj-customer-result span {
    display: block;
    color: var(--gray, #74797d);
    font-size: 12px;
    line-height: 1.4;
}

.adj-customer-result .adj-customer-result-balance {
    margin-top: 5px;
    color: var(--maroon, #7b0026);
    font-weight: 700;
}

.adj-search-empty {
    padding: 18px;
    color: var(--gray, #74797d);
    font-size: 13px;
    text-align: center;
}


/* =========================================================
   SELECTED CUSTOMER
========================================================= */

.adj-selected-customer {
    display: none;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid #e0d5d8;
    border-radius: 9px;
    background: #faf7f8;
}

.adj-selected-customer.active {
    display: block;
}

.adj-selected-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.adj-selected-customer strong {
    display: block;
    color: var(--text, #24272a);
    font-size: 16px;
}

.adj-selected-customer span {
    display: block;
    margin-top: 4px;
    color: var(--gray, #74797d);
    font-size: 12px;
}

.adj-selected-balance {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e0d5d8;
}

.adj-selected-balance span {
    margin: 0 0 5px;
    color: var(--gray, #74797d);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.adj-selected-balance strong {
    color: var(--maroon, #7b0026);
    font-size: 25px;
}

.adj-change-customer {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--maroon, #7b0026);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}


/* =========================================================
   ADJUSTMENT TYPE
========================================================= */

.adj-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.adj-type-button {
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid var(--border, #dedfe0);
    border-radius: 8px;
    background: #fff;
    color: var(--muted, #65696d);
    font-weight: 700;
    cursor: pointer;
}

.adj-type-button.active[data-direction="credit"] {
    border-color: #237a44;
    background: #edf8f1;
    color: #237a44;
}

.adj-type-button.active[data-direction="debit"] {
    border-color: #a12626;
    background: #fff1f1;
    color: #a12626;
}


/* =========================================================
   MONEY INPUT
========================================================= */

.adj-money-wrap {
    position: relative;
}

.adj-money-symbol {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--muted, #65696d);
    font-weight: 700;
    pointer-events: none;
}

.adj-money-wrap .adj-input {
    padding-left: 29px;
}


/* =========================================================
   BALANCE PREVIEW
========================================================= */

.adj-preview {
    margin: 22px 0;
    padding: 16px;
    border-radius: 9px;
    background: #f5f5f5;
}

.adj-preview-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 6px 0;
    color: var(--muted, #65696d);
    font-size: 13px;
}

.adj-preview-row strong {
    color: var(--text, #24272a);
}

.adj-preview-row.final {
    margin-top: 7px;
    padding-top: 12px;
    border-top: 1px solid var(--border, #dedfe0);
    color: var(--text, #24272a);
    font-weight: 700;
}

.adj-preview-row.final strong {
    color: var(--maroon, #7b0026);
    font-size: 17px;
}


/* =========================================================
   SUBMIT / MESSAGES
========================================================= */

.adj-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: var(--maroon, #7b0026);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.adj-submit:hover {
    background: var(--maroon-dark, #570019);
}

.adj-submit:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.adj-message {
    display: none;
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.adj-message.active {
    display: block;
}

.adj-message.error {
    border: 1px solid #edcaca;
    background: #fff1f1;
    color: #8b2020;
}

.adj-message.success {
    border: 1px solid #cbe5d4;
    background: #edf8f1;
    color: #237a44;
}


/* =========================================================
   ADJUSTMENT HISTORY
========================================================= */

.adj-history-toolbar {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border, #dedfe0);
}

.adj-history-toolbar input {
    flex: 1;
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border, #dedfe0);
    border-radius: 7px;
    background: #fff;
    font: inherit;
    outline: none;
}

.adj-history-toolbar input:focus {
    border-color: var(--maroon, #7b0026);
}

.adj-history-filter {
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid var(--border, #dedfe0);
    border-radius: 7px;
    background: #fff;
    font: inherit;
}

.adj-history-list {
    min-height: 250px;
}

.adj-history-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid #eef0f1;
}

.adj-history-item:last-child {
    border-bottom: 0;
}

.adj-history-name {
    margin-bottom: 4px;
    color: var(--text, #24272a);
    font-size: 14px;
    font-weight: 800;
}

.adj-history-reason {
    color: var(--muted, #65696d);
    font-size: 13px;
    line-height: 1.45;
}

.adj-history-meta {
    margin-top: 7px;
    color: #929699;
    font-size: 11px;
}

.adj-history-amount {
    text-align: right;
}

.adj-history-amount strong {
    display: block;
    font-size: 17px;
}

.adj-history-amount.credit strong {
    color: #237a44;
}

.adj-history-amount.debit strong {
    color: #a12626;
}

.adj-history-amount span {
    display: block;
    margin-top: 4px;
    color: #929699;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.adj-empty {
    padding: 50px 25px;
    color: var(--gray, #74797d);
    text-align: center;
}


/* =========================================================
   CONFIRMATION MODAL
========================================================= */

.adj-modal-backdrop {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(21, 24, 27, .65);
}

.adj-modal-backdrop[hidden] {
    display: none;
}

.adj-modal {
    width: min(500px, 100%);
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .28);
}

.adj-modal-header {
    padding: 22px 24px;
    border-bottom: 1px solid var(--border, #dedfe0);
}

.adj-modal-header > span {
    display: block;
    margin-bottom: 6px;
    color: var(--maroon, #7b0026);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.adj-modal-header h2 {
    margin: 0;
    color: var(--text, #24272a);
    font-size: 21px;
}

.adj-modal-body {
    padding: 24px;
}

.adj-confirm-warning {
    margin-bottom: 18px;
    padding: 13px 14px;
    border-radius: 8px;
    background: #fff8e8;
    color: #735714;
    font-size: 13px;
    line-height: 1.5;
}

.adj-confirm-grid {
    overflow: hidden;
    border: 1px solid var(--border, #dedfe0);
    border-radius: 8px;
}

.adj-confirm-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 13px;
    border-bottom: 1px solid #eef0f1;
    font-size: 13px;
}

.adj-confirm-row:last-child {
    border-bottom: 0;
}

.adj-confirm-row span {
    color: var(--gray, #74797d);
}

.adj-confirm-row strong {
    max-width: 65%;
    color: var(--text, #24272a);
    text-align: right;
    overflow-wrap: anywhere;
}

.adj-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 24px;
    border-top: 1px solid var(--border, #dedfe0);
    background: var(--cream, #f8f6f3);
}

.adj-modal-button {
    min-height: 42px;
    padding: 0 17px;
    border-radius: 7px;
    font-weight: 700;
    cursor: pointer;
}

.adj-modal-button.secondary {
    border: 1px solid var(--border, #dedfe0);
    background: #fff;
    color: var(--text, #24272a);
}

.adj-modal-button.primary {
    border: 1px solid var(--maroon, #7b0026);
    background: var(--maroon, #7b0026);
    color: #fff;
}

.adj-modal-button.primary.debit {
    border-color: #a12626;
    background: #a12626;
}

.adj-modal-button:disabled {
    opacity: .55;
    cursor: not-allowed;
}


/* =========================================================
   ADJUSTMENTS RESPONSIVE
========================================================= */

@media (max-width: 950px) {

    .adj-layout {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 700px) {

    .adj-heading {
        flex-direction: column;
    }

    .adj-summary {
        grid-template-columns: 1fr;
    }

    .adj-history-toolbar {
        flex-direction: column;
    }

    .adj-history-item {
        grid-template-columns: 1fr;
    }

    .adj-history-amount {
        text-align: left;
    }

    .adj-type-selector {
        grid-template-columns: 1fr;
    }

    .adj-confirm-row {
        flex-direction: column;
        gap: 5px;
    }

    .adj-confirm-row strong {
        max-width: none;
        text-align: left;
    }

}

/* =========================================================
   LIVE DASHBOARD STATES
========================================================= */

.dashboard-empty-state {
    padding: 42px 24px;
    text-align: center;
    color: var(--muted);
}

.dashboard-empty-state strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
    font-size: 15px;
}

.dashboard-empty-state span {
    display: block;
    font-size: 13px;
}

.dashboard-table-empty {
    padding: 30px 15px;
    text-align: center;
    color: var(--muted);
}

.system-dot.offline {
    background: #b8b8b8;
    box-shadow: none;
}

.program-status.disabled {
    opacity: .65;
}

/* =========================================================
   DASHBOARD CONNECTION STATUS
========================================================= */

.system-list > div {
    min-width: 0;
}

.system-list > div > div {
    min-width: 0;
}

.system-list > div > div strong,
.system-list > div > div span {
    display: block;
}

.system-list > div > div strong {
    margin-bottom: 4px;
    line-height: 1.25;
}

.system-list > div > div span {
    line-height: 1.25;
}

.system-dot {
    flex: 0 0 auto;
}

.system-dot.offline {
    background: #b8b8b8;
    box-shadow: none;
}

/* =========================================================
   CUSTOMER PAGE TABS
========================================================= */

.customer-page-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    padding: 6px;
    width: fit-content;
    max-width: 100%;
    background: #f1f3f5;
    border-radius: 12px;
}

.customer-page-tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: #62676f;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 9px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.customer-page-tab:hover {
    color: #732439;
}

.customer-page-tab.active {
    background: #ffffff;
    color: #732439;
    box-shadow: 0 2px 8px rgba(25, 28, 33, 0.08);
}

.customer-page-tab-badge {
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border-radius: 999px;
    background: #732439;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   CLOSURE SUMMARY
========================================================= */

.closure-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.closure-summary-card {
    background: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 14px;
    padding: 22px;
}

.closure-summary-card.pending {
    border-left: 4px solid #732439;
}

.closure-summary-label {
    display: block;
    margin-bottom: 10px;
    color: #777c84;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.closure-summary-card strong {
    display: block;
    color: #20242a;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 9px;
}

.closure-summary-card small {
    color: #777c84;
    font-size: 13px;
}


/* =========================================================
   CLOSURE LIST
========================================================= */

.closure-list-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.closure-filter-field {
    min-width: 180px;
}

.closure-filter-field label {
    display: block;
    margin-bottom: 6px;
    color: #676c74;
    font-size: 12px;
    font-weight: 700;
}

.closure-filter-field select {
    width: 100%;
    height: 42px;
    padding: 0 36px 0 12px;
    border: 1px solid #d9dde2;
    border-radius: 8px;
    background: #ffffff;
    color: #262a30;
    font: inherit;
}

.closure-information-banner {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 0 20px 20px;
    padding: 15px 17px;
    background: #f8f4f5;
    border: 1px solid #eadde1;
    border-radius: 10px;
}

.closure-information-icon {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #732439;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.closure-information-banner strong {
    display: block;
    color: #3c2028;
    font-size: 13px;
    margin-bottom: 3px;
}

.closure-information-banner p {
    margin: 0;
    color: #71676a;
    font-size: 12px;
    line-height: 1.55;
}


/* STATUS */

.closure-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.closure-status.pending {
    background: #fff3cd;
    color: #765a00;
}

.closure-status.completed {
    background: #e7f6ec;
    color: #236a3a;
}

.closure-status.rejected {
    background: #f1f2f4;
    color: #5e6269;
}

.closure-view-button {
    appearance: none;
    border: 1px solid #d7dade;
    background: #ffffff;
    color: #732439;
    border-radius: 7px;
    padding: 7px 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.closure-view-button:hover {
    background: #f8f4f5;
    border-color: #cdbbc0;
}


/* =========================================================
   CLOSURE MODAL
========================================================= */

.closure-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.closure-modal[hidden] {
    display: none !important;
}

.closure-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 19, 22, 0.58);
}

.closure-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.closure-modal-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background: #ffffff;
    border-bottom: 1px solid #eceef0;
}

.closure-modal-header h2 {
    margin: 4px 0 0;
    color: #22262b;
    font-size: 23px;
}

.closure-modal-close {
    appearance: none;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: #f2f3f5;
    color: #555a61;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.closure-modal-close:hover {
    background: #e7e9ec;
}

.closure-modal-body {
    padding: 24px;
}

.closure-detail-section {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid #eceef0;
}

.closure-detail-heading {
    display: block;
    margin-bottom: 13px;
    color: #7a7f86;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.09em;
}

.closure-customer {
    display: flex;
    align-items: center;
    gap: 13px;
}

.closure-customer-avatar {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 50%;
    background: #732439;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
}

.closure-customer strong,
.closure-customer span,
.closure-customer small {
    display: block;
}

.closure-customer strong {
    color: #24282e;
    font-size: 16px;
}

.closure-customer span {
    color: #666b72;
    font-size: 13px;
    margin-top: 2px;
}

.closure-customer small {
    color: #8a8f96;
    font-size: 11px;
    margin-top: 3px;
}

.closure-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.closure-detail-grid > div {
    padding: 13px 14px;
    background: #f7f8f9;
    border-radius: 9px;
}

.closure-detail-grid span,
.closure-account-stats span {
    display: block;
    color: #81868d;
    font-size: 11px;
    margin-bottom: 5px;
}

.closure-detail-grid strong {
    color: #30343a;
    font-size: 13px;
}

.closure-reason-box {
    padding: 14px;
    background: #f7f8f9;
    border-radius: 9px;
}

.closure-reason-box span {
    display: block;
    color: #81868d;
    font-size: 11px;
    margin-bottom: 6px;
}

.closure-reason-box p {
    margin: 0;
    color: #35393f;
    font-size: 13px;
    line-height: 1.6;
}

.closure-account-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.closure-account-stats > div {
    padding: 13px;
    background: #f7f8f9;
    border-radius: 9px;
}

.closure-account-stats strong {
    color: #24282e;
    font-size: 17px;
}

#closure-admin-notes {
    display: block;
    width: 100%;
    min-height: 105px;
    resize: vertical;
    box-sizing: border-box;
    padding: 12px 13px;
    border: 1px solid #d9dde2;
    border-radius: 8px;
    background: #ffffff;
    color: #282c31;
    font: inherit;
    font-size: 13px;
    line-height: 1.5;
}

#closure-admin-notes:focus {
    outline: none;
    border-color: #732439;
    box-shadow: 0 0 0 3px rgba(115, 36, 57, 0.09);
}

.closure-warning {
    padding: 14px 16px;
    background: #fff7e6;
    border: 1px solid #f0dfb8;
    border-radius: 9px;
}

.closure-warning strong {
    display: block;
    color: #654d19;
    font-size: 13px;
    margin-bottom: 4px;
}

.closure-warning p {
    margin: 0;
    color: #77643a;
    font-size: 12px;
    line-height: 1.55;
}

.closure-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 24px;
    border-top: 1px solid #eceef0;
}

.closure-action-button {
    appearance: none;
    min-height: 42px;
    padding: 0 17px;
    border-radius: 8px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.closure-action-button.reject {
    border: 1px solid #d4d7dc;
    background: #ffffff;
    color: #575c63;
}

.closure-action-button.approve {
    border: 1px solid #732439;
    background: #732439;
    color: #ffffff;
}

.closure-action-button.approve:hover {
    background: #5d1d2e;
}

.closure-action-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.closure-action-message {
    margin: 0 24px 20px;
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.closure-action-message.success {
    background: #e7f6ec;
    color: #236a3a;
}

.closure-action-message.error {
    background: #fdebec;
    color: #9b2831;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 800px) {

    .closure-summary-grid {
        grid-template-columns: 1fr;
    }

    .closure-list-header {
        flex-direction: column;
    }

    .closure-filter-field {
        width: 100%;
    }

    .closure-account-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .closure-modal {
        padding: 12px;
    }

    .closure-modal-dialog {
        max-height: calc(100vh - 24px);
    }

}

@media (max-width: 520px) {

    .customer-page-tabs {
        width: 100%;
    }

    .customer-page-tab {
        flex: 1;
        padding-left: 10px;
        padding-right: 10px;
    }

    .closure-detail-grid,
    .closure-account-stats {
        grid-template-columns: 1fr;
    }

    .closure-modal-header,
    .closure-modal-body,
    .closure-modal-actions {
        padding-left: 17px;
        padding-right: 17px;
    }

    .closure-modal-actions {
        flex-direction: column-reverse;
    }

    .closure-action-button {
        width: 100%;
    }

}

/* =========================================================
   CUSTOMER ACCOUNT ACTIONS
========================================================= */

.customer-account-actions {
    margin-top: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.customer-account-actions-header {
    padding: 24px 26px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.customer-account-actions-header h3 {
    margin: 4px 0 5px;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}

.customer-account-actions-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.customer-section-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    color: #732439;
}

.customer-account-action-list {
    display: flex;
    flex-direction: column;
}

.customer-account-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 22px 26px;
    border-bottom: 1px solid #eef0f2;
}

.customer-account-action-row:last-child {
    border-bottom: 0;
}

.customer-account-action-content {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.customer-account-action-content strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.customer-account-action-content p {
    margin: 0;
    max-width: 620px;
    font-size: 13px;
    line-height: 1.55;
    color: #6b7280;
}

.customer-account-action-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #f3f4f6;
    color: #374151;

    font-size: 18px;
    font-weight: 700;
}

.customer-account-action-icon.warning {
    background: #fff7ed;
    color: #c2410c;
}

.customer-account-action-icon.success {
    background: #ecfdf5;
    color: #047857;
}


/* BUTTONS */

.customer-account-action-button {
    min-width: 120px;
    padding: 10px 17px;

    border: 1px solid #d1d5db;
    border-radius: 9px;

    background: #ffffff;
    color: #374151;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background .15s ease,
        border-color .15s ease,
        opacity .15s ease;
}

.customer-account-action-button:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.customer-account-action-button.danger {
    border-color: #fecaca;
    background: #fff;
    color: #b91c1c;
}

.customer-account-action-button.danger:hover {
    background: #fef2f2;
}

.customer-account-action-button.success {
    border-color: #a7f3d0;
    color: #047857;
}

.customer-account-action-button.success:hover {
    background: #ecfdf5;
}

.customer-account-action-button:disabled {
    opacity: .55;
    cursor: not-allowed;
}


/* MESSAGE */

.customer-account-action-message {
    margin: 18px 26px 0;
    padding: 12px 15px;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 600;
}

.customer-account-action-message.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.customer-account-action-message.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}


/* MOBILE */

@media (max-width: 700px) {

    .customer-account-action-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .customer-account-action-button {
        width: 100%;
    }

}

/* =========================================================
   SYNCHRONIZATION
========================================================= */

.set-sync-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.set-sync-status-row > div {
    min-width: 0;
}

.set-sync-status-row strong {
    display: block;
    font-size: 16px;
}

.set-sync-status-row p {
    margin: 5px 0 0;
    color: #68707d;
}


/* STATUS DOT */

.set-sync-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9aa1aa;
    margin-right: 8px;
}

.set-sync-dot.success {
    background: #1f9d55;
}

.set-sync-dot.error {
    background: #c93434;
}

.set-sync-dot.running {
    background: #d59b19;
}


/* HISTORY */

.set-sync-history {
    border: 1px solid #e2e5e9;
    border-radius: 10px;
    overflow: hidden;
}

.set-sync-run {
    display: grid;
    grid-template-columns:
        minmax(160px, 1.4fr)
        minmax(90px, .7fr)
        minmax(90px, .7fr)
        minmax(90px, .7fr)
        minmax(80px, .6fr);
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eceef1;
    font-size: 13px;
}

.set-sync-run:last-child {
    border-bottom: 0;
}

.set-sync-run strong {
    font-size: 13px;
}


/* BADGES */

.set-sync-badge {
    display: inline-flex;
    width: max-content;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef1f4;
    font-size: 11px;
    font-weight: 700;
}

.set-sync-badge.success {
    background: #e8f6ee;
    color: #16733d;
}

.set-sync-badge.failed {
    background: #fdecec;
    color: #a62b2b;
}


/* EMPTY */

.set-sync-empty {
    padding: 20px;
    color: #68707d;
}


/* RESULT MESSAGE */

.set-sync-message {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f5f7f9;
}

.set-sync-message.success {
    background: #e8f6ee;
    color: #16733d;
}

.set-sync-message.error {
    background: #fdecec;
    color: #a62b2b;
}


/* MOBILE */

@media (max-width: 760px) {

    .set-sync-status-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .set-sync-run {
        grid-template-columns: 1fr 1fr;
    }

    .set-sync-run > *:first-child {
        grid-column: 1 / -1;
    }

}

/* =========================================================
   DASHBOARD - PARTY RENTAL STUDIO
========================================================= */

.prs-dashboard-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
}


.prs-dashboard-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border-radius: 14px;

    background: rgba(143, 13, 45, 0.08);
    color: #8f0d2d;
}


.prs-dashboard-icon svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.prs-dashboard-copy strong {
    display: block;

    margin-bottom: 7px;

    font-size: 16px;
    font-weight: 700;
    color: #1d2430;
}


.prs-dashboard-copy p {
    margin: 0;

    max-width: 440px;

    color: #6c7480;
    font-size: 13px;
    line-height: 1.6;
}


.prs-dashboard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;

    padding: 0 17px;

    border-radius: 8px;

    background: #8f0d2d;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.prs-dashboard-button:hover {
    background: #731027;
    transform: translateY(-1px);
}


.prs-dashboard-button span {
    font-size: 15px;
}


/* =========================================================
   DASHBOARD WIDE WIDGET
========================================================= */

.dashboard-wide-widget {
    grid-column: 1 / -1;
}


/* =========================================================
   DASHBOARD MOBILE
========================================================= */

@media (max-width: 760px) {

    .prs-dashboard-card {
        padding: 20px;
    }

    .prs-dashboard-button {
        width: 100%;
    }

}

/* =========================================================
   SUPPORT PAGE
========================================================= */

.support-page {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 80px;
}


/* =========================================================
   HERO
========================================================= */

.support-hero {
    margin-bottom: 32px;
}

.support-eyebrow,
.support-label {
    display: block;
    margin-bottom: 8px;

    color: #8f0d2d;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.support-hero h1 {
    margin: 0;

    color: #1d2430;

    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.1;
}

.support-hero p {
    max-width: 720px;

    margin: 12px 0 0;

    color: #68707d;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   IMPORTANT REDEMPTION NOTICE
========================================================= */

.support-important {
    display: flex;
    gap: 22px;

    margin-bottom: 28px;
    padding: 28px;

    border: 1px solid rgba(143, 13, 45, .2);
    border-radius: 14px;

    background: rgba(143, 13, 45, .045);
}

.support-important-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 46px;
    height: 46px;

    border-radius: 50%;

    background: #8f0d2d;
    color: #fff;

    font-size: 20px;
    font-weight: 800;
}

.support-important h2 {
    margin: 0 0 12px;

    color: #1d2430;

    font-size: 22px;
}

.support-important p {
    max-width: 800px;

    margin: 8px 0;

    color: #555f6d;

    font-size: 14px;
    line-height: 1.7;
}

.support-important-note {
    font-size: 13px !important;
}

.support-example {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    gap: 15px;

    max-width: 600px;

    margin: 20px 0;
    padding: 15px 18px;

    border: 1px solid #e1e4e8;
    border-radius: 9px;

    background: #fff;
}

.support-example span {
    color: #8a929d;

    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.support-example strong {
    color: #252c36;
}

.support-example .support-negative {
    color: #8f0d2d;

    font-size: 17px;
}


/* =========================================================
   SECTIONS
========================================================= */

.support-section {
    margin-bottom: 28px;
    padding: 28px;

    border: 1px solid #e1e4e8;
    border-radius: 14px;

    background: #fff;
}

.support-section-header {
    margin-bottom: 22px;
}

.support-section-header h2 {
    margin: 0;

    color: #1d2430;

    font-size: 21px;
}

.support-section-header p {
    max-width: 720px;

    margin: 8px 0 0;

    color: #68707d;

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   QUICK LINKS
========================================================= */

.support-link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.support-link-card {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 18px;

    border: 1px solid #e4e7eb;
    border-radius: 10px;

    color: inherit;
    text-decoration: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.support-link-card:hover {
    border-color: rgba(143, 13, 45, .35);

    box-shadow: 0 5px 18px rgba(20, 26, 34, .06);

    transform: translateY(-1px);
}

.support-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    border-radius: 9px;

    background: rgba(143, 13, 45, .07);
    color: #8f0d2d;

    font-weight: 800;
}

.support-link-card div {
    flex: 1;
}

.support-link-card strong {
    display: block;

    margin-bottom: 3px;

    color: #252c36;

    font-size: 14px;
}

.support-link-card p {
    margin: 0;

    color: #747d88;

    font-size: 12px;
    line-height: 1.45;
}

.support-arrow {
    color: #8f0d2d;

    font-size: 18px;
}


/* =========================================================
   BALANCES
========================================================= */

.support-balance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.support-balance-card {
    padding: 20px;

    border: 1px solid #e4e7eb;
    border-radius: 10px;
}

.support-balance-dot {
    display: block;

    width: 9px;
    height: 9px;

    margin-bottom: 15px;

    border-radius: 50%;
}

.support-balance-dot.available {
    background: #23945b;
}

.support-balance-dot.pending {
    background: #d49a1d;
}

.support-balance-dot.reserved {
    background: #5577b9;
}

.support-balance-dot.redeemed {
    background: #8f0d2d;
}

.support-balance-card h3 {
    margin: 0 0 7px;

    color: #252c36;

    font-size: 14px;
}

.support-balance-card p {
    margin: 0;

    color: #747d88;

    font-size: 12px;
    line-height: 1.55;
}


/* =========================================================
   REDEMPTION STEPS
========================================================= */

.support-steps {
    border-top: 1px solid #eceef1;
}

.support-step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 16px;

    padding: 20px 0;

    border-bottom: 1px solid #eceef1;
}

.support-step-number {
    color: #8f0d2d;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.support-step h3 {
    margin: 0 0 5px;

    color: #252c36;

    font-size: 14px;
}

.support-step p {
    max-width: 760px;

    margin: 0;

    color: #68707d;

    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   CHECKLIST
========================================================= */

.support-checklist {
    display: grid;
    gap: 0;

    margin-bottom: 22px;
}

.support-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    padding: 15px 0;

    border-bottom: 1px solid #eceef1;
}

.support-check:first-child {
    border-top: 1px solid #eceef1;
}

.support-check > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    width: 22px;
    height: 22px;

    border-radius: 50%;

    background: #e9f6ef;
    color: #187844;

    font-size: 11px;
    font-weight: 800;
}

.support-check p {
    margin: 1px 0 0;

    color: #555f6d;

    font-size: 13px;
    line-height: 1.6;
}

.support-prs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;

    padding: 0 17px;

    border-radius: 8px;

    background: #8f0d2d;
    color: #fff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.support-prs-button:hover {
    background: #731027;
}


/* =========================================================
   FAQ
========================================================= */

.support-faq {
    border-top: 1px solid #e6e8eb;
}

.support-faq details {
    border-bottom: 1px solid #e6e8eb;
}

.support-faq summary {
    position: relative;

    padding: 18px 36px 18px 0;

    cursor: pointer;

    list-style: none;

    color: #252c36;

    font-size: 14px;
    font-weight: 700;
}

.support-faq summary::-webkit-details-marker {
    display: none;
}

.support-faq summary::after {
    content: "+";

    position: absolute;
    top: 50%;
    right: 5px;

    color: #8f0d2d;

    font-size: 20px;
    font-weight: 500;

    transform: translateY(-50%);
}

.support-faq details[open] summary::after {
    content: "−";
}

.support-faq details > div {
    max-width: 800px;

    padding: 0 0 18px;
}

.support-faq p {
    margin: 0 0 10px;

    color: #68707d;

    font-size: 13px;
    line-height: 1.65;
}

.support-faq p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ADMIN NOTE
========================================================= */

.support-admin-note {
    padding: 28px;

    border-radius: 14px;

    background: #20252d;
}

.support-admin-note .support-eyebrow {
    color: #e1b6c1;
}

.support-admin-note h2 {
    margin: 0 0 10px;

    color: #fff;

    font-size: 20px;
}

.support-admin-note p {
    max-width: 820px;

    margin: 0;

    color: #c5cbd3;

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .support-balance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .support-page {
        width: min(100% - 24px, 1180px);
        padding-top: 30px;
    }

    .support-important {
        flex-direction: column;
        padding: 22px;
    }

    .support-section {
        padding: 22px;
    }

    .support-link-grid,
    .support-balance-grid {
        grid-template-columns: 1fr;
    }

    .support-example {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .support-step {
        grid-template-columns: 40px 1fr;
    }

}

/* =========================================================
   ACCESS DENIED
========================================================= */

.admin-access-denied {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: calc(100vh - 160px);

    padding: 48px 24px;
}

.admin-access-denied-card {
    width: 100%;
    max-width: 620px;

    padding: 56px 42px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e8e8e8;
    border-radius: 18px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.06);
}

.admin-access-denied-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    margin: 0 auto 24px;

    border-radius: 50%;

    background: #f7eef1;
}

.admin-access-denied-icon svg {
    width: 34px;
    height: 34px;

    fill: #732439;
}

.admin-access-denied-label {
    display: block;

    margin-bottom: 10px;

    color: #732439;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-access-denied-card h1 {
    margin:
        0
        0
        14px;

    color: #202124;

    font-size: clamp(
        28px,
        4vw,
        38px
    );

    line-height: 1.15;
}

.admin-access-denied-card p {
    max-width: 480px;

    margin:
        0
        auto
        30px;

    color: #6b7280;

    font-size: 16px;
    line-height: 1.65;
}

.admin-access-denied-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 24px;

    color: #ffffff;

    font-size: 15px;
    font-weight: 700;

    text-decoration: none;

    background: #732439;

    border-radius: 8px;

    transition:
        transform 0.15s ease,
        background 0.15s ease;
}

.admin-access-denied-button:hover {
    background: #52143c;

    transform: translateY(-1px);
}

/* =========================================================
   SETTINGS - USERS & ACCESS
========================================================= */

.admin-users-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.admin-users-summary > div {
    padding: 20px;
    background: #f8f8f9;
    border: 1px solid #e7e7e9;
    border-radius: 12px;
}

.admin-users-summary span {
    display: block;
    margin-bottom: 7px;
    color: #74747c;
    font-size: 13px;
    font-weight: 600;
}

.admin-users-summary strong {
    color: #25252a;
    font-size: 28px;
    line-height: 1;
}


/* USERS */

.admin-users-list {
    overflow: hidden;
    border: 1px solid #e5e5e7;
    border-radius: 12px;
}

.admin-users-row {
    display: grid;
    grid-template-columns:
        minmax(240px, 1.7fr)
        minmax(140px, 0.8fr)
        110px
        80px;
    gap: 20px;
    align-items: center;

    padding: 17px 20px;

    background: #fff;

    border-bottom: 1px solid #eeeeef;
}

.admin-users-row:last-child {
    border-bottom: 0;
}

.admin-users-person {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.admin-users-avatar {
    position: relative;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    padding: 0;
    margin: 0;

    color: #732439;

    font-size: 13px;
    font-weight: 800;
    line-height: 42px;
    text-align: center;

    background: #f5e9ed;
    border-radius: 50%;

    box-sizing: border-box;
}

.admin-users-person > div {
    min-width: 0;
}

.admin-users-person strong,
.admin-users-person span {
    display: block;
}

.admin-users-person strong {
    margin-bottom: 3px;
    color: #25252a;
    font-size: 14px;
}

.admin-users-person span {
    overflow: hidden;
    color: #777780;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-users-role span {
    display: block;
    margin-bottom: 3px;
    color: #92929a;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.admin-users-role strong {
    color: #38383e;
    font-size: 13px;
}

.admin-user-status-badge {
    display: inline-flex;
    align-items: center;

    padding: 6px 9px;

    font-size: 11px;
    font-weight: 800;

    border-radius: 999px;
}

.admin-user-status-badge.active {
    color: #17683b;
    background: #e8f6ee;
}

.admin-user-status-badge.disabled {
    color: #8b3333;
    background: #fbecec;
}

.admin-users-actions {
    text-align: right;
}

.admin-users-edit {
    padding: 7px 12px;

    color: #732439;

    font: inherit;
    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    background: #fff;
    border: 1px solid #d9d9dd;
    border-radius: 7px;
}

.admin-users-edit:hover {
    background: #f8f4f5;
    border-color: #c8adb5;
}

.admin-users-loading,
.admin-users-empty,
.admin-users-error {
    padding: 30px 20px;

    color: #777780;

    font-size: 14px;
    text-align: center;
}

.admin-users-error {
    color: #9b3434;
}


/* ROLES */

.admin-role-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;

    margin-bottom: 24px;
}

.admin-role-card {
    padding: 18px;

    background: #fafafa;

    border: 1px solid #e7e7e9;
    border-radius: 10px;
}

.admin-role-card-top {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 7px;
}

.admin-role-card-top strong {
    color: #29292e;
    font-size: 14px;
}

.admin-role-card-top span {
    padding: 4px 7px;

    color: #732439;

    font-size: 10px;
    font-weight: 800;

    background: #f5e9ed;
    border-radius: 999px;
}

.admin-role-card p {
    margin: 0;

    color: #74747c;

    font-size: 13px;
    line-height: 1.55;
}


/* =========================================================
   USER MODAL
========================================================= */

body.admin-modal-open {
    overflow: hidden;
}

.admin-user-modal[hidden] {
    display: none;
}

.admin-user-modal {
    position: fixed;
    z-index: 10000;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

.admin-user-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(20, 18, 20, 0.58);
    backdrop-filter: blur(3px);
}

.admin-user-modal-dialog {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 650px;
    max-height: calc(100vh - 48px);

    overflow: auto;

    background: #fff;

    border-radius: 16px;

    box-shadow:
        0 24px 70px
        rgba(0, 0, 0, 0.24);
}

.admin-user-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding: 24px 26px;

    border-bottom: 1px solid #ececef;
}

.admin-user-modal-header span {
    display: block;

    margin-bottom: 5px;

    color: #732439;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.admin-user-modal-header h2 {
    margin: 0;

    color: #25252a;

    font-size: 22px;
}

.admin-user-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0;

    color: #65656c;

    font-size: 26px;
    line-height: 1;

    cursor: pointer;

    background: transparent;
    border: 0;
    border-radius: 8px;
}

.admin-user-modal-close:hover {
    background: #f4f4f5;
}

.admin-user-modal-body {
    display: grid;
    gap: 20px;

    padding: 26px;
}

.admin-user-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;

    padding: 18px 26px;

    background: #fafafa;

    border-top: 1px solid #ececef;
    border-radius: 0 0 16px 16px;
}

.admin-user-role-description {
    padding: 13px 15px;

    color: #65656d;

    font-size: 13px;
    line-height: 1.55;

    background: #f7f7f8;

    border: 1px solid #e7e7e9;
    border-radius: 8px;
}

.admin-user-form-message {
    padding: 12px 14px;

    font-size: 13px;
    font-weight: 600;

    border-radius: 8px;
}

.admin-user-form-message.success {
    color: #17683b;
    background: #e8f6ee;
}

.admin-user-form-message.error {
    color: #963535;
    background: #fbecec;
}


/* =========================================================
   RESPONSIVE USERS
========================================================= */

@media (max-width: 800px) {

    .admin-users-summary {
        grid-template-columns: 1fr;
    }

    .admin-role-grid {
        grid-template-columns: 1fr;
    }

    .admin-users-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .admin-users-actions {
        text-align: left;
    }

}

@media (max-width: 600px) {

    .admin-user-modal {
        padding: 12px;
    }

    .admin-user-modal-dialog {
        max-height: calc(100vh - 24px);
    }

    .admin-user-modal-header,
    .admin-user-modal-body,
    .admin-user-modal-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

}

/* =========================================================
   SETTINGS - WORDPRESS PLUGIN
========================================================= */

.wp-plugin-current {
    display: flex;
    align-items: center;
    gap: 18px;

    padding: 22px;

    background: #f8f8f9;

    border: 1px solid #e5e5e7;
    border-radius: 12px;
}


.wp-plugin-current-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 52px;

    width: 52px;
    height: 52px;

    color: #732439;

    background: #f5e9ed;

    border-radius: 12px;
}


.wp-plugin-current-icon svg {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.wp-plugin-current-copy {
    flex: 1;
    min-width: 0;
}


.wp-plugin-current-copy > span {
    display: block;

    margin-bottom: 4px;

    color: #8a8a92;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .08em;
}


.wp-plugin-current-copy strong {
    display: block;

    color: #25252a;

    font-size: 24px;
    line-height: 1.2;
}


.wp-plugin-current-copy small {
    display: block;

    margin-top: 5px;

    color: #74747c;

    font-size: 12px;
}


.wp-plugin-current-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 39px;

    padding: 0 14px;

    color: #732439;

    font-size: 12px;
    font-weight: 700;

    background: #ffffff;

    border: 1px solid #d9d9dd;
    border-radius: 7px;
}


.wp-plugin-current-actions a:hover {
    background: #f8f4f5;
    border-color: #c8adb5;
}


/* =========================================================
   UPLOAD
========================================================= */

.wp-plugin-upload {
    margin-top: 18px;
}


.wp-plugin-dropzone {
    display: flex;
    align-items: center;

    gap: 17px;

    min-height: 110px;

    padding: 22px;

    cursor: pointer;

    background: #fafafa;

    border: 2px dashed #d7d7db;
    border-radius: 12px;

    transition:
        border-color .15s ease,
        background .15s ease;
}


.wp-plugin-dropzone:hover,
.wp-plugin-dropzone.dragging {
    background: #fbf6f8;
    border-color: #b98b99;
}


.wp-plugin-dropzone:focus {
    outline: 2px solid rgba(115, 36, 57, .18);
    outline-offset: 3px;
}


.wp-plugin-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    color: #732439;

    background: #f5e9ed;

    border-radius: 50%;
}


.wp-plugin-upload-icon svg {
    width: 24px;
    height: 24px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.wp-plugin-upload-copy {
    flex: 1;
    min-width: 0;
}


.wp-plugin-upload-copy strong {
    display: block;

    margin-bottom: 5px;

    color: #29292e;

    font-size: 14px;
}


.wp-plugin-upload-copy span {
    display: block;

    color: #777780;

    font-size: 12px;
}


.wp-plugin-browse {
    padding: 8px 13px;

    color: #732439;

    font-size: 12px;
    font-weight: 700;

    background: #fff;

    border: 1px solid #d9d9dd;
    border-radius: 7px;
}


/* SELECTED FILE */

.wp-plugin-file-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 12px;
    padding: 15px 17px;

    background: #f4faf6;

    border: 1px solid #cfe4d6;
    border-radius: 9px;
}


.wp-plugin-file-selected[hidden] {
    display: none;
}


.wp-plugin-file-selected span {
    display: block;

    margin-bottom: 3px;

    color: #688172;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .08em;
}


.wp-plugin-file-selected strong {
    display: block;

    color: #29352e;

    font-size: 13px;
}


.wp-plugin-file-selected small {
    display: block;

    margin-top: 3px;

    color: #738078;

    font-size: 11px;
}


.wp-plugin-file-selected button {
    padding: 7px 11px;

    color: #8b3333;

    cursor: pointer;

    background: #fff;

    border: 1px solid #dfc8c8;
    border-radius: 6px;

    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   PUBLISH FIELDS
========================================================= */

.wp-plugin-publish-fields {
    display: grid;
    gap: 20px;

    margin-top: 22px;
}


.wp-plugin-publish-fields textarea {
    width: 100%;

    min-height: 120px;

    padding: 12px 13px;

    resize: vertical;

    color: #29292e;
    background: #fff;

    border: 1px solid #d8d8dc;
    border-radius: 7px;

    font: inherit;
    font-size: 13px;

    outline: none;
}


.wp-plugin-publish-fields textarea:focus {
    border-color: #a46a7a;

    box-shadow:
        0 0 0 3px
        rgba(115, 36, 57, .08);
}


.wp-plugin-publish-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 22px;
}


.wp-plugin-message {
    flex: 1;

    padding: 11px 13px;

    font-size: 12px;
    font-weight: 600;

    border-radius: 7px;
}


.wp-plugin-message.success {
    color: #17683b;
    background: #e8f6ee;
}


.wp-plugin-message.error {
    color: #963535;
    background: #fbecec;
}


/* =========================================================
   RELEASE HISTORY
========================================================= */

.wp-plugin-release-list {
    overflow: hidden;

    border: 1px solid #e5e5e7;
    border-radius: 12px;
}


.wp-plugin-release-row {
    display: grid;

    grid-template-columns:
        minmax(100px, .65fr)
        minmax(170px, 1fr)
        minmax(90px, .55fr)
        minmax(120px, .75fr);

    gap: 16px;

    align-items: center;

    padding: 16px 18px;

    background: #fff;

    border-bottom: 1px solid #eeeeef;
}


.wp-plugin-release-row:last-child {
    border-bottom: 0;
}


.wp-plugin-release-version span,
.wp-plugin-release-date span,
.wp-plugin-release-size span {
    display: block;

    margin-bottom: 3px;

    color: #92929a;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .07em;
}


.wp-plugin-release-version strong {
    color: #29292e;

    font-size: 14px;
}


.wp-plugin-release-date strong,
.wp-plugin-release-size strong {
    color: #55555d;

    font-size: 12px;
    font-weight: 600;
}


.wp-plugin-current-badge {
    display: inline-flex;

    margin-left: 7px;
    padding: 4px 7px;

    vertical-align: middle;

    color: #17683b;

    font-size: 9px;
    font-weight: 800;

    background: #e8f6ee;

    border-radius: 999px;
}


.wp-plugin-release-actions {
    text-align: right;
}


.wp-plugin-release-actions button {
    padding: 7px 11px;

    color: #732439;

    cursor: pointer;

    background: #fff;

    border: 1px solid #d9d9dd;
    border-radius: 7px;

    font-size: 11px;
    font-weight: 700;
}


.wp-plugin-release-actions button:hover {
    background: #f8f4f5;
    border-color: #c8adb5;
}


.wp-plugin-release-actions button:disabled {
    color: #999;

    cursor: default;

    background: #f5f5f5;
    border-color: #e4e4e4;
}


.wp-plugin-release-empty,
.wp-plugin-release-error {
    padding: 30px 20px;

    color: #777780;

    font-size: 13px;
    text-align: center;
}


.wp-plugin-release-error {
    color: #963535;
}


/* =========================================================
   WORDPRESS PLUGIN MOBILE
========================================================= */

@media (max-width: 700px) {

    .wp-plugin-current {
        align-items: flex-start;
        flex-wrap: wrap;
    }


    .wp-plugin-current-actions {
        width: 100%;
    }


    .wp-plugin-current-actions a {
        width: 100%;
    }


    .wp-plugin-dropzone {
        align-items: flex-start;
        flex-wrap: wrap;
    }


    .wp-plugin-browse {
        width: 100%;

        text-align: center;
    }


    .wp-plugin-publish-footer {
        align-items: stretch;
        flex-direction: column;
    }


    .wp-plugin-publish-footer .set-save-button {
        width: 100%;
    }


    .wp-plugin-release-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }


    .wp-plugin-release-actions {
        text-align: left;
    }

}