/* ===== TOOLTIP CARTE ===== */
.tooltip-wrap {
  position: relative; display: inline-flex; align-items: center; margin-left: 8px;
}
.tooltip-btn {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(59,130,246,0.2);
  border: 1.5px solid rgba(59,130,246,0.6);
  color: #60a5fa; font-size: 0.75rem; font-weight: 800;
  cursor: pointer; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s ease; font-family: var(--font);
  flex-shrink: 0;
}
.tooltip-btn:hover, .tooltip-btn.active {
  background: rgba(59,130,246,0.4);
  border-color: #60a5fa;
  box-shadow: 0 0 12px rgba(59,130,246,0.4);
}
.tooltip-popup {
  position: absolute; bottom: calc(100% + 14px); left: 50%;
  transform: translateX(-50%);
  width: 280px; z-index: 200;
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.tooltip-popup.visible {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.tooltip-arrow {
  position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #2a2a2a;
}
.tooltip-card {
  background: white; border-radius: 16px;
  padding: 20px 16px 14px;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.tc-barcode { text-align: center; }
.tc-bars {
  display: flex; align-items: stretch; justify-content: center;
  gap: 2px; height: 55px; margin-bottom: 8px;
}
.tc-bars span {
  display: block; background: #111;
  border-radius: 1px;
}
.tc-bars span:nth-child(odd)  { width: 2px; }
.tc-bars span:nth-child(3n)   { width: 3px; }
.tc-bars span:nth-child(5n)   { width: 1px; height: 80%; align-self: center; }
.tc-bars span:nth-child(7n)   { width: 4px; }
.tc-code {
  font-size: 1.05rem; font-weight: 600; letter-spacing: 6px;
  color: #111; font-family: monospace;
}
.tc-m {
  position: absolute; right: 12px; bottom: 10px;
  font-size: 2.2rem; font-weight: 900;
  background: linear-gradient(135deg, #FFCC00, #FFB300);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.tooltip-note {
  background: #1e1e1e; border: 1px solid #333;
  color: #aaa; font-size: 0.78rem;
  padding: 8px 12px; border-radius: 0 0 10px 10px;
  margin: 0; text-align: center;
}
/* Card input counter */
.card-counter {
  font-size: 0.75rem; font-weight: 700;
  margin-left: auto; padding: 2px 8px;
  border-radius: 50px; transition: all 0.2s;
}
.card-counter.ok { background: rgba(76,175,80,0.15); color: #4CAF50; }
.card-counter.bad { background: rgba(218,41,28,0.15); color: #FF3B2F; }

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0d0d0d;
  --bg2: #141414;
  --card: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --gold: #FFCC00;
  --gold2: #FFB300;
  --red: #DA291C;
  --red2: #FF3B2F;
  --text: #F0F0F0;
  --text-muted: #888;
  --text-dim: #555;
  --radius: 20px;
  --radius-sm: 12px;
  --font: "Outfit", sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== FLOW CANVAS BACKGROUND ===== */
#flow-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  opacity: 0.85;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.m-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(255,204,0,0.4);
  flex-shrink: 0;
}
.nav-brand { font-size: 1.2rem; font-weight: 700; color: var(--text); }
.brand-accent { color: var(--gold); }
.admin-tag {
  font-size: 0.65rem; font-weight: 800;
  background: var(--red); color: white;
  padding: 2px 7px; border-radius: 6px; letter-spacing: 1px;
  vertical-align: middle; margin-left: 6px;
}
.nav-admin-btn {
  background: rgba(255,204,0,0.1);
  border: 1px solid rgba(255,204,0,0.3);
  color: var(--gold); padding: 8px 18px;
  border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}
.nav-admin-btn:hover {
  background: rgba(255,204,0,0.2);
  border-color: var(--gold);
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255,204,0,0.2);
}

/* ===== HERO ===== */
.hero {
  position: relative; text-align: center;
  padding: 80px 2rem 60px; z-index: 1;
  overflow: hidden;
}
.hero-glow {
  position: absolute; width: 400px; height: 400px;
  border-radius: 50%; pointer-events: none; filter: blur(80px);
}
.glow-left { background: rgba(218,41,28,0.15); top: -100px; left: -100px; }
.glow-right { background: rgba(255,204,0,0.1); top: -80px; right: -100px; }
.hero-content { position: relative; z-index: 2; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,204,0,0.1);
  border: 1px solid rgba(255,204,0,0.3);
  color: var(--gold); padding: 6px 18px;
  border-radius: 50px; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 24px; letter-spacing: 0.5px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.1;
  color: var(--text); margin-bottom: 16px;
}
.title-gradient {
  background: linear-gradient(135deg, var(--gold), var(--red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { color: var(--text-muted); font-size: 1.1rem; max-width: 500px; margin: 0 auto; }

/* ===== MAIN CONTAINER ===== */
.main-container {
  max-width: 700px; margin: 0 auto;
  padding: 0 1.5rem 80px; position: relative; z-index: 1;
}

/* ===== GLASS CARD ===== */
.glass {
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
}
.glass-inner {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
}

/* ===== FORM CARD ===== */
.form-card { padding: 2rem; margin-bottom: 2rem; }

/* ===== STEPS BAR ===== */
.steps-bar {
  display: flex; align-items: center;
  gap: 0; margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--card-border);
}
.step {
  display: flex; align-items: center; gap: 8px;
  flex: 1; flex-direction: column; text-align: center;
  font-size: 0.8rem; font-weight: 600; color: var(--text-dim);
  transition: all 0.3s ease;
}
.step-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
  transition: all 0.3s ease;
}
.step.active { color: var(--gold); }
.step.active .step-dot {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-color: var(--gold);
  color: #1a1a1a;
  box-shadow: 0 0 20px rgba(255,204,0,0.4);
}
.step.done { color: #4CAF50; }
.step.done .step-dot {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  border-color: #4CAF50; color: white;
}
.step-line {
  flex: 1; height: 2px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 20px;
}

/* ===== FORM STEPS ===== */
.form-step { display: none; animation: fadeSlide 0.4s ease; }
.form-step.active { display: block; }
@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===== FORM HEADER ===== */
.form-header { text-align: center; margin-bottom: 2rem; }
.form-icon {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 16px;
  background: rgba(255,204,0,0.1); border: 1px solid rgba(255,204,0,0.25);
  margin: 0 auto 16px;
  color: var(--gold);
}
.form-header h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.form-header p { color: var(--text-muted); }
.form-header strong { color: var(--gold); }

/* ===== FORM GROUPS ===== */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted); margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.max-badge {
  background: rgba(218,41,28,0.2);
  border: 1px solid rgba(218,41,28,0.4);
  color: var(--red2); padding: 2px 8px;
  border-radius: 50px; font-size: 0.7rem;
  text-transform: none; letter-spacing: 0;
}
.input-wrap {
  position: relative; display: flex; align-items: center;
}
.input-icon {
  position: absolute; left: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  z-index: 2; pointer-events: none;
}
.input-wrap input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font);
  font-size: 1rem; font-weight: 500;
  padding: 14px 16px 14px 46px;
  transition: all 0.3s ease;
  outline: none;
}
.input-wrap input:focus {
  border-color: var(--gold);
  background: rgba(255,204,0,0.05);
  box-shadow: 0 0 0 3px rgba(255,204,0,0.1);
}
.input-wrap input::placeholder { color: var(--text-dim); }
.input-hint { font-size: 0.78rem; color: var(--text-dim); margin-top: 6px; display: block; }

/* ===== POINTS SUMMARY CARD ===== */
.points-summary-card {
  display: flex; align-items: center;
  background: rgba(255,204,0,0.06);
  border: 1px solid rgba(255,204,0,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 1.5rem; gap: 20px;
}
.ps-item { display: flex; flex-direction: column; gap: 4px; }
.ps-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.ps-value { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.ps-value.gold { color: var(--gold); }
.ps-divider { width: 1px; height: 40px; background: rgba(255,204,0,0.2); }

/* ===== SLIDER ===== */
.slider-wrap { margin-bottom: 1.5rem; }
.slider-wrap input[type="range"] {
  width: 100%; height: 6px; margin: 8px 0;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.1);
  border-radius: 50px; outline: none; cursor: pointer;
}
.slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  box-shadow: 0 0 10px rgba(255,204,0,0.5);
  cursor: pointer; transition: transform 0.2s;
}
.slider-wrap input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }
.slider-labels {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--text-dim); font-weight: 600;
}

/* ===== PREVIEW BOX ===== */
.preview-box {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 20px; margin-bottom: 1.5rem;
}
.preview-item {
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.preview-item span { font-size: 0.75rem; color: var(--text-muted); }
.preview-item strong { font-size: 1.3rem; font-weight: 800; color: var(--text); }
.preview-item.accent strong { color: var(--red2); }
.preview-item.gold strong { color: var(--gold); }
.preview-plus, .preview-eq {
  font-size: 1.5rem; font-weight: 700; color: var(--text-dim);
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; width: 100%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #1a1a1a; border: none;
  padding: 16px 28px; border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 1rem; font-weight: 800;
  cursor: pointer; letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255,204,0,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,204,0,0.4);
}
.btn-primary:active { transform: translateY(0); }
.btn-arrow { font-size: 1.1rem; transition: transform 0.2s; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-secondary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text); padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-row { display: flex; gap: 12px; }
.btn-row .btn-primary { flex: 1; }
.btn-danger {
  background: rgba(218,41,28,0.15);
  border: 1px solid rgba(218,41,28,0.35);
  color: var(--red2); padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
}
.btn-danger:hover { background: rgba(218,41,28,0.25); }

/* ===== CHECKMARK ===== */
.success-anim { display: flex; justify-content: center; margin-bottom: 24px; }
.checkmark-circle {
  width: 72px; height: 72px;
  animation: scaleIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275);
}
@keyframes scaleIn {
  from { transform: scale(0) rotate(-45deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}
.checkmark-svg { width: 72px; height: 72px; }
.checkmark-circle-path {
  stroke: #4CAF50; stroke-width: 2;
  stroke-dasharray: 166; stroke-dashoffset: 166;
  animation: drawCircle 0.6s ease forwards 0.2s;
}
.checkmark-check {
  stroke: #4CAF50; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: drawCheck 0.4s ease forwards 0.7s;
}
@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}
@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* ===== RECAP ===== */
.confirm-recap { padding: 1.2rem; margin-bottom: 1.5rem; }
.recap-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.recap-row:last-child { border-bottom: none; }
.recap-label { font-size: 0.85rem; color: var(--text-muted); }
.recap-label--icon {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem; color: var(--text-muted);
}
.recap-val { font-size: 0.95rem; font-weight: 700; color: var(--text); }
.recap-val.gold { color: var(--gold); }
.recap-val.big { font-size: 1.3rem; }
.total-row { background: rgba(255,204,0,0.05); border-radius: 8px; padding: 10px 8px; margin-top: 4px; }

/* ===== DELIVERY BADGE ===== */
.delivery-badge {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,204,0,0.08);
  border: 1px solid rgba(255,204,0,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px; margin-bottom: 1.5rem;
}
.delivery-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,204,0,0.12);
  color: var(--gold);
}
.delivery-badge strong { display: block; font-weight: 700; margin-bottom: 4px; }
.delivery-badge p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ===== INFO GRID ===== */
.info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.info-card {
  padding: 1.5rem; text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.info-icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: rgba(255,204,0,0.08); border: 1px solid rgba(255,204,0,0.2);
  color: var(--gold);
  margin: 0 auto 12px;
}
.info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.info-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer {
  text-align: center; padding: 2rem;
  border-top: 1px solid var(--card-border);
  color: var(--text-dim); font-size: 0.85rem;
  position: relative; z-index: 1;
}

/* ===== ADMIN ===== */
.admin-main {
  max-width: 1200px; margin: 0 auto;
  padding: 2rem 1.5rem 80px; position: relative; z-index: 1;
}
.admin-header { text-align: center; margin-bottom: 2rem; }
.admin-header h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 10px; }
.admin-header p { color: var(--text-muted); margin-bottom: 2rem; }
.admin-stats {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.stat-box {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius-sm); padding: 1rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 140px;
}
.stat-num { font-size: 2rem; font-weight: 900; color: var(--gold); }
.stat-lbl { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.admin-controls {
  display: flex; gap: 12px; justify-content: flex-end;
  margin-bottom: 2rem; flex-wrap: wrap;
}

/* ===== TIERS ACCORDION ===== */
.tiers-container { display: flex; flex-direction: column; gap: 16px; }
.tier-section {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden;
}
.tier-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; font-family: var(--font);
  transition: background 0.2s ease;
}
.tier-header:hover { filter: brightness(1.15); }
.tier-header-left { display: flex; align-items: center; gap: 14px; }
.tier-header-right { display: flex; align-items: center; }
.tier-header h2 { font-size: 1.05rem; font-weight: 800; margin-bottom: 3px; color: var(--text); }
.tier-count { font-size: 0.78rem; color: var(--text-muted); display: block; }
.tier-badge {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chevron {
  transition: transform 0.3s ease;
  color: var(--text-dim);
}
.tier-header[aria-expanded="false"] .chevron { transform: rotate(-90deg); }

/* Tier body accordion */
.tier-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.tier-body.open { max-height: 2000px; }

/* Tier colors */
.tier-bronze { background: linear-gradient(135deg, rgba(205,127,50,0.12), rgba(205,127,50,0.04)); border-bottom: 1px solid rgba(205,127,50,0.15); }
.tier-bronze .tier-badge { background: rgba(205,127,50,0.15); color: #cd7f32; }
.tier-silver { background: linear-gradient(135deg, rgba(192,192,192,0.1), rgba(192,192,192,0.03)); border-bottom: 1px solid rgba(192,192,192,0.12); }
.tier-silver .tier-badge { background: rgba(192,192,192,0.12); color: #c0c0c0; }
.tier-gold { background: linear-gradient(135deg, rgba(255,204,0,0.1), rgba(255,204,0,0.03)); border-bottom: 1px solid rgba(255,204,0,0.15); }
.tier-gold .tier-badge { background: rgba(255,204,0,0.12); color: var(--gold); }
.tier-diamond { background: linear-gradient(135deg, rgba(100,149,237,0.12), rgba(100,149,237,0.03)); border-bottom: 1px solid rgba(100,149,237,0.15); }
.tier-diamond .tier-badge { background: rgba(100,149,237,0.12); color: cornflowerblue; }

.tier-list { padding: 0.75rem 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 10px; }
.empty-state {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 2rem; color: var(--text-dim); font-size: 0.88rem;
}

/* ===== ADMIN ENTRY CARD ===== */
.entry-card {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 14px 18px; flex-wrap: wrap; gap: 12px;
  transition: all 0.2s ease;
  animation: slideIn 0.3s ease;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.entry-card:hover { background: rgba(255,255,255,0.06); }
.entry-info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.entry-chip {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.82rem; color: var(--text-muted);
}
.entry-chip svg { flex-shrink: 0; opacity: 0.7; }
.entry-id {
  font-size: 0.95rem; font-weight: 700;
  color: var(--text); font-family: monospace;
  background: rgba(255,255,255,0.07);
  padding: 5px 11px; border-radius: 7px;
  display: flex; align-items: center; gap: 6px;
}
.entry-pts-add {
  font-size: 1rem; font-weight: 800; color: var(--gold);
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,204,0,0.08);
  border: 1px solid rgba(255,204,0,0.2);
  padding: 4px 10px; border-radius: 7px;
}
.entry-actions { display: flex; gap: 8px; align-items: center; }
.btn-mark-done {
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.25);
  color: #4CAF50; padding: 7px 13px;
  border-radius: 8px; font-family: var(--font);
  font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s ease;
  display: flex; align-items: center; gap: 5px;
}
.btn-mark-done:hover { background: rgba(76,175,80,0.22); }
.btn-icon {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim); padding: 7px 9px;
  border-radius: 8px; font-family: var(--font);
  cursor: pointer; transition: all 0.2s ease;
  display: flex; align-items: center; justify-content: center;
}
.btn-icon:hover { background: rgba(218,41,28,0.15); border-color: rgba(218,41,28,0.3); color: var(--red2); }
.status-done {
  font-size: 0.75rem; font-weight: 700;
  color: #4CAF50; background: rgba(76,175,80,0.1);
  border: 1px solid rgba(76,175,80,0.2);
  padding: 5px 11px; border-radius: 50px;
  display: flex; align-items: center; gap: 5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .info-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem 1rem; }
  .steps-bar { gap: 0; }
  .step span { display: none; }
  .preview-box { gap: 10px; }
  .preview-plus, .preview-eq { font-size: 1.1rem; }
}

/* ===== BRAND SELECTOR ===== */
.brand-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 0.5rem;
}
@media (max-width: 540px) {
  .brand-cards { grid-template-columns: 1fr; }
}
.brand-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 24px 16px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  cursor: pointer; font-family: var(--font);
  transition: all 0.28s cubic-bezier(0.34,1.56,0.64,1);
  position: relative; overflow: hidden;
}
.brand-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.06), transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.brand-card:hover::before { opacity: 1; }
.brand-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.brand-card.selected {
  transform: translateY(-5px);
}
/* Per-brand selected states */
#brandMcdo.selected {
  border-color: rgba(255,204,0,0.6);
  background: rgba(255,204,0,0.08);
  box-shadow: 0 0 30px rgba(255,204,0,0.2), 0 16px 40px rgba(0,0,0,0.3);
}
#brandBk.selected {
  border-color: rgba(245,19,26,0.6);
  background: rgba(245,19,26,0.08);
  box-shadow: 0 0 30px rgba(245,19,26,0.2), 0 16px 40px rgba(0,0,0,0.3);
}
#brandKfc.selected {
  border-color: rgba(228,0,43,0.6);
  background: rgba(228,0,43,0.08);
  box-shadow: 0 0 30px rgba(228,0,43,0.2), 0 16px 40px rgba(0,0,0,0.3);
}

/* Per-brand hover */
#brandMcdo:hover { border-color: rgba(255,204,0,0.35); background: rgba(255,204,0,0.05); }
#brandBk:hover   { border-color: rgba(245,19,26,0.35);  background: rgba(245,19,26,0.05); }
#brandKfc:hover  { border-color: rgba(228,0,43,0.35);   background: rgba(228,0,43,0.05); }

.brand-logo {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.brand-logo--mcdo, .brand-logo--bk, .brand-logo--kfc { background: none; }

.brand-name {
  font-size: 0.95rem; font-weight: 800;
  color: var(--text); letter-spacing: 0.2px;
}
.brand-tag {
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 50px;
  letter-spacing: 0.3px;
}
.brand-tag--mcdo { background: rgba(255,204,0,0.15); color: #FFCC00; border: 1px solid rgba(255,204,0,0.3); }
.brand-tag--bk   { background: rgba(245,19,26,0.12); color: #F5131A; border: 1px solid rgba(245,19,26,0.3); }
.brand-tag--kfc  { background: rgba(228,0,43,0.12);  color: #E4002B; border: 1px solid rgba(228,0,43,0.3); }

/* ===== BRAND RECAP ROW ===== */
.brand-recap-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--card-border);
}
.brand-recap-pill {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.1);
  gap: 2px;
  transition: all 0.3s;
}
.brand-change-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-muted); padding: 6px 14px;
  border-radius: 50px; font-family: var(--font);
  font-size: 0.8rem; font-weight: 600; cursor: pointer;
  transition: all 0.2s ease;
}
.brand-change-btn:hover { background: rgba(255,255,255,0.1); color: var(--text); }

/* ===== 24H COOLDOWN CHRONOMETER ===== */
.cooldown-container {
  background: linear-gradient(145deg, rgba(255, 204, 0, 0.05) 0%, rgba(20, 20, 20, 0.7) 100%);
  border: 1px solid rgba(255, 204, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  margin-top: 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 204, 0, 0.03);
  backdrop-filter: blur(10px);
}

.cooldown-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.cooldown-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFCC00;
  box-shadow: 0 0 10px #FFCC00;
  animation: timerPulse 1.5s infinite ease-in-out;
}

@keyframes timerPulse {
  0% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 4px #FFCC00; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #FFCC00; }
  100% { transform: scale(0.9); opacity: 0.6; box-shadow: 0 0 4px #FFCC00; }
}

.cooldown-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gold);
}

.cooldown-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.cooldown-unit {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 204, 0, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 80px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cooldown-digits {
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-family: var(--font);
  text-shadow: 0 0 16px rgba(255, 204, 0, 0.4);
}

.cooldown-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 6px;
}

.cooldown-sep {
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(255, 204, 0, 0.6);
  animation: blinkSep 1s infinite;
  line-height: 1;
  padding-bottom: 12px;
}

@keyframes blinkSep {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.cooldown-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin: 14px 0 12px;
}

.cooldown-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFB300, #FFCC00);
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
  transition: width 1s linear;
}

.cooldown-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0;
}

.cooldown-ready {
  background: rgba(76, 175, 80, 0.08);
  border-color: rgba(76, 175, 80, 0.35);
}
.cooldown-ready .cooldown-pulse {
  background: #4CAF50;
  box-shadow: 0 0 10px #4CAF50;
}
.cooldown-ready .cooldown-title {
  color: #4CAF50;
}

/* Admin 24h badge */
.order-cooldown-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(255, 204, 0, 0.12);
  color: #FFCC00;
  border: 1px solid rgba(255, 204, 0, 0.3);
}
.order-cooldown-badge.expired {
  background: rgba(76, 175, 80, 0.12);
  color: #4CAF50;
  border-color: rgba(76, 175, 80, 0.3);
}


