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

/* ═══ DESIGN TOKENS ═══ */
:root {
  /* — Lavender (primary interactive) — */
  --lavender-50:  #F5F3FF;
  --lavender-100: #EDE9FE;
  --lavender-200: #DDD6FE;
  --lavender-400: #A78BFA;
  --lavender-500: #8B5CF6;

  /* — Sage (CTA / trust / clinic default) — */
  --sage-50:  #F6F7F5;
  --sage-100: #EAEDE7;
  --sage-200: #D5DBD0;
  --sage-300: #B4BFA9;
  --sage-500: #7A8B6F;
  --sage-700: #4A5742;
  --sage-800: #3A4534;
  --sage-900: #2D3529;

  /* — Rose (alerts / destructive) — */
  --rose-50:  #FFF1F2;
  --rose-100: #FFE4E6;
  --rose-200: #FECDD3;
  --rose-400: #FB7185;
  --rose-500: #F43F5E;
  --rose-600: #E11D48;

  /* — Sky (informational) — */
  --sky-50:  #F0F9FF;
  --sky-100: #E0F2FE;
  --sky-200: #BAE6FD;

  /* — Peach (warnings) — */
  --peach-50:  #FFF7ED;
  --peach-100: #FFEDD5;
  --peach-200: #FED7AA;
  --peach-400: #FB923C;

  /* — Ink (neutrals) — */
  --ink-900: #1A1A2E;
  --ink-700: #2D2D44;
  --ink-500: #5A5A78;
  --ink-400: #8888A4;
  --ink-300: #B0B0C4;
  --ink-200: #D4D4E0;
  --ink-100: #EDEDF4;
  --ink-50:  #F7F7FB;

  /* — Surface — */
  --cream: #FEFCF9;
  --white: #FFFFFF;

  /* — Typography — */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* — Radius — */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* — Shadows — */
  --shadow-soft:     0 1px 3px rgba(26, 26, 46, 0.04), 0 4px 12px rgba(26, 26, 46, 0.03);
  --shadow-card:     0 1px 2px rgba(26, 26, 46, 0.04), 0 8px 24px rgba(26, 26, 46, 0.06);
  --shadow-elevated: 0 4px 6px rgba(26, 26, 46, 0.03), 0 16px 40px rgba(26, 26, 46, 0.08);
}

/* ═══ BASE ═══ */
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink-700);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6;
}

/* ═══ AMBIENT BACKGROUND ═══ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, var(--lavender-50) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 100%, var(--rose-50) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 50% 50%, var(--sky-50) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ═══ CLINIC HEADER ═══ */
.clinic-header {
  position: relative;
  z-index: 1;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.clinic-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sage-500), var(--sage-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(74, 87, 66, 0.2);
  overflow: hidden;
}

/* Image variant — expands to natural aspect ratio (rectangular logos) */
.clinic-logo--image {
  width: auto;
  min-width: 42px;
  max-width: 140px;
  background: transparent;
  box-shadow: none;
  border-radius: 8px;
  padding: 2px;
}

.clinic-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clinic-logo--image img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.clinic-info h1 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.clinic-info p {
  font-size: 12.5px;
  color: var(--ink-400);
  font-weight: 500;
  margin-top: 1px;
}

.header-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--sage-700);
  background: var(--sage-50);
  border: 1px solid var(--sage-200);
  padding: 5px 10px;
  border-radius: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.header-badge svg {
  width: 13px;
  height: 13px;
}

/* ═══ MAIN CONTAINER ═══ */
.connect-main {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px 100px;
}

/* ═══ HERO SECTION ═══ */
.connect-hero {
  text-align: center;
  margin-bottom: 32px;
}

.connect-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--lavender-100), var(--lavender-50));
  border: 1px solid var(--lavender-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.08);
}

.connect-hero-icon svg {
  width: 28px;
  height: 28px;
  color: var(--lavender-500);
}

.connect-hero h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.connect-hero p {
  font-size: 14px;
  color: var(--ink-400);
  max-width: 400px;
  margin: 0 auto;
}

.connect-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-400);
}

.connect-hero-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.connect-hero-meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-300);
}

/* ═══ CONTENT CARD ═══ */
.content-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 24px;
}

.content-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--ink-50);
  border-bottom: 1px solid var(--ink-100);
}

.content-card-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.content-card-topbar-left svg {
  width: 15px;
  height: 15px;
  opacity: 0.5;
}

.content-card-body {
  padding: 28px 24px;
}

/* ═══ CTA BUTTON ═══ */
.cta-btn {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: -0.01em;
  background: var(--ink-200);
  color: var(--ink-400);
  pointer-events: none;
}

.cta-btn.ready {
  background: linear-gradient(145deg, var(--sage-500), var(--sage-700));
  color: white;
  pointer-events: all;
  box-shadow: 0 4px 16px rgba(74, 87, 66, 0.25), 0 1px 3px rgba(74, 87, 66, 0.1);
}

.cta-btn.ready:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(74, 87, 66, 0.3), 0 2px 6px rgba(74, 87, 66, 0.15);
}

.cta-btn.ready:active {
  transform: translateY(0);
}

.cta-btn svg {
  width: 18px;
  height: 18px;
}

/* ═══ LEGAL NOTE ═══ */
.legal-note {
  text-align: center;
  font-size: 11.5px;
  color: var(--ink-300);
  margin-top: 14px;
  line-height: 1.5;
}

.legal-note a {
  color: var(--lavender-500);
  text-decoration: none;
  font-weight: 600;
}

/* ═══ FOOTER ═══ */
.connect-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 20px 32px;
  font-size: 11.5px;
  color: var(--ink-300);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.connect-footer svg {
  width: 14px;
  height: 14px;
  opacity: 0.4;
}

.connect-footer a {
  color: var(--ink-400);
  text-decoration: none;
  font-weight: 600;
}

/* ═══ SUCCESS OVERLAY ═══ */
.success-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(254, 252, 249, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  animation: fadeIn 0.4s ease;
}

.success-overlay.visible {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--sage-100), var(--sage-50));
  border: 1px solid var(--sage-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-icon svg {
  width: 36px;
  height: 36px;
  color: var(--sage-700);
}

.success-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 8px;
  animation: slideUp 0.5s ease 0.3s both;
  letter-spacing: -0.02em;
}

@keyframes slideUp {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.success-sub {
  font-size: 14px;
  color: var(--ink-400);
  text-align: center;
  max-width: 320px;
  animation: slideUp 0.5s ease 0.4s both;
  line-height: 1.6;
}

.success-details {
  margin-top: 24px;
  padding: 16px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-soft);
  animation: slideUp 0.5s ease 0.5s both;
  font-size: 13px;
  color: var(--ink-500);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.success-details strong {
  color: var(--ink-700);
}

/* ═══ CHECKBOX ITEMS ═══ */
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--ink-100);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.check-item:hover {
  border-color: var(--lavender-200);
  background: var(--lavender-50);
}

.check-item.checked {
  border-color: var(--lavender-400);
  background: var(--lavender-50);
}

.check-box {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--ink-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.2s ease;
}

.check-item.checked .check-box {
  background: var(--lavender-500);
  border-color: var(--lavender-500);
}

.check-box svg {
  width: 13px;
  height: 13px;
  color: white;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.check-item.checked .check-box svg {
  opacity: 1;
  transform: scale(1);
}

.check-label {
  font-size: 13.5px;
  color: var(--ink-700);
  line-height: 1.5;
  font-weight: 500;
}

.check-label strong {
  font-weight: 700;
  color: var(--ink-900);
}

/* ═══ DOCUMENT CARD SPECIFICS ═══ */
.document-body {
  padding: 28px 24px;
  max-height: 380px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.document-body::-webkit-scrollbar {
  width: 5px;
}

.document-body::-webkit-scrollbar-track {
  background: transparent;
}

.document-body::-webkit-scrollbar-thumb {
  background: var(--ink-200);
  border-radius: 10px;
}

.document-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.document-body h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-700);
  margin-top: 20px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.document-body h4 .section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--lavender-100);
  color: var(--lavender-500);
  font-size: 11px;
  font-weight: 700;
}

.document-body p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-500);
  margin-bottom: 10px;
}

.document-body ul {
  padding-left: 0;
  list-style: none;
  margin-bottom: 12px;
}

.document-body ul li {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-500);
  padding-left: 20px;
  position: relative;
  margin-bottom: 4px;
}

.document-body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lavender-200);
}

.document-progress {
  padding: 12px 20px;
  border-top: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-bar {
  flex: 1;
  height: 3px;
  background: var(--ink-100);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--lavender-400), var(--lavender-500));
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 11px;
  color: var(--ink-300);
  font-weight: 600;
  white-space: nowrap;
}

.scroll-hint {
  font-size: 11px;
  color: var(--ink-300);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.scroll-hint svg {
  width: 13px;
  height: 13px;
  animation: bounceDown 2s ease infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* ═══ SIGNATORY NAME INPUT ═══ */
.sig-name-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--ink-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-900);
  background: var(--ink-50);
  outline: none;
  transition: all 0.2s ease;
}

.sig-name-input::placeholder {
  color: var(--ink-300);
}

.sig-name-input:focus {
  border-color: var(--lavender-400);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.08);
}

/* ═══ SIGNATURE SECTION ═══ */
.signature-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: 24px;
}

.signature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--ink-100);
}

.signature-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-700);
}

.signature-header-left svg {
  width: 16px;
  height: 16px;
  color: var(--lavender-500);
}

.sig-clear {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-400);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.sig-clear:hover {
  color: var(--rose-500);
  background: var(--rose-50);
}

.sig-tabs {
  display: flex;
  gap: 6px;
  padding: 12px 20px 0;
}

.sig-tab {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-400);
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sig-tab:hover {
  background: var(--ink-50);
  color: var(--ink-700);
}

.sig-tab.active {
  background: var(--lavender-100);
  color: var(--lavender-500);
}

.signature-pad-container {
  padding: 16px 20px 20px;
  position: relative;
}

.sig-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.sig-placeholder.hidden {
  opacity: 0;
}

.sig-placeholder svg {
  width: 24px;
  height: 24px;
  color: var(--ink-300);
}

.sig-placeholder span {
  font-size: 12.5px;
  color: var(--ink-300);
  font-weight: 500;
}

.typed-sig-container {
  padding: 16px 20px 20px;
  display: none;
}

.typed-sig-container.active {
  display: block;
}

.typed-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--ink-200);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-900);
  background: var(--ink-50);
  outline: none;
  transition: all 0.2s ease;
}

.typed-input::placeholder {
  color: var(--ink-300);
  font-style: italic;
}

.typed-input:focus {
  border-color: var(--lavender-400);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.08);
}

.typed-preview {
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-900);
  text-align: center;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.02em;
}

/* ═══ APPOINTMENT DETAILS ═══ */
.appt-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.appt-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.appt-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lavender-50);
  border: 1px solid var(--lavender-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.appt-detail-icon svg {
  width: 18px;
  height: 18px;
  color: var(--lavender-500);
}

.appt-detail-content {
  flex: 1;
  min-width: 0;
}

.appt-detail-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.appt-detail-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.4;
}

.appt-detail-sub {
  font-size: 13px;
  color: var(--ink-400);
  margin-top: 1px;
}

.appt-notes {
  margin-top: 20px;
  padding: 14px 16px;
  background: var(--peach-50);
  border: 1px solid var(--peach-200);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-500);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.appt-notes svg {
  color: var(--peach-400);
}

/* ═══ APPOINTMENT ACTIONS ═══ */
.appt-actions {
  margin-bottom: 16px;
}

.cta-btn-secondary {
  width: 100%;
  padding: 14px 24px;
  border: 2px solid var(--ink-200);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  color: var(--ink-500);
}

.cta-btn-secondary:hover {
  border-color: var(--rose-200);
  color: var(--rose-500);
  background: var(--rose-50);
}

.cta-btn-secondary svg {
  width: 16px;
  height: 16px;
}

.appt-reschedule-link {
  text-align: center;
  margin-top: 16px;
}

.appt-reschedule-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lavender-500);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.appt-reschedule-link a:hover {
  background: var(--lavender-50);
}

/* ═══ ICAL BANNER ═══ */
.ical-banner {
  margin-bottom: 24px;
}

.ical-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--lavender-500) 0%, var(--lavender-600, #7C3AED) 100%);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

.ical-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
  color: white;
}

.ical-btn:active {
  transform: translateY(0);
}

/* ═══ DIRECTIONS LINK ═══ */
.directions-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: none;
  transition: all 0.15s ease;
}

.directions-link:hover {
  border-color: var(--lavender-200);
  background: var(--lavender-50);
  color: var(--lavender-500);
}

/* ═══ CHECKLIST ═══ */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-700);
  font-weight: 500;
}

.checklist li svg {
  width: 16px;
  height: 16px;
  color: var(--sage-500);
  flex-shrink: 0;
}

/* ═══ DONE PAGE ═══ */
.done-hero {
  text-align: center;
  margin-bottom: 32px;
  padding-top: 8px;
}

.done-icon {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.done-icon svg {
  width: 36px;
  height: 36px;
}

.done-icon--success {
  background: linear-gradient(145deg, var(--sage-100), var(--sage-50));
  border: 1px solid var(--sage-200);
}

.done-icon--success svg {
  color: var(--sage-700);
}

.done-icon--neutral {
  background: linear-gradient(145deg, var(--ink-100), var(--ink-50));
  border: 1px solid var(--ink-200);
}

.done-icon--neutral svg {
  color: var(--ink-500);
}

.done-icon--warning {
  background: linear-gradient(145deg, var(--peach-100), var(--peach-50));
  border: 1px solid var(--peach-200);
}

.done-icon--warning svg {
  color: var(--peach-400);
}

.done-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.done-sub {
  font-size: 14px;
  color: var(--ink-400);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.6;
}

.done-sub strong {
  color: var(--ink-700);
  font-weight: 600;
}

.done-details-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.done-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink-100);
}

.done-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.done-detail-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-400);
}

.done-detail-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}

/* ═══ DONE CONTACT ═══ */
.done-contact {
  text-align: center;
  margin-bottom: 24px;
}

.done-contact p {
  font-size: 13px;
  color: var(--ink-400);
  margin-bottom: 12px;
}

.done-contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  font-size: 16px;
  font-weight: 700;
  color: var(--sage-700);
  text-decoration: none;
  transition: all 0.2s ease;
}

.done-contact-phone:hover {
  border-color: var(--sage-200);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.done-contact-phone svg {
  color: var(--sage-500);
}

/* ═══ EXPIRED PAGE ═══ */
.reason-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reason-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.reason-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reason-icon svg {
  width: 16px;
  height: 16px;
  color: var(--ink-400);
}

.reason-list li div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.reason-list li strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}

.reason-list li span {
  font-size: 13px;
  color: var(--ink-400);
  line-height: 1.5;
}

.expired-address {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 16px;
  background: var(--ink-50);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-500);
}

/* ═══ BLAZOR OVERRIDES ═══ */
.blazor-error-boundary {
  background: var(--rose-50);
  padding: 1rem;
  color: var(--rose-600);
  border: 1px solid var(--rose-200);
  border-radius: var(--radius-md);
}

.blazor-error-boundary::after {
  content: "Παρουσιάστηκε σφάλμα.";
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 480px) {
  .connect-hero h2 { font-size: 22px; }
  .done-title { font-size: 22px; }
  .document-body { max-height: 300px; padding: 20px 16px; }
  .connect-hero-meta { flex-wrap: wrap; gap: 8px; }
  .header-badge { display: none; }
  .done-detail-item { flex-direction: column; align-items: flex-start; gap: 2px; }
}
