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

:root {
    --bg: #070d16;
    --bg2: #0b1422;
    --panel: #101c2b;
    --panel2: #142337;
    --line: #26394d;
    --gold: #e7ad48;
    --gold2: #f4c56d;
    --text: #f4f7fb;
    --muted: #94a5b9;
    --blue: #2e77bd;
    --green: #36bd83;
    --red: #ef6b6b;
    --radius: 16px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .24)
}

* {
    box-sizing: border-box
}

html {
    min-height: 100%;
    background: var(--bg)
}

body {
    font-family: 'DM Sans', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(ellipse at 75% 0%, #15253a 0, transparent 40%), var(--bg);
    color: var(--text);
    font-size: 14px
}

a {
    color: var(--gold2);
    text-decoration: none
}

a:hover {
    color: #ffe0a0
}

h1,
h2,
h3,
h4 {
    font-family: Manrope, 'DM Sans', sans-serif;
    color: var(--text);
    margin-top: 0
}

h1 {
    font-size: clamp(26px, 3vw, 34px);
    letter-spacing: -1.2px;
    margin-bottom: 8px
}

h2 {
    font-size: 21px;
    letter-spacing: -.4px;
    margin-bottom: 7px
}

h3 {
    font-size: 16px
}

.muted {
    color: var(--muted);
    line-height: 1.65;
    margin-top: 0
}

.eyebrow {
    font-size: 10px;
    letter-spacing: 1.8px;
    font-weight: 800;
    color: var(--gold);
    margin: 0 0 10px
}

.eyebrow span,
.strip-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    margin-right: 7px;
    box-shadow: 0 0 12px #e7ad4866
}

.topbar {
    height: 76px;
    padding: 0 clamp(18px, 4vw, 58px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: rgba(7, 14, 24, .9);
    border-bottom: 1px solid #25364a;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px)
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    font-family: Manrope, sans-serif;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap
}

.brand b {
    color: var(--gold2)
}

.brand small {
    display: block;
    color: #7f92a8;
    font-family: 'DM Sans', sans-serif;
    font-size: 8px;
    letter-spacing: 1.3px;
    margin-top: 3px
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    display: grid;
    place-items: center;
    flex-shrink: 0
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.topbar-right,
.top-nav {
    display: flex;
    align-items: center;
    gap: 20px
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid var(--line);
    padding-right: 20px
}

.user-pill b,
.user-pill small {
    display: block
}

.user-pill b {
    font-size: 12px
}

.user-pill small {
    font-size: 10px;
    color: var(--muted);
    text-transform: capitalize;
    margin-top: 3px
}

.user-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #3b2c18;
    color: var(--gold2);
    display: grid;
    place-items: center
}

.user-dot:after {
    content: '●';
    font-size: 11px
}

.top-nav {
    gap: 18px
}

.top-nav a,
.logout-link {
    font-size: 12px;
    color: #c7d2df
}

.top-nav a:hover,
.logout-link:hover {
    color: var(--gold2)
}

.top-nav form {
    margin: 0
}

.logout-link {
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit
}

.container {
    width: min(100% - 48px, 1320px);
    margin: 0 auto;
    padding: 32px 0 50px
}

.app-container {
    min-height: calc(100vh - 76px)
}

.public-container {
    width: 100%;
    padding: 0
}

.flash-success,
.flash-error {
    padding: 13px 16px;
    border-radius: 12px;
    margin: 0 0 18px;
    border: 1px solid
}

.flash-success {
    background: #0d3029;
    color: #91f0c4;
    border-color: #1c6b53
}

.flash-error {
    background: #351d25;
    color: #ffb3b3;
    border-color: #773c49
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 11px 16px;
    background: linear-gradient(135deg, var(--gold2), #ce8c27);
    color: #17120a;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: transform .18s, filter .18s;
    box-shadow: 0 6px 18px #d99a1b1a
}

.btn:hover {
    filter: brightness(1.08);
    color: #17120a;
    transform: translateY(-1px)
}

.btn.green {
    background: #17694e;
    color: #d8ffeb
}

.btn.red {
    background: #662b35;
    color: #ffe3e3
}

.btn.amber {
    background: linear-gradient(135deg, var(--gold2), #ce8c27);
    color: #17120a
}

.btn.small {
    padding: 7px 10px;
    font-size: 11px
}

.btn-outline {
    background: transparent;
    color: var(--gold2);
    border-color: #795a2b;
    box-shadow: none
}

.btn-outline:hover {
    color: #17120a;
    background: var(--gold2)
}

.back-link {
    display: inline-block;
    font-size: 12px;
    margin: 0 0 18px;
    color: var(--muted)
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin: 8px 0 28px
}

.page-heading .muted {
    margin-bottom: 0
}

.date-chip,
.live-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: #0d1928;
    color: #c4d0dd;
    font-size: 11px;
    white-space: nowrap
}

.date-chip {
    color: var(--gold2)
}

.live-chip i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px #36bd83a0
}

.section-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    background: linear-gradient(120deg, #111f30, #0c1725);
    border-radius: 14px;
    margin-bottom: 18px
}

.section-strip>div:first-child {
    display: grid;
    grid-template-columns: 10px auto;
    align-items: center;
    column-gap: 6px
}

.section-strip .strip-dot {
    grid-row: span 2;
    margin: 0
}

.section-strip b {
    font-size: 12px
}

.section-strip small {
    grid-column: 2;
    color: var(--muted);
    font-size: 11px;
    margin-top: 4px
}

.legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap
}

.legend span {
    font-size: 10px;
    color: #b7c3d1;
    display: flex;
    align-items: center;
    gap: 7px
}

.legend i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block
}

.legend-free {
    background: var(--green)
}

.legend-busy {
    background: var(--gold)
}

.legend-reserved {
    background: #5b9ded
}

.card,
.stat-box {
    background: linear-gradient(145deg, rgba(20, 35, 53, .96), rgba(12, 23, 37, .98));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    margin-bottom: 18px
}

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px
}

.card-heading h2 {
    margin: 0
}

.card-heading .eyebrow {
    margin-bottom: 6px
}

.card-heading-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #352a19;
    color: var(--gold2);
    font-size: 19px
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px
}

.table-grid {
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr))
}

.table-tile {
    position: relative;
    min-height: 155px;
    padding: 17px;
    border-radius: 15px;
    border: 1px solid #30475e;
    background: linear-gradient(145deg, #132439, #0d1928);
    color: var(--text);
    transition: transform .18s, border-color .18s;
    overflow: hidden
}

.table-tile:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    right: -40px;
    bottom: -55px;
    border-radius: 50%;
    background: #e7ad480b
}

.table-tile:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    color: var(--text)
}

.table-tile.terisi {
    border-color: #9a702c;
    background: linear-gradient(145deg, #302719, #151d27)
}

.table-tile.reserved {
    border-color: #276e59;
    background: linear-gradient(145deg, #12352f, #101d29)
}

.table-tile-top,
.table-tile-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.table-symbol {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #25364a;
    color: var(--gold2);
    font-size: 16px
}

.table-state {
    font-size: 9px;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--gold2);
    font-weight: 800
}

.table-number {
    font-family: Manrope, sans-serif;
    font-size: 19px;
    font-weight: 800;
    margin-top: 17px
}

.table-area {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px
}

.table-tile-bottom {
    border-top: 1px solid #ffffff0d;
    margin-top: 14px;
    padding-top: 11px;
    color: #8294a8;
    font-size: 10px
}

.table-tile-bottom b {
    color: var(--gold2);
    font-size: 17px
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    background: #2d3d51;
    color: #d8e4f2
}

.badge.diterima {
    background: #4a351b;
    color: #ffd88a
}

.badge.diproses {
    background: #163d59;
    color: #9bd5ff
}

.badge.selesai {
    background: #164c3c;
    color: #9af0c9
}

.badge.dibayar {
    background: #333e4a;
    color: #cbd5e1
}

/* forms and tables */
form {
    margin: 0
}

label {
    display: block;
    color: #d8e2ee;
    font-size: 11px;
    font-weight: 700;
    margin: 14px 0 7px
}

input,
select,
textarea {
    width: 100%;
    background: #0b1523;
    color: #eef4fb;
    border: 1px solid #34475d;
    border-radius: 9px;
    padding: 12px 13px;
    margin: 0;
    font: inherit;
    font-size: 12px;
    outline: none;
    transition: border .15s, box-shadow .15s
}

input::placeholder,
textarea::placeholder {
    color: #687d93
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px #e7ad4817
}

select option {
    background: #101c2b;
    color: #f4f7fb
}

textarea {
    resize: vertical
}

.form-stack label:first-child {
    margin-top: 0
}

.form-stack .btn {
    margin-top: 18px
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    min-width: 560px
}

th,
td {
    text-align: left;
    padding: 13px 12px;
    border-bottom: 1px solid #26384b;
    font-size: 12px;
    vertical-align: middle
}

th {
    color: #93a7bc;
    background: #0b1726;
    font-size: 10px;
    letter-spacing: .7px;
    text-transform: uppercase
}

td {
    color: #d7e1eb
}

tr:hover td {
    background: #ffffff04
}

.card:has(table) {
    overflow-x: auto
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px
}

.stat-box {
    margin: 0;
    padding: 21px
}

.stat-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a7b6c7;
    font-size: 11px
}

.stat-top i {
    font-style: normal;
    color: var(--gold2);
    font-size: 16px
}

.stat-box .num {
    font-family: Manrope, sans-serif;
    font-size: clamp(23px, 2.5vw, 31px);
    font-weight: 800;
    color: #fff;
    margin: 19px 0
}

.stat-box .label {
    font-size: 12px;
    color: var(--muted)
}

.stat-foot {
    display: flex;
    align-items: center;
    gap: 9px;
    border-top: 1px solid #ffffff10;
    padding-top: 13px;
    color: #8fa2b7;
    font-size: 10px
}

.stat-icon {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #49351b;
    color: var(--gold2);
    font-weight: 800
}

.blue-icon {
    background: #183956;
    color: #8dccff
}

.green-icon {
    background: #154638;
    color: #8df0c5
}

.admin-stats .stat-gold {
    border-color: #77572b;
    background: linear-gradient(145deg, #2a2419, #111d2a)
}

.admin-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 18px;
    margin-top: 20px
}

.admin-content-grid .card {
    margin: 0
}

.popular-list {
    display: grid;
    gap: 0
}

.popular-row {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid #ffffff0d
}

.popular-row:last-child {
    border-bottom: 0
}

.rank {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: #1c2b3d;
    border-radius: 9px;
    color: var(--gold2);
    font-size: 11px;
    font-weight: 800
}

.popular-name {
    flex: 1
}

.popular-name b,
.popular-name small {
    display: block
}

.popular-name b {
    font-size: 12px
}

.popular-name small {
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px
}

.popular-count {
    font-weight: 800;
    color: var(--gold2)
}

.popular-count small {
    font-size: 10px;
    font-weight: 500;
    color: var(--muted)
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #ffffff0e;
    color: var(--text)
}

.quick-link:last-child {
    border: 0
}

.quick-link>span:nth-child(2) {
    flex: 1
}

.quick-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: #1c2b3d;
    border-radius: 11px;
    color: var(--gold2);
    font-size: 17px
}

.quick-link b,
.quick-link small {
    display: block
}

.quick-link b {
    font-size: 12px
}

.quick-link small {
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px
}

.quick-link i {
    font-style: normal;
    color: var(--gold2);
    font-size: 18px
}

.admin-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 18px;
    line-height: 1.7
}

/* login */
.public-shell {
    background: #070d16
}

.public-container:has(.login-layout) {
    padding: 0;
    width: 100%;
    max-width: none
}

.login-layout {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr);
    background: #080f19
}

.login-showcase {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: clamp(30px, 5vw, 72px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
    linear-gradient(90deg, rgba(5, 10, 17, .82), rgba(7, 13, 21, .35)),
    linear-gradient(0deg, rgba(8, 16, 27, .75), transparent 65%),
    url('/images/restaurant.jpg') center / cover no-repeat;
}

.login-showcase:before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 25% 75%, #d9973430, transparent 40%), linear-gradient(130deg, #14283b88, transparent 55%);
    pointer-events: none
}

.showcase-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    right: -240px;
    top: 20%;
    border: 1px solid #e7ad4825;
    border-radius: 50%;
    box-shadow: 0 0 0 50px #e7ad4808, 0 0 0 100px #e7ad4805
}

.showcase-brand,
.showcase-copy,
.showcase-bottom {
    position: relative;
    z-index: 1
}

.showcase-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    font-family: Manrope, sans-serif;
    font-weight: 800;
    letter-spacing: 1.1px
}

.showcase-brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 16px;
    background: white
}

.showcase-brand b {
    color: var(--gold2)
}

.showcase-copy {
    max-width: 570px;
    margin: 70px 0
}

.showcase-copy h1 {
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin: 0 0 20px
}

.showcase-copy h1 em,
.reservation-intro h1 em {
    font-style: normal;
    color: var(--gold2)
}

.showcase-copy>p:last-child {
    max-width: 390px;
    color: #c4cfda;
    line-height: 1.8;
    font-size: 14px
}

.showcase-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #92a2b4;
    font-size: 9px;
    letter-spacing: 1.4px
}

.login-side {
    display: grid;
    place-items: center;
    padding: 36px;
    background: radial-gradient(ellipse at 50% 45%, #172538 0, transparent 65%)
}

.login-box {
    width: min(100%, 420px);
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none
}

.login-box h2 {
    font-size: 30px;
    margin-bottom: 8px
}

.login-box>.muted {
    margin-bottom: 28px;
    font-size: 12px
}

.login-box .form-stack label {
    margin-top: 17px
}

.login-box .form-stack label:first-child {
    margin-top: 0
}

.login-submit {
    width: 100%;
    margin-top: 25px !important;
    min-height: 46px;
    justify-content: space-between;
    padding: 0 17px;
    font-size: 13px
}

.login-submit span {
    font-size: 19px
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #5f7185;
    font-size: 9px;
    letter-spacing: 1.4px;
    margin: 23px 0
}

.login-divider:before,
.login-divider:after {
    content: '';
    height: 1px;
    background: #2a3a4d;
    flex: 1
}

.reservation-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #2a3e53;
    border-radius: 12px;
    color: var(--text);
    background: #101c2b
}

.reservation-link:hover {
    border-color: #a67b37;
    color: var(--text)
}

.link-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #392b18;
    color: var(--gold2);
    font-size: 17px
}

.reservation-link>span:nth-child(2) {
    flex: 1
}

.reservation-link b,
.reservation-link small {
    display: block
}

.reservation-link b {
    font-size: 12px
}

.reservation-link small {
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px
}

.link-arrow {
    font-size: 18px;
    color: var(--gold2)
}

.login-foot {
    margin-top: 34px;
    text-align: center;
    font-size: 9px;
    color: #62758a;
    letter-spacing: 1.6px
}

.mobile-brand {
    display: none
}

/* public reservation */
.public-nav {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 5vw, 76px);
    border-bottom: 1px solid #26374b;
    background: #09111d
}

.reservation-hero {
    min-height: calc(100vh - 74px);
    padding: clamp(28px, 5vw, 72px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 510px);
    gap: clamp(32px, 6vw, 90px);
    align-items: center;
    position: relative;
    isolation: isolate;
    background: linear-gradient(90deg, #08111de8, #08111d94), linear-gradient(0deg, #08111d, transparent 55%), radial-gradient(ellipse at 75% 25%, #27374a, #101d2b 60%)
}

.reservation-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 22% 50%, #c1843025, transparent 42%);
    z-index: -1
}

.reservation-intro {
    max-width: 600px
}

.reservation-intro h1 {
    font-size: clamp(42px, 5.5vw, 70px);
    line-height: 1.02;
    letter-spacing: -2.5px;
    margin: 0 0 22px
}

.reservation-intro>p:not(.eyebrow) {
    max-width: 420px;
    color: #c0cbd7;
    line-height: 1.9;
    font-size: 14px
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 35px;
    color: var(--gold2);
    font-size: 11px;
    font-weight: 700
}

.reservation-panel {
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid #34485c;
    border-radius: 20px;
    background: linear-gradient(145deg, #122033f5, #0b1522f7);
    box-shadow: 0 30px 80px #0006
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 25px
}

.panel-heading h2 {
    font-size: 25px;
    margin-bottom: 8px
}

.panel-heading .muted {
    font-size: 11px;
    margin-bottom: 0
}

.panel-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid #6d512a;
    border-radius: 12px;
    color: var(--gold2);
    font-size: 20px
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.optional {
    font-size: 8px;
    color: #7f91a5;
    letter-spacing: 1px;
    margin-left: 7px
}

.reservation-note {
    border-top: 1px solid #26374a;
    margin-top: 21px;
    padding-top: 17px;
    color: #8294a8;
    font-size: 10px;
    line-height: 1.6
}

.reservation-note span {
    color: var(--gold2);
    margin-right: 7px
}

.success-panel {
    text-align: center;
    padding: 22px 0
}

.success-panel>span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #164c3c;
    color: #9af0c9;
    font-size: 26px
}

.success-panel p {
    color: var(--muted);
    line-height: 1.7
}

.success-panel .btn {
    margin-top: 12px
}

/* KDS */
.kds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
    gap: 16px
}

.kds-card {
    background: linear-gradient(145deg, #142438, #0e1927);
    border: 1px solid #354b61;
    border-top: 3px solid var(--gold);
    border-radius: 15px;
    padding: 19px;
    box-shadow: var(--shadow);
    margin: 0
}

.kds-card h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 20px;
    margin: 0 0 10px
}

.kds-card small {
    color: var(--muted) !important;
    font-size: 10px
}

.kds-card ul {
    list-style: none;
    margin: 17px 0;
    padding: 0;
    border-top: 1px solid #ffffff12
}

.kds-card li {
    padding: 12px 0;
    border-bottom: 1px solid #ffffff0d;
    color: #e0e8f1;
    font-size: 12px
}

.kds-card li strong {
    display: inline-grid;
    place-items: center;
    min-width: 30px;
    height: 25px;
    background: #3b2d19;
    color: var(--gold2);
    border-radius: 7px;
    margin-right: 7px
}

.kds-card li em {
    display: block;
    color: #e4b96c;
    font-size: 10px;
    margin: 5px 0 0 38px
}

.kds-card .btn {
    width: 100%;
    margin-top: 4px
}

.kds-grid>p {
    color: var(--muted)
}

/* order screen */
.order-layout {
    display: grid;
    grid-template-columns: minmax(290px, .82fr) minmax(0, 1.18fr);
    gap: 18px;
    align-items: start
}

.order-layout .card {
    margin: 0
}

.order-layout .card-heading {
    margin-bottom: 20px
}

.order-layout table {
    min-width: 480px
}

.order-layout .card>h3 {
    color: var(--text)
}

.order-layout h3[style*="text-align:right"] {
    color: var(--gold2) !important
}

.order-layout .card>div[style*="display:flex"] {
    margin-top: 14px
}

/* admin forms/list pages */
.admin-content-grid+.admin-note {
    margin-bottom: 0
}

.container>h1 {
    margin-top: 4px
}

.container>h1+p {
    color: var(--muted)
}

.container>.card h3 {
    color: var(--text)
}

.container>.card>form {
    max-width: 700px
}

.container>.card>form label {
    margin-top: 14px
}

.container>.card>form .btn {
    margin-top: 17px
}

.container>.card+.card {
    margin-top: 18px
}

.container>.card>h3:first-child {
    margin-bottom: 17px
}

.container>.card>table {
    margin-top: 8px
}

@media(max-width:950px) {
    .login-layout {
        grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr)
    }

    .login-showcase {
        padding: 30px
    }

    .showcase-copy h1 {
        font-size: 46px
    }

    .reservation-hero {
        grid-template-columns: 1fr minmax(360px, 450px);
        gap: 28px;
        padding: 28px
    }

    .reservation-intro h1 {
        font-size: 48px
    }

    .admin-content-grid {
        grid-template-columns: 1fr
    }

    .topbar {
        padding: 0 22px
    }

    .top-nav {
        gap: 11px
    }
}

@media(max-width:700px) {
    .topbar {
        height: auto;
        min-height: 68px;
        align-items: flex-start;
        padding: 15px 18px;
        flex-direction: column;
        gap: 13px
    }

    .topbar-right {
        width: 100%;
        justify-content: space-between
    }

    .user-pill {
        padding-right: 10px
    }

    .top-nav {
        gap: 12px;
        flex-wrap: wrap
    }

    .top-nav a,
    .logout-link {
        font-size: 11px
    }

    .container {
        width: calc(100% - 30px);
        padding: 23px 0 35px
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px
    }

    .page-heading .btn {
        width: 100%
    }

    .section-strip {
        align-items: flex-start;
        flex-direction: column
    }

    .legend {
        gap: 12px
    }

    .login-layout {
        grid-template-columns: 1fr
    }

    .login-showcase {
        display: none
    }

    .login-side {
        min-height: 100vh;
        padding: 28px 22px
    }

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

    .mobile-brand img {
        height: 66px;
        width: 66px;
        object-fit: contain;
        background: #fff;
        border-radius: 16px
    }

    .login-box h2 {
        font-size: 27px
    }

    .public-nav {
        padding: 0 18px
    }

    .reservation-hero {
        grid-template-columns: 1fr;
        padding: 24px 16px 36px;
        gap: 24px
    }

    .reservation-intro {
        padding: 16px 4px 0
    }

    .reservation-intro h1 {
        font-size: 44px
    }

    .reservation-intro>p:not(.eyebrow) {
        font-size: 12px
    }

    .hero-tags {
        margin-top: 20px;
        gap: 12px;
        font-size: 10px
    }

    .reservation-panel {
        padding: 22px 17px
    }

    .field-row {
        grid-template-columns: 1fr;
        gap: 0
    }

    .stat-grid {
        grid-template-columns: 1fr
    }

    .admin-content-grid {
        grid-template-columns: 1fr
    }

    .order-layout {
        grid-template-columns: 1fr
    }

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

    .table-tile {
        padding: 13px;
        min-height: 145px
    }

    .table-number {
        font-size: 16px
    }

    .table-tile-bottom {
        font-size: 9px
    }

    .kds-grid {
        grid-template-columns: 1fr
    }

    .date-chip,
    .live-chip {
        font-size: 10px
    }

    .card {
        padding: 16px;
        overflow-x: auto
    }

    table {
        min-width: 560px
    }

    th,
    td {
        padding: 11px 9px
    }

    .brand {
        font-size: 13px
    }

    .brand-mark {
        width: 34px;
        height: 34px
    }
}