/*
 * CHANT FRIES STAFF THEME
 * Visual source of truth: official Chant Fries menu identity.
 * Orange #f6a30a · Teal #00789d · Cream #ffe3c7
 */

:root {
    --chant-orange: #f6a30a;
    --chant-teal: #00789d;
    --chant-cream: #ffe3c7;
    --chant-cream-light: #fff3e5;
    --chant-ink: #171717;
    --chant-muted: #75685c;
    --chant-white: #fffaf5;
}

body {
    background: var(--chant-cream);
}

.staffTopbar {
    min-height: 68px;
    padding: 10px 20px;
    background: var(--chant-orange);
    color: var(--chant-ink);
    border-bottom: 0;
    box-shadow: 0 2px 0 rgba(23, 23, 23, .13);
}

.staffMenuButton {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border: 0;
    border-radius: 12px;
    background: var(--chant-teal);
    color: var(--chant-white);
    font-weight: 950;
    box-shadow: none;
}

.staffMenuButton:hover {
    background: #006985;
}

.staffTopbarBrand .logo {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--chant-teal);
    color: var(--chant-white);
    font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
    font-weight: 950;
    letter-spacing: -.05em;
}

.staffTopbarCopy strong {
    color: var(--chant-ink);
    font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
    font-size: 16px;
    font-weight: 950;
    letter-spacing: -.025em;
}

.staffTopbarCopy span {
    color: rgba(23, 23, 23, .66);
    font-size: 11px;
    font-weight: 800;
}

.staffCurrentView {
    padding: 9px 14px;
    border: 0;
    border-radius: 10px;
    background: var(--chant-teal);
    color: var(--chant-white);
    font-size: 12px;
    font-weight: 900;
}

.staffMenuBackdrop {
    background: rgba(0, 62, 80, .47);
}

.staffMenuDrawer {
    background: var(--chant-teal);
    color: var(--chant-white);
    border-right: 0;
    box-shadow: 20px 0 48px rgba(0, 50, 64, .24);
}

.staffMenuHead {
    padding: 22px 18px 18px;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.staffMenuBrand .logo {
    border: 0;
    border-radius: 12px;
    background: var(--chant-orange);
    color: var(--chant-ink);
    font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
}

.staffMenuBrand strong {
    color: var(--chant-white);
    font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
    font-size: 17px;
    font-weight: 950;
    letter-spacing: -.025em;
}

.staffMenuBrand span {
    color: rgba(255,255,255,.72);
    font-weight: 700;
}

.staffMenuProfile {
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    background: rgba(255,255,255,.08);
    color: var(--chant-white);
}

.staffMenuProfile span {
    color: rgba(255,255,255,.7);
}

.staffMenuNav {
    padding: 13px 11px;
}

.staffNavSection {
    padding: 18px 12px 7px;
    color: rgba(255,255,255,.59);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .14em;
}

.staffNavItem,
.staffLogout {
    border-radius: 11px;
    color: var(--chant-white);
    font-weight: 850;
}

.staffNavItem:hover {
    background: rgba(255,255,255,.1);
}

.staffNavItem.active {
    background: var(--chant-orange);
    color: var(--chant-ink);
    box-shadow: none;
}

.staffNavIcon {
    color: inherit;
    font-size: 11px;
    font-weight: 950;
}

.staffMenuFooter {
    border-top: 1px solid rgba(255,255,255,.18);
}

.staffLogout {
    color: #ffe4df;
}

.staffLogout:hover {
    background: rgba(255,255,255,.1);
}

.staffMain {
    max-width: none;
    min-height: calc(100vh - 68px);
    margin: 0;
    padding: 34px max(24px, calc((100vw - 1320px) / 2)) 56px;
    background-color: var(--chant-cream);
    background-image:
        radial-gradient(ellipse 23px 8px at 25px 13px, rgba(0,120,157,.055) 0 47%, transparent 50%),
        radial-gradient(ellipse 23px 8px at 62px 31px, rgba(0,120,157,.045) 0 47%, transparent 50%);
    background-size: 74px 38px;
}

.staffMain .title {
    margin-bottom: 22px;
}

.staffMain .title h1 {
    margin: 0;
    color: var(--chant-teal);
    font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
    font-size: clamp(35px, 4.5vw, 60px);
    font-weight: 950;
    line-height: .92;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.staffMain .title p {
    margin-top: 10px;
    color: var(--chant-muted);
    font-size: 15px;
    font-weight: 750;
}

.staffMain .card {
    background: rgba(255, 250, 245, .96);
    border: 2px solid var(--chant-teal);
    border-radius: 17px;
    box-shadow: 0 9px 0 rgba(0,120,157,.06);
}

.staffMain .block {
    padding: 24px;
    margin-top: 18px;
}

.staffMain .block h2,
.staffMain .order h2,
.staffMain .printerControlCard h2,
.staffMain .printerSetupCard h2,
.staffMain .printerHistoryCard h2 {
    margin-top: 0;
    color: var(--chant-teal);
    font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -.035em;
    text-transform: uppercase;
}

.staffMain .muted {
    color: var(--chant-muted);
}

.staffMain .primary,
.staffMain .blue,
.staffMain .dark,
.staffMain .danger {
    min-height: 44px;
    border: 0;
    border-radius: 11px;
    padding: 11px 18px;
    font-weight: 950;
    box-shadow: none;
}

.staffMain .primary {
    background: var(--chant-orange);
    color: var(--chant-ink);
}

.staffMain .blue {
    background: var(--chant-teal);
    color: var(--chant-white);
}

.staffMain .dark {
    background: var(--chant-teal);
    color: var(--chant-white);
}

.staffMain .danger {
    background: #a62820;
    color: #fff;
}

.staffMain input,
.staffMain textarea,
.staffMain select {
    border: 2px solid var(--chant-teal);
    border-radius: 11px;
    background: #fff;
    color: var(--chant-ink);
    outline: none;
}

.staffMain input:focus,
.staffMain textarea:focus,
.staffMain select:focus {
    box-shadow: 0 0 0 3px rgba(246, 163, 10, .32);
}

.staffMain .pill,
.staffMain .acctTag {
    border: 0;
    border-radius: 999px;
    background: var(--chant-orange);
    color: var(--chant-ink);
    font-weight: 950;
}

.staffView-admin > section > .title:first-child {
    position: relative;
    min-height: 206px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 34px 36px;
    border: 0;
    border-radius: 22px;
    background-color: var(--chant-teal);
    background-image:
        radial-gradient(ellipse 30px 10px at 31px 18px, rgba(255,227,199,.12) 0 46%, transparent 49%),
        radial-gradient(ellipse 30px 10px at 76px 44px, rgba(255,227,199,.09) 0 46%, transparent 49%);
    background-size: 92px 54px;
    box-shadow: 0 12px 0 rgba(0, 87, 113, .11);
}

.staffView-admin > section > .title:first-child::before {
    content: 'CHANT FRIES · LOVE AND FRIES';
    position: absolute;
    top: 26px;
    left: 36px;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--chant-orange);
    color: var(--chant-ink);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .11em;
}

.staffView-admin > section > .title:first-child::after {
    content: 'CF';
    position: absolute;
    right: 28px;
    top: 17px;
    color: rgba(255,227,199,.10);
    font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
    font-size: 132px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.08em;
}

.staffView-admin > section > .title:first-child h1 {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: var(--chant-cream);
    font-size: clamp(46px, 6vw, 76px);
}

.staffView-admin > section > .title:first-child p {
    position: relative;
    z-index: 1;
    color: rgba(255,227,199,.86);
    font-size: 16px;
}

.staffView-admin #stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.staffView-admin #stats .stat {
    min-height: 142px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 0;
}

.staffView-admin #stats .stat span {
    color: var(--chant-muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.staffView-admin #stats .stat b {
    margin: 18px 0 0;
    color: var(--chant-teal);
    font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
    font-size: clamp(30px, 3vw, 45px);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.055em;
}

.staffView-admin #stats .stat:first-child {
    background: var(--chant-orange);
}

.staffView-admin #stats .stat:first-child span,
.staffView-admin #stats .stat:first-child b {
    color: var(--chant-ink);
}

.staffView-admin #stats .stat:nth-child(2) {
    background: var(--chant-white);
}

.staffView-admin #stats .stat:nth-child(3) {
    background: #fff1df;
}

.staffView-admin #stats .stat:nth-child(4) {
    background: var(--chant-teal);
}

.staffView-admin #stats .stat:nth-child(4) span {
    color: rgba(255,227,199,.78);
}

.staffView-admin #stats .stat:nth-child(4) b {
    color: var(--chant-cream);
}

.staffView-admin #pending .card {
    background: var(--chant-white);
}

.staffView-admin .pay {
    margin-top: 10px;
    padding: 14px 0;
    border-top: 1.5px solid rgba(0,120,157,.26);
}

.staffView-admin .table {
    border: 2px solid var(--chant-teal);
    border-radius: 16px;
    background: var(--chant-white);
    box-shadow: none;
}

.staffView-admin #recent .tr {
    padding: 14px 16px;
    border-top: 1px solid rgba(0,120,157,.17);
}

.staffView-admin #recent .tr:first-child {
    border-top: 0;
}

.staffView-admin #recent .head {
    background: var(--chant-teal);
    color: var(--chant-cream);
}

.staffView-admin #recent .head span {
    color: var(--chant-cream);
    font-weight: 900;
}

.staffView-admin #deletedOrders .card {
    border-color: #a62820;
    background: #fff2ec;
}

.staffMain .products,
.staffMain .order,
.staffMain .side,
.staffMain .ticket,
.staffMain .acctFilters,
.staffMain .printerControlCard,
.staffMain .printerSetupCard,
.staffMain .printerHistoryCard {
    border-color: var(--chant-teal);
}

.staffMain .product {
    border: 2px solid var(--chant-teal);
    border-radius: 16px;
    background: var(--chant-white);
    transition: transform .12s ease, box-shadow .12s ease;
}

.staffMain .product:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 0 rgba(0,120,157,.09);
}

.staffMain .product b {
    color: var(--chant-teal);
    font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
    letter-spacing: -.025em;
}

.staffMain .product span {
    color: var(--chant-ink);
    font-weight: 950;
}

.staffMain .side button,
.staffMain .seg button {
    border: 2px solid var(--chant-teal);
    border-radius: 10px;
    background: var(--chant-white);
    color: var(--chant-teal);
    font-weight: 850;
}

.staffMain .side button.active,
.staffMain .seg button.active {
    background: var(--chant-teal);
    color: var(--chant-white);
}

.staffMain .ticket {
    border: 2px solid var(--chant-teal);
    border-radius: 17px;
    background: var(--chant-white);
}

.staffMain .ticket .top b {
    color: var(--chant-teal);
    font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
}

.staffMain .note {
    border: 0;
    border-left: 5px solid var(--chant-orange);
    border-radius: 9px;
    background: #fff1d9;
}

.staffMain .acctFlag {
    border: 2px solid var(--chant-teal);
    background: var(--chant-white);
}

.staffMain .acctFlag b {
    color: var(--chant-teal);
    font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
}

.staffMain .acctTable table {
    background: var(--chant-white);
    border: 2px solid var(--chant-teal);
    border-radius: 13px;
    overflow: hidden;
}

.staffMain .acctTable th {
    background: var(--chant-teal);
    color: var(--chant-cream);
}

@media (max-width: 1000px) {
    .staffMain {
        padding: 24px 16px 42px;
    }

    .staffView-admin #stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .staffTopbar {
        min-height: 60px;
        padding: 8px 10px;
    }

    .staffMenuButton {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .staffTopbarBrand .logo {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .staffMain {
        min-height: calc(100vh - 60px);
        padding: 15px 12px 34px;
        background-size: 62px 32px;
    }

    .staffView-admin > section > .title:first-child {
        min-height: 174px;
        padding: 26px 21px 23px;
        border-radius: 18px;
    }

    .staffView-admin > section > .title:first-child::before {
        top: 19px;
        left: 21px;
        font-size: 8px;
    }

    .staffView-admin > section > .title:first-child::after {
        right: 14px;
        top: 27px;
        font-size: 84px;
    }

    .staffView-admin > section > .title:first-child h1 {
        font-size: 40px;
    }

    .staffView-admin > section > .title:first-child p {
        margin-bottom: 0;
        font-size: 13px;
    }

    .staffView-admin #stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .staffView-admin #stats .stat {
        min-height: 116px;
        padding: 15px;
    }

    .staffView-admin #stats .stat b {
        font-size: 27px;
    }

    .staffMain .block {
        padding: 17px;
    }

    .staffView-admin #recent.table,
    .staffView-admin #recent .table {
        border: 0;
        background: transparent;
    }

    .staffView-admin #recent .head {
        display: none;
    }

    .staffView-admin #recent .tr {
        min-width: 0;
        margin-bottom: 9px;
        padding: 14px;
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 7px 12px;
        border: 2px solid var(--chant-teal);
        border-radius: 13px;
        background: var(--chant-white);
    }

    .staffView-admin #recent .tr > :first-child {
        color: var(--chant-teal);
        font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
        font-size: 17px;
        font-weight: 950;
    }

    .staffMain .pay {
        align-items: flex-start;
        flex-direction: column;
    }
}

.catalogCategoryManager {
    margin: 18px 0 24px;
    padding: 18px;
    border: 2px solid var(--chant-teal);
    border-radius: 16px;
    background: #fffaf5;
}

.catalogCategoryManagerHead h3 {
    margin: 0 0 5px;
    color: var(--chant-teal);
    font-family: "Arial Black", "Avenir Next Condensed", Impact, sans-serif;
    font-size: 21px;
    text-transform: uppercase;
}

.catalogCategoryManagerHead p {
    margin: 0 0 14px;
}

.catalogCategoryList {
    display: grid;
    gap: 10px;
}

.catalogCategoryRow {
    display: grid;
    grid-template-columns: minmax(190px, 1.3fr) auto auto auto minmax(180px, .8fr) auto;
    gap: 9px;
    align-items: end;
    padding: 12px;
    border: 1.5px solid rgba(0,120,157,.28);
    border-radius: 13px;
    background: #fff;
}

.catalogCategoryRow.inactive {
    opacity: .72;
    background: #f4eee8;
}

.catalogCategoryMain label,
.catalogCategoryActive {
    font-size: 11px;
    font-weight: 900;
    color: var(--chant-muted);
}

.catalogCategoryMain input {
    margin-top: 5px;
}

.catalogCategoryMain small {
    display: block;
    margin-top: 5px;
    color: var(--chant-muted);
    font-weight: 700;
}

.catalogCategoryActive {
    min-width: 86px;
    padding: 10px 8px;
    border-radius: 10px;
    background: #fff3d9;
    color: var(--chant-ink);
}

.catalogCategoryActive input {
    width: auto;
    margin-right: 5px;
}

.catalogCategoryOrder {
    display: flex;
    gap: 5px;
}

.catalogCategoryOrder button {
    min-width: 42px;
    padding-left: 10px;
    padding-right: 10px;
}

.catalogCategoryRow select {
    min-width: 180px;
}

.categoryEmpty {
    padding: 12px 8px;
    color: var(--chant-muted);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

@media (max-width: 900px) {
    .catalogCategoryRow {
        grid-template-columns: minmax(0, 1fr) auto auto;
    }

    .catalogCategoryMain {
        grid-column: 1 / -1;
    }

    .catalogCategoryRow select,
    .categoryEmpty {
        grid-column: 1 / -2;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .catalogCategoryManager {
        padding: 12px;
    }

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

    .catalogCategoryActive,
    .catalogCategoryOrder,
    .categorySave,
    .categoryDelete {
        width: 100%;
    }

    .catalogCategoryRow select,
    .categoryEmpty,
    .catalogCategoryMain {
        grid-column: 1 / -1;
    }
}
