/* ROS Studio — booking form (scoped under .booking). Original form styles + small utility set (replaces Bootstrap) */
.booking { --main-color: #16423c; --second-color: #6a9c89; }
.booking .row { display: flex; flex-wrap: wrap; margin-inline: -10px; }
.booking [class*="col-"] { padding-inline: 10px; width: 100%; }
@media (min-width: 768px) {
  .booking .col-md-3 { width: 25%; } .booking .col-md-4 { width: 33.333%; } .booking .col-md-5 { width: 41.666%; }
  .booking .col-md-6 { width: 50%; } .booking .col-md-7 { width: 58.333%; }
  .booking .mb-md-0 { margin-bottom: 0 !important; } .booking .d-md-block { display: block !important; } .booking .text-md-left { text-align: left !important; }
}
@media (min-width: 992px) { .booking .col-lg-3 { width: 25%; } }
.booking .d-flex { display: flex; } .booking .d-block { display: block; } .booking .d-none { display: none; }
.booking .d-inline-block { display: inline-block; }
.booking .align-items-center { align-items: center; } .booking .justify-content-between { justify-content: space-between; }
.booking .flex-wrap { flex-wrap: wrap; }
.booking .text-center { text-align: center; } .booking .text-right { text-align: right; } .booking .text-left { text-align: left; }
.booking .text-muted { color: var(--muted); } .booking .text-danger { color: #dc2626; } .booking .text-white { color: #fff; }
.booking .text-success { color: #10b981; } .booking .text-warning { color: #f59e0b; } .booking .text-dark { color: var(--ink); }
.booking .font-weight-bold { font-weight: 700; }
.booking .mb-0 { margin-bottom: 0 !important; } .booking .mb-1 { margin-bottom: 4px; } .booking .mb-2 { margin-bottom: 8px; }
.booking .mb-3 { margin-bottom: 16px; } .booking .mb-4 { margin-bottom: 28px; } .booking .mt-2 { margin-top: 8px; }
.booking .mt-3 { margin-top: 16px; } .booking .mt-4 { margin-top: 24px; }
.booking .mr-1 { margin-right: 4px; } .booking .mr-3 { margin-right: 14px; } .booking .ml-1 { margin-left: 4px; }
.booking h5, .booking h6, .booking h4 { margin: 0; color: inherit; }
.booking label { display: block; }
.booking .form-control { display: block; width: 100%; font: inherit; color: var(--ink); border: 1.5px solid #e2e8f0; border-radius: 12px; padding: 12px 14px; background: #fafafa; outline: none; }
.booking select.form-control { appearance: auto; }
.booking .progress { overflow: hidden; }
.booking .progress-bar { height: 100%; }
.booking button { font-family: inherit; }
.studio-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(5px);
}

.section-step-label {
  font-weight: 700;
  color: var(--main-color);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  text-align: right;
}

.step-num {
  background-color: var(--main-color);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-left: 10px;
  flex-shrink: 0;
}

.btn-auto-schedule {
  background: rgba(22, 66, 60, 0.08);
  color: var(--main-color);
  border: 1px solid rgba(22, 66, 60, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn-auto-schedule:hover {
  background: var(--main-color);
  color: #fff;
}

/* شريط تقدم توزيع ساعات الباقة */
.calendar-tracker-card {
  background: linear-gradient(135deg, #16423C, #255d54);
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff;
}

.tracker-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.badge-remaining {
  background: rgba(255, 255, 255, 0.18);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* التقويم الشهري الكبير */
.big-calendar-wrapper {
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1.5px solid #e2e8f0;
}

.cal-month-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--main-color);
}

.cal-nav-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--main-color);
  cursor: pointer;
  transition: 0.2s;
}

.cal-nav-btn:hover {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}

.calendar-weekdays-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f1f5f9;
  text-align: center;
  border-bottom: 1px solid #e2e8f0;
}

.cal-weekday {
  padding: 10px 4px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #475569;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #e2e8f0;
}

.cal-day-cell {
  background: #ffffff;
  min-height: 85px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.cal-day-cell:hover:not(.past-day) {
  background: #f0fdf4;
}

.cal-day-cell.active-selected {
  background: #ecfdf5;
  box-shadow: inset 0 0 0 2px var(--main-color);
}

.cal-day-cell.booked-day {
  background: #f4fbf7;
}

.cal-day-cell.past-day {
  background: #f8fafc;
  color: #cbd5e1;
  cursor: not-allowed;
}

.cal-day-cell.today-cell .day-num {
  background: var(--second-color);
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.day-num {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
}

.day-status-pill {
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.day-status-pill.booked {
  background: var(--main-color);
  color: #ffffff;
}

.day-status-pill.available {
  color: #94a3b8;
  font-size: 0.65rem;
}

/* لوحة ضبط الجلسة */
.day-slot-box {
  background: linear-gradient(135deg, #16423C, #215950);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(22, 66, 60, 0.2);
  animation: fadeInSlot 0.3s ease;
}

@keyframes fadeInSlot {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-slot-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.slot-label {
  font-size: 0.85rem;
  color: #E9EFEC;
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
  text-align: right;
}

.custom-slot-input {
  background: #ffffff !important;
  border-radius: 10px !important;
  height: 44px !important;
  font-size: 0.9rem !important;
  font-weight: 700;
}

.hours-quick-selector {
  display: flex;
  gap: 6px;
}

.btn-hour-tag {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.btn-hour-tag.active, .btn-hour-tag:hover {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.btn-confirm-session {
  background: #10b981;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  width: 100%;
  height: 44px;
  transition: 0.3s;
}

.btn-confirm-session:hover {
  background: #059669;
}

/* قائمة الجلسات الموزعة */
.scheduled-sessions-container {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 20px;
}

.badge-count {
  background: var(--main-color);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

.sessions-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.session-chip {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: 0.2s;
}

.session-chip:hover {
  border-color: var(--main-color);
}

.session-chip-info {
  margin-left: 12px;
  text-align: right;
}

.session-chip-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--main-color);
}

.session-chip-meta {
  font-size: 0.78rem;
  color: #64748b;
}

.btn-del-session {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
}

.btn-del-session:hover {
  background: #ef4444;
  color: #fff;
}

.empty-sessions-hint {
  color: #94a3b8;
  font-size: 0.88rem;
  padding: 10px 0;
}

/* بطاقات نوع الخدمة والأسعار */
.type-card {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  background: #fafafa;
}

.type-card:hover {
  border-color: var(--second-color);
  transform: translateY(-2px);
  background: #fff;
}

.type-card.active {
  border-color: var(--main-color);
  background: #f4f9f7;
  box-shadow: 0 8px 20px rgba(22, 66, 60, 0.08);
}

.type-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(22, 66, 60, 0.1);
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.type-icon-box.reel-icon {
  background: rgba(230, 81, 0, 0.1);
  color: #e65100;
}

.type-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--main-color);
}

.type-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}

.type-check-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.type-card.active .type-check-badge {
  background: var(--main-color);
}

.sub-option-card {
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: 0.3s;
  background: #fff;
}

.sub-option-card:hover { border-color: var(--second-color); }
.sub-option-card.active { border-color: var(--main-color); background: #f7faf9; }
.sub-icon { font-size: 1.6rem; color: var(--main-color); margin-left: 14px; }

.pkg-card {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pkg-card:hover { border-color: var(--second-color); transform: translateY(-3px); }
.pkg-card.active { border-color: var(--main-color); background: #f4f9f7; box-shadow: 0 8px 25px rgba(22, 66, 60, 0.12); }

.pkg-badge {
  position: absolute;
  top: -12px;
  right: 50%;
  transform: translateX(50%);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 30px;
  white-space: nowrap;
}

.pkg-badge.popular { background: #ff9800; color: #fff; }
.pkg-badge.discount { background: #10b981; color: #fff; }

.pkg-name { font-weight: 700; font-size: 1.05rem; color: var(--main-color); margin-bottom: 8px; margin-top: 5px; }
.pkg-price { font-weight: 700; font-size: 1.6rem; color: var(--main-color); margin-bottom: 4px; }
.pkg-price .currency { font-size: 0.85rem; color: #64748b; font-weight: normal; }
.pkg-save { font-size: 0.85rem; color: #10b981; font-weight: 700; margin-bottom: 6px; }
.pkg-rate { font-size: 0.8rem; color: #64748b; border-top: 1px dashed #e2e8f0; padding-top: 8px; margin-top: 4px; }

.input-title {
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 8px;
  display: block;
  text-align: right;
  font-size: 0.95rem;
}

.custom-input {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 13px 16px !important;
  font-size: 0.95rem !important;
  background-color: #fafafa !important;
  transition: 0.3s !important;
  text-align: right !important;
  direction: rtl !important;
  width: 100% !important;
}

.custom-input:focus {
  border-color: var(--main-color) !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(22, 66, 60, 0.1) !important;
}

.booking-summary-box {
  background: linear-gradient(135deg, #16423C, #215950);
  color: #ffffff;
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px rgba(22, 66, 60, 0.18);
  border: 1px solid rgba(255,255,255,0.1);
}

.summary-tag {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 8px;
}

.summary-badge-studio {
  background: rgba(106, 156, 137, 0.35);
  color: #C4DAD2;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

.summary-service-title { font-weight: 700; font-size: 1.3rem; color: #ffffff; margin-bottom: 6px; }
.summary-desc { color: #E9EFEC; font-size: 0.9rem; line-height: 1.5; }

.price-pill, .deposit-pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 12px;
  width: 100%;
  max-width: 280px;
  font-weight: 700;
}

.price-pill .label, .deposit-pill .label { font-size: 0.85rem; color: #E9EFEC; }
.price-pill .val { font-size: 1.35rem; color: #ffffff; }

.deposit-pill { background: rgba(16, 185, 129, 0.25); border: 1px solid rgba(16, 185, 129, 0.4); }
.deposit-pill .val { font-size: 1.35rem; color: #6ee7b7; }

.custom-btn {
  background: linear-gradient(135deg, var(--main-color), #2A6A5E);
  color: #ffffff;
  border: none;
  padding: 18px 45px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.35s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 10px 25px rgba(22, 66, 60, 0.25);
}

.custom-btn:hover {
  background: linear-gradient(135deg, #1f5e55, #16423C);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(22, 66, 60, 0.35);
}

@media (max-width: 768px) {
  .form-body { padding: 22px 16px !important; }
  .price-pill, .deposit-pill { max-width: 100%; }
  .cal-day-cell { min-height: 65px; padding: 4px; }
  .day-status-pill { font-size: 0.65rem; padding: 1px 4px; }
}

/* ---------- Studio page layout (uses site.css tokens) ---------- */
.studio-hero { padding-bottom: 64px; }
.studio-hero__grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 56px; align-items: center; }
.studio-facts { align-self: center; }
/* big video slider */
.vslider { position: relative; }
.vslider__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 8px; direction: ltr; }
.vslider__track::-webkit-scrollbar { display: none; }
.vslide { flex: 0 0 82%; scroll-snap-align: center; border-radius: 22px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.vslide video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 72vh; object-fit: contain; background: #000; }
.vslider__nav { direction: ltr; display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.vslider__btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--green-700); background: #fff; color: var(--green-700); font-size: 20px; cursor: pointer; transition: background .2s, color .2s; }
.vslider__btn:hover { background: var(--green-700); color: #fff; }
.vslider__dots { display: flex; gap: 8px; }
.vslider__dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: var(--sand-200); cursor: pointer; transition: width .2s, background .2s; }
.vslider__dots button.is-active { width: 28px; background: var(--green-700); }
.process--light li { background: var(--sand); border-color: var(--sand-200); }
.process--light h3 { color: var(--ink); }
.process--light li > span { color: var(--gold); }
.process--light { grid-template-columns: repeat(3, 1fr); }
.booking { background: var(--sand); }
.booking__card { background: #fff; border-radius: 24px; overflow: hidden; border: 1px solid var(--sand-200); box-shadow: var(--shadow); max-width: 1040px; margin-inline: auto; }
.booking__head { background: var(--green-700); color: rgba(255,255,255,.82); padding: 40px; }
.booking__head h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); }
.booking__head p:not(.eyebrow) { margin: 0; }
.booking__body { padding: 40px; }
.booking .section-step-label { font-size: 18px; color: var(--ink); margin-bottom: 14px; }
.booking .step-num { background: var(--gold); }
.booking .input-title { color: var(--ink); font-size: 15px; }
.booking .custom-btn { border-radius: 999px; font-size: 17px; padding: 16px 32px; background: var(--green-700); }
.booking .custom-btn:hover { background: var(--green-900); }
@media (max-width: 900px) { .studio-hero__grid { grid-template-columns: 1fr; gap: 32px; } .process--light { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .booking__head, .booking__body { padding: 24px 16px; }
  .vslide { flex-basis: 92%; border-radius: 14px; }
  .vslider__track { gap: 12px; }
}

/* ---------- English (LTR) overrides for the booking form ---------- */
[dir="ltr"] .booking .section-step-label,
[dir="ltr"] .booking .input-title,
[dir="ltr"] .booking .slot-label,
[dir="ltr"] .booking .session-chip-info,
[dir="ltr"] .booking .text-right { text-align: left; }
[dir="ltr"] .booking .custom-input { text-align: left !important; direction: ltr !important; }
[dir="ltr"] .booking .step-num { margin-left: 0; margin-right: 10px; }
[dir="ltr"] .booking .mr-3 { margin-right: 0; margin-left: 14px; }
[dir="ltr"] .booking .mr-1 { margin-right: 0; margin-left: 4px; }
[dir="ltr"] .booking .ml-1 { margin-left: 0; margin-right: 4px; }
[dir="ltr"] .booking .sub-icon { margin-left: 0; margin-right: 14px; }
[dir="ltr"] .booking .type-check-badge { left: auto; right: 14px; }
[dir="ltr"] .booking .session-chip-info { margin-left: 0; margin-right: 12px; }
[dir="ltr"] .booking .summary-tag { margin-left: 0; margin-right: 8px; }
[dir="ltr"] .booking .text-md-left { text-align: right !important; }
