/* ==========================================================================
   Public site — Password Test Centre
   Built on tokens.css. Section order follows the Niotech spine.
   ========================================================================== */

/* ---- header ---------------------------------------------------------- */

.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 999;
  height: 90px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: all 0.4s;
}
.header.sticky {
  background: var(--white);
  box-shadow: var(--box-shadow);
  height: 78px;
}
.header.is-solid { background: var(--white); box-shadow: var(--box-shadow); }

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { max-height: 42px; width: auto; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--theme);
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.logo-word { font-size: 20px; font-weight: 700; color: var(--title); letter-spacing: -0.5px; line-height: 1.1; }
.logo-word small { display: block; font-size: 11px; font-weight: 600; color: var(--theme); letter-spacing: 0.14em; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
/* Anchored sections must clear the fixed header, or the heading lands under it. */
section[id] { scroll-margin-top: 96px; }
@media (max-width: 991px) { section[id] { scroll-margin-top: 80px; } }

.nav-link { font-size: 16px; font-weight: 600; color: var(--title); padding: 8px 0; position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--theme);
  transition: width 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--theme); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(116,68,253,0.10); color: var(--theme); place-items: center; }

@media (max-width: 991px) {
  .nav-toggle { display: grid; }
  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 100px 28px 32px;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
    z-index: 1000;
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: none; }
  .nav-menu .nav-link { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border-2); }
  .nav-backdrop {
    position: fixed; inset: 0;
    background: rgba(20, 16, 40, 0.45);
    opacity: 0; visibility: hidden;
    transition: 0.3s;
    z-index: 998;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .nav-close { position: absolute; top: 26px; right: 22px; color: var(--title); }
}

/* ---- floating decorative shapes -------------------------------------- */

.shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.shape-ring {
  border: 1.5px dashed rgba(116, 68, 253, 0.28);
  background: transparent;
}
.shape-blob {
  background: radial-gradient(circle at 30% 30%, rgba(116,68,253,0.22), rgba(116,68,253,0.04));
  filter: blur(2px);
}
.shape-dot { background: var(--theme); opacity: 0.5; }

/* ---- hero ------------------------------------------------------------ */

.hero {
  position: relative;
  padding: 160px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(116,68,253,0.13), transparent 60%),
    radial-gradient(700px 480px at 5% 110%, rgba(116,68,253,0.10), transparent 60%),
    var(--white);
}
.hero h1 { max-width: 620px; }
.hero h1 .accent { color: var(--theme); }
.hero-sub { font-size: 17px; max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.hero-meta-item strong { display: block; font-size: 26px; color: var(--title); font-weight: 700; line-height: 1.1; }
.hero-meta-item span { font-size: 14px; color: var(--text); }

/* the booking mock */
.hero-mock {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: 0 26px 60px rgba(40, 28, 90, 0.10);
  padding: 22px;
  z-index: 2;
}
.hero-mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-mock-title { font-size: 16px; font-weight: 700; color: var(--title); }
.hero-mock-dots { display: flex; gap: 5px; }
.hero-mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-3); display: block; }
.hero-mock-dots i:first-child { background: var(--theme); }

.mock-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.mock-day {
  aspect-ratio: 1;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 600;
  background: var(--theme3);
  color: var(--text);
}
.mock-day.is-open { background: rgba(116,68,253,0.14); color: var(--theme); }
.mock-day.is-active { background: var(--theme); color: var(--white); }
.mock-day.is-full { background: #F3F3F3; color: var(--text2); text-decoration: line-through; }

.mock-rows { margin-top: 16px; display: grid; gap: 8px; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--title);
}
.mock-row.is-picked { border-color: var(--theme); background: rgba(116,68,253,0.06); }
.mock-row .seats { font-size: 12px; font-weight: 600; color: var(--theme); }
.mock-row .locked { font-size: 12px; font-weight: 600; color: var(--text2); }

.hero-float {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 16px;
  box-shadow: 0 16px 36px rgba(40, 28, 90, 0.12);
  display: flex; align-items: center; gap: 11px;
  z-index: 3;
}
.hero-float strong { display: block; font-size: 14px; color: var(--title); line-height: 1.2; }
.hero-float span { font-size: 12px; color: var(--text); }
.hero-float-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
.hero-float-1 { top: 8%; left: -6%; }
.hero-float-2 { bottom: 10%; right: -4%; }

@media (max-width: 1199px) { .hero-float-1 { left: 0; } .hero-float-2 { right: 0; } }
@media (max-width: 991px) {
  .hero { padding: 130px 0 70px; }
  .hero-mock { margin-top: 48px; }
  .hero-float { display: none; }
}

/* ---- marquee --------------------------------------------------------- */

.marquee { overflow: hidden; border-block: 1px solid var(--border); padding: 22px 0; background: var(--white); }
.marquee-track { display: flex; width: max-content; animation: marqueeLeft 32s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 30px;
  font-size: 16px; font-weight: 600; color: var(--text);
  white-space: nowrap;
}
.marquee-track span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--theme); opacity: 0.5; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---- info cards ------------------------------------------------------ */

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 28px;
  height: 100%;
  transition: 0.3s ease-in-out;
}
.info-card:hover { border-color: rgba(116,68,253,0.35); box-shadow: 0 18px 42px rgba(47,30,91,0.09); transform: translateY(-5px); }
.info-card h4 { margin-bottom: 10px; }
.info-card p { font-size: 15px; }

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  background: rgba(116, 68, 253, 0.12);
  color: var(--theme);
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: 0.3s;
}
.info-card:hover .feature-icon { background: var(--theme); color: var(--white); transform: scale(1.05) rotate(-3deg); }

/* ---- about / checklist ----------------------------------------------- */

.about-list { display: grid; gap: 14px; margin: 26px 0 32px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--title); font-size: 16px; font-weight: 500; }
.about-list .check {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(116,68,253,0.12);
  color: var(--theme);
  display: grid; place-items: center;
  transition: 0.3s;
}
.about-list li:hover .check { background: var(--theme); color: var(--white); }

.about-visual {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(150deg, #F3EEFF 0%, #FAF8FF 60%, #FFFFFF 100%);
  border: 1px solid var(--border);
  padding: 30px;
}
.about-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}
.about-stat strong { display: block; font-size: 28px; color: var(--title); font-weight: 700; line-height: 1.1; }
.about-stat span { font-size: 13px; color: var(--text); }

/* ---- process steps --------------------------------------------------- */

.process-rail { position: relative; }
.process-rail::before {
  content: '';
  position: absolute;
  top: 26px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--theme), rgba(116,68,253,0.18));
}
@media (max-width: 991px) { .process-rail::before { display: none; } }

.process-step { text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--theme);
  color: var(--theme);
  font-size: 18px; font-weight: 700;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  transition: 0.3s;
}
.process-step:hover .process-num { background: var(--theme); color: var(--white); }
.process-step h5 { margin-bottom: 8px; }
.process-step p { font-size: 15px; max-width: 300px; margin: 0 auto; }

/* ---- session (upcoming test date) cards ------------------------------ */

.session-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 22px;
  transition: 0.3s;
  height: 100%;
}
.session-card:hover { border-color: rgba(116,68,253,0.4); box-shadow: 0 14px 34px rgba(47,30,91,0.08); }
.session-date {
  flex: 0 0 auto;
  width: 68px;
  border-radius: 14px;
  background: rgba(116,68,253,0.10);
  color: var(--theme);
  text-align: center;
  padding: 10px 0;
}
.session-date strong { display: block; font-size: 24px; font-weight: 700; line-height: 1.1; }
.session-date span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.session-body h6 { color: var(--title); margin-bottom: 4px; }
.session-body p { font-size: 14px; margin: 0; }
.session-seats { margin-left: auto; text-align: right; flex: 0 0 auto; }
.session-seats strong { display: block; font-size: 18px; color: var(--title); font-weight: 700; }
.session-seats span { font-size: 12px; color: var(--text); }

/* ---- pricing / fee --------------------------------------------------- */

.fee-card {
  background: var(--theme3);
  border-radius: var(--r-counter);
  padding: var(--pad-pricing);
  height: 100%;
}
.fee-card.is-featured { background: var(--theme); }
.fee-card.is-featured h4, .fee-card.is-featured .pricing-price { color: var(--white); }
.fee-card.is-featured p, .fee-card.is-featured .pricing-period, .fee-card.is-featured li { color: rgba(255,255,255,0.9); }
.fee-card.is-featured .fee-check { background: rgba(255,255,255,0.2); color: var(--white); }
.fee-header { padding-bottom: 26px; border-bottom: 1px dashed var(--border-3); margin-bottom: 24px; }
.fee-card.is-featured .fee-header { border-color: rgba(255,255,255,0.3); }
.pricing-price { font-size: 44px; font-weight: 700; color: var(--title); line-height: 1.05; }
.pricing-period { font-size: 15px; color: var(--text); }
.fee-list { display: grid; gap: 13px; }
.fee-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--title); font-size: 15px; }
.fee-check {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(116,68,253,0.14);
  color: var(--theme);
  display: grid; place-items: center;
}

/* ---- testimonials ---------------------------------------------------- */

.testimonial-card {
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--r-card);
  padding: 30px;
  height: 100%;
  position: relative;
  backdrop-filter: blur(8px);
}
.testimonial-quote { position: absolute; top: 22px; right: 26px; color: var(--theme); opacity: 0.12; }
.testimonial-card p { font-size: 15px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--theme);
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 700;
  flex: 0 0 auto;
}
.stars { display: flex; gap: 3px; color: #F5A524; }

/* ---- footer ---------------------------------------------------------- */

.footer-wrapper { background: #EFEFEF; padding: 80px 0 44px; }
.footer-title { font-size: 20px; font-weight: 600; color: var(--title); margin-bottom: 20px; }
.footer-link { color: var(--text); font-size: 15px; display: block; margin-bottom: 11px; }
.footer-link:hover { color: var(--theme); }
.copyright { color: var(--text); font-size: 14px; }
.footer-bottom { border-top: 1px solid var(--border-4); }

/* ---- page hero (inner pages) ----------------------------------------- */

.page-hero {
  padding: 140px 0 56px;
  background:
    radial-gradient(700px 400px at 90% -20%, rgba(116,68,253,0.12), transparent 60%),
    var(--theme3);
  position: relative;
  overflow: hidden;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }
.page-hero p { max-width: 620px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--theme); }

/* ---- steps progress (register → slot → pay) -------------------------- */

.flow-steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.flow-step { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--text2); }
.flow-step i {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-style: normal; font-size: 13px;
}
.flow-step.is-done { color: var(--theme); }
.flow-step.is-done i { background: rgba(116,68,253,0.12); border-color: transparent; color: var(--theme); }
.flow-step.is-current { color: var(--title); }
.flow-step.is-current i { background: var(--theme); border-color: var(--theme); color: var(--white); }
.flow-sep { width: 26px; height: 1px; background: var(--border-3); }

/* ---- panels and forms ------------------------------------------------ */

.panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px;
}
.panel-tint { background: var(--theme3); border-color: transparent; }
.panel-head { margin-bottom: 24px; }
.panel-head h4 { margin-bottom: 6px; }
.panel-head p { font-size: 15px; margin: 0; }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--title); margin-bottom: 8px; }
.field label .req { color: var(--danger); }
.field .hint { font-size: 13px; color: var(--text); margin-top: 6px; }

.input, .select, .textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--title);
  font-size: 15px;
  transition: 0.25s;
}
.input::placeholder, .textarea::placeholder { color: var(--text2); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--theme);
  box-shadow: 0 0 0 4px rgba(116, 68, 253, 0.12);
}
.textarea { min-height: 110px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23858585' stroke-width='2.5' 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 16px center;
  padding-right: 42px;
}
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.error-text { display: block; font-size: 13px; color: var(--danger); margin-top: 6px; font-weight: 500; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.check-row input { margin-top: 3px; accent-color: var(--theme); width: 16px; height: 16px; }

/* ---- alerts ---------------------------------------------------------- */

.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 18px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 24px;
}
.alert-success { background: var(--ok-soft); color: #14532D; }
.alert-warning { background: var(--warn-soft); color: #7C2D12; }
.alert-danger  { background: var(--danger-soft); color: #7F1D1D; }
.alert-info    { background: var(--info-soft); color: #3C1D8C; }
.alert svg { flex: 0 0 auto; margin-top: 2px; }
.alert ul { margin: 6px 0 0 0; }
.alert li { list-style: disc; margin-left: 18px; }

/* ---- calendar (public booking) --------------------------------------- */

.calendar { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.calendar-title { font-size: 18px; font-weight: 700; color: var(--title); }
.calendar-nav { display: flex; gap: 8px; }
.calendar-nav a, .calendar-nav span {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(116,68,253,0.12);
  color: var(--theme);
  transition: 0.3s;
}
.calendar-nav a:hover { background: var(--theme); color: var(--white); }
.calendar-nav span { opacity: 0.35; pointer-events: none; }

.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.calendar-dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--text); padding-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

.calendar-day {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--theme3);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  font-size: 14px; font-weight: 600;
  color: var(--text);
  transition: 0.25s;
  min-height: 52px;
}
.calendar-day.is-muted { background: transparent; color: var(--text2); }
.calendar-day.is-past  { background: transparent; color: var(--text2); }
.calendar-day.is-open {
  background: rgba(116, 68, 253, 0.10);
  color: var(--theme);
  border-color: rgba(116, 68, 253, 0.22);
  cursor: pointer;
}
.calendar-day.is-open:hover { background: rgba(116, 68, 253, 0.2); }
.calendar-day.is-selected { background: var(--theme); color: var(--white); border-color: var(--theme); }
.calendar-day.is-full { background: #F4F4F5; color: var(--text2); cursor: not-allowed; }
.calendar-day.is-full::after {
  content: '';
  position: absolute;
  left: 22%; right: 22%; top: 50%;
  height: 1px; background: var(--text2);
}
.calendar-day small { font-size: 10px; font-weight: 600; letter-spacing: 0.02em; }
.calendar-day.is-today { box-shadow: inset 0 0 0 2px rgba(116,68,253,0.45); }

.calendar-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; font-size: 13px; color: var(--text); }
.calendar-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
.legend-open { background: rgba(116, 68, 253, 0.25); }
.legend-full { background: #E4E4E7; }
.legend-sel  { background: var(--theme); }

/* ---- slot picker ----------------------------------------------------- */

.slot-list { display: grid; gap: 12px; }
.slot-option { position: relative; }
.slot-option input { position: absolute; opacity: 0; pointer-events: none; }
.slot-option label {
  display: flex; align-items: center; gap: 16px;
  padding: 17px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: 0.25s;
  background: var(--white);
}
.slot-option label:hover { border-color: rgba(116,68,253,0.45); }
.slot-option input:checked + label {
  border-color: var(--theme);
  background: rgba(116, 68, 253, 0.06);
  box-shadow: 0 0 0 3px rgba(116, 68, 253, 0.10);
}
.slot-option input:focus-visible + label { outline: 2px solid var(--theme); outline-offset: 2px; }
.slot-radio {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-3);
  flex: 0 0 auto;
  display: grid; place-items: center;
  transition: 0.25s;
}
.slot-option input:checked + label .slot-radio { border-color: var(--theme); }
.slot-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--theme); transform: scale(0); transition: 0.2s; }
.slot-option input:checked + label .slot-radio::after { transform: scale(1); }
.slot-time { font-size: 16px; font-weight: 700; color: var(--title); }
.slot-label { font-size: 13px; color: var(--text); }
.slot-seats { margin-left: auto; text-align: right; }
.slot-seats strong { display: block; font-size: 15px; color: var(--theme); font-weight: 700; }
.slot-seats span { font-size: 12px; color: var(--text); }

.slot-option.is-locked label { background: #FAFAFA; border-style: dashed; cursor: not-allowed; opacity: 0.75; }
.slot-option.is-locked .slot-seats strong { color: var(--text2); }

/* ---- summary / status ------------------------------------------------ */

.summary-list { display: grid; gap: 0; }
.summary-list li {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-2);
  font-size: 15px;
}
.summary-list li:last-child { border-bottom: none; }
.summary-list span { color: var(--text); }
.summary-list strong { color: var(--title); font-weight: 600; text-align: right; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.pill-theme   { background: rgba(116,68,253,0.14); color: var(--theme); }
.pill-success { background: var(--ok-soft);     color: #15803D; }
.pill-warning { background: var(--warn-soft);   color: var(--warn); }
.pill-danger  { background: var(--danger-soft); color: var(--danger); }
.pill-muted   { background: #F1F1F4;            color: var(--text); }

/* ---- status timeline ------------------------------------------------- */

.timeline { display: grid; gap: 0; }
.timeline-item { display: flex; gap: 18px; position: relative; padding-bottom: 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 15px; top: 34px; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.timeline-item.is-done::before { background: rgba(116,68,253,0.4); }
.timeline-dot {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text2);
  display: grid; place-items: center;
  position: relative; z-index: 1;
}
.timeline-item.is-done .timeline-dot { background: var(--theme); border-color: var(--theme); color: var(--white); }
.timeline-body h6 { color: var(--title); margin-bottom: 3px; }
.timeline-body p { font-size: 14px; margin: 0; }

.progress-track { height: 8px; border-radius: 999px; background: var(--border-2); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 999px; background: var(--theme); transition: width 0.9s cubic-bezier(0.22,1,0.36,1); }

/* ---- misc ------------------------------------------------------------ */

.empty-state { text-align: center; padding: 48px 20px; }
.empty-state-icon {
  width: 62px; height: 62px;
  border-radius: 20px;
  background: rgba(116,68,253,0.10);
  color: var(--theme);
  display: grid; place-items: center;
  margin: 0 auto 18px;
}
.empty-state h5 { margin-bottom: 8px; }
.empty-state p { font-size: 15px; max-width: 420px; margin: 0 auto; }

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(140%);
  z-index: 990;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 16px 40px rgba(70, 40, 170, 0.30);
}
.sticky-cta.is-visible { transform: translateX(-50%) translateY(0); }
@media (min-width: 992px) { .sticky-cta { display: none; } }

.ref-code {
  font-family: var(--font-alt);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--theme);
  background: rgba(116,68,253,0.10);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 14px;
  display: inline-block;
}

.divider { height: 1px; background: var(--border-2); margin: 24px 0; }
