/* ============================================================
   chop-dashboard.css — ChopLocal Dashboard Design System
   New glassmorphism design for dashboard pages
   ============================================================ */

/* ── Variables (mapped to app.css v3 tokens) ─────────────── */
:root {
  --chop-bg: var(--bg);
  --chop-surface: var(--bg-card);
  --chop-surface-solid: var(--bg-card);
  --chop-text: var(--text);
  --chop-text-2: var(--text-2);
  --chop-text-3: var(--text-3);
  --chop-accent: var(--accent);
  --chop-accent-ghost: var(--accent-ghost);
  --chop-accent-soft: var(--accent-soft);
  --chop-accent-gradient: var(--accent-gradient);
  --chop-green: var(--green);
  --chop-green-ghost: var(--green-ghost);
  --chop-green-soft: rgba(22,163,74,0.14);
  --chop-blue: var(--blue);
  --chop-blue-ghost: var(--blue-ghost);
  --chop-amber: var(--amber);
  --chop-amber-ghost: var(--amber-ghost);
  --chop-purple: var(--purple);
  --chop-purple-ghost: var(--purple-ghost);
  --chop-border: var(--border);
  --chop-border-hover: var(--border-hover);
  --chop-glass: var(--bg-card);
  --chop-glass-hover: var(--bg-card);
  --chop-glass-border: var(--border);
  --chop-glass-blur: none;
  --chop-font: var(--font);
  --chop-mono: var(--mono);
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes chop-breatheIn {
  from { opacity: 0; transform: translateY(8px) scale(0.99); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chop-section-animate { animation: chop-breatheIn 0.5s ease both; }
.chop-fade-in         { animation: chop-breatheIn 0.5s ease 0.1s both; }

/* ── Dashboard Layout ──────────────────────────────────────── */
.chop-dashboard {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 0 80px;
  position: relative;
  z-index: 1;
  font-family: var(--chop-font);
}

/* ── Welcome ───────────────────────────────────────────────── */
.chop-welcome {
  margin-bottom: 32px;
  animation: chop-breatheIn 0.5s ease both;
}
.chop-welcome h1 {
  font-family: var(--chop-font);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
  color: var(--chop-text);
}
.chop-welcome p {
  font-size: 14px;
  color: var(--chop-text-3);
  font-weight: 300;
  margin: 0;
}

/* ── Section Label ─────────────────────────────────────────── */
.chop-section-label {
  font-family: var(--chop-font);
  font-size: 10px;
  font-weight: 600;
  color: var(--chop-text-3);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 14px;
  animation: chop-breatheIn 0.5s ease 0.1s both;
  display: flex;
  align-items: center;
  gap: 8px;
}
/* no accent bar in clean design */

/* ── Stats Grid ────────────────────────────────────────────── */
.chop-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 32px;
}

.chop-stat-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: var(--radius-lg, 12px);
  padding: 18px 20px;
  transition: all 0.15s;
  cursor: default;
  animation: chop-breatheIn 0.4s ease 0.1s both;
}
.chop-stat-card:hover {
  border-color: var(--chop-border-hover);
  box-shadow: var(--shadow-sm);
}

.chop-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.chop-stat-label {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 400;
  letter-spacing: 0.2px;
  display: block;
  margin-bottom: 10px;
}

.chop-stat-number {
  font-family: var(--chop-mono);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--chop-text);
}
.chop-stat-sub {
  font-family: var(--chop-font);
  font-size: 11px;
  color: var(--chop-text-3);
  font-weight: 300;
  margin-top: 4px;
}

/* ── Quick Actions Grid ────────────────────────────────────── */
.chop-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 32px;
  animation: chop-breatheIn 0.5s ease 0.24s both;
}

.chop-action-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: var(--radius-lg, 12px);
  padding: 20px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.chop-action-card:hover {
  border-color: var(--chop-border-hover);
  box-shadow: var(--shadow-sm);
}

.chop-action-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.chop-action-icon.accent { background: var(--chop-accent-ghost); color: var(--chop-accent); }
.chop-action-icon.amber  { background: var(--chop-amber-ghost);  color: var(--chop-amber); }
.chop-action-icon.green  { background: var(--chop-green-ghost);  color: var(--chop-green); }
.chop-action-icon.blue   { background: var(--chop-blue-ghost);   color: var(--chop-blue); }

.chop-action-title {
  font-family: var(--chop-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin-bottom: 3px;
  color: var(--chop-text);
}
.chop-action-desc {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 300;
  margin-bottom: 14px;
}
.chop-action-link {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-2);
  font-weight: 400;
}

/* ── Recent Check-ins ──────────────────────────────────────── */
.chop-checkins-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: none;
  animation: chop-breatheIn 0.5s ease 0.36s both;
}

.chop-checkins-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--chop-border);
}
.chop-checkins-header h3 {
  font-family: var(--chop-font);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--chop-text);
  margin: 0;
}
.chop-checkins-header a {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s;
}
.chop-checkins-header a:hover { color: var(--chop-text-2); }

.chop-checkin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  border-bottom: 1px solid var(--chop-border);
  transition: background 0.2s;
}
.chop-checkin-row:last-child { border-bottom: none; }
.chop-checkin-row:hover { background: var(--accent-ghost); }

.chop-checkin-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.chop-checkin-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--chop-accent-ghost);
  color: var(--chop-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--chop-font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.chop-checkin-name {
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 400;
  color: var(--chop-text);
}
.chop-checkin-detail {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  min-width: 100px;
  text-align: right;
}
.chop-checkin-time {
  font-family: var(--chop-font);
  font-size: 11px;
  color: var(--chop-text-3);
  font-weight: 300;
  min-width: 80px;
  text-align: right;
}

/* ── Empty State ───────────────────────────────────────────── */
.chop-empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--chop-text-3);
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
}
.chop-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

/* ── Loading ───────────────────────────────────────────────── */
.chop-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .chop-stats-grid   { grid-template-columns: 1fr 1fr; }
  .chop-actions-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .chop-stats-grid    { grid-template-columns: 1fr 1fr; gap: 8px; }
  .chop-dashboard     { padding: 8px 0 80px; }
  .chop-stat-number   { font-size: 24px; }
  .chop-welcome h1    { font-size: 20px; }
}


/* ============================================================
   AUTH PAGES — Login, Register, Forgot Password
   ============================================================ */

/* ── Auth Layout Wrapper ───────────────────────────────────── */
.chop-auth-wrapper {
  min-height: 100vh;
  background: var(--chop-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--chop-font);
  position: relative;
  overflow: hidden;
  padding: 24px 16px;
}

/* Ambient background blobs */
.chop-auth-wrapper::before {
  content: '';
  position: fixed;
  top: -20%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(184,70,43,0.035) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.chop-auth-wrapper::after {
  content: '';
  position: fixed;
  bottom: -15%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(58,143,92,0.025) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Auth Container ────────────────────────────────────────── */
.chop-auth-container {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
  animation: chop-breatheIn 0.5s ease both;
}
.chop-auth-container.wide {
  max-width: 900px;
}

/* ── Auth Logo ─────────────────────────────────────────────── */
.chop-auth-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}
.chop-auth-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--chop-accent);
  opacity: 0.7;
}
.chop-auth-logo-text {
  font-family: var(--chop-font);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--chop-text);
}

/* ── Auth Header ───────────────────────────────────────────── */
.chop-auth-header {
  margin-bottom: 28px;
}
.chop-auth-header h1 {
  font-family: var(--chop-font);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--chop-text);
  margin: 0 0 4px 0;
}
.chop-auth-header p {
  font-family: var(--chop-font);
  font-size: 14px;
  color: var(--chop-text-3);
  font-weight: 300;
  margin: 0;
}

/* ── Auth Card (glass) ─────────────────────────────────────── */
.chop-auth-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: none;
  margin-bottom: 16px;
}

/* ── Auth Form Fields ──────────────────────────────────────── */
.chop-auth-card .mud-input-outlined .mud-input-outlined-border {
  border-radius: 10px !important;
  border-color: var(--chop-border) !important;
  transition: all 0.25s ease !important;
}
.chop-auth-card .mud-input-outlined:hover .mud-input-outlined-border {
  border-color: var(--chop-border-hover) !important;
}
.chop-auth-card .mud-input-outlined.mud-input-adorned-start .mud-input-outlined-border {
  border-color: var(--chop-border) !important;
}
.chop-auth-card .mud-input.mud-input-outlined {
  font-family: var(--chop-font) !important;
  font-size: 15px !important;
}
.chop-auth-card .mud-input-label {
  font-family: var(--chop-font) !important;
  font-size: 14px !important;
  color: var(--chop-text-3) !important;
}
.chop-auth-card .mud-input-adornment-start .mud-icon-root {
  color: var(--chop-text-3) !important;
  font-size: 1.2rem !important;
}
.chop-auth-card .mud-input-helper-text {
  font-family: var(--chop-font) !important;
  font-size: 11px !important;
  color: var(--chop-text-3) !important;
}

/* ── Auth Primary Button ───────────────────────────────────── */
.chop-auth-btn {
  width: 100%;
  padding: 13px 22px;
  background: none;
  color: var(--chop-text);
  font-family: var(--chop-font);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--chop-text);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.chop-auth-btn:hover {
  background: var(--chop-text);
  color: var(--chop-bg, #fff);
  transform: translateY(-1px);
}
.chop-auth-btn:active { transform: translateY(0); }
.chop-auth-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Auth Links ────────────────────────────────────────────── */
.chop-auth-link {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-3);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.chop-auth-link:hover { color: var(--chop-text-2); }
.chop-auth-link.accent { color: var(--chop-accent); }
.chop-auth-link.accent:hover { color: #9a3a22; }

.chop-auth-footer {
  text-align: center;
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-3);
  padding-top: 8px;
}
.chop-auth-footer a {
  color: var(--chop-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.chop-auth-footer a:hover { color: #9a3a22; }

/* ── Auth Forgot Link ──────────────────────────────────────── */
.chop-auth-forgot {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  margin-top: -4px;
}

/* ── Auth Role Selection Cards ─────────────────────────────── */
.chop-auth-role-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 14px;
}
.chop-auth-role-card:hover {
  background: var(--accent-ghost);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}
.chop-auth-role-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chop-auth-role-icon.accent { background: var(--chop-accent-ghost); color: var(--chop-accent); }
.chop-auth-role-icon.amber  { background: var(--chop-amber-ghost);  color: var(--chop-amber); }

.chop-auth-role-info { flex: 1; }
.chop-auth-role-title {
  font-family: var(--chop-font);
  font-size: 14px;
  font-weight: 500;
  color: var(--chop-text);
  margin-bottom: 2px;
}
.chop-auth-role-desc {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 300;
}
.chop-auth-role-arrow {
  color: var(--chop-text-3);
  font-size: 18px;
}

/* ── Auth Back Button ──────────────────────────────────────── */
.chop-auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-3);
  text-decoration: none;
  margin-bottom: 20px;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
}
.chop-auth-back:hover { color: var(--chop-text-2); }

/* ── Auth Alert/Info ───────────────────────────────────────── */
.chop-auth-info {
  background: var(--chop-blue-ghost);
  color: var(--chop-blue);
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 400;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── Auth Referral Toggle ──────────────────────────────────── */
.chop-auth-toggle {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-3);
  cursor: pointer;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  background: none;
  border: none;
  width: 100%;
}
.chop-auth-toggle:hover { color: var(--chop-text-2); }
.chop-auth-toggle svg {
  transition: transform 0.2s;
}
.chop-auth-toggle.open svg {
  transform: rotate(90deg);
}

/* ── Auth Responsive ───────────────────────────────────────── */
@media (max-width: 480px) {
  .chop-auth-container { max-width: 100%; }
  .chop-auth-card { padding: 24px 18px; }
  .chop-auth-header h1 { font-size: 20px; }
}

/* ── Membership Plan Cards ────────────────────────────────── */
.chop-membership-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.chop-membership-card:hover {
  border-color: var(--chop-border-hover);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.chop-membership-card.selected {
  border-color: var(--chop-accent);
  box-shadow: 0 0 0 1px var(--chop-accent);
}
.chop-membership-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--chop-accent);
  color: #fff;
  font-family: var(--chop-font);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 0 14px 0 8px;
}
.chop-membership-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.chop-membership-name {
  font-family: var(--chop-font);
  font-size: 17px;
  font-weight: 600;
  color: var(--chop-text);
  margin-bottom: 2px;
}
.chop-membership-desc {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 300;
  line-height: 1.4;
}
.chop-membership-check {
  flex-shrink: 0;
  color: var(--chop-text-3);
}
.chop-membership-card.selected .chop-membership-check {
  color: var(--chop-accent);
}
.chop-membership-price {
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.chop-membership-amount {
  font-family: var(--chop-font);
  font-size: 28px;
  font-weight: 600;
  color: var(--chop-text);
  letter-spacing: -0.5px;
}
.chop-membership-period {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-3);
  font-weight: 300;
}
.chop-membership-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--chop-border);
}
.chop-membership-feature {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-2);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chop-membership-feature svg {
  color: var(--chop-green);
  flex-shrink: 0;
}

/* ── Step Numbers (confirmation page) ─────────────────────── */
.chop-step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--chop-accent-ghost);
  color: var(--chop-accent);
  font-family: var(--chop-font);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* ============================================================
   CHECK-IN PAGE — Glassmorphism flow
   ============================================================ */

/* ── Wrapper ──────────────────────────────────────────────── */
.chop-ci-wrapper {
  max-width: 440px;
  margin: 0 auto;
  padding: 8px 0 80px;
  position: relative;
  z-index: 1;
  font-family: var(--chop-font);
}

/* ── Search ───────────────────────────────────────────────── */
.chop-ci-search-wrap {
  position: relative;
  margin-bottom: 14px;
  animation: chop-breatheIn 0.5s ease 0.1s both;
}
.chop-ci-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--chop-text-3);
  pointer-events: none;
}
.chop-ci-search-wrap input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  font-family: var(--chop-font);
  font-size: 15px;
  color: var(--chop-text);
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 12px;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}
.chop-ci-search-wrap input::placeholder { color: var(--chop-text-3); }
.chop-ci-search-wrap input:focus {
  border-color: var(--chop-border-hover);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.03);
}
.chop-ci-search-wrap input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.chop-ci-search-wrap .chop-ci-spinner {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

/* ── Hint ─────────────────────────────────────────────────── */
.chop-ci-hint {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 300;
  text-align: center;
  padding: 32px 16px;
  animation: chop-breatheIn 0.5s ease 0.15s both;
}

/* ── Error ─────────────────────────────────────────────────── */
.chop-ci-error {
  background: rgba(184,70,43,0.07);
  color: var(--chop-accent);
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 400;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 14px;
  animation: chop-breatheIn 0.3s ease both;
}

/* ── Client Card ──────────────────────────────────────────── */
.chop-ci-client-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: none;
  animation: chop-breatheIn 0.5s ease both;
}
.chop-ci-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--chop-accent-ghost);
  color: var(--chop-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--chop-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.3px;
  flex-shrink: 0;
}
.chop-ci-client-info {
  flex: 1;
  min-width: 0;
}
.chop-ci-client-name {
  font-family: var(--chop-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--chop-text);
  letter-spacing: -0.2px;
  margin-bottom: 2px;
}
.chop-ci-client-meta {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 300;
}
.chop-ci-client-right {
  text-align: right;
  flex-shrink: 0;
}
.chop-ci-balance-label {
  font-family: var(--chop-font);
  font-size: 11px;
  color: var(--chop-text-3);
  margin-bottom: 2px;
}
.chop-ci-balance-value {
  font-family: var(--chop-mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--chop-green);
  letter-spacing: -0.5px;
  line-height: 1;
}
.chop-ci-cashback-badge {
  display: inline-block;
  font-family: var(--chop-font);
  font-size: 11px;
  font-weight: 500;
  color: var(--chop-green);
  background: var(--chop-green-ghost);
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 4px;
}
.chop-ci-change-btn {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  background: none;
  border: 1px solid var(--chop-border);
  border-radius: 8px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 6px;
}
.chop-ci-change-btn:hover {
  border-color: var(--chop-border-hover);
  color: var(--chop-text-2);
}

/* ── Promo Inline Card ────────────────────────────────────── */
.chop-ci-promo-card {
  background: var(--chop-amber-ghost);
  border: 1px solid rgba(143,122,58,0.12);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: chop-breatheIn 0.4s ease both;
}
.chop-ci-promo-card svg { color: var(--chop-amber); flex-shrink: 0; margin-top: 1px; }
.chop-ci-promo-card-text { flex: 1; }
.chop-ci-promo-card strong {
  display: block;
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--chop-amber);
  margin-bottom: 2px;
}
.chop-ci-promo-card span {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-2);
  font-weight: 300;
}

/* ── Sale Card ────────────────────────────────────────────── */
.chop-ci-sale-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: none;
  animation: chop-breatheIn 0.5s ease 0.08s both;
}
.chop-ci-sale-card-title {
  font-family: var(--chop-font);
  font-size: 11px;
  font-weight: 500;
  color: var(--chop-text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.chop-ci-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.chop-ci-field { display: flex; flex-direction: column; }
.chop-ci-field.full { grid-column: 1 / -1; }
.chop-ci-field label {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 400;
  margin-bottom: 6px;
}
.chop-ci-field input,
.chop-ci-field select {
  padding: 9px 10px;
  font-family: var(--chop-font);
  font-size: 14px;
  color: var(--chop-text);
  background: var(--chop-surface-solid);
  border: 1px solid var(--chop-border);
  border-radius: 10px;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
  width: 100%;
}
.chop-ci-field input:focus,
.chop-ci-field select:focus {
  border-color: var(--chop-border-hover);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.03);
}
.chop-ci-field input::placeholder { color: var(--chop-text-3); }

/* ── Credits Zone ─────────────────────────────────────────── */
.chop-ci-credits-zone {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--chop-border);
}
.chop-ci-credits-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.chop-ci-credits-label {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 400;
}
.chop-ci-credits-value {
  font-family: var(--chop-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--chop-accent);
}

/* Slider track */
.chop-ci-slider-wrap {
  position: relative;
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  margin-bottom: 12px;
}
.chop-ci-slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--chop-accent);
  border-radius: 3px;
  pointer-events: none;
  transition: width 0.1s ease;
}
.chop-ci-slider-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  cursor: pointer;
}
.chop-ci-slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--chop-accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  cursor: pointer;
  margin-top: -6px;
}
.chop-ci-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--chop-accent);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  cursor: pointer;
}
.chop-ci-slider-wrap input[type="range"]::-moz-range-track {
  background: transparent;
  height: 6px;
}

/* Preset buttons */
.chop-ci-presets {
  display: flex;
  gap: 8px;
}
.chop-ci-preset-btn {
  flex: 1;
  padding: 7px 0;
  font-family: var(--chop-font);
  font-size: 12px;
  font-weight: 400;
  color: var(--chop-text-2);
  background: var(--chop-surface-solid);
  border: 1px solid var(--chop-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.chop-ci-preset-btn:hover {
  border-color: var(--chop-border-hover);
  color: var(--chop-text);
}
.chop-ci-preset-btn.active {
  border-color: var(--chop-accent-soft);
  background: var(--chop-accent-ghost);
  color: var(--chop-accent);
}

/* ── Back Button ──────────────────────────────────────────── */
.chop-ci-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px 0;
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--chop-text-2);
  cursor: pointer;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.chop-ci-back-btn:hover { color: var(--chop-accent); }

/* ── Inline Input (referral / gift card) ─────────────────── */
.chop-ci-inline-input {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.chop-ci-inline-input input {
  flex: 1;
  min-width: 0;
}
.chop-ci-inline-btn {
  padding: 8px 16px;
  font-family: var(--chop-font);
  font-size: 12px;
  font-weight: 500;
  color: var(--chop-accent);
  background: var(--chop-accent-ghost);
  border: 1px solid var(--chop-accent-soft);
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}
.chop-ci-inline-btn:hover {
  background: var(--chop-accent);
  color: #fff;
}
.chop-ci-inline-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Gift Card Chips ─────────────────────────────────────── */
.chop-ci-giftcard-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chop-ci-giftcard-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--chop-surface-solid);
  border: 1.5px solid var(--chop-border);
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--chop-font);
  transition: all 0.2s;
}
.chop-ci-giftcard-chip:hover {
  border-color: var(--chop-accent-soft);
  background: var(--chop-accent-ghost);
}
.chop-ci-giftcard-chip.selected {
  border-color: var(--chop-accent);
  background: var(--chop-accent-ghost);
  color: var(--chop-accent);
}
.chop-ci-giftcard-chip-amount {
  font-family: var(--chop-mono);
  font-size: 13px;
  font-weight: 600;
}

/* ── Credits Options (replaces slider) ───────────────────── */
.chop-ci-credits-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.chop-ci-credit-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 8px;
  background: var(--chop-surface-solid);
  border: 1.5px solid var(--chop-border);
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--chop-font);
  transition: all 0.2s;
}
.chop-ci-credit-option:hover {
  border-color: var(--chop-border-hover);
}
.chop-ci-credit-option.active {
  border-color: var(--chop-accent);
  background: var(--chop-accent-ghost);
  color: var(--chop-accent);
}
.chop-ci-credit-option.outline {
  border-style: dashed;
  color: var(--chop-text-3);
}
.chop-ci-credit-option.outline:hover {
  border-color: var(--chop-accent-soft);
  color: var(--chop-accent);
}
.chop-ci-credit-option-label {
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.chop-ci-credit-option-amount {
  font-family: var(--chop-mono);
  font-size: 15px;
  font-weight: 600;
}
.chop-ci-credit-custom {
  grid-column: span 1;
}
.chop-ci-credit-custom input {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--chop-mono);
  font-size: 14px;
  background: var(--chop-surface-solid);
  border: 1.5px solid var(--chop-accent-soft);
  border-radius: 10px;
  color: var(--chop-text);
  outline: none;
}
.chop-ci-credit-custom input:focus {
  border-color: var(--chop-accent);
  box-shadow: 0 0 0 3px var(--chop-accent-ghost);
}

/* ── Summary Card ─────────────────────────────────────────── */
.chop-ci-summary-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: none;
  animation: chop-breatheIn 0.5s ease 0.12s both;
}
.chop-ci-summary-title {
  font-family: var(--chop-font);
  font-size: 11px;
  font-weight: 500;
  color: var(--chop-text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.chop-ci-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text);
}
.chop-ci-summary-row + .chop-ci-summary-row {
  border-top: 1px solid var(--chop-border);
}
.chop-ci-summary-row.highlight {
  border-top: 1px solid var(--chop-border);
}
.chop-ci-summary-row .label { color: var(--chop-text-2); font-weight: 300; }
.chop-ci-summary-row .value { font-family: var(--chop-mono); font-weight: 500; }
.chop-ci-summary-row .value.red { color: var(--chop-accent); }
.chop-ci-summary-row .value.green { color: var(--chop-green); }

/* ── Check-In Error ───────────────────────────────────────── */
.chop-ci-checkin-error {
  background: rgba(184,70,43,0.07);
  color: var(--chop-accent);
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 400;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 14px;
  animation: chop-breatheIn 0.3s ease both;
}

/* ── CTA Button ───────────────────────────────────────────── */
.chop-ci-cta {
  width: 100%;
  padding: 14px 22px;
  background: none;
  color: var(--chop-text);
  font-family: var(--chop-font);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--chop-text);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.chop-ci-cta:hover {
  background: var(--chop-text);
  color: var(--chop-bg, #fff);
  transform: translateY(-1px);
}
.chop-ci-cta:active { transform: translateY(0); }
.chop-ci-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Success Overlay ──────────────────────────────────────── */
.chop-ci-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--sidebar-w, 240px);
  background: rgba(0,0,0,0.35);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: chop-ci-fadeIn 0.3s ease both;
}
.sidebar-collapsed .chop-ci-overlay {
  left: var(--sidebar-w-collapsed, 60px);
}
@keyframes chop-ci-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.chop-ci-success-box {
  background: var(--chop-surface-solid);
  border-radius: 18px;
  padding: 36px 32px;
  text-align: center;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  animation: chop-ci-slideUp 0.4s ease both;
}
@keyframes chop-ci-slideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.chop-ci-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--chop-green-ghost);
  color: var(--chop-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.chop-ci-success-title {
  font-family: var(--chop-font);
  font-size: 18px;
  font-weight: 500;
  color: var(--chop-text);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.chop-ci-success-detail {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-3);
  font-weight: 300;
  margin-bottom: 4px;
}
.chop-ci-success-balance {
  font-family: var(--chop-mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--chop-green);
  letter-spacing: -1px;
  margin: 16px 0;
  line-height: 1;
}
.chop-ci-success-balance-label {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  margin-bottom: 24px;
}
.chop-ci-success-btn {
  width: 100%;
  padding: 13px 22px;
  background: var(--chop-text);
  color: var(--chop-bg);
  font-family: var(--chop-font);
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.chop-ci-success-btn:hover {
  background: #1a1815;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

/* ── Promo Overlay ────────────────────────────────────────── */
.chop-ci-promo-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  /* overlay */
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: chop-ci-fadeIn 0.3s ease both;
}
.chop-ci-promo-box {
  background: var(--chop-surface-solid);
  border-radius: 18px;
  padding: 36px 32px;
  text-align: center;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  animation: chop-ci-slideUp 0.4s ease both;
}
.chop-ci-promo-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--chop-amber-ghost);
  color: var(--chop-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.chop-ci-promo-title {
  font-family: var(--chop-font);
  font-size: 18px;
  font-weight: 500;
  color: var(--chop-text);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.chop-ci-promo-product {
  font-family: var(--chop-font);
  font-size: 16px;
  font-weight: 500;
  color: var(--chop-amber);
  background: var(--chop-amber-ghost);
  padding: 12px 16px;
  border-radius: 10px;
  margin: 12px 0;
}
.chop-ci-promo-visit {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  margin-bottom: 4px;
}
.chop-ci-promo-desc {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-2);
  font-weight: 300;
  margin: 12px 0 20px;
}
.chop-ci-promo-dismiss {
  width: 100%;
  padding: 12px 22px;
  background: var(--chop-amber);
  color: #fff;
  font-family: var(--chop-font);
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.chop-ci-promo-dismiss:hover {
  opacity: 0.9;
  box-shadow: 0 4px 16px rgba(143,122,58,0.2);
  transform: translateY(-1px);
}

/* ── Check-In Responsive ──────────────────────────────────── */
@media (max-width: 480px) {
  .chop-ci-wrapper { padding: 8px 0 60px; }
  .chop-ci-fields { grid-template-columns: 1fr; }
  .chop-ci-client-card { flex-wrap: wrap; }
  .chop-ci-client-right { width: 100%; text-align: left; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--chop-border); }
  .chop-ci-success-box { padding: 28px 20px; }
  .chop-ci-promo-box { padding: 28px 20px; }
  .chop-ci-success-balance { font-size: 30px; }
}


/* ============================================================
   CREATE / EDIT REWARD PAGE — Glassmorphism form
   ============================================================ */

/* ── Wrapper ──────────────────────────────────────────────── */
.chop-rw-wrapper {
  max-width: 440px;
  margin: 0 auto;
  padding: 8px 0 80px;
  position: relative;
  z-index: 1;
  font-family: var(--chop-font);
}

/* ── Back Link ────────────────────────────────────────────── */
.chop-rw-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-3);
  text-decoration: none;
  margin-bottom: 18px;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
  animation: chop-breatheIn 0.5s ease both;
}
.chop-rw-back:hover { color: var(--chop-text-2); }

/* ── Error Alert ──────────────────────────────────────────── */
.chop-rw-error {
  background: rgba(184,70,43,0.07);
  color: var(--chop-accent);
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 400;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  animation: chop-breatheIn 0.3s ease both;
}
.chop-rw-error-close {
  background: none;
  border: none;
  color: var(--chop-accent);
  cursor: pointer;
  padding: 2px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.chop-rw-error-close:hover { opacity: 1; }

/* ── Form Card ────────────────────────────────────────────── */
.chop-rw-form-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 14px;
  padding: 24px 20px;
  margin-bottom: 14px;
  box-shadow: none;
  animation: chop-breatheIn 0.5s ease 0.1s both;
}

/* ── Form Fields ──────────────────────────────────────────── */
.chop-rw-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.chop-rw-field {
  display: flex;
  flex-direction: column;
}
.chop-rw-field label {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 400;
  margin-bottom: 6px;
}
.chop-rw-field input,
.chop-rw-field select,
.chop-rw-field textarea {
  padding: 11px 14px;
  font-family: var(--chop-font);
  font-size: 15px;
  color: var(--chop-text);
  background: var(--chop-surface-solid);
  border: 1px solid var(--chop-border);
  border-radius: 10px;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
  width: 100%;
}
.chop-rw-field textarea {
  resize: vertical;
  min-height: 68px;
  line-height: 1.5;
}
.chop-rw-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.chop-rw-field select option {
  background: var(--chop-surface-solid);
  color: var(--chop-text);
  padding: 8px 14px;
}
.chop-rw-field input:focus,
.chop-rw-field select:focus,
.chop-rw-field textarea:focus {
  border-color: var(--chop-border-hover);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.03);
}
.chop-rw-field input::placeholder,
.chop-rw-field textarea::placeholder { color: var(--chop-text-3); }
.chop-rw-field-hint {
  font-family: var(--chop-font);
  font-size: 11px;
  color: var(--chop-text-3);
  font-weight: 300;
  margin-top: 4px;
}
.chop-rw-field.field-error input,
.chop-rw-field.field-error select,
.chop-rw-field.field-error textarea {
  border-color: #E53935;
}
.chop-rw-field.field-error label {
  color: #E53935;
}
.chop-field-error-msg {
  font-family: var(--chop-font);
  font-size: 11px;
  color: #E53935;
  font-weight: 400;
  margin-top: 4px;
}
/* ── Detail Fields ────────────────────────────────────────── */
.chop-detail-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.chop-detail-label {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 400;
}
.chop-detail-value {
  font-family: var(--chop-font);
  font-size: 15px;
  color: var(--chop-text);
  font-weight: 400;
}

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

/* ── Type Pills ───────────────────────────────────────────── */
.chop-rw-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.chop-rw-type-pill {
  padding: 10px 12px;
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 400;
  color: var(--chop-text-2);
  background: var(--chop-surface-solid);
  border: 1px solid var(--chop-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.chop-rw-type-pill:hover {
  border-color: var(--chop-border-hover);
  color: var(--chop-text);
}
.chop-rw-type-pill.active {
  border-color: var(--chop-green-soft);
  background: var(--chop-green-ghost);
  color: var(--chop-green);
  font-weight: 500;
}

/* ── Form Actions ─────────────────────────────────────────── */
.chop-rw-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--chop-border);
}
.chop-rw-cancel {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  transition: color 0.2s;
  text-decoration: none;
}
.chop-rw-cancel:hover { color: var(--chop-text-2); }
.chop-rw-submit {
  padding: 11px 24px;
  background: none;
  color: var(--chop-text);
  font-family: var(--chop-font);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--chop-text);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.chop-rw-submit:hover {
  background: var(--chop-text);
  color: var(--chop-bg, #fff);
  transform: translateY(-1px);
}
.chop-rw-submit:active { transform: translateY(0); }
.chop-rw-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Preview Card ─────────────────────────────────────────── */
.chop-rw-preview-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: none;
  animation: chop-breatheIn 0.5s ease 0.18s both;
}
.chop-rw-preview-label {
  font-family: var(--chop-font);
  font-size: 11px;
  font-weight: 500;
  color: var(--chop-text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}
.chop-rw-preview-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.chop-rw-preview-info { flex: 1; min-width: 0; }
.chop-rw-preview-title {
  font-family: var(--chop-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--chop-text);
  letter-spacing: -0.2px;
  margin-bottom: 3px;
  word-break: break-word;
}
.chop-rw-preview-desc {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 300;
  word-break: break-word;
}
.chop-rw-preview-pct {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--chop-green-ghost);
  color: var(--chop-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--chop-mono);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}
.chop-rw-preview-tags {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--chop-border);
}
.chop-rw-tag {
  font-family: var(--chop-font);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}
.chop-rw-tag.blue   { background: var(--chop-blue-ghost);   color: var(--chop-blue); }
.chop-rw-tag.green  { background: var(--chop-green-ghost);  color: var(--chop-green); }
.chop-rw-tag.amber  { background: var(--chop-amber-ghost);  color: var(--chop-amber); }
.chop-rw-tag.purple { background: var(--chop-purple-ghost); color: var(--chop-purple); }

/* ── Reward Responsive ────────────────────────────────────── */
@media (max-width: 480px) {
  .chop-rw-wrapper { padding: 8px 0 60px; }
  .chop-rw-field-row { grid-template-columns: 1fr; }
  .chop-rw-type-grid { grid-template-columns: 1fr; }
  .chop-rw-form-card { padding: 20px 16px; }
}


/* ============================================================
   GENERIC LIST / PAGE — Reusable glassmorphism patterns
   ============================================================ */

/* ── Page Wrapper ─────────────────────────────────────────── */
.chop-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 56px 80px;
  position: relative;
  z-index: 1;
  font-family: var(--chop-font);
}

/* ── Page Header ──────────────────────────────────────────── */
.chop-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  animation: chop-breatheIn 0.5s ease both;
}
.chop-page-title {
  font-family: var(--chop-font);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--chop-text);
}

/* ── Page Action Button ───────────────────────────────────── */
.chop-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: none;
  color: var(--chop-text);
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--chop-text);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  letter-spacing: 0;
}
.chop-page-btn:hover {
  background: var(--chop-text);
  color: var(--chop-bg, #fff);
}
.chop-page-btn:active { transform: translateY(0); }

.chop-page-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: none;
  color: var(--chop-text-2);
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--chop-border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.chop-page-btn-secondary:hover {
  border-color: var(--chop-border-hover);
  color: var(--chop-text);
}

.chop-page-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: transparent;
  color: var(--chop-text-2);
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--chop-border);
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  letter-spacing: 0.1px;
}
.chop-page-btn-outline:hover {
  border-color: var(--chop-border-hover);
  color: var(--chop-text);
  background: var(--accent-ghost);
  transform: translateY(-1px);
}
.chop-page-btn-outline:active { transform: translateY(0); }

/* ── Info Banner ──────────────────────────────────────────── */
.chop-info-banner {
  background: var(--chop-blue-ghost);
  color: var(--chop-blue);
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 400;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: chop-breatheIn 0.5s ease 0.05s both;
}
.chop-info-banner svg { flex-shrink: 0; }

.chop-info-banner.warning {
  background: var(--chop-amber-ghost);
  color: var(--chop-amber);
}

/* ── List Card ────────────────────────────────────────────── */
.chop-list-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 18px;
  overflow: visible;
  box-shadow: none;
  animation: chop-breatheIn 0.5s ease 0.1s both;
  margin-bottom: 24px;
}
.chop-list-card > .chop-list-header:first-child {
  border-radius: 18px 18px 0 0;
}
.chop-list-card > .chop-list-row:last-child {
  border-radius: 0 0 18px 18px;
}

.chop-list-header {
  display: grid;
  padding: 12px 20px;
  border-bottom: 1px solid var(--chop-border);
  font-family: var(--chop-font);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--chop-text-3);
  gap: 12px;
}

.chop-list-row {
  display: grid;
  padding: 14px 20px;
  border-bottom: 1px solid var(--chop-border);
  align-items: center;
  transition: background 0.2s;
  font-family: var(--chop-font);
  gap: 12px;
}
.chop-list-row:last-child { border-bottom: none; }
.chop-list-row:hover { background: var(--accent-ghost); }

.chop-list-cell {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text);
}
.chop-list-cell.center { text-align: center; }
.chop-list-cell.muted { color: var(--chop-text-3); font-size: 12px; font-weight: 300; }

/* ── Tags/Chips ───────────────────────────────────────────── */
.chop-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--chop-font);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
}
.chop-tag.green  { background: var(--chop-green-ghost);  color: var(--chop-green); }
.chop-tag.blue   { background: var(--chop-blue-ghost);   color: var(--chop-blue); }
.chop-tag.amber  { background: var(--chop-amber-ghost);  color: var(--chop-amber); }
.chop-tag.purple { background: var(--chop-purple-ghost); color: var(--chop-purple); }
.chop-tag.accent { background: var(--chop-accent-ghost); color: var(--chop-accent); }

/* ── Percentage Display ───────────────────────────────────── */
.chop-pct {
  font-family: var(--chop-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--chop-green);
  letter-spacing: -0.5px;
}

/* ── Icon Buttons ─────────────────────────────────────────── */
.chop-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--chop-border);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--chop-text-2);
  padding: 0;
  text-decoration: none;
}
.chop-icon-btn:hover {
  border-color: var(--chop-border-hover);
  color: var(--chop-text);
  background: var(--accent-ghost);
}
.chop-icon-btn.danger:hover {
  border-color: rgba(184,70,43,0.2);
  color: var(--chop-accent);
  background: var(--chop-accent-ghost);
}

/* ── Approve Button (inline in table) ─────────────────────── */
.chop-approve-btn {
  font-family: var(--chop-font);
  font-size: 12px;
  font-weight: 500;
  color: var(--chop-green);
  background: var(--chop-green-ghost);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.chop-approve-btn:hover {
  background: var(--chop-green);
  color: #fff;
}
.chop-reject-btn {
  font-family: var(--chop-font);
  font-size: 12px;
  font-weight: 500;
  color: var(--chop-accent);
  background: var(--chop-accent-ghost);
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.chop-reject-btn:hover {
  background: var(--chop-accent);
  color: #fff;
}

/* ── MudMenu small variant for table actions ─────────────── */
.chop-mud-menu-sm .mud-icon-button {
  padding: 4px !important;
  width: 28px !important;
  height: 28px !important;
}
.chop-mud-menu-sm .mud-icon-root {
  font-size: 18px !important;
  color: var(--chop-text-2) !important;
}
.chop-mud-menu-sm:hover .mud-icon-root {
  color: var(--chop-text) !important;
}
[data-theme="dark"] .chop-mud-menu-sm .mud-icon-root {
  color: #D1D5DB !important;
}
[data-theme="dark"] .chop-mud-menu-sm:hover .mud-icon-root {
  color: #FFFFFF !important;
}

/* ── Type Info Cards Grid ─────────────────────────────────── */
.chop-type-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  animation: chop-breatheIn 0.5s ease 0.2s both;
}
.chop-type-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: none;
  transition: all 0.25s ease;
}
.chop-type-card:hover {
  background: var(--accent-ghost);
  transform: translateY(-1px);
}
.chop-type-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.chop-type-card-icon.green  { background: var(--chop-green-ghost);  color: var(--chop-green); }
.chop-type-card-icon.amber  { background: var(--chop-amber-ghost);  color: var(--chop-amber); }
.chop-type-card-icon.accent { background: var(--chop-accent-ghost); color: var(--chop-accent); }
.chop-type-card-icon.purple { background: var(--chop-purple-ghost); color: var(--chop-purple); }
.chop-type-card-icon.blue   { background: var(--chop-blue-ghost);   color: var(--chop-blue); }

.chop-type-card-title {
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 500;
  color: var(--chop-text);
  margin-bottom: 3px;
}
.chop-type-card-desc {
  font-family: var(--chop-font);
  font-size: 11px;
  color: var(--chop-text-3);
  font-weight: 300;
  line-height: 1.4;
}

/* ── Staff Avatar ─────────────────────────────────────────── */
.chop-staff-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--chop-font);
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
}
.chop-staff-avatar.accent { background: var(--chop-accent-ghost); color: var(--chop-accent); }
.chop-staff-avatar.green  { background: var(--chop-green-ghost);  color: var(--chop-green); }

/* ── Dialog Glass ─────────────────────────────────────────── */
.chop-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  /* overlay */
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: chop-ci-fadeIn 0.3s ease both;
}
.chop-dialog-box {
  background: var(--chop-surface-solid);
  border-radius: 18px;
  padding: 28px 24px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  animation: chop-ci-slideUp 0.4s ease both;
}
.chop-dialog-title {
  font-family: var(--chop-font);
  font-size: 17px;
  font-weight: 500;
  color: var(--chop-text);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.chop-dialog-text {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-2);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 20px;
}
.chop-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.chop-dialog-cancel {
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--chop-border);
  border-radius: 10px;
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 400;
  color: var(--chop-text-2);
  cursor: pointer;
  transition: all 0.2s;
}
.chop-dialog-cancel:hover {
  border-color: var(--chop-border-hover);
  color: var(--chop-text);
}
.chop-dialog-danger {
  padding: 9px 18px;
  background: none;
  color: #DC2626;
  border: 1px solid #DC2626;
  border-radius: 8px;
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.chop-dialog-danger:hover {
  background: #DC2626;
  color: #fff;
}

/* ── Generic Page Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .chop-type-cards { grid-template-columns: 1fr 1fr; }
  .chop-list-header { display: none; }
  .chop-list-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 4px 12px;
    padding: 12px 16px;
  }
  .chop-list-cell { font-size: 12px !important; }
  .chop-list-cell.center { text-align: left; }
  .chop-list-cell::before {
    content: attr(data-label);
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--chop-text-3);
    display: block;
    margin-bottom: 1px;
  }
}

@media (max-width: 480px) {
  .chop-page { padding: 8px 12px 60px; }
  .chop-page-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .chop-type-cards { grid-template-columns: 1fr; }
  .chop-list-row { grid-template-columns: 1fr !important; gap: 3px; padding: 10px 14px; }
  .chop-list-cell::before { font-size: 8px; letter-spacing: 0.3px; }
  .chop-home-welcome h1 { font-size: 20px; }
  .chop-home-nav-card { padding: 14px; }
  .chop-home-nav-title { font-size: 14px; }
  .chop-home-nav-desc { font-size: 11px; margin-bottom: 8px; }
  .chop-stat-number { font-size: 22px; }
  .chop-section-label { font-size: 9px; letter-spacing: 1.5px; }
}


/* ============================================================
   LANDING PAGE — Home glassmorphism layout
   ============================================================ */

/* ── Landing Wrapper ──────────────────────────────────────── */
.chop-landing {
  font-family: var(--chop-font);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* ── Hero ─────────────────────────────────────────────────── */
.chop-hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 0 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  animation: chop-breatheIn 0.6s ease both;
}

.chop-hero-content { position: relative; z-index: 1; }

.chop-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--chop-accent-ghost);
  border: 1px solid rgba(184,70,43,0.1);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--chop-accent);
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}
.chop-hero-badge svg { flex-shrink: 0; }

.chop-hero h1 {
  font-family: var(--chop-font);
  font-size: 42px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -1.2px;
  color: var(--chop-text);
  margin: 0 0 16px 0;
}
.chop-hero h1 em {
  font-style: normal;
  color: var(--chop-accent);
}

.chop-hero-sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--chop-text-2);
  margin-bottom: 28px;
  max-width: 420px;
}

.chop-hero-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 32px;
}

.chop-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--chop-text);
  color: var(--chop-bg);
  font-family: var(--chop-font);
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  letter-spacing: 0.1px;
}
.chop-hero-btn-primary:hover {
  background: #1a1815;
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  transform: translateY(-2px);
  color: var(--chop-bg);
}

.chop-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: var(--chop-text-2);
  font-family: var(--chop-font);
  font-size: 14px;
  font-weight: 400;
  border: 1px solid var(--chop-border);
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.chop-hero-btn-secondary:hover {
  border-color: var(--chop-border-hover);
  color: var(--chop-text);
  background: var(--accent-ghost);
}

.chop-hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 300;
}
.chop-hero-trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--chop-text-3);
  opacity: 0.4;
}

/* Hero visual — glass stats preview */
.chop-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: chop-breatheIn 0.6s ease 0.15s both;
}

.chop-hero-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}
.chop-hero-card:hover {
  background: var(--accent-ghost);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.chop-hero-card-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--chop-text-3);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.chop-hero-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chop-hero-card-stat {
  text-align: center;
}
.chop-hero-card-stat-value {
  font-family: var(--chop-mono);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1;
  color: var(--chop-text);
}
.chop-hero-card-stat-label {
  font-size: 11px;
  color: var(--chop-text-3);
  font-weight: 300;
  margin-top: 4px;
}

.chop-hero-card-divider {
  width: 1px;
  height: 36px;
  background: var(--chop-border);
}

/* Mini progress bars in hero card */
.chop-hero-progress-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.chop-hero-progress-row + .chop-hero-progress-row { margin-top: 10px; }

.chop-hero-progress-label {
  font-size: 12px;
  color: var(--chop-text-2);
  font-weight: 400;
  min-width: 80px;
}
.chop-hero-progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(0,0,0,0.04);
  border-radius: 2px;
  overflow: hidden;
}
.chop-hero-progress-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s ease;
}
.chop-hero-progress-fill.accent { background: var(--chop-accent); }
.chop-hero-progress-fill.green  { background: var(--chop-green); }
.chop-hero-progress-fill.blue   { background: var(--chop-blue); }

.chop-hero-progress-pct {
  font-family: var(--chop-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--chop-text-2);
  min-width: 32px;
  text-align: right;
}

/* ── Features Section ─────────────────────────────────────── */
.chop-features {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0 56px;
  animation: chop-breatheIn 0.5s ease 0.2s both;
}

.chop-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.chop-feature-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.chop-feature-card:hover {
  background: var(--accent-ghost);
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
  transform: translateY(-3px);
}

.chop-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.chop-feature-icon.accent { background: var(--chop-accent-ghost); color: var(--chop-accent); }
.chop-feature-icon.green  { background: var(--chop-green-ghost);  color: var(--chop-green); }
.chop-feature-icon.blue   { background: var(--chop-blue-ghost);   color: var(--chop-blue); }
.chop-feature-icon.amber  { background: var(--chop-amber-ghost);  color: var(--chop-amber); }
.chop-feature-icon.purple { background: var(--chop-purple-ghost); color: var(--chop-purple); }

.chop-feature-title {
  font-family: var(--chop-font);
  font-size: 16px;
  font-weight: 500;
  color: var(--chop-text);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.chop-feature-desc {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-2);
  font-weight: 300;
  line-height: 1.6;
}

/* ── How It Works ─────────────────────────────────────────── */
.chop-how {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0 56px;
  animation: chop-breatheIn 0.5s ease 0.3s both;
}

.chop-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
}

/* Connector line between steps */
.chop-how-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 1px;
  background: var(--chop-border);
  z-index: 0;
}

.chop-how-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.chop-how-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--chop-surface-solid);
  border: 1px solid var(--chop-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: var(--chop-mono);
  font-size: 18px;
  font-weight: 500;
  color: var(--chop-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.chop-how-step:hover .chop-how-number {
  background: var(--chop-accent-ghost);
  border-color: rgba(184,70,43,0.15);
  color: var(--chop-accent);
  transform: scale(1.08);
}

.chop-how-title {
  font-family: var(--chop-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--chop-text);
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.chop-how-desc {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-3);
  font-weight: 300;
  line-height: 1.5;
  max-width: 240px;
  margin: 0 auto;
}

/* ── Bottom CTA ───────────────────────────────────────────── */
.chop-cta-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 0 80px;
  animation: chop-breatheIn 0.5s ease 0.4s both;
}

.chop-cta-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 18px;
  padding: 44px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* Subtle gradient orb behind CTA */
.chop-cta-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(184,70,43,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.chop-cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(58,143,92,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.chop-cta-title {
  font-family: var(--chop-font);
  font-size: 26px;
  font-weight: 500;
  color: var(--chop-text);
  letter-spacing: -0.6px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.chop-cta-sub {
  font-family: var(--chop-font);
  font-size: 14px;
  color: var(--chop-text-3);
  font-weight: 300;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.chop-cta-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* ── Authenticated Home Hub ───────────────────────────────── */
.chop-home-hub {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 56px 80px;
  font-family: var(--chop-font);
}

.chop-home-welcome {
  margin-bottom: 28px;
  animation: chop-breatheIn 0.5s ease both;
}
.chop-home-welcome h1 {
  font-family: var(--chop-font);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--chop-text);
  margin: 0 0 4px 0;
}
.chop-home-welcome p {
  font-size: 14px;
  color: var(--chop-text-3);
  font-weight: 300;
  margin: 0;
}

.chop-home-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
  animation: chop-breatheIn 0.5s ease 0.1s both;
}

.chop-home-nav-card {
  background: var(--chop-surface);
  border: 1px solid var(--chop-border);
  border-radius: 18px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}
.chop-home-nav-card::after { content: none; }
.chop-home-nav-card:hover {
  border-color: var(--chop-border-hover);
  box-shadow: var(--shadow-sm);
}

.chop-home-nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.chop-home-nav-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--chop-text);
  letter-spacing: -0.2px;
  margin-bottom: 4px;
}
.chop-home-nav-desc {
  font-size: 12px;
  color: var(--chop-text-3);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}
.chop-home-nav-link {
  font-size: 12px;
  color: var(--chop-text-2);
  font-weight: 400;
  transition: color 0.2s;
}
.chop-home-nav-card:hover .chop-home-nav-link { color: var(--chop-accent); }

/* ── Landing Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  .chop-hero {
    grid-template-columns: 1fr;
    padding: 32px 0 40px;
    gap: 32px;
  }
  .chop-hero h1 { font-size: 32px; }
  .chop-hero-visual { order: -1; }
  .chop-features-grid { grid-template-columns: 1fr; }
  .chop-how-grid { grid-template-columns: 1fr; gap: 24px; }
  .chop-how-grid::before { display: none; }
  .chop-home-nav-grid { grid-template-columns: 1fr; }
  .chop-cta-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .chop-hero h1 { font-size: 28px; }
  .chop-hero-sub { font-size: 14px; }
  .chop-hero-actions { flex-direction: column; }
  .chop-hero-trust { flex-wrap: wrap; gap: 8px; }
  .chop-cta-title { font-size: 22px; }
  .chop-cta-actions { flex-direction: column; align-items: center; }
}

/* =============================================
   LOCAL HEROES - Split Panel Layout
   ============================================= */

.chop-heroes-subtitle {
  font-size: 13px;
  color: var(--chop-text-2);
  margin: 0;
  line-height: 1.4;
}

/* ── Split Layout ──────────────────────────── */
.chop-heroes-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  transition: grid-template-columns 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.chop-heroes-layout.has-detail {
  grid-template-columns: 1fr 1fr;
}

/* ── Heroes List ───────────────────────────── */
.chop-heroes-list-header {
  display: grid;
  grid-template-columns: 48px 1fr 70px 90px;
  gap: 8px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--chop-text-3);
  border-bottom: 1px solid var(--chop-border);
}
.chop-heroes-row {
  display: grid;
  grid-template-columns: 48px 1fr 70px 90px;
  gap: 8px;
  align-items: center;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.chop-heroes-row:last-child { border-bottom: none; }
.chop-heroes-row:hover { background: var(--chop-accent-ghost); }
.chop-heroes-row.selected {
  background: var(--chop-accent-ghost);
  border-left: 3px solid var(--chop-accent);
  padding-left: 13px;
}

/* ── Rank badges ───────────────────────────── */
.chop-heroes-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: white;
}
.chop-heroes-medal-1 { background: linear-gradient(135deg, #f5af19, #f0c040); }
.chop-heroes-medal-2 { background: linear-gradient(135deg, #a8a8a8, #c0c0c0); }
.chop-heroes-medal-3 { background: linear-gradient(135deg, #b87333, #cd7f32); }

.chop-heroes-rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--chop-text-2);
}

/* ── Avatar ────────────────────────────────── */
.chop-heroes-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--chop-accent-ghost);
  color: var(--chop-accent);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--chop-font);
}
.chop-heroes-avatar-lg {
  width: 42px;
  height: 42px;
  min-width: 42px;
  font-size: 14px;
}
.chop-heroes-avatar-sm {
  width: 30px;
  height: 30px;
  min-width: 30px;
  font-size: 10px;
  border-radius: 8px;
}

/* ── Cell content ──────────────────────────── */
.chop-heroes-cell-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.chop-heroes-cell-visits,
.chop-heroes-cell-referred {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.chop-heroes-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--chop-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chop-heroes-name-sm {
  font-size: 13px;
  font-weight: 500;
  color: var(--chop-text);
}
.chop-heroes-phone {
  font-size: 12px;
  color: var(--chop-text-3);
  font-family: var(--chop-mono);
}
.chop-heroes-stat {
  font-size: 14px;
  font-weight: 700;
  font-family: var(--chop-mono);
  color: var(--chop-text);
}
.chop-heroes-stat-accent {
  color: var(--chop-accent);
}
.chop-heroes-stat-pending {
  font-size: 11px;
  color: var(--chop-text-3);
  font-family: var(--chop-mono);
}

/* ── Detail Panel ──────────────────────────── */
.chop-heroes-detail {
  animation: chop-slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes chop-slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.chop-heroes-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--chop-border);
}
.chop-heroes-detail-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chop-heroes-ref-header {
  display: grid;
  grid-template-columns: 1fr 70px 90px;
  gap: 8px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--chop-text-3);
  border-bottom: 1px solid var(--chop-border);
}
.chop-heroes-ref-cell-referrals {
  display: flex;
  align-items: center;
  justify-content: center;
}
.chop-heroes-ref-row {
  display: grid;
  grid-template-columns: 1fr 70px 90px;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.chop-heroes-ref-row:last-child { border-bottom: none; }
.chop-heroes-ref-cell-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.chop-heroes-ref-cell-visits {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 768px) {
  .chop-heroes-layout.has-detail {
    grid-template-columns: 1fr;
  }
  .chop-heroes-layout.has-detail .chop-heroes-list {
    display: none;
  }
  .chop-heroes-list-header {
    grid-template-columns: 36px 1fr 50px 60px;
    gap: 4px;
    padding: 8px 12px;
    font-size: 9px;
  }
  .chop-heroes-row {
    grid-template-columns: 36px 1fr 50px 60px;
    gap: 4px;
    padding: 10px 12px;
  }
  .chop-heroes-medal { width: 24px; height: 24px; font-size: 10px; }
  .chop-heroes-rank-num { width: 24px; height: 24px; font-size: 11px; }
  .chop-heroes-avatar { width: 28px; height: 28px; min-width: 28px; font-size: 10px; border-radius: 8px; }
  .chop-heroes-name { font-size: 13px; }
  .chop-heroes-phone { font-size: 10px; }
  .chop-heroes-stat { font-size: 13px; }
  .chop-heroes-cell-name { gap: 6px; }
}

/* =============================================
   PROFILE PAGE
   ============================================= */

/* ── Upload Section ────────────────────────── */
.chop-profile-uploads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 12px;
}
.chop-profile-upload-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 20px;
  background: var(--chop-surface);
  border: 1.5px solid var(--chop-border);
  border-radius: 16px;
}
.chop-profile-upload-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--chop-text);
  letter-spacing: 0.2px;
}

/* Logo preview - square */
.chop-profile-logo-preview {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  background: var(--chop-surface-solid);
  border: 2px dashed var(--chop-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--chop-text-3);
  overflow: hidden;
  transition: border-color 0.2s;
}
.chop-profile-logo-preview:hover {
  border-color: var(--chop-accent-soft);
}
.chop-profile-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Photo preview - circular */
.chop-profile-photo-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--chop-accent-ghost);
  border: 2px dashed var(--chop-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--chop-accent);
  overflow: hidden;
  transition: border-color 0.2s;
}
.chop-profile-photo-preview:hover {
  border-color: var(--chop-accent-soft);
}
.chop-profile-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chop-profile-initials {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--chop-font);
  color: var(--chop-accent);
  user-select: none;
}

/* Upload button */
.chop-profile-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--chop-font);
  color: var(--chop-text-2);
  background: var(--chop-surface-solid);
  border: 1.5px solid var(--chop-border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.chop-profile-upload-btn:hover {
  border-color: var(--chop-accent-soft);
  color: var(--chop-accent);
  background: var(--chop-accent-ghost);
}

/* ── Form Section ──────────────────────────── */
.chop-profile-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}
.chop-profile-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.chop-profile-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chop-profile-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--chop-text-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.chop-profile-field input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--chop-font);
  color: var(--chop-text);
  background: var(--chop-surface-solid);
  border: 1.5px solid var(--chop-border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.chop-profile-field input:focus {
  border-color: var(--chop-accent);
}
.chop-profile-field input::placeholder {
  color: var(--chop-text-3);
}

/* Role badge */
.chop-profile-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--chop-mono);
  color: var(--chop-accent);
  background: var(--chop-accent-ghost);
  border: 1.5px solid var(--chop-accent-soft);
  border-radius: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 640px) {
  .chop-profile-uploads {
    grid-template-columns: 1fr;
  }
  .chop-profile-fields-row {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   BRANCHES PAGE
   ============================================= */
.chop-branches-list-header {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 0.8fr 0.6fr 50px;
  gap: 8px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--chop-text-3);
  border-bottom: 1px solid var(--chop-border);
}
.chop-branches-row {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 0.8fr 0.6fr 50px;
  gap: 8px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  transition: background 0.2s;
}
.chop-branches-row:last-child { border-bottom: none; }
.chop-branches-row:hover { background: var(--chop-accent-ghost); }

.chop-branches-cell-name {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chop-branches-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--chop-accent-ghost);
  color: var(--chop-accent);
}
.chop-branches-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--chop-text);
}
.chop-branches-text {
  font-size: 13px;
  color: var(--chop-text-2);
}
.chop-branches-phone {
  font-size: 13px;
  font-family: var(--chop-mono);
  color: var(--chop-text-2);
}
.chop-branches-cell-status {
  display: flex;
  align-items: center;
}
.chop-branches-cell-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .chop-branches-list-header { display: none; }
  .chop-branches-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }
  .chop-branches-row > div[data-label]::before {
    content: attr(data-label) ": ";
    font-size: 11px;
    font-weight: 600;
    color: var(--chop-text-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 4px;
  }
}

/* ── Branch Tabs ─────────────────────────────────────────── */
.chop-branch-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.chop-branch-tab {
  padding: 8px 18px;
  border: 1px solid var(--chop-border);
  border-radius: 8px;
  background: var(--chop-surface);
  color: var(--chop-text-2);
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.chop-branch-tab:hover {
  border-color: var(--chop-border-hover);
  color: var(--chop-text);
}
.chop-branch-tab.active {
  background: var(--chop-text);
  color: var(--chop-bg, #fff);
  border-color: var(--chop-text);
}

/* ── Branch Transactions Table ───────────────────────────── */
.chop-branch-tx-header,
.chop-branch-tx-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
}
.chop-branch-tx-header {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--chop-text-3);
  border-bottom: 1px solid var(--chop-border);
}
.chop-branch-tx-row {
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.chop-branch-tx-row:last-child { border-bottom: none; }
.chop-branch-tx-cell-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text);
}
.chop-branch-tx-cell {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text);
}
.chop-tag.red {
  color: #DC2626;
  background: rgba(220,38,38,0.08);
}

@media (max-width: 768px) {
  .chop-branch-tx-header,
  .chop-branch-tx-row {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .chop-branch-tx-header .chop-branch-tx-cell:nth-child(4),
  .chop-branch-tx-header .chop-branch-tx-cell:nth-child(5),
  .chop-branch-tx-row .chop-branch-tx-cell:nth-child(4),
  .chop-branch-tx-row .chop-branch-tx-cell:nth-child(5) {
    display: none;
  }
}

/* ── Date Range Picker ──────────────────────────────────── */
.chop-daterange-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--chop-border);
  border-radius: 10px;
  background: var(--chop-surface);
  color: var(--chop-text);
  font-family: var(--chop-font);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.chop-daterange-btn:hover { border-color: var(--chop-border-hover); }
.chop-daterange-btn svg { color: var(--chop-text-3); }

.chop-daterange-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
}
.chop-daterange-popup {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  z-index: 1000;
  background: var(--chop-surface-solid, #fff);
  border: 1px solid var(--chop-border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 20px;
  min-width: 560px;
}

.chop-daterange-calendars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.chop-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.chop-cal-title {
  font-family: var(--chop-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--chop-text);
  text-transform: capitalize;
}
.chop-cal-nav {
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  color: var(--chop-text-3);
  font-size: 18px;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chop-cal-nav:hover { background: var(--chop-surface-hover, rgba(0,0,0,0.04)); color: var(--chop-text); }

.chop-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.chop-cal-dayname {
  font-family: var(--chop-font);
  font-size: 11px;
  color: var(--chop-text-3);
  text-align: center;
  padding: 4px 0;
  font-weight: 500;
}
.chop-cal-day {
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text);
  text-align: center;
  padding: 7px 0;
  border: none;
  background: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.1s;
}
.chop-cal-day:hover:not(.empty) { background: var(--chop-surface-hover, rgba(0,0,0,0.04)); }
.chop-cal-day.empty { cursor: default; }
.chop-cal-day.today { font-weight: 700; color: var(--chop-accent, #b42406); }
.chop-cal-day.in-range { background: rgba(180,36,6,0.08); border-radius: 0; }
.chop-cal-day.edge { background: var(--chop-accent, #b42406); color: #fff; font-weight: 600; border-radius: 8px; }

.chop-daterange-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--chop-border);
}
.chop-daterange-clear {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
}
.chop-daterange-clear:hover { color: var(--chop-text); }
.chop-daterange-done {
  font-family: var(--chop-font);
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--chop-accent, #b42406);
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  cursor: pointer;
}
.chop-daterange-done:hover { opacity: 0.9; }


/* ── Membership Cards ────────────────────────────────────── */
.mem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .mem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mem-grid { grid-template-columns: 1fr; } }

.mem-card {
  background: var(--chop-surface-solid, #fff);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: 20px 20px;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid var(--chop-border);
}
.mem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}
.mem-card-menu {
  position: absolute;
  top: 12px;
  right: 8px;
}
.mem-card-top {
  text-align: center;
  margin-bottom: 12px;
}
.mem-card-pill {
  display: inline-block;
  font-family: var(--chop-font);
  font-size: 11px;
  font-weight: 600;
  color: var(--chop-text);
  background: var(--chop-surface, #f5f5f5);
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
}
.mem-card-price-section {
  text-align: center;
  margin-bottom: 8px;
}
.mem-card-price {
  font-family: var(--chop-font);
  font-size: 28px;
  font-weight: 800;
  color: var(--chop-text);
  letter-spacing: -1.5px;
}
.mem-card-period {
  font-family: var(--chop-font);
  font-size: 14px;
  color: var(--chop-text-3);
  font-weight: 300;
}
.mem-card-desc {
  text-align: center;
  font-family: var(--chop-font);
  font-size: 13px;
  color: var(--chop-text-3);
  line-height: 1.5;
  margin-bottom: 4px;
}
.mem-card-divider {
  height: 1px;
  background: var(--chop-border);
  margin: 10px 0;
}
.mem-card-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mem-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text);
}
.mem-no-features {
  font-family: var(--chop-font);
  font-size: 12px;
  color: var(--chop-text-3);
  margin: 0;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════ */
/* ── Global Mobile Responsive Fixes ────────────────────── */
/* ══════════════════════════════════════════════════════════ */

/* ── Mobile: 768px and below ─────────────────────────────── */
@media (max-width: 768px) {
  /* Stats grid: 2 columns on tablet */
  .chop-stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }

  /* Actions grid: 1 column */
  .chop-actions-grid { grid-template-columns: 1fr !important; }

  /* Date picker popup: single calendar */
  .chop-daterange-popup { min-width: auto !important; width: calc(100vw - 32px) !important; max-width: 360px !important; right: -16px !important; }
  .chop-daterange-calendars { grid-template-columns: 1fr !important; gap: 12px !important; }

  /* Inline date pickers (used in Transactions, SuperAdmin Dashboard) */
  div[style*="min-width:560px"],
  div[style*="min-width:580px"] { min-width: auto !important; width: calc(100vw - 32px) !important; max-width: 360px !important; }
  div[style*="min-width:560px"] > div[style*="grid-template-columns:1fr 1fr"],
  div[style*="min-width:580px"] > div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Check-in credits: 2 columns */
  .chop-ci-credits-options { grid-template-columns: repeat(2, 1fr) !important; }

  /* Branch tabs: scrollable */
  .chop-branch-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .chop-branch-tab { white-space: nowrap; flex-shrink: 0; }

  /* Profile tabs: smaller font */
  .chop-profile-tabs button { font-size: 13px !important; padding: 10px 12px !important; }

  /* Tables: allow horizontal scroll */
  .chop-list-card { overflow-x: auto; }
  .chop-list-card table { min-width: 700px; }

  /* Dashboard welcome: smaller */
  .chop-home-welcome h1 { font-size: 20px !important; }

  /* Two-column layouts in profile: stack */
  div[style*="grid-template-columns:1fr 1fr;gap:20px"],
  div[style*="grid-template-columns: 1fr 1fr;gap:20px"] { grid-template-columns: 1fr !important; }
}

/* ── Mobile: 480px and below ─────────────────────────────── */
@media (max-width: 480px) {
  /* Stats grid: 1 column on small phone */
  .chop-stats-grid { grid-template-columns: 1fr !important; }

  /* Page header: stack vertically */
  .chop-page-header { flex-direction: column !important; gap: 12px !important; align-items: stretch !important; }
  .chop-page-header > div:last-child { display: flex; gap: 8px; }

  /* Check-in credits: still 2 columns but smaller */
  .chop-ci-credits-options { gap: 6px !important; }
  .chop-ci-credit-btn { padding: 10px 8px !important; font-size: 14px !important; }

  /* Membership cards */
  .mem-card { padding: 16px !important; }
  .mem-card-price { font-size: 28px !important; }

  /* Profile section: full width inputs */
  .chop-rw-field-row { grid-template-columns: 1fr !important; }

  /* Header profile dropdown */
  .cl-profile-dropdown { right: 0 !important; min-width: 200px !important; }

  /* Date picker: full width */
  div[style*="min-width:560px"],
  div[style*="min-width:580px"] { right: -60px !important; }

  /* Smaller fonts for tables */
  .chop-list-header div, .chop-list-row div { font-size: 11px !important; }

  /* Form card */
  .chop-rw-form-card { padding: 16px !important; }
}

/* ── Ensure tables scroll horizontally ──────────────────── */
@media (max-width: 768px) {
  table[style*="width:100%"] { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table[style*="width:100%"] thead, table[style*="width:100%"] tbody { min-width: 600px; display: table; width: 100%; }
}
