@font-face {
  font-family: "Vazirmatn RD";
  src: url("fonts/vazirmatn-rd/Vazirmatn-RD[wght].woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.lb-booking-app {
  max-width: 1080px;
  margin: 0 auto;
  color: #111827;
  direction: rtl;
  font-family: "Vazirmatn RD", Vazirmatn, Vazir, Tahoma, Arial, sans-serif;
}

.lb-booking-app * {
  box-sizing: border-box;
}

.lb-booking-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  background:
    radial-gradient(circle at 12% 8%, rgba(109, 40, 217, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.10);
}

.lb-booking-head {
  display: grid;
  gap: 8px;
  padding: 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0f5bd7, #6d28d9);
  color: #ffffff;
}

.lb-booking-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.35;
  font-weight: 900;
}

.lb-booking-head p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.9;
}

.lb-booking-kicker {
  color: #dbeafe;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.lb-booking-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.lb-booking-summary {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(180deg, #081a38, #0f2f63);
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(8, 26, 56, 0.18);
}

.lb-booking-summary > strong {
  font-size: 18px;
}

.lb-booking-summary dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.lb-booking-summary dl div {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.lb-booking-summary dl .lb-payment-summary {
  border-color: rgba(134, 239, 172, .38);
  background: rgba(22, 163, 74, .16);
}

.lb-payment-summary dd {
  color: #dcfce7 !important;
  line-height: 1.8;
}

.lb-payment-summary small {
  color: #bbf7d0;
  font-size: 11px;
  line-height: 1.7;
}

.lb-booking-summary dt,
.lb-booking-summary dd,
.lb-booking-summary p {
  margin: 0;
}

.lb-booking-summary dt {
  color: #bcd3f6;
  font-size: 12px;
}

.lb-booking-summary dd {
  color: #ffffff;
  font-weight: 800;
  word-break: break-word;
}

.lb-booking-summary p {
  color: #bbf7d0;
  line-height: 1.8;
  font-size: 13px;
}

.lb-step-list {
  display: grid;
  gap: 14px;
}

.lb-step {
  padding: 18px;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.lb-step-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #0d2b66;
  font-size: 17px;
  line-height: 1.35;
}

.lb-step-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #0f5bd7;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.lb-choice-grid,
.lb-field-grid,
.lb-date-time {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lb-field-grid .lb-field--full {
  grid-column: 1 / -1;
}

.lb-choice-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid #d4e0f0;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.lb-choice-card input {
  accent-color: #0f5bd7;
}

.lb-choice-card span {
  color: #1f2937;
  font-weight: 800;
  line-height: 1.5;
}

.lb-choice-card:hover {
  transform: translateY(-1px);
  border-color: #0f5bd7;
  box-shadow: 0 10px 24px rgba(15, 91, 215, 0.10);
}

.lb-choice-card:has(input:checked) {
  border-color: #6d28d9;
  box-shadow: 0 0 0 1px #6d28d9;
}

.lb-input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid #cfd8e6;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-family: inherit;
}

.lb-input:focus {
  border-color: #0f5bd7;
  box-shadow: 0 0 0 3px rgba(15, 91, 215, 0.12);
  outline: none;
}

.lb-booking-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

.lb-button {
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(22, 163, 74, 0.22);
}

.lb-button:hover {
  background: #15803d;
}

.lb-booking-status {
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
}

.lb-booking-status[data-state="success"] {
  color: #047857;
}

.lb-booking-status[data-state="error"] {
  color: #b91c1c;
}

.lb-empty {
  padding: 18px;
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  background: #ffffff;
}

.lb-theme-beauty .lb-booking-head {
  background: linear-gradient(135deg, #be185d, #7e22ce);
}

.lb-theme-beauty .lb-step-title span,
.lb-theme-studio .lb-step-title span {
  background: #be185d;
}

.lb-theme-medical .lb-booking-head {
  background: linear-gradient(135deg, #047857, #0f766e);
}

.lb-theme-medical .lb-step-title span {
  background: #047857;
}

.lb-theme-legal .lb-booking-head,
.lb-theme-corporate .lb-booking-head {
  background: linear-gradient(135deg, #111827, #334155);
}

.lb-theme-education .lb-booking-head {
  background: linear-gradient(135deg, #0f5bd7, #0891b2);
}

.lb-theme-service .lb-booking-head,
.lb-theme-moving .lb-booking-head {
  background: linear-gradient(135deg, #c2410c, #7c2d12);
}

.lb-theme-fitness .lb-booking-head {
  background: linear-gradient(135deg, #16a34a, #0f766e);
}

.lb-theme-dark-premium {
  color: #f8fafc;
}

.lb-theme-dark-premium .lb-booking-form,
.lb-theme-dark-premium .lb-step,
.lb-theme-dark-premium .lb-choice-card,
.lb-theme-dark-premium .lb-input {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

.lb-theme-dark-premium .lb-choice-card span,
.lb-theme-dark-premium .lb-step-title {
  color: #f8fafc;
}

.lb-theme-dark-premium .lb-button {
  background: #22c55e;
}

.lb-theme-luxury {
  color: #f7e7b1;
}

.lb-theme-luxury .lb-booking-form,
.lb-theme-luxury .lb-step,
.lb-theme-luxury .lb-choice-card,
.lb-theme-luxury .lb-input {
  background: #111111;
  border-color: #9f7d32;
  color: #f7e7b1;
}

.lb-theme-luxury .lb-choice-card span,
.lb-theme-luxury .lb-step-title {
  color: #f7e7b1;
}

.lb-theme-luxury .lb-button {
  background: #d6b65d;
  color: #111111;
}

@media (max-width: 820px) {
  .lb-booking-form {
    padding: 16px;
  }

  .lb-booking-head h2 {
    font-size: 24px;
  }

  .lb-booking-shell,
  .lb-choice-grid,
  .lb-field-grid,
  .lb-date-time {
    grid-template-columns: 1fr;
  }

  .lb-booking-summary {
    position: static;
    order: 2;
  }

  .lb-booking-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .lb-button {
    width: 100%;
  }
}
/* Isolate the reservation summary from theme definition-list and list styles. */
.lb-booking-app .lb-booking-summary { padding:24px;gap:18px;text-align:right;line-height:1.9; }
.lb-booking-app .lb-booking-summary dl { margin:0;padding:0;list-style:none; }
.lb-booking-app .lb-booking-summary .lb-summary-row { padding:16px 18px;gap:7px;min-width:0;list-style:none; }
.lb-booking-app .lb-booking-summary :is(dt,dd,p,small) { padding:0;margin:0;text-align:right;list-style:none;text-indent:0; }
.lb-booking-app .lb-booking-summary :is(dt,dd)::before,.lb-booking-app .lb-booking-summary :is(dt,dd)::after { content:none; }
.lb-booking-app .lb-booking-summary dd { line-height:1.95;overflow-wrap:anywhere;font-size:13px; }
.lb-booking-app .lb-booking-summary .lb-summary-intro { color:inherit;opacity:.78; }
.lb-booking-app .lb-summary-privacy { padding:14px 16px!important;border:1px solid rgba(80,180,160,.3);border-radius:10px; }
.lb-booking-app .lb-booking-shell--wide { grid-template-columns:minmax(0,1fr); }
.lb-booking-app [hidden] { display:none!important; }
.lb-booking-app .lb-booking-status { white-space:pre-line; }
.lb-booking-app .lb-visually-hidden { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0);white-space:nowrap; }
.lb-booking-app .lb-slot-choices { display:flex;flex-wrap:wrap;gap:10px;align-content:start; }
.lb-booking-app .lb-slot-choices p { color:#6b7890;line-height:1.9; }
.lb-booking-app .lb-slot-button,.lb-booking-app .lb-calendar button { font:inherit;cursor:pointer;border:1px solid #dde6f1;border-radius:10px;background:#fff;color:#203650;padding:10px 12px;box-shadow:none;line-height:1.5; }
.lb-booking-app .lb-slot-button[aria-pressed=true],.lb-booking-app .lb-calendar button[aria-pressed=true] { background:#0c6b60;color:#fff;border-color:#0c6b60; }
.lb-booking-app .lb-calendar { min-width:0;background:#fff;border:1px solid #e0e7f1;padding:16px;border-radius:14px; }
.lb-booking-app .lb-calendar-heading { display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px; }
.lb-booking-app .lb-calendar-heading strong { font-size:14px;color:#203650; }
.lb-booking-app .lb-calendar-heading button { font-size:11px;padding:6px; }
.lb-booking-app .lb-calendar-grid { display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px; }
.lb-booking-app .lb-calendar-grid>span { text-align:center;color:#64748b;font-size:12px;padding-bottom:8px; }
.lb-booking-app .lb-calendar-grid button { padding:10px 2px;min-width:0;font-size:13px; }
.lb-booking-app .lb-calendar button:disabled { opacity:.32;cursor:default; }
.lb-booking-app .lb-calendar button.is-today { border-color:#0c8c77; }
.lb-booking-app .lb-date-time { align-items:start; }
.lb-booking-app .lb-date-time>input[type=date] { grid-column:1; }
.lb-booking-app .lb-date-time>.lb-slot-choices { grid-column:2;grid-row:1 / span 2; }
.lb-booking-app :is(button,input,select,textarea):focus-visible { outline:2px solid #0e7490;outline-offset:3px; }
.lb-booking-app button:disabled { cursor:wait; }
@media(max-width:640px) { .lb-booking-app .lb-date-time { grid-template-columns:minmax(0,1fr); } .lb-booking-app .lb-date-time>.lb-slot-choices { grid-column:1;grid-row:auto; } .lb-booking-app .lb-booking-summary { padding:18px; } }
.lb-booking-app .lb-preview-warning { padding:12px 16px;background:#fff5db;color:#795515;border:1px solid #efd79e;border-radius:8px;line-height:1.9;font-size:13px;margin:0; }
