/* ═══════════════════════════════════════════════════════
   Golf Cart Ordering System — Global Styles
   Theme: Deep Forest Green #1B4D2F · Gold #C9A84C · White
   ═══════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --green:       #1B4D2F;
  --green-dark:  #143B24;
  --green-light: #2d6b46;
  --gold:        #C9A84C;
  --gold-light:  #e2c272;
  --white:       #ffffff;
  --off-white:   #f8f8f6;
  --gray-100:    #f4f4f0;
  --gray-200:    #e8e8e2;
  --gray-400:    #aaa99d;
  --gray-600:    #6b6b62;
  --gray-800:    #2e2e28;
  --red:         #c0392b;
  --blue:        #2980b9;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 4px 20px rgba(0,0,0,.12);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
}

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--off-white);
  color: var(--gray-800);
  line-height: 1.5;
}

a { color: var(--green); }

img { max-width: 100%; display: block; }

code {
  font-family: monospace;
  background: var(--gray-100);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: .85em;
}

/* ─── Golfer Menu Header (replaces site-header on menu page) ── */
.menu-logo-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.menu-logo-bg img {
  width: 85vw;
  max-width: 420px;
  opacity: .07;
  filter: grayscale(30%);
  user-select: none;
}

.menu-header {
  background: var(--green);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  padding: 16px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.menu-header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto;
}
.menu-header-logo {
  height: 72px;
  width: 72px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  padding: 6px;
  flex-shrink: 0;
}
.menu-header-icon {
  font-size: 52px;
  line-height: 1;
  flex-shrink: 0;
}
.menu-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.menu-header-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.menu-header-cart {
  font-size: 14px;
  color: var(--gold-light);
  font-weight: 600;
}

/* ─── Site Header (admin/dashboard pages) ───────────────── */
.site-header {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.site-logo-text { font-size: 28px; line-height: 1; }

.site-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: background .15s, color .15s;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn-primary {
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .1s;
  font-family: inherit;
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover  { background: var(--green-dark); }
.btn-primary:active { transform: scale(.97); }
.btn-primary.btn-full { width: 100%; }

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s, color .15s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  transition: background .15s;
}
.btn-ghost:hover { background: var(--gray-100); }

.btn-sm {
  padding: 5px 12px;
  font-size: 13px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: opacity .15s;
}
.btn-sm:hover { opacity: .85; }

.btn-edit      { background: var(--gold);  color: var(--white); }
.btn-danger    { background: var(--red);   color: var(--white); }
.btn-toggle    { background: var(--gray-400); color: var(--white); }
.btn-inprogress { background: var(--blue); color: var(--white); }
.btn-fulfilled  { background: var(--green); color: var(--white); }
.btn-cancel     { background: #f3f4f6; color: #6b7280; border: 1px solid #d1d5db; font-size: 13px; }
.btn-cancel:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }
.btn-edit       { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; font-size: 13px; }
.btn-edit:hover { background: #dbeafe; }
.btn-delete     { background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; font-size: 13px; }
.btn-delete:hover { background: #fecaca; }

/* ─── Forms ─────────────────────────────────────────────── */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--gray-800);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27,77,47,.12);
}
.form-group textarea { resize: vertical; }
.form-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.form-row .form-group { flex: 1; min-width: 120px; }
.form-group--grow { flex: 2 !important; }
.form-group--align-end {
  display: flex;
  align-items: flex-end;
}
.form-hint { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.form-hint-inline { font-weight: 400; font-size: 11px; color: var(--gray-400); }

/* ─── Alerts ────────────────────────────────────────────── */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
  font-weight: 500;
}
.alert-success { background: #d4edda; color: #1a4a2a; border-left: 4px solid var(--green); }
.alert-error   { background: #fdecea; color: #6b1f1f; border-left: 4px solid var(--red); }

/* ─── Badges ────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.badge--food        { background: #fff3d6; color: #7a5600; }
.badge--drink       { background: #d6eeff; color: #1a4c7a; }
.badge--available   { background: #d4edda; color: #1a4a2a; }
.badge--unavailable { background: var(--gray-200); color: var(--gray-600); }
.badge--pending     { background: #fff3d6; color: #7a5600; }
.badge--in-progress { background: #d6eeff; color: #1a4c7a; }
.badge--fulfilled   { background: #d4edda; color: #1a4a2a; }
.badge--cancelled   { background: #fee2e2; color: #dc2626; }

/* ─── Auth pages ─────────────────────────────────────────── */
.auth-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-light) 100%);
  padding: 20px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  padding: 40px;
  width: 100%;
  max-width: 380px;
}
.auth-logo { font-size: 52px; text-align: center; margin-bottom: 8px; }
.auth-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  text-align: center;
  margin: 0 0 24px;
}
.auth-form .btn-primary { margin-top: 8px; }

/* ─── Admin Layout ───────────────────────────────────────── */
.admin-main { padding: 28px 20px; min-height: calc(100vh - 64px); }
.admin-container {
  max-width: 960px;
  margin: 0 auto;
}
.admin-container--sm { max-width: 640px; }
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-toolbar h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0;
}

/* Admin section */
.admin-section {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  margin-bottom: 24px;
}
.admin-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Admin item card */
.admin-item-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  background: var(--off-white);
  transition: box-shadow .15s;
}
.admin-item-card:hover { box-shadow: var(--shadow-sm); }
.admin-item-img { flex-shrink: 0; }
.admin-item-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.admin-item-thumb--empty {
  width: 64px;
  height: 64px;
  background: var(--gray-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.admin-item-info { flex: 1; min-width: 0; }
.admin-item-name { font-weight: 600; font-size: 15px; }
.admin-item-meta { display: flex; gap: 8px; align-items: center; margin: 4px 0; flex-wrap: wrap; }
.admin-item-price { font-weight: 700; color: var(--green); }
.admin-item-desc { font-size: 13px; color: var(--gray-600); }
.admin-item-actions { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; }

.empty-hint { color: var(--gray-400); font-style: italic; font-size: 14px; padding: 8px 0; }

/* ─── Settings cards ─────────────────────────────────────── */
.settings-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 20px;
}
.settings-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-200);
}
.settings-logo-preview { max-height: 80px; margin-bottom: 10px; }
.settings-logo-placeholder {
  width: 100px; height: 60px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--gray-400);
  margin-bottom: 10px;
}
.smtp-status {
  padding: 10px 14px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

/* Photo preview */
.photo-preview { margin-top: 8px; }
.photo-preview img { max-height: 120px; border-radius: var(--radius-sm); }

/* ─── Modals ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(3px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  animation: fadeIn .15s ease;
}
@media (min-width: 600px) {
  .modal-overlay { align-items: center; padding: 20px; }
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }

.modal {
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp .2s ease;
  box-shadow: 0 -8px 40px rgba(0,0,0,.2);
}
@media (min-width: 600px) {
  .modal { border-radius: var(--radius); animation: popIn .2s ease; }
}
@keyframes slideUp { from { transform: translateY(100%) } to { transform: translateY(0) } }
@keyframes popIn   { from { transform: scale(.95); opacity:0 } to { transform: scale(1); opacity:1 } }

.modal--admin { max-width: 560px; }
.modal--confirm { text-align: center; padding: 32px 24px; }

/* ─── Hole selector — tap grid ───────────────────────────── */
.hole-selector-wrap {
  padding: 14px 20px 16px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  background: var(--off-white);
}
.hole-selector-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}
.hole-required {
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  margin-left: 4px;
}
.hole-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.hole-btn {
  aspect-ratio: 1;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-800);
  cursor: pointer;
  font-family: inherit;
  transition: background .12s, border-color .12s, color .12s, transform .1s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 48px;
}
.hole-btn:active  { transform: scale(.92); }
.hole-btn--active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(27,77,47,.3);
}
.hole-error {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  padding: 7px 12px;
  background: #fdecea;
  border-radius: var(--radius-sm);
}
@keyframes holeShake {
  0%,100% { transform: translateX(0); }
  20%,60%  { transform: translateX(-5px); }
  40%,80%  { transform: translateX(5px); }
}
.hole-shake { animation: holeShake .4s ease; }

/* Hole badge on dashboard cards */
.order-hole-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Cart group badge on dashboard cards */
.order-group-badge {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--gray-200);
}
.modal-header h3 { font-size: 18px; font-weight: 700; margin: 0; color: var(--green); }
.modal-close {
  background: none; border: none; font-size: 24px;
  cursor: pointer; color: var(--gray-400); line-height: 1;
  padding: 0 4px;
  transition: color .15s;
}
.modal-close:hover { color: var(--gray-800); }

.modal-body { padding: 20px; }
.modal-body--form { padding: 16px 20px; }
.modal-footer { padding: 16px 20px 20px; border-top: 1px solid var(--gray-200); display: flex; flex-direction: column; gap: 8px; }

.order-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  padding: 8px 0;
}

/* ─── Menu / Golfer experience ───────────────────────────── */
.menu-main { max-width: 700px; margin: 0 auto; padding: 0 0 20px; }

.cart-banner {
  background: linear-gradient(90deg, var(--green) 0%, var(--green-light) 100%);
  color: var(--white);
  padding: 14px 20px;
  margin-bottom: 6px;
}
.cart-banner-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cart-badge {
  background: var(--gold);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
}
.cart-badge-sm {
  background: var(--gold);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}
.cart-subtitle { font-size: 13px; opacity: .85; }

.menu-section { margin-bottom: 4px; }
.menu-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 10px;
}
.menu-section-icon { font-size: 22px; }
.menu-section-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--green-dark);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.menu-grid { display: flex; flex-direction: column; gap: 0; }

.menu-item {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  transition: box-shadow .15s;
  cursor: default;
}
.menu-item:last-child { border-bottom: none; }
.menu-item:first-child { border-top: 1px solid var(--gray-200); }

.menu-item-img {
  flex-shrink: 0;
  width: 130px;
  height: 130px;
  overflow: hidden;
}
.menu-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.menu-item-img--placeholder {
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.menu-item-info { flex: 1; padding: 14px 16px; min-width: 0; }
.menu-item-name { font-size: 16px; font-weight: 600; line-height: 1.3; }
.menu-item-desc { font-size: 13px; color: var(--gray-600); margin-top: 3px; line-height: 1.4; }
.menu-item-price { font-size: 16px; font-weight: 700; color: var(--green); margin-top: 6px; }

.menu-item-actions {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 14px;
  flex-shrink: 0;
}
.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .1s;
  user-select: none;
}
.qty-minus { background: var(--gray-200); color: var(--gray-800); }
.qty-plus  { background: var(--green);    color: var(--white); }
.qty-btn:active { transform: scale(.9); }
.qty-value {
  font-size: 16px;
  font-weight: 700;
  min-width: 28px;
  text-align: center;
  color: var(--green);
}

/* Sticky cart bar */
.cart-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--green);
  padding: 12px 20px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  z-index: 150;
  animation: slideUp .2s ease;
}
.cart-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 700px;
  margin: 0 auto;
  gap: 12px;
}
.cart-bar-info { display: flex; flex-direction: column; }
.cart-bar-count { font-size: 13px; color: rgba(255,255,255,.8); }
.cart-bar-total { font-size: 20px; font-weight: 800; color: var(--white); }
.btn-review {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background .15s;
}
.btn-review:hover { background: var(--gold-light); }

/* Order review in modal */
.order-review-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.order-review-item:last-child { border-bottom: none; }
.order-review-name { font-weight: 500; font-size: 15px; }
.order-review-qty  { color: var(--gray-600); font-size: 14px; }
.order-review-price { font-weight: 700; color: var(--green); font-size: 15px; }

.btn-place-order {
  font-size: 16px;
  padding: 14px 24px;
  width: 100%;
  background: var(--gold);
}
.btn-place-order:hover { background: var(--gold-light); }

/* Confirmation */
.confirm-icon { font-size: 60px; margin-bottom: 10px; }
.modal--confirm h2 { font-size: 24px; color: var(--green); margin: 0 0 6px; }
.confirm-cart { color: var(--gray-600); font-size: 15px; margin-bottom: 16px; }
.confirm-items {
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 10px;
  font-size: 14px;
  text-align: left;
}
.confirm-total {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 16px;
}
.confirm-delivery {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.delivery-icon { font-size: 32px; margin-bottom: 6px; }
.confirm-delivery p { margin: 0; font-size: 15px; font-weight: 500; }
.confirm-back { color: var(--gray-600); border-color: var(--gray-200); }

.empty-menu {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}

/* ─── Dashboard ──────────────────────────────────────────── */
.dash-main { padding: 20px; min-height: calc(100vh - 64px); }
.dash-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.dash-toolbar h1 { font-size: 24px; font-weight: 800; color: var(--green-dark); margin: 0; }
.dash-toolbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dash-meta { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--green); }

/* Volume control */
.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0f4f0;
  border: 1px solid #d0ddd0;
  border-radius: 20px;
  padding: 4px 12px;
}
.volume-icon { font-size: 16px; cursor: default; }
.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 4px;
  border-radius: 2px;
  background: #c8d8c8;
  outline: none;
  cursor: pointer;
}
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-dark);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.volume-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-dark);
  cursor: pointer;
  border: none;
}
.volume-label { font-size: 12px; font-weight: 600; color: var(--green-dark); min-width: 32px; }
.live-dot {
  width: 10px; height: 10px;
  background: #2ecc71;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.3); }
}

.dash-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}
@media (max-width: 900px) { .dash-board { grid-template-columns: 1fr; } }

.dash-column { display: flex; flex-direction: column; gap: 10px; }
.dash-column-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}
.col-pending     .dash-column-header,
.dash-column-header.col-pending     { background: #e67e22; }
.col-in_progress .dash-column-header,
.dash-column-header.col-in_progress { background: var(--blue); }
.col-fulfilled   .dash-column-header,
.dash-column-header.col-fulfilled   { background: var(--green); }

.dash-column-header .dash-count {
  margin-left: auto;
  background: rgba(255,255,255,.3);
  border-radius: 100px;
  min-width: 24px;
  height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.dash-column-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 60px;
}
.dash-empty {
  color: var(--gray-400);
  text-align: center;
  padding: 20px;
  font-style: italic;
  font-size: 14px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1.5px dashed var(--gray-200);
}

/* Order cards */
.order-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border-left: 4px solid transparent;
  transition: box-shadow .15s, transform .15s;
}
.order-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.order-card--cancelled   { border-left-color: #dc2626; opacity: .7; }
.order-card--pending     { border-left-color: #e67e22; }
.order-card--in_progress { border-left-color: var(--blue); }
.order-card--fulfilled   { border-left-color: var(--green); opacity: .8; }

.order-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 14px 8px;
  gap: 8px;
}
.order-card-cart { font-size: 20px; font-weight: 800; color: var(--green-dark); }
.order-card-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.order-time { font-size: 12px; color: var(--gray-400); }

.order-items { padding: 0 14px 10px; }
.order-item-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
}
.order-item-row:last-child { border-bottom: none; }
.order-item-name { flex: 1; font-weight: 500; }
.order-item-qty  { color: var(--gray-600); font-size: 13px; }
.order-item-price { font-weight: 700; color: var(--green); font-size: 13px; }

.order-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--gray-100);
  gap: 8px;
}
.order-total { font-size: 14px; font-weight: 700; color: var(--gray-800); }
.order-actions { display: flex; gap: 6px; }
.order-done-label { font-size: 13px; color: var(--green); font-weight: 600; }

/* New order flash */
.order-card--new {
  animation: newOrderFlash 1s ease 3;
}
@keyframes newOrderFlash {
  0%,100% { box-shadow: var(--shadow-sm); }
  50%      { box-shadow: 0 0 20px rgba(230,126,34,.6); }
}

/* ─── QR Generator ───────────────────────────────────────── */
.qr-config { margin-top: 12px; }
.qr-toolbar-actions { display: flex; gap: 10px; }

.qr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.qr-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  break-inside: avoid;
  page-break-inside: avoid;
}
.qr-card-logo { max-height: 50px; max-width: 120px; object-fit: contain; }
.qr-card-logo-text { font-size: 20px; font-weight: 700; color: var(--green); }
.qr-card-course { font-size: 11px; color: var(--gray-400); }
.qr-card-img { width: 180px; height: 180px; }
.qr-card-label {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
}
.qr-card-hint { font-size: 11px; color: var(--gray-400); }
.qr-card-actions { display: flex; gap: 8px; }
.qr-loading { text-align: center; padding: 40px; color: var(--gray-400); grid-column: 1/-1; }

/* ─── Contact Section (golfer menu) ─────────────────────── */
.contact-section {
  padding: 24px 16px 8px;
}
.contact-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 14px;
  text-align: center;
}
.contact-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: opacity .15s;
}
.contact-btn:active { opacity: .75; }
.contact-btn--clubhouse {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
}
.contact-btn--marshal {
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
}
.contact-btn-icon { font-size: 28px; flex-shrink: 0; }
.contact-btn-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  flex: 1;
}
.contact-btn-num {
  font-size: 13px;
  color: var(--gray-500);
}
/* Contact cards (new design) */
.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-card--clubhouse { background: #f0fdf4; border: 1.5px solid #86efac; }
.contact-card--marshal   { background: #fffbeb; border: 1.5px solid #fcd34d; }
.contact-card-header { display: flex; align-items: center; gap: 10px; }
.contact-card-icon   { font-size: 24px; flex-shrink: 0; }
.contact-card-name   { font-size: 16px; font-weight: 700; color: var(--gray-900); }
.contact-card-actions { display: flex; gap: 8px; }
.contact-action-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  flex: 1;
  padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer; white-space: nowrap;
  transition: opacity .15s;
  -webkit-tap-highlight-color: transparent;
}
.contact-action-btn:active { opacity: .7; }
.contact-action-btn--call  { background: #1B4D2F; color: #fff; }
.contact-action-btn--email { background: #fff; color: #1B4D2F; border: 1.5px solid #1B4D2F; }
/* Contact modal */
.modal--contact { max-width: 420px; }

/* Settings contact group */
.settings-contact-group {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px;
  background: var(--gray-50);
}

/* ─── Responsive tweaks ──────────────────────────────────── */
@media (max-width: 600px) {
  .site-name { display: none; }
  .admin-toolbar h1 { font-size: 20px; }
  .menu-item-img { width: 110px; height: 110px; }
  .auth-card { padding: 28px 20px; }
  .qr-grid { grid-template-columns: repeat(2, 1fr); }
}
