@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,700;1,800&display=swap');

.hwdt-root, .hwdt-root *, .hwdt-root *::before, .hwdt-root *::after {
  box-sizing: border-box;
}
.hwdt-root {
  --hwdt-orange: #f97316;
  --hwdt-orange-soft: #fff4ea;
  --hwdt-orange-light: #ffa45a;
  --hwdt-teal: #2d7d6e;
  --hwdt-teal-dark: #246256;
  --hwdt-gold: #a87d3e;
  --hwdt-ink: #1a1a1a;
  --hwdt-muted: #8a8a8a;
  --hwdt-border: #e6e1d6;
  --hwdt-bg-soft: #f1ece2;
  --hwdt-bg-step: #ece6d9;
  --hwdt-card-shadow: 0 30px 60px -25px rgba(40, 30, 15, 0.15), 0 8px 20px -10px rgba(40, 30, 15, 0.08);
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--hwdt-ink);
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 16px 40px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* stacking context so the glow sits behind the card */
  position: relative;
  isolation: isolate;
}

/* =====================================================
   Two-layer magical border system:
   Layer 1 (::before) — ambient background colour wash.
     Heavily blurred so the spinning shape is invisible —
     just a dreamy, colour-shifting glow behind the card.
   Layer 2 (::after on .hwdt-card) — sharp conic-gradient
     border glow that hugs the card edges exactly.
   ===================================================== */
.hwdt-root::before {
  content: '';
  position: absolute;
  top: calc(50% - 16px);
  left: 50%;
  width: 110%;
  height: 110%;
  border-radius: 38%;
  background: conic-gradient(
    from 0deg,
    transparent   0deg,
    transparent  38deg,
    #ec4899      68deg,
    #a855f7     104deg,
    #06b6d4     138deg,
    transparent 162deg,
    transparent 360deg
  );
  filter: blur(70px);   /* was 26px — shape now invisible, just colour wash */
  opacity: 0.55;         /* was 0.88 */
  pointer-events: none;
  will-change: transform;
  animation: hwdt-magic-border-spin 10s linear infinite;
}

@keyframes hwdt-magic-border-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---- Pulsing multi-colour glow — card and custom adventure card ---- */
@keyframes hwdt-magic-glow {
  0%, 100% { box-shadow: 0 28px 70px -20px rgba(40,30,15,0.16), 0 0 0 1px rgba(255,255,255,0.55), 0 0 32px 10px rgba(236,72,153,0.42); }
  33%       { box-shadow: 0 28px 70px -20px rgba(40,30,15,0.16), 0 0 0 1px rgba(255,255,255,0.55), 0 0 32px 10px rgba(168,85,247,0.42); }
  66%       { box-shadow: 0 28px 70px -20px rgba(40,30,15,0.16), 0 0 0 1px rgba(255,255,255,0.55), 0 0 32px 10px rgba(6,182,212,0.42); }
}

.hwdt-eyebrow {
  text-align: center;
  color: var(--hwdt-teal);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.hwdt-title {
  text-align: center;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 12px;
  color: var(--hwdt-ink);
}
.hwdt-title .hwdt-hero,
.hwdt-title .hwdt-story {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
}
.hwdt-title .hwdt-hero  { color: var(--hwdt-teal); }
.hwdt-title .hwdt-story { color: var(--hwdt-gold); }
.hwdt-subtitle {
  text-align: center;
  color: #5e5e5e;
  font-size: 16px;
  margin: 0 0 36px;
}

.hwdt-card {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.92);
  border-radius: 24px;
  padding: 32px clamp(20px, 4vw, 40px) 28px;
  position: relative;
  z-index: 1;           /* sits above the ::before ambient glow */
  animation: hwdt-magic-glow 5s ease-in-out infinite;
  /* overflow: visible — sparkles are clipped by .hwdt-sparkle-layer instead */
}


/* Sparkle layer — animated ✦ ★ ✧ rising from card floor */
.hwdt-sparkle-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}
.hwdt-sparkle {
  position: absolute;
  font-size: calc(var(--sz, 1) * 11px);
  color: var(--hwdt-orange);
  opacity: 0;
  pointer-events: none;
  left: var(--sx, 50%);
  top: var(--sy, 80%);
  animation: hwdt-sparkle-float var(--dur, 2.4s) var(--delay, 0s) ease-in infinite;
  user-select: none;
  line-height: 1;
}
@keyframes hwdt-sparkle-float {
  0%   { opacity: 0;    transform: translateY(0)    scale(0.4) rotate(0deg);  }
  18%  { opacity: 0.85; transform: translateY(-14px) scale(1.0) rotate(18deg); }
  75%  { opacity: 0.35; transform: translateY(-52px) scale(0.7) rotate(40deg); }
  100% { opacity: 0;    transform: translateY(-78px) scale(0.3) rotate(60deg); }
}

/* All card content sits above the sparkle layer (z:0) */
.hwdt-stepper, .hwdt-progress, .hwdt-panel, .hwdt-nav { position: relative; z-index: 1; }

.hwdt-stepper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.hwdt-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--hwdt-muted);
  font-weight: 500;
}
.hwdt-step .hwdt-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hwdt-bg-step);
  color: #a8a08e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  transition: all .25s ease;
}
.hwdt-step.is-active .hwdt-bubble {
  background: var(--hwdt-accent, var(--hwdt-teal));
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(45, 125, 110, 0.55);
}
.hwdt-step.is-active { color: var(--hwdt-accent, var(--hwdt-teal)); font-weight: 600; }
.hwdt-step.is-done .hwdt-bubble {
  background: var(--hwdt-accent, var(--hwdt-teal));
  color: #fff;
}
.hwdt-step.is-done { color: #4a4a4a; }
.hwdt-step.is-done .hwdt-bubble svg { width: 16px; height: 16px; }

.hwdt-progress {
  height: 4px;
  background: transparent;
  border-radius: 4px;
  margin: 14px 0 28px;
  overflow: hidden;
  position: relative;
}
.hwdt-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--hwdt-accent, var(--hwdt-teal));
  border-radius: 4px;
  transition: width .35s ease;
}

.hwdt-panel { display: none; animation: hwdtFade .25s ease; }
.hwdt-panel.is-active { display: block; }
@keyframes hwdtFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hwdt-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--hwdt-ink);
}
.hwdt-lede {
  color: #6a6a6a;
  font-size: 15px;
  margin: 0 0 22px;
}

.hwdt-drop {
  border: 2px dashed #d8d2c4;
  border-radius: 18px;
  padding: 38px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: #fff;
  display: block;
}
.hwdt-drop:hover, .hwdt-drop.is-drag {
  border-color: var(--hwdt-orange);
  background: #fffaf3;
}
.hwdt-drop-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #ece6d9;
  display: flex; align-items: center; justify-content: center;
  color: #6a6a6a;
}
.hwdt-drop-icon svg { width: 24px; height: 24px; }
.hwdt-drop-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; color: var(--hwdt-ink); }
.hwdt-drop-sub { font-size: 14px; color: #6a6a6a; }
.hwdt-drop-sub .hwdt-link {
  color: var(--hwdt-teal); text-decoration: underline; cursor: pointer;
}
.hwdt-drop input[type="file"] { display: none; }

/* ---- Photo preview: centered hero avatar + welcome message ---- */
.hwdt-preview {
  display: none;
  text-align: center;
  margin-top: 22px;
}
.hwdt-preview.is-shown { display: block; animation: hwdtFade .35s ease; }

/* Magical glow avatar — no spinning rings */
.hwdt-preview-hero-wrap {
  width: 148px;
  height: 148px;
  margin: 0 auto 16px;
}

.hwdt-preview img {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 4px solid #fff;
  animation: hwdt-photo-glow 4s ease-in-out infinite;
}
@keyframes hwdt-photo-glow {
  0%,100% { box-shadow: 0 0 0 3px #f97316, 0 0 22px 6px rgba(249,115,22,0.55), 0 0 44px 14px rgba(139,92,246,0.18); }
  40%     { box-shadow: 0 0 0 3px #8b5cf6, 0 0 22px 6px rgba(139,92,246,0.55), 0 0 44px 14px rgba(6,182,212,0.2); }
  70%     { box-shadow: 0 0 0 3px #06b6d4, 0 0 22px 6px rgba(6,182,212,0.55), 0 0 44px 14px rgba(249,115,22,0.18); }
}

/* Welcome message */
.hwdt-welcome-badge {
  font-size: 19px;
  font-weight: 800;
  color: var(--hwdt-ink);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  animation: hwdtFade .5s ease .1s both;
}

.hwdt-preview-meta {
  margin-bottom: 14px;
}
.hwdt-preview-name {
  font-weight: 600;
  color: #555;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  margin: 0 auto;
}
.hwdt-preview-size { color: #aaa; font-size: 12px; margin-top: 2px; }

/* ── Transform button ─────────────────────────────────────── */
.hwdt-transform-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #f97316, #a855f7, #06b6d4);
  background-size: 200% 200%;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  margin-bottom: 10px;
  box-shadow: 0 4px 18px rgba(249,115,22,0.4), 0 2px 8px rgba(168,85,247,0.25);
  animation: hwdt-btn-shimmer 3s ease infinite;
  transition: transform .15s, box-shadow .15s;
  letter-spacing: 0.01em;
}
.hwdt-transform-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(249,115,22,0.5), 0 4px 14px rgba(168,85,247,0.35);
}
.hwdt-transform-btn:active  { transform: scale(0.97); }
.hwdt-transform-btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

@keyframes hwdt-btn-shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Spinning transform ring ──────────────────────────────── */
.hwdt-preview-hero-wrap {
  position: relative;
}
.hwdt-transform-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #f97316, #a855f7, #06b6d4, #22c55e, #f97316
  );
  z-index: -1;
  opacity: 0;
  transition: opacity .3s;
}
.hwdt-preview.is-transforming .hwdt-transform-ring {
  opacity: 1;
  animation: hwdt-ring-spin 1.2s linear infinite;
}
@keyframes hwdt-ring-spin {
  to { transform: rotate(360deg); }
}

/* ── Loading status text ──────────────────────────────────── */
.hwdt-transform-status {
  font-size: 14px;
  font-weight: 700;
  color: #7c3aed;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: hwdtFade .3s ease;
}
.hwdt-transform-dots {
  display: inline-flex;
  gap: 4px;
}
.hwdt-transform-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: hwdt-dot-bounce 1.2s ease-in-out infinite;
}
.hwdt-transform-dots span:nth-child(2) { animation-delay: .2s; }
.hwdt-transform-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes hwdt-dot-bounce {
  0%,80%,100% { transform: scale(0.7); opacity: 0.4; }
  40%         { transform: scale(1.1); opacity: 1; }
}

/* Dim the other controls while transforming */
.hwdt-preview.is-transforming .hwdt-transform-btn,
.hwdt-preview.is-transforming .hwdt-remove {
  opacity: 0.35;
  pointer-events: none;
}

/* ── Sparkle particles ────────────────────────────────────── */
.hwdt-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}
.hwdt-sparkle {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: var(--sp-size, 1em);
  line-height: 1;
  transform: translate(-50%, -50%);
  animation: hwdt-sparkle-float var(--sp-dur, 2s) var(--sp-delay, 0s) ease-out infinite;
  opacity: 0;
}
.hwdt-sparkle-burst {
  animation: hwdt-sparkle-burst var(--sp-dur, 1s) var(--sp-delay, 0s) ease-out forwards;
}
@keyframes hwdt-sparkle-float {
  0%   { opacity: 0; transform: translate(-50%,-50%) rotate(0deg) translateX(0); }
  20%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%,-50%) rotate(var(--sp-angle,45deg)) translateX(var(--sp-dist,60px)); }
}
@keyframes hwdt-sparkle-burst {
  0%   { opacity: 0; transform: translate(-50%,-50%) scale(0.3); }
  30%  { opacity: 1; transform: translate(-50%,-50%) rotate(var(--sp-angle,45deg)) translateX(var(--sp-dist,80px)) scale(1.2); }
  100% { opacity: 0; transform: translate(-50%,-50%) rotate(var(--sp-angle,45deg)) translateX(calc(var(--sp-dist,80px) * 1.5)) scale(0.6); }
}

/* ── Pixar reveal burst ───────────────────────────────────── */
.hwdt-hero-reveal {
  animation: hwdt-hero-reveal .6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes hwdt-hero-reveal {
  0%   { transform: scale(0.5); opacity: 0; filter: brightness(2) saturate(0); }
  60%  { transform: scale(1.08); filter: brightness(1.2) saturate(1.3); }
  100% { transform: scale(1);   opacity: 1; filter: brightness(1) saturate(1); }
}

/* ── Welcome badge pop ────────────────────────────────────── */
.hwdt-badge-pop {
  animation: hwdt-badge-pop .5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes hwdt-badge-pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ── Change photo button ──────────────────────────────────── */
.hwdt-remove {
  display: inline-block;
  background: none;
  border: 1.5px solid #e0d9cc;
  cursor: pointer;
  color: #888;
  padding: 7px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
  transition: border-color .15s, color .15s;
}
.hwdt-remove:hover { border-color: #c43c3c; color: #c43c3c; }

.hwdt-tip {
  margin-top: 18px;
  background: var(--hwdt-orange-soft);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: #4a3a28;
}
.hwdt-tip-bulb {
  flex: 0 0 auto; width: 22px; height: 22px; color: var(--hwdt-orange);
}
.hwdt-tip strong { color: var(--hwdt-orange); }

.hwdt-field { margin-bottom: 18px; }
.hwdt-label {
  display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--hwdt-ink);
}
.hwdt-label .hwdt-req { color: var(--hwdt-orange); }
.hwdt-input {
  width: 100%;
  border: 1.5px solid var(--hwdt-border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--hwdt-ink);
  transition: border-color .15s, box-shadow .15s;
}
.hwdt-input::placeholder { color: #b0b0b0; }
.hwdt-input:focus {
  outline: none;
  border-color: var(--hwdt-teal);
  box-shadow: 0 0 0 3px rgba(45, 125, 110, 0.12);
}

.hwdt-pillrow {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}
.hwdt-pill {
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--hwdt-border);
  background: #fff;
  border-radius: 999px;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: flex .3s ease, background .15s ease, border-color .15s ease, color .15s ease;
  color: var(--hwdt-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.hwdt-pill:hover { border-color: #c8c0ae; }
.hwdt-pill.is-selected {
  flex: 2;
  background: var(--hwdt-accent, var(--hwdt-teal));
  color: #fff;
  border-color: var(--hwdt-accent, var(--hwdt-teal));
}

/* ---- Adventure grid — image cards ---- */
.hwdt-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 560px) {
  .hwdt-adv-grid { grid-template-columns: repeat(2, 1fr); }
  .hwdt-pill { font-size: 13px; padding: 10px 6px; }
}

.hwdt-adv {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  background-color: #1a0f38;
  background-size: cover;
  background-position: center top;
  border: none;
  padding: 0;
  font-family: inherit;
  outline: 3px solid transparent;
  outline-offset: 3px;
  transition: transform .2s ease, box-shadow .2s ease, outline-color .15s;
}
.hwdt-adv:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.38);
}
.hwdt-adv.is-selected {
  outline: none;
  animation: hwdt-adv-magic 3s ease-in-out infinite;
  transform: translateY(-3px);
}
@keyframes hwdt-adv-magic {
  0%,100% { box-shadow: 0 0 0 3px #f97316, 0 12px 30px rgba(0,0,0,0.4), 0 0 28px 6px rgba(249,115,22,0.5); }
  40%     { box-shadow: 0 0 0 3px #8b5cf6, 0 12px 30px rgba(0,0,0,0.4), 0 0 28px 6px rgba(139,92,246,0.5); }
  70%     { box-shadow: 0 0 0 3px #06b6d4, 0 12px 30px rgba(0,0,0,0.4), 0 0 28px 6px rgba(6,182,212,0.5); }
}

/* Dimmed when selection limit reached */
.hwdt-adv.is-maxed {
  opacity: 0.42;
  pointer-events: none;
  transform: none;
  filter: grayscale(0.3);
}

/* ---- Adventure counter badge ---- */
.hwdt-adv-counter-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
  min-height: 24px;
}
.hwdt-adv-counter {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: var(--hwdt-bg-step);
  color: var(--hwdt-muted);
  letter-spacing: 0.02em;
  transition: background .2s, color .2s;
}
.hwdt-adv-counter.is-complete {
  background: var(--hwdt-accent, var(--hwdt-teal));
  color: #fff;
}

/* Dark gradient overlay */
.hwdt-adv-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.04) 40%, rgba(0,0,0,0.75) 100%);
  transition: background .2s;
}
.hwdt-adv.is-selected .hwdt-adv-overlay {
  background: linear-gradient(to bottom, rgba(249,115,22,0.15) 0%, rgba(0,0,0,0.72) 100%);
}

/* Orange checkmark badge */
.hwdt-adv-check {
  position: absolute; top: 10px; right: 10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--hwdt-orange, #f97316);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .15s;
  z-index: 2;
}
.hwdt-adv-check svg { width: 12px; height: 12px; stroke: #fff; }
.hwdt-adv.is-selected .hwdt-adv-check { opacity: 1; }

/* Adventure name at bottom */
.hwdt-adv-footer {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 10px; z-index: 2;
}
.hwdt-adv-name {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* =====================================================
   Custom "Ask a New Story" card — light, clean design
   ===================================================== */

/* Soft pulsing glow keyframe for the custom card border */
@keyframes hwdt-custom-glow {
  0%, 100% { box-shadow: 0 0 0 1.5px rgba(236,72,153,0.35), 0 6px 24px rgba(236,72,153,0.12); }
  40%       { box-shadow: 0 0 0 1.5px rgba(139,92,246,0.35), 0 6px 24px rgba(139,92,246,0.12); }
  70%       { box-shadow: 0 0 0 1.5px rgba(6,182,212,0.35),  0 6px 24px rgba(6,182,212,0.12); }
}

.hwdt-adv-custom {
  /* Override dark adventure card background */
  background-color: #fff !important;
  background-image: none !important;

  /* Layout */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;

  /* Soft border */
  border: 1.5px solid #e8e2f8;
  animation: hwdt-custom-glow 5s ease-in-out infinite;

  /* Smooth expand on selection */
  transition: transform .25s ease, box-shadow .25s ease;

  /* aspect-ratio: 3/4 is inherited from .hwdt-adv */
}

/* No dark overlay on this card */
.hwdt-adv-custom .hwdt-adv-overlay { display: none; }

/* No checkmark badge needed */
.hwdt-adv-custom .hwdt-adv-check  { display: none; }

/* Expand slightly when selected */
.hwdt-adv-custom.is-selected {
  transform: scale(1.04) translateY(-3px);
  border-color: transparent;
  animation: hwdt-custom-glow-active 4s ease-in-out infinite;
}
@keyframes hwdt-custom-glow-active {
  0%, 100% { box-shadow: 0 0 0 2px rgba(236,72,153,0.6), 0 10px 32px rgba(236,72,153,0.2); }
  40%       { box-shadow: 0 0 0 2px rgba(139,92,246,0.6), 0 10px 32px rgba(139,92,246,0.2); }
  70%       { box-shadow: 0 0 0 2px rgba(6,182,212,0.6),  0 10px 32px rgba(6,182,212,0.2); }
}

/* Idle state: icon + label centred */
.hwdt-adv-custom-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 12px;
  z-index: 2;
  position: relative;
}
.hwdt-adv-custom.is-selected .hwdt-adv-custom-idle { display: none; }

/* SVG pen icon */
.hwdt-adv-custom-icon-svg {
  width: 28px;
  height: 28px;
  color: var(--hwdt-accent, var(--hwdt-teal));
  opacity: 0.75;
  flex-shrink: 0;
}

/* Label */
.hwdt-adv-custom-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #3a3a3a;
  text-align: center;
  line-height: 1.3;
}

/* Active state: textarea fills the card */
.hwdt-adv-custom-active {
  display: none;
  width: 100%;
  height: 100%;
  z-index: 2;
  position: relative;
  padding: 12px;
  box-sizing: border-box;
}
.hwdt-adv-custom.is-selected .hwdt-adv-custom-active { display: flex; }

.hwdt-adv-custom-input {
  width: 100%;
  flex: 1;
  background: #f8f6ff;
  border: 1.5px solid #ddd6fe;
  border-radius: 10px;
  color: #1a1a1a;
  font-size: 13px;
  font-family: 'Open Sans', sans-serif;
  padding: 10px 12px;
  resize: none;
  outline: none;
  line-height: 1.6;
  transition: border-color .15s, box-shadow .15s;
}
.hwdt-adv-custom-input::placeholder { color: #b0a8c8; }
.hwdt-adv-custom-input:focus {
  border-color: var(--hwdt-accent, #8b5cf6);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.1);
}

/* ---- Package list ---- */
.hwdt-pkg-list { display: flex; flex-direction: column; gap: 10px; }

.hwdt-pkg {
  border: 2px solid var(--hwdt-border);
  background: #fff;
  border-radius: 20px;
  padding: 14px 18px 14px 16px;
  display: flex; flex-direction: column;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  font-family: inherit;
  color: var(--hwdt-ink);
  text-align: left;
  width: 100%;
}
.hwdt-pkg:hover {
  border-color: #c8c0ae;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.hwdt-pkg.is-selected {
  border-color: var(--hwdt-orange);
  background: #fffaf3;
  box-shadow: 0 6px 24px -8px rgba(249,115,22,0.32);
}

/* Top row */
.hwdt-pkg-top { display: flex; align-items: center; gap: 14px; }

/* Radio dot */
.hwdt-pkg-radio {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #d8d2c4;
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  transition: all .15s ease;
}
.hwdt-pkg.is-selected .hwdt-pkg-radio {
  background: var(--hwdt-orange); border-color: var(--hwdt-orange);
}
.hwdt-pkg-radio svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.hwdt-pkg.is-selected .hwdt-pkg-radio svg { opacity: 1; }

/* Info block */
.hwdt-pkg-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hwdt-pkg-name {
  font-family: 'Caveat', cursive;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--hwdt-ink);
  display: block;
}
.hwdt-pkg.is-selected .hwdt-pkg-name { color: var(--hwdt-orange); }
.hwdt-pkg-desc {
  font-size: 12px;
  color: #999;
  display: block;
  line-height: 1.4;
}

/* Price with superscript currency */
.hwdt-pkg-price {
  display: inline-flex;
  align-items: flex-start;
  gap: 1px;
  flex: 0 0 auto;
}
.hwdt-pkg-price-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--hwdt-ink);
  line-height: 1;
}
.hwdt-pkg-currency {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  margin-top: 3px;
  line-height: 1;
}

/* Accordion feature body */
.hwdt-pkg-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding-top .35s ease;
  padding-top: 0;
}
.hwdt-pkg.is-selected .hwdt-pkg-body {
  max-height: 300px;
  padding-top: 12px;
}
.hwdt-pkg-feat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  padding-top: 10px;
}
.hwdt-pkg-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 13px;
  color: #555;
}
.hwdt-pkg-feat-icon {
  width: 15px; height: 15px;
  flex: 0 0 auto;
  color: var(--hwdt-teal, #0d9488);
}
.hwdt-pkg-feat-item.is-excluded { color: #bbb; }
.hwdt-pkg-feat-item.is-excluded .hwdt-pkg-feat-icon { color: #ddd; }

.hwdt-review-card {
  background: var(--hwdt-bg-soft);
  border-radius: 18px;
  padding: 22px;
}
.hwdt-review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hwdt-review-head img {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  background: #ddd;
}
.hwdt-review-head .hwdt-review-name { font-weight: 700; font-size: 17px; color: var(--hwdt-ink); }
.hwdt-review-head .hwdt-review-meta { color: #6a6a6a; font-size: 13px; }
.hwdt-review-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-top: 1px solid #d8d2c4;
  font-size: 15px;
}
.hwdt-review-row .hwdt-review-key { color: #5a5a5a; }
.hwdt-review-row .hwdt-review-val { font-weight: 600; color: var(--hwdt-ink); }

/* Multi-adventure list in review */
.hwdt-review-adv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}
.hwdt-review-adv-list li {
  font-size: 14px;
  font-weight: 600;
  color: var(--hwdt-ink);
  line-height: 1.7;
}
.hwdt-review-adv-list li::before {
  content: counter(list-item) '. ';
  counter-increment: list-item;
  color: var(--hwdt-accent, var(--hwdt-teal));
  font-weight: 700;
}
.hwdt-review-row--adv { align-items: flex-start; }
.hwdt-review-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 14px; margin-top: 10px;
  border-top: 1px solid #d8d2c4;
}
.hwdt-review-total .hwdt-review-key { font-weight: 700; font-size: 16px; color: var(--hwdt-ink); }
.hwdt-review-total .hwdt-review-val {
  color: var(--hwdt-orange); font-weight: 800;
  display: inline-flex; align-items: flex-start; gap: 2px;
}
/* Superscript price in review total */
.hwdt-rv-num { font-size: 26px; line-height: 1; }
.hwdt-rv-cur { font-size: 12px; font-weight: 700; margin-top: 3px; line-height: 1; color: #b85a00; }
.hwdt-rv-gift { font-size: 12px; font-weight: 500; color: #888; align-self: center; margin-left: 4px; }

/* ---- Number badge on adventure check circle (multi-select packages) ---- */
.hwdt-adv-check--num {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  line-height: 1;
}

/* ---- Magazine toggle row in Review card ---- */
.hwdt-review-row--magazine {
  align-items: center;
}
.hwdt-review-mag-val {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.hwdt-mag-toggle {
  display: inline-flex;
  border: 1.5px solid var(--hwdt-border);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.hwdt-mag-opt {
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #888;
  transition: background .15s, color .15s;
  line-height: 1;
}
.hwdt-mag-opt:hover { color: var(--hwdt-ink); }
.hwdt-mag-opt.is-selected {
  background: var(--hwdt-accent, var(--hwdt-teal));
  color: #fff;
  cursor: default;
}
.hwdt-mag-locked {
  font-weight: 600;
  font-size: 14px;
  color: var(--hwdt-ink);
}
.hwdt-mag-fee-note {
  font-size: 12px;
  font-weight: 700;
  color: var(--hwdt-orange, #f97316);
}
/* Order summary: mag fee note */
.hwdt-os-mag-fee {
  font-size: 12px;
  font-weight: 600;
  color: var(--hwdt-orange, #f97316);
  margin-left: 4px;
}

/* ---- Registration box (guests only on Step 5) ---- */
.hwdt-reg-box {
  margin-top: 18px;
  background: rgba(255,255,255,0.85);
  border: 1.5px dashed rgba(0,0,0,0.20);
  border-radius: 16px;
  padding: 18px 16px 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hwdt-reg-intro {
  font-size: 13px;
  color: #6a6a6a;
  margin: 0 0 14px;
  text-align: center;
  line-height: 1.4;
}
.hwdt-reg-fields { display: flex; flex-direction: column; gap: 10px; }
.hwdt-reg-field { display: flex; flex-direction: column; gap: 4px; }
.hwdt-reg-label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hwdt-reg-input {
  padding: 10px 14px !important;
  border: 1.5px solid var(--hwdt-border, #e0d8cc) !important;
  border-radius: 12px !important;
  font-size: 15px;
  font-family: inherit;
  color: var(--hwdt-ink);
  background: #fff;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.hwdt-reg-input:focus {
  border-color: var(--hwdt-orange, #f97316);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}
.hwdt-reg-box .hwdt-error { margin-top: 8px; text-align: center; }

/* ---- Animated gradient keyframe (CTA + primary nav button) ---- */
@keyframes hwdt-btn-gradient {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* ---- CTA button ---- */
.hwdt-cta {
  width: 100%;
  margin-top: 20px;
  padding: 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ec4899, #8b5cf6, #06b6d4, #f97316);
  background-size: 400% 400%;
  animation: hwdt-btn-gradient 6s ease infinite;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px -10px rgba(139, 92, 246, 0.45);
  transition: transform .15s, box-shadow .15s, opacity .15s;
  font-family: inherit;
}
.hwdt-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 36px -10px rgba(139, 92, 246, 0.6); }
.hwdt-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  animation: none;
  background: #c8c0ae;
}

.hwdt-trust {
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
  margin-top: 16px; font-size: 13px; color: #6a6a6a;
}
.hwdt-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hwdt-trust svg { width: 16px; height: 16px; color: var(--hwdt-teal); }

.hwdt-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid #f0e9da;
}
.hwdt-btn {
  background: none; border: none; cursor: pointer; font-family: inherit;
  font-size: 15px; font-weight: 600; color: #6a6a6a;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 4px; border-radius: 8px;
}
.hwdt-btn:hover { color: var(--hwdt-ink); }
.hwdt-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.hwdt-btn-primary {
  background: linear-gradient(135deg, #f97316, #ec4899, #8b5cf6, #06b6d4, #f97316);
  background-size: 400% 400%;
  animation: hwdt-btn-gradient 6s ease infinite;
  color: #fff;
  padding: 12px 22px; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(139, 92, 246, 0.5);
}
.hwdt-btn-primary:hover { color: #fff; transform: translateY(-1px); }
.hwdt-btn-primary[disabled] {
  background: transparent;
  animation: none;
  color: #b0b0b0;
  box-shadow: none;
}

.hwdt-status {
  text-align: center; padding: 32px 20px;
}
.hwdt-status-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--hwdt-teal); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.hwdt-status-icon svg { width: 36px; height: 36px; }
.hwdt-status h3 { font-size: 22px; font-weight: 800; margin: 0 0 8px; color: var(--hwdt-ink); }
.hwdt-status p { color: #6a6a6a; margin: 0; }
.hwdt-status.is-error .hwdt-status-icon { background: #c43c3c; }

.hwdt-error {
  color: #c43c3c; font-size: 13px; margin-top: 6px; min-height: 18px;
}

/* ============================================================
   Gift toggle — shared styles used by both the popup form
   and the Divi full-page form
   ============================================================ */
.hwdt-gift-wrap {
  margin: 18px auto 0;
  max-width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.82);
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .2s, box-shadow .2s;
}
.hwdt-gift-wrap.is-gifting {
  border-color: var(--hwdt-orange, #f97316);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.10);
}

.hwdt-gift-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hwdt-gift-icon { font-size: 26px; flex: 0 0 auto; line-height: 1; }

.hwdt-gift-info { flex: 1; min-width: 0; }

.hwdt-gift-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1.3;
}
a.hwdt-gift-label:hover { color: var(--hwdt-orange, #f97316); text-decoration: underline; }

.hwdt-gift-sub {
  display: block;
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

/* iOS-style toggle switch */
.hwdt-gift-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex: 0 0 auto;
  cursor: pointer;
}
.hwdt-gift-switch input {
  opacity: 0; width: 0; height: 0; position: absolute;
}
.hwdt-gift-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 999px;
  transition: background .22s;
  cursor: pointer;
}
.hwdt-gift-slider::before {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .22s;
  box-shadow: 0 1px 5px rgba(0,0,0,0.22);
}
.hwdt-gift-switch input:checked + .hwdt-gift-slider { background: var(--hwdt-orange, #f97316); }
.hwdt-gift-switch input:checked + .hwdt-gift-slider::before { transform: translateX(24px); }
.hwdt-gift-switch input:focus-visible + .hwdt-gift-slider {
  outline: 2px solid var(--hwdt-orange, #f97316);
  outline-offset: 2px;
}

/* Fee row — hidden until .is-gifting */
.hwdt-gift-fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #555;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid transparent;
  transition: max-height .3s ease, opacity .3s ease, margin-top .3s, padding-top .3s, border-color .3s;
}
.hwdt-gift-wrap.is-gifting .hwdt-gift-fee-row {
  max-height: 50px;
  opacity: 1;
  margin-top: 12px;
  padding-top: 10px;
  border-top-color: rgba(0,0,0,0.07);
}
.hwdt-gift-fee-amount {
  font-weight: 700;
  color: var(--hwdt-orange, #f97316);
}
.hwdt-gift-fee-num { font-weight: 700; }
.hwdt-gift-fee-cur { font-size: 10px; font-weight: 700; margin-left: 1px; }

/* ============================================================
   [hwdt_order_summary] shortcode
   Order card + 4-stage tracking bar (Ordered > Printing >
   Shipped > Delivered)
   ============================================================ */
.hwdt-os-wrap {
  width: 100%;
  max-width: 100%;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #1a1a1a;
  box-sizing: border-box;
}
.hwdt-os-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 0;
  box-shadow: none;
}

/* Hero header */
.hwdt-os-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

/* Share + Print action buttons */
.hwdt-os-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.hwdt-os-action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #aaa;
  padding: 0;
  transition: color .15s, background .15s;
}
.hwdt-os-action-btn:hover {
  color: #555;
  background: rgba(0,0,0,0.06);
}
.hwdt-os-action-btn svg {
  width: 17px;
  height: 17px;
  pointer-events: none;
}
/* "Copied!" tooltip */
.hwdt-os-action-tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s;
}
.hwdt-os-action-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: #1a1a1a;
}
.hwdt-os-action-tip.is-visible { opacity: 1; }
.hwdt-os-photo .hwdt-os-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.hwdt-os-hero-name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}
.hwdt-os-hero-meta {
  color: #888;
  font-size: 13px;
}

/* Detail rows */
.hwdt-os-details {
  background: #f8f5f0;
  border-radius: 14px;
  padding: 2px 16px;
  margin-bottom: 22px;
}
.hwdt-os-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
  gap: 12px;
}
.hwdt-os-row:last-child { border-bottom: none; }
.hwdt-os-key  { color: #777; flex-shrink: 0; }
.hwdt-os-val  { font-weight: 600; text-align: right; }

/* Numbered adventure list in order summary */
.hwdt-os-adv-list {
  list-style: decimal;
  margin: 0;
  padding: 0 0 0 18px;
  text-align: left;
}
.hwdt-os-adv-list li {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  color: #1a1a1a;
}
.hwdt-os-row--adv-list { align-items: flex-start; }
.hwdt-os-pkg  {
  font-family: 'Caveat', cursive;
  font-size: 19px;
  font-weight: 800;
  color: var(--hwdt-accent, #2d7d6e);
}
.hwdt-os-total-row .hwdt-os-total-key  { font-weight: 700; color: #1a1a1a; }
.hwdt-os-total-row .hwdt-os-total-val  {
  color: var(--hwdt-orange, #f97316);
  font-weight: 800;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.hwdt-os-price-num {
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.hwdt-os-price-cur {
  font-size: 10px;
  font-weight: 700;
  vertical-align: super;
  margin-left: 2px;
  line-height: 1;
  opacity: 0.8;
  letter-spacing: 0.04em;
}

/* Tracking bar */
.hwdt-os-tracker {
  margin-bottom: 20px;
}
.hwdt-os-track-header { margin-bottom: 10px; }
.hwdt-os-track-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}
.hwdt-os-bar-bg {
  height: 8px;
  background: #e6e1d6;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 14px;
}
@keyframes hwdt-bar-gradient {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}
.hwdt-os-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4285F4, #EA4335, #FBBC05, #34A853, #4285F4);
  background-size: 500% 100%;
  animation: hwdt-bar-gradient 8s ease infinite;
  border-radius: 99px;
  transition: width 0.7s ease;
  min-width: 6px;
}
.hwdt-os-stages {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.hwdt-os-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  flex: 1;
  text-align: center;
}
.hwdt-os-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e6e1d6;
  color: #bbb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: background .3s, color .3s, box-shadow .3s;
}
.hwdt-os-dot svg { width: 14px; height: 14px; }
.hwdt-os-stage.is-done .hwdt-os-dot {
  background: var(--hwdt-accent, #2d7d6e);
  color: #fff;
}
.hwdt-os-stage.is-active .hwdt-os-dot {
  background: var(--hwdt-accent, #2d7d6e);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(45,125,110,0.18), 0 4px 14px -4px rgba(45,125,110,0.5);
}
.hwdt-os-stage-label {
  font-size: 11px;
  font-weight: 600;
  color: #bbb;
  white-space: nowrap;
}
.hwdt-os-stage.is-done .hwdt-os-stage-label  { color: #888; }
.hwdt-os-stage.is-active .hwdt-os-stage-label {
  color: var(--hwdt-accent, #2d7d6e);
  font-weight: 700;
}

/* Failed state */
.hwdt-os-failed {
  background: #fff5f5;
  border: 1.5px solid #f0a0a0;
  border-radius: 12px;
  padding: 12px 16px;
  color: #c43c3c;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Footer */
.hwdt-os-footer {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #bbb;
  padding-top: 16px;
  border-top: 1px solid #f0ece4;
  margin-top: 4px;
}
.hwdt-os-empty {
  color: #888;
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  padding: 24px;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 460px) {
  .hwdt-os-stage-label { font-size: 10px; }
  .hwdt-os-dot { width: 28px; height: 28px; font-size: 12px; }
}
