/* ── Coastal Concierge — shared styles ── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --sand: #F5EDD6;
  --sand-dark: #EAD9B0;
  --sky: #B8DFF0;
  --ocean: #5BB8D4;
  --ocean-deep: #2A7FA8;
  --coral: #E8715A;
  --coral-dark: #C4503C;
  --coral-light: #FCEAE6;
  --navy: #1A3A4A;
  --white: #FFFFFF;
  --text-dark: #1A3A4A;
  --text-mid: #4A7A8A;
  --text-light: #8AAAB8;
  --card-bg: rgba(255,255,255,0.94);
  --border: rgba(91,184,212,0.22);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 40px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--sand); color: var(--text-dark); overflow-x: hidden; }

/* ── Buttons ── */
.btn-primary {
  background: var(--coral);
  color: white;
  border: none;
  padding: 13px 32px;
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { opacity: 0.35; pointer-events: none; }

.btn-navy {
  background: var(--navy);
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius-md);
  cursor: pointer;
  width: 100%;
  transition: opacity 0.15s;
}
.btn-navy:hover { opacity: 0.88; }
.btn-navy:disabled { opacity: 0.32; pointer-events: none; }

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid rgba(91,184,212,0.4);
  padding: 11px 26px;
  font-size: 14px;
  font-family: var(--font-body);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-outline:hover { border-color: var(--ocean); color: var(--ocean-deep); }

.btn-ghost {
  background: transparent;
  color: var(--text-light);
  border: none;
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: underline;
}

/* ── Cards ── */
.card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
}
.badge-new      { background: #FEF3C7; color: #92400E; }
.badge-confirmed{ background: #DBEAFE; color: #1E40AF; }
.badge-assigned { background: #EEEDFE; color: #3C3489; }
.badge-shopping { background: #FAEEDA; color: #633806; }
.badge-staging  { background: #DBEAFE; color: #185FA5; }
.badge-packed   { background: #EAF3DE; color: #27500A; }
.badge-delivered{ background: #DCFCE7; color: #166534; }
.badge-custom   { background: #FAECE7; color: #712B13; }

/* ── Topbar ── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: white;
  border-bottom: 0.5px solid rgba(91,184,212,0.2);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topbar-brand { font-size: 15px; font-weight: 500; color: var(--text-dark); }
.topbar-sub   { font-size: 12px; color: var(--text-mid); margin-top: 1px; }

.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-mid);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  padding: 0;
  text-decoration: none;
}
.nav-back:hover { color: var(--text-dark); }

/* ── Form fields ── */
.field {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid rgba(91,184,212,0.3);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-dark);
  background: white;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
}
.field:focus { border-color: var(--ocean); }

textarea.field { resize: vertical; min-height: 80px; }

.field-label {
  font-size: 12px;
  color: var(--text-mid);
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

/* ── Section headers ── */
.section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--coral);
  font-weight: 500;
  margin-bottom: 10px;
}
.section-head {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 10px;
}

/* ── Step progress strip ── */
.step-strip {
  display: flex;
  align-items: flex-start;
  padding: 14px 20px 0;
  background: #F8F5EE;
  border-bottom: 0.5px solid rgba(91,184,212,0.15);
}
.step-node { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.step-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500;
  transition: all 0.3s ease;
}
.step-circle.done   { background: var(--navy); color: white; }
.step-circle.active { background: var(--coral); color: white; }
.step-circle.todo   { background: white; color: var(--text-light); border: 1.5px solid rgba(91,184,212,0.3); }
.step-label { font-size: 10px; color: var(--text-light); text-align: center; line-height: 1.3; padding-bottom: 10px; }
.step-label.active { color: var(--text-dark); font-weight: 500; }
.step-label.done   { color: var(--text-mid); }
.step-connector { flex: 1; height: 1.5px; background: rgba(91,184,212,0.25); margin-bottom: 18px; transition: background 0.3s; }
.step-connector.done { background: var(--navy); }

/* ── Pick/shop items ── */
.pick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 0.5px solid rgba(91,184,212,0.15);
  cursor: pointer;
  transition: opacity 0.2s;
}
.pick-item:last-child { border-bottom: none; }
.pick-item.checked { opacity: 0.42; }
.chk-box {
  width: 24px; height: 24px;
  border-radius: 6px;
  border: 1.5px solid rgba(91,184,212,0.4);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: white;
  transition: all 0.15s;
}
.chk-box.done { background: var(--navy); border-color: var(--navy); }

/* ── Progress bar ── */
.progress-track { height: 4px; background: rgba(91,184,212,0.15); border-radius: 2px; }
.progress-fill  { height: 4px; border-radius: 2px; background: var(--navy); transition: width 0.35s ease; }

/* ── Utility ── */
.page-pad { padding: 20px; }
.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.w-full { width: 100%; }
.text-muted { font-size: 13px; color: var(--text-mid); }
.text-small { font-size: 12px; color: var(--text-light); }
