:root {
  --qb-bg: #fffaf8;
  --qb-surface: rgba(255, 255, 255, 0.92);
  --qb-surface-strong: #ffffff;
  --qb-border: rgba(109, 89, 122, 0.12);
  --qb-border-strong: rgba(109, 89, 122, 0.2);
  --qb-text: #3c3147;
  --qb-muted: #7d7288;
  --qb-soft: #f6eef4;
  --qb-accent: #c56b8f;
  --qb-accent-strong: #a24d72;
  --qb-accent-soft: #f4dfe8;
  --qb-navy: #243049;
  --qb-success: #2f8f74;
  --qb-shadow: 0 20px 60px rgba(71, 49, 76, 0.08);
  --qb-shadow-soft: 0 10px 30px rgba(71, 49, 76, 0.06);
  --qb-radius-xl: 28px;
  --qb-radius-lg: 22px;
  --qb-radius-md: 18px;
  --qb-radius-sm: 14px;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: "Tajawal", sans-serif;
  color: var(--qb-text);
  background:
    radial-gradient(circle at top right, rgba(197, 107, 143, 0.14), transparent 22%),
    radial-gradient(circle at top left, rgba(36, 48, 73, 0.08), transparent 18%),
    linear-gradient(180deg, #fffdfc 0%, #fff8fb 45%, #f8f6fb 100%);
}

.booking-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.booking-header,
.booking-hero,
.flow-section,
.booking-footer,
.modal-content,
.qb-toast {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.booking-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 96px 18px 22px;
  margin-bottom: 22px;
  background: var(--qb-surface);
  border: 1px solid var(--qb-border);
  border-radius: var(--qb-radius-lg);
  box-shadow: var(--qb-shadow-soft);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 87px;
  height: 87px;
  object-fit: contain;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f9f3f7);
  padding: 8px;
  border: 1px solid rgba(197, 107, 143, 0.14);
  box-shadow: 0 8px 20px rgba(197, 107, 143, 0.12);
}

.brand-info {
  min-width: 0;
}

.brand-subtitle {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--qb-accent-strong);
}

.brand-title {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  color: var(--qb-navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  flex: 0 0 auto;
  margin: 0;
}

.progress-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--qb-border);
  border-radius: 999px;
}

.progress-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--qb-muted);
}

.progress-steps {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #d7d0da;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.step-dot.active,
.step-dot.completed {
  background: linear-gradient(135deg, var(--qb-accent), var(--qb-accent-strong));
  box-shadow: 0 0 0 4px rgba(197, 107, 143, 0.12);
}

.step-dot.active {
  transform: scale(1.15);
}

.btn-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  border: 0;
  border-radius: 18px;
  width: 52px;
  min-width: 52px;
  height: 52px;
  padding: 0;
  background: linear-gradient(135deg, var(--qb-navy), #354464);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(36, 48, 73, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-lang:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(36, 48, 73, 0.26);
  opacity: 0.98;
}

.btn-lang span {
  display: none;
}

.btn-lang i {
  margin: 0;
  font-size: 1.15rem;
}

.booking-hero {
  display: block;
  padding: 18px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 250, 0.96));
  border: 1px solid var(--qb-border);
  border-radius: var(--qb-radius-xl);
  box-shadow: var(--qb-shadow);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 18px 18px 18px 24px;
}

.hero-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--qb-accent-soft);
  color: var(--qb-accent-strong);
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--qb-navy);
}

.hero-desc {
  margin: 0;
  max-width: 40rem;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--qb-muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--qb-border);
  border-radius: var(--qb-radius-md);
}

.stat-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.2rem;
  color: var(--qb-accent-strong);
}

.stat-card span {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--qb-text);
}

.branch-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #fff8fb);
  border: 1px solid rgba(197, 107, 143, 0.18);
  border-radius: var(--qb-radius-md);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.branch-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--qb-accent-strong);
}

.branch-name {
  font-size: 1.05rem;
  color: var(--qb-navy);
}

.branch-address,
.branch-contact {
  font-size: 0.92rem;
  color: var(--qb-muted);
}

.hero-visual {
  min-width: 0;
  width: 100%;
}

.hero-image-card {
  position: relative;
  width: 100%;
  min-height: 560px;
  height: 560px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(197, 107, 143, 0.12);
  box-shadow: 0 24px 56px rgba(71, 49, 76, 0.12);
}

.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(270deg, rgba(20, 24, 38, 0.12), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.booking-flow {
  display: grid;
  gap: 18px;
}

.flow-section {
  padding: 22px;
  background: var(--qb-surface);
  border: 1px solid var(--qb-border);
  border-radius: var(--qb-radius-lg);
  box-shadow: var(--qb-shadow-soft);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(109, 89, 122, 0.08);
}

.section-header h3 {
  margin: 0 0 4px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 800;
  color: var(--qb-navy);
}

.section-header p {
  margin: 0;
  color: var(--qb-muted);
  line-height: 1.8;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--qb-accent-soft), #f7edf2);
  color: var(--qb-accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-group + .service-group {
  margin-top: 18px;
}

.service-group__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.service-group__eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--qb-accent-strong);
}

.service-group__header h5 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--qb-navy);
}

.service-group__count {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--qb-accent), var(--qb-accent-strong));
  color: #fff;
  font-weight: 800;
}

.service-card,
.staff-card {
  position: relative;
  height: 100%;
  padding: 18px;
  background: var(--qb-surface-strong);
  border: 1px solid var(--qb-border);
  border-radius: var(--qb-radius-md);
  box-shadow: 0 10px 26px rgba(71, 49, 76, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover,
.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(71, 49, 76, 0.1);
  border-color: rgba(197, 107, 143, 0.24);
}

.service-card.selected,
.staff-card.selected {
  border-color: rgba(197, 107, 143, 0.36);
  background: linear-gradient(180deg, #fff, #fff5f8);
  box-shadow: 0 18px 36px rgba(197, 107, 143, 0.14);
}

.service-card.selected::after,
.staff-card.selected::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #d9789c, #b94f77);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(185, 79, 119, 0.28);
}

.service-card__top {
  margin-bottom: 12px;
}

.service-card__image-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  margin-bottom: 14px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(180deg, #fcf7fa, #f5edf3);
  border: 4px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 30px rgba(71, 49, 76, 0.1);
}

.service-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card__image {
  transform: scale(1.03);
}

.service-card__top h5,
.staff-card h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--qb-navy);
}

.service-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--qb-soft);
  color: var(--qb-accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
}

.service-card__desc {
  margin: 10px 0 0;
  color: var(--qb-muted);
  font-size: 0.9rem;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--qb-muted);
}

.service-card__meta strong {
  color: var(--qb-accent-strong);
  font-size: 1rem;
}

.staff-card {
  text-align: center;
  padding-top: 24px;
}

.staff-avatar {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border-radius: 999px;
  margin: 0 auto 18px;
  border: 5px solid #fff;
  box-shadow: 0 18px 34px rgba(71, 49, 76, 0.14);
}

.staff-card .email {
  font-size: 0.9rem;
  color: var(--qb-muted);
  word-break: break-word;
}

@media (max-width: 767.98px) {
  .staff-avatar {
    width: 96px;
    height: 96px;
  }
}

.datetime-container {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: 22px;
}

.date-picker-card,
.time-slots-card,
.customer-form-card {
  padding: 18px;
  background: linear-gradient(180deg, #fff, #fffcfd);
  border: 1px solid var(--qb-border);
  border-radius: var(--qb-radius-md);
}

.time-slots-card {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 460px;
  height: auto;
  min-height: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(197, 107, 143, 0.55) rgba(236, 225, 232, 0.75);
}

.time-slots-card::-webkit-scrollbar {
  width: 10px;
}

.time-slots-card::-webkit-scrollbar-track {
  background: rgba(236, 225, 232, 0.75);
  border-radius: 999px;
}

.time-slots-card::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(197, 107, 143, 0.9), rgba(151, 89, 138, 0.9));
  border-radius: 999px;
  border: 2px solid rgba(236, 225, 232, 0.75);
}

.time-slots-card::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(197, 107, 143, 1), rgba(151, 89, 138, 1));
}

.picker-header {
  margin-bottom: 14px;
}

.picker-header h5 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--qb-navy);
}

.picker-header p {
  margin: 0;
  color: var(--qb-muted);
}

.flatpickr-input {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.flatpickr-calendar.inline {
  width: 100%;
  box-shadow: none;
  border: 0;
  background: transparent;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover {
  background: linear-gradient(135deg, var(--qb-accent), var(--qb-accent-strong));
  border-color: var(--qb-accent-strong);
}

.time-slots-grid,
.slots-grid {
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  align-content: start;
  justify-items: stretch;
}

.time-slots-grid > *,
.slots-grid > * {
  width: 100%;
  min-width: 0;
}

.time-slot {
  width: 100%;
  min-height: 72px;
  padding: 14px 10px;
  border: 1px solid var(--qb-border);
  border-radius: 16px;
  background: #fff;
  color: var(--qb-text);
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(71, 49, 76, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  white-space: normal;
  word-break: keep-all;
}

.time-slot:hover {
  transform: translateY(-2px);
  border-color: rgba(197, 107, 143, 0.26);
}

.time-slot.selected {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--qb-accent), var(--qb-accent-strong));
  box-shadow: 0 14px 28px rgba(197, 107, 143, 0.22);
}

.empty-state,
.confirmation-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 22px;
  text-align: center;
  border: 1px dashed rgba(109, 89, 122, 0.2);
  border-radius: var(--qb-radius-md);
  background: linear-gradient(180deg, #fff, #fff8fb);
  color: var(--qb-muted);
}

.empty-state i,
.confirmation-placeholder i {
  margin-bottom: 10px;
  font-size: 1.8rem;
  color: var(--qb-accent);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group + .form-group,
.form-row + .form-group {
  margin-top: 16px;
}

.form-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--qb-navy);
}

.required {
  color: #d94c61;
}

.form-control {
  min-height: 52px;
  border: 1px solid var(--qb-border-strong);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--qb-text);
  background: #fff;
  box-shadow: none;
}

.form-control:focus {
  border-color: rgba(197, 107, 143, 0.35);
  box-shadow: 0 0 0 4px rgba(197, 107, 143, 0.1);
}

.invalid-feedback {
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #c4465e;
}

.iti {
  width: 100%;
}

.form-actions {
  margin-top: 20px;
}

.btn-submit,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-submit,
.btn-primary {
  background: linear-gradient(135deg, var(--qb-accent), var(--qb-accent-strong));
  color: #fff;
  box-shadow: 0 14px 28px rgba(197, 107, 143, 0.22);
}

.btn-secondary {
  background: #f3f1f6;
  color: var(--qb-navy);
  border: 1px solid var(--qb-border);
}

.btn-submit:hover,
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-submit.is-loading .btn-text {
  display: none;
}

.btn-submit.is-loading .btn-loader {
  display: inline-flex !important;
}

.booking-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  margin-top: 22px;
  background: var(--qb-surface);
  border: 1px solid var(--qb-border);
  border-radius: var(--qb-radius-lg);
  box-shadow: var(--qb-shadow-soft);
}

.footer-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 16px;
  border-radius: var(--qb-radius-md);
  background: linear-gradient(180deg, #fff, #fff8fb);
  border: 1px solid rgba(109, 89, 122, 0.08);
}

.footer-block span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--qb-muted);
}

.footer-block strong {
  color: var(--qb-navy);
  font-size: 0.98rem;
}

.footer-brand-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  display: block;
  margin-top: 6px;
  margin-inline: auto;
  padding: 8px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f9f3f7);
  border: 1px solid rgba(197, 107, 143, 0.14);
  box-shadow: 0 10px 24px rgba(197, 107, 143, 0.12);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #1d8f63;
  font-weight: 800;
}

.footer-whatsapp i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #c9f2df, #a8e7c8);
  color: #178a5e;
  font-size: 1.2rem;
  box-shadow: 0 10px 22px rgba(23, 138, 94, 0.14);
}

.footer-contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-map {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #a24d72;
  font-weight: 800;
}

.footer-map i {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f6d7e4, #efbdd1);
  color: #a24d72;
  font-size: 1.15rem;
  box-shadow: 0 10px 22px rgba(162, 77, 114, 0.14);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-link {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 22px rgba(71, 49, 76, 0.12);
}

.social-link:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.social-link--snapchat {
  background: linear-gradient(135deg, #d9789c, #c45f88);
}

.social-link--tiktok {
  background: linear-gradient(135deg, #243049, #39496d);
}

.social-link--messenger {
  background: linear-gradient(135deg, #cf84a2, #b5678a);
}

.social-link--facebook {
  background: linear-gradient(135deg, #7f90c5, #6175b3);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(24, 26, 38, 0.4);
}

.modal-content {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--qb-border);
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(33, 26, 36, 0.22);
}

.modal-close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #f5eff4;
  color: var(--qb-text);
}

.modal-header {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(109, 89, 122, 0.08);
}

.modal-header h3 {
  margin: 10px 0 6px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--qb-navy);
}

.modal-header p {
  margin: 0;
  color: var(--qb-muted);
}

.modal-badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--qb-accent-soft);
  color: var(--qb-accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(109, 89, 122, 0.08);
  color: var(--qb-muted);
}

.info-row strong {
  color: var(--qb-navy);
}

.toast-container {
  position: fixed;
  top: 18px;
  inset-inline-end: 18px;
  z-index: 1080;
  display: grid;
  gap: 10px;
}

.qb-toast {
  min-width: 280px;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--qb-border);
  border-radius: 18px;
  box-shadow: var(--qb-shadow-soft);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.qb-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.qb-toast__icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  flex: 0 0 auto;
}

.qb-toast--success .qb-toast__icon {
  background: rgba(47, 143, 116, 0.14);
  color: var(--qb-success);
}

.qb-toast--warning .qb-toast__icon {
  background: rgba(214, 160, 53, 0.14);
  color: #d6a035;
}

.qb-toast--danger .qb-toast__icon {
  background: rgba(196, 70, 94, 0.14);
  color: #c4465e;
}

.qb-toast__body {
  line-height: 1.7;
  color: var(--qb-text);
  white-space: pre-line;
}

.loading-skeleton {
  display: grid;
  gap: 14px;
}

.skeleton-group,
.skeleton-grid {
  display: grid;
  gap: 14px;
}

.skeleton-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skeleton-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skeleton-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #f6f1f4 0%, #fff 50%, #f6f1f4 100%);
  background-size: 200% 100%;
  animation: qb-shimmer 1.4s infinite linear;
  border-radius: 18px;
}

.skeleton-title {
  height: 22px;
  width: 180px;
}

.skeleton-card,
.skeleton-staff {
  height: 150px;
}

.skeleton-slot {
  height: 48px;
}

@keyframes qb-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 1100px) {
  .hero-image-card {
    min-height: 340px;
    height: 340px;
  }

  .datetime-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .booking-container {
    padding: 14px 12px 28px;
  }

  .booking-header,
  .booking-hero,
  .flow-section,
  .booking-footer,
  .modal-content {
    border-radius: 20px;
  }

  .booking-header,
  .section-header {
    align-items: flex-start;
  }

  .booking-header {
    padding: 18px 16px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .header-brand {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  .brand-info {
    width: 100%;
  }

  .brand-logo {
    width: 132px;
    height: 132px;
    padding: 10px;
    border-radius: 22px;
    margin: 0 auto;
  }

  .brand-title {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .brand-subtitle {
    margin-bottom: 8px;
    font-size: 0.9rem;
  }

  .header-actions,
  .progress-indicator {
    width: 100%;
  }

  .header-actions {
    justify-content: center;
    gap: 12px;
    flex-direction: row;
    align-items: center;
  }

  .progress-indicator {
    justify-content: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(249, 241, 246, 0.95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }

  .progress-label {
    font-size: 0.82rem;
  }

  .btn-lang {
    position: static;
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    flex: 0 0 48px;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(36, 48, 73, 0.18);
  }

  .btn-lang span {
    display: none;
  }

  .btn-lang i {
    margin: 0;
    font-size: 1.15rem;
  }

  .hero-content {
    padding: 4px 2px 0;
    gap: 14px;
    text-align: center;
    align-items: center;
  }

  .hero-content,
  .hero-visual,
  .services-container,
  .staff-container,
  .datetime-container,
  .date-picker-card,
  .time-slots-card,
  .customer-form-card,
  .confirmation-placeholder,
  .service-group,
  #servicesList,
  #staffList {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-badge,
  .branch-badge {
    margin-inline: auto;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.18;
    max-width: 11ch;
    margin-inline: auto;
  }

  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.9;
    max-width: 100%;
  }

  .branch-card {
    text-align: center;
    padding: 16px 14px;
  }

  .hero-stats,
  .booking-footer,
  .form-row,
  .skeleton-grid,
  .skeleton-grid.cols-3,
  .skeleton-grid.cols-4,
  .time-slots-grid,
  .slots-grid {
    width: 100% !important;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  .service-grid,
  #staffList .row,
  #servicesList .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .service-grid > .col,
  #staffList .row > .col,
  #servicesList .row > .col {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .service-card,
  .staff-card,
  .footer-block,
  .stat-card {
    width: 100%;
  }

  .service-card,
  .staff-card {
    padding: 16px 14px;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(71, 49, 76, 0.07);
  }

  .service-card__image-wrap {
    width: 115px;
    height: 115px;
    margin-bottom: 14px;
    border-width: 3px;
    box-shadow: 0 10px 22px rgba(71, 49, 76, 0.08);
  }

  .service-card__image {
    width: 100%;
    height: 100%;
  }

  .service-card__top h5,
  .staff-card h5 {
    font-size: 1.08rem;
    line-height: 1.45;
  }

  .service-card__desc,
  .staff-card .email {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .service-card__meta {
    margin-top: 12px;
    padding-top: 12px;
  }

  .staff-avatar {
    width: 104px;
    height: 104px;
    margin-bottom: 14px;
  }

  .time-slots-card,
  #timeSlotsList,
  #timeSlotsList > *,
  .slots-grid > *,
  .time-slots-grid > * {
    width: 100%;
    min-width: 0;
  }

  .time-slot {
    min-height: 68px;
    padding: 12px 8px;
    font-size: 0.92rem;
  }

  .hero-image-card {
    min-height: 220px;
    max-height: 220px;
    border-radius: 20px;
  }

  .booking-footer,
  .form-row {
    grid-template-columns: 1fr !important;
  }

  .social-links {
    justify-content: center;
  }

  .footer-brand-logo {
    margin-inline: auto;
  }

  .flow-section {
    padding: 18px 16px;
  }

  .section-header {
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }

  .section-header h3 {
    width: 100%;
    font-size: 1.28rem;
    line-height: 1.45;
  }

  .section-header p {
    width: 100%;
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .step-badge {
    min-width: auto;
    padding: 8px 12px;
    font-size: 0.76rem;
  }

  .modal-footer {
    justify-content: stretch;
  }

  .btn-primary,
  .btn-secondary,
  .btn-submit {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .booking-container {
    padding: 12px 10px 24px;
  }

  .booking-header,
  .booking-hero,
  .flow-section,
  .booking-footer,
  .modal-content {
    border-radius: 18px;
  }

  .brand-logo {
    width: 144px;
    height: 144px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-image-card {
    min-height: 190px;
    max-height: 190px;
  }

  .service-card__image-wrap {
    width: 105px;
    height: 105px;
    margin-bottom: 12px;
  }

  .hero-stats,
  .time-slots-grid,
  .slots-grid,
  .skeleton-grid,
  .skeleton-grid.cols-3,
  .skeleton-grid.cols-4 {
    grid-template-columns: 1fr !important;
  }

  .progress-indicator {
    flex-wrap: wrap;
  }

  .progress-steps {
    width: 100%;
    justify-content: center;
  }
}
