/* Manndakini — Slot Booking Page (v2, modern) */

/* The site header (#hdr, z-index:1100) and ticker (#ticker, z-index:1099) sit
   above Bootstrap's default modal z-index (1055), so modals on this page must
   be raised above both or their header gets hidden underneath the sticky bar. */
.modal-backdrop { z-index: 1150; }
.modal { z-index: 1200; }

.bk-section { padding: 2.5rem 0 5rem; background: var(--dark); }

/* ── Studio profile section (gallery + story + equipment + price) ─────── */
.bk-profile-section { padding: 1rem 0 3rem; background: var(--dark); }

.bk-profile-card {
  display: flex; flex-wrap: wrap; align-items: flex-start; background: #fdfdfb; border-radius: 18px;
  overflow: hidden; box-shadow: 0 20px 55px rgba(0,0,0,.4);
}

.bk-profile-gallery {
  flex: 1 1 480px; min-width: 320px; position: relative; background: #000;
  aspect-ratio: 4 / 3; align-self: flex-start;
}
.bk-gallery-viewport { position: absolute; inset: 0; overflow: hidden; }
.bk-gallery-track { display: flex; height: 100%; transition: transform .4s ease; }
.bk-gallery-slide { flex-shrink: 0; height: 100%; }
.bk-gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.85); color: #111; font-size: .85rem;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: var(--tr-fast);
}
.bk-gallery-arrow:hover { background: #fff; }
.bk-gallery-arrow.prev { left: 14px; }
.bk-gallery-arrow.next { right: 14px; }
.bk-gallery-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; z-index: 2; }
.bk-gallery-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: var(--tr-fast); }
.bk-gallery-dot.active { background: #fff; width: 22px; border-radius: 5px; }

.bk-profile-content {
  flex: 1 1 480px; min-width: 320px; padding: 2.6rem 2.6rem; color: #1c1c1c;
  font-family: var(--ff-b);
}
.bk-story-heading {
  font-family: var(--ff-h); font-size: 2rem; letter-spacing: 1px; color: #141414;
  margin-bottom: 1.1rem; position: relative; padding-bottom: .7rem;
}
.bk-story-heading::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold-l)); border-radius: 2px;
}
.bk-story-text { font-size: .97rem; line-height: 1.8; color: #3a3a3a; margin-bottom: 1.6rem; }
.bk-story-text strong { color: #101010; font-weight: 700; }

.bk-equipment-heading {
  font-size: .85rem; font-weight: 800; color: #141414; margin-bottom: .9rem;
  text-transform: uppercase; letter-spacing: 1.4px; display: flex; align-items: center; gap: .5rem;
}
.bk-equipment-heading::before { content: ''; width: 18px; height: 2px; background: var(--gold-d); display: inline-block; }
.bk-equipment-list {
  list-style: none; margin: 0 0 1.8rem; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 1.2rem;
}
.bk-equipment-list li {
  font-size: .88rem; line-height: 1.55; color: #3a3a3a; padding-left: 1.15rem; position: relative;
}
.bk-equipment-list li::before {
  content: ''; position: absolute; left: 0; top: .5em; width: 6px; height: 6px;
  background: var(--gold-d); border-radius: 1px; transform: rotate(45deg);
}

.bk-profile-actions {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  margin: 1.5rem 0 1.4rem; padding-top: 1.5rem; border-top: 1px solid #eee;
}
.bk-cta-book {
  background: linear-gradient(135deg, var(--gold-l), var(--gold)); color: #101010; border: none;
  border-radius: 30px; padding: .75rem 2.4rem; font-family: var(--ff-c); font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase; font-size: .88rem; cursor: pointer;
  transition: var(--tr-fast); box-shadow: 0 6px 18px rgba(230,196,0,.25);
}
.bk-cta-book:hover { box-shadow: 0 10px 26px rgba(230,196,0,.4); transform: translateY(-2px); }
.bk-cancel-link { font-size: .85rem; color: #666; text-decoration: underline; text-underline-offset: 2px; }
.bk-cancel-link:hover { color: var(--gold-d); }

.bk-lost-box {
  border: 1px dashed #c9c2a8; border-radius: 12px; padding: 1.1rem 1.3rem; background: #fdf9ec;
}
.bk-lost-box strong:first-child { display: block; color: #7a5c00; font-size: 1rem; margin-bottom: .5rem; }
.bk-lost-box p { font-size: .85rem; color: #5a5a5a; line-height: 1.65; margin: 0; }

@media (max-width: 991px) {
  .bk-profile-gallery { aspect-ratio: 16 / 10; }
  .bk-profile-content { padding: 1.8rem 1.6rem; }
  .bk-story-heading { font-size: 1.65rem; }
  .bk-equipment-list { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
  .bk-profile-gallery { aspect-ratio: 4 / 3; }
  .bk-profile-content { padding: 1.4rem 1.2rem; }
  .bk-story-heading { font-size: 1.4rem; }
  .bk-cta-book { padding: .65rem 1.8rem; font-size: .8rem; }
}

.bk-empty { text-align: center; padding: 4.5rem 1rem; color: var(--muted); }
.bk-empty i { font-size: 3rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.bk-empty p { max-width: 480px; margin: 0 auto 1.4rem; }

/* Resource switcher */
.bk-resource-switch { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.bk-res-pill {
  background: var(--d2); border: 1px solid var(--border-w); color: var(--muted-l);
  padding: .5rem 1.15rem; border-radius: 30px; font-family: var(--ff-c);
  font-weight: 600; letter-spacing: .5px; cursor: pointer; transition: var(--tr-fast);
}
.bk-res-pill:hover { border-color: var(--gold); color: var(--white); }
.bk-res-pill.active { background: linear-gradient(135deg, var(--gold-l), var(--gold)); border-color: var(--gold); color: var(--dark); font-weight: 700; }

/* Calendar card */
.bk-calendar-card {
  background: linear-gradient(180deg, var(--d2) 0%, var(--d3) 100%);
  border: 1px solid var(--border-w); border-radius: 18px; overflow: hidden;
  box-shadow: 0 16px 44px rgba(0,0,0,.42);
  max-width: 992px; margin: 0 auto;
}
.bk-cal-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: .75rem; padding: 1.15rem 1.5rem;
  background: radial-gradient(120% 180% at 0% 0%, rgba(255,215,0,.10), transparent 55%), #0a0a0a;
  border-bottom: 1px solid rgba(255,215,0,.25);
}
.bk-cal-title { font-family: var(--ff-h); font-size: 1.25rem; letter-spacing: 2.2px; color: var(--white); }
.bk-cal-nav { display: flex; gap: .5rem; }
.bk-nav-btn {
  background: rgba(255,215,0,.06); border: 1px solid var(--border); color: var(--gold);
  padding: .4rem 1rem; border-radius: 30px; font-family: var(--ff-c);
  font-size: .8rem; font-weight: 700; letter-spacing: .3px; cursor: pointer; transition: var(--tr-fast);
}
.bk-nav-btn:hover { background: var(--gold); color: var(--dark); transform: translateY(-1px); }

.bk-cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); background: rgba(255,255,255,.02); }
.bk-cal-weekdays div {
  padding: .6rem 4px; text-align: center; font-family: var(--ff-c); font-size: .68rem;
  font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted);
}

.bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--border-w); padding: 1px; }
.bk-cal-loading { grid-column: 1 / -1; padding: 2.5rem; text-align: center; color: var(--muted); font-size: .9rem; }

.bk-day {
  min-height: 88px; padding: .55rem .5rem; background: var(--d2);
  position: relative; display: flex; flex-direction: column; gap: .25rem;
  transition: var(--tr-fast);
}
.bk-day.empty { background: var(--dark); }
.bk-day-num { font-family: var(--ff-h); font-size: 1rem; color: var(--white); letter-spacing: .4px; }
.bk-day.is-past { background: rgba(255,255,255,.008); }
.bk-day.is-past .bk-day-num { color: var(--muted); opacity: .4; }
.bk-day-avail {
  font-size: .66rem; color: var(--gold); font-family: var(--ff-c); font-weight: 700;
  letter-spacing: .25px; opacity: .9; line-height: 1.3;
}
.bk-day-full { font-size: .62rem; color: #ff8a8a; font-family: var(--ff-c); font-weight: 700; text-transform: uppercase; letter-spacing: .4px; opacity: .8; line-height: 1.3; }
.bk-day-book {
  margin-top: auto; background: rgba(255,215,0,.08); border: 1px solid rgba(255,215,0,.25);
  border-radius: 18px; padding: .26rem .15rem; color: var(--gold);
  font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px;
  cursor: pointer; text-align: center; font-family: var(--ff-c); transition: var(--tr-fast);
}
.bk-day-book:hover { background: var(--gold); color: var(--dark); box-shadow: 0 4px 14px rgba(255,215,0,.3); }
.bk-day.is-bookable { background: radial-gradient(120% 140% at 100% 0%, rgba(255,215,0,.05), transparent 60%), var(--d2); }
.bk-day.is-bookable:hover { background: radial-gradient(120% 140% at 100% 0%, rgba(255,215,0,.09), transparent 60%), var(--d3); }

.bk-legend { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.1rem; font-size: .78rem; color: var(--muted); font-family: var(--ff-c); }
.bk-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .4rem; }
.bk-dot-open { background: var(--gold); }
.bk-dot-full { background: #ff8a8a; }
.bk-dot-past { background: #444; }

@media (max-width: 768px) {
  .bk-day { min-height: 74px; padding: .42rem; }
  .bk-day-num { font-size: .88rem; }
  .bk-day-avail, .bk-day-full { font-size: .56rem; }
  .bk-day-book { font-size: .56rem; }
}

@media (max-width: 576px) {
  .bk-day { min-height: 58px; padding: .3rem; }
  .bk-day-num { font-size: .76rem; }
  .bk-day-avail, .bk-day-full { font-size: .5rem; }
  .bk-day-book { font-size: .52rem; }
}

/* ── Slot selection modal (compact, modern) ───────────────────── */
.bk-slot-modal {
  background: linear-gradient(180deg, var(--d2), var(--d3));
  border: 1px solid var(--border-w); border-radius: 18px; color: var(--white);
}
.bk-modal-title { font-family: var(--ff-h); font-size: 1.2rem; letter-spacing: 2px; color: var(--white); margin: 0; }
.bk-modal-sub { font-family: var(--ff-c); font-size: .78rem; color: var(--gold); margin: 2px 0 0; font-weight: 600; letter-spacing: .3px; }

.bk-slot-chips {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem;
  margin-bottom: 1rem;
}
@media (max-width: 576px) { .bk-slot-chips { grid-template-columns: repeat(2, 1fr); } }

.bk-chip {
  position: relative; background: var(--d3); border: 1px solid var(--border-w);
  border-radius: 11px; padding: .55rem .5rem; text-align: center; cursor: pointer;
  transition: var(--tr-fast); font-family: var(--ff-c);
}
.bk-chip:hover { border-color: rgba(255,215,0,.4); background: var(--d4); }
.bk-chip-time { font-size: .78rem; font-weight: 700; color: var(--light); letter-spacing: .2px; }
.bk-chip-status { font-size: .6rem; color: var(--muted); margin-top: 2px; text-transform: uppercase; letter-spacing: .4px; font-weight: 600; }
.bk-chip.full .bk-chip-status { color: #ff8a8a; }
.bk-chip.configured { border-color: var(--gold); background: rgba(255,215,0,.09); box-shadow: 0 0 0 1px rgba(255,215,0,.25) inset; }
.bk-chip.configured .bk-chip-status { color: var(--gold); }
.bk-chip-tags { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; margin-top: 4px; }
.bk-chip-tag { font-size: .55rem; font-weight: 700; padding: 1px 6px; border-radius: 8px; background: var(--gold); color: var(--dark); letter-spacing: .2px; }
.bk-chip-tag.waiting-tag { background: #e6a400; }
.bk-chip-check { position: absolute; top: 5px; right: 6px; font-size: .68rem; color: var(--gold); opacity: 0; transition: var(--tr-fast); }
.bk-chip.configured .bk-chip-check { opacity: 1; }

.bk-stepper-row {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  background: var(--d3); border: 1px solid var(--border-w); border-radius: 10px;
  padding: .6rem .9rem; margin-bottom: 1rem;
}
.bk-stepper-label { font-family: var(--ff-c); font-size: .78rem; color: var(--muted-l); font-weight: 600; }
.bk-stepper { display: flex; align-items: center; gap: .55rem; }
.bk-stepper-btn {
  width: 26px; height: 26px; border-radius: 50%; background: var(--d4); border: 1px solid var(--border-w);
  color: var(--gold); font-weight: 800; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--tr-fast); font-size: .85rem; line-height: 1;
}
.bk-stepper-btn:hover { background: var(--gold); color: var(--dark); }
.bk-stepper-val { min-width: 26px; text-align: center; font-family: var(--ff-h); font-size: 1rem; color: var(--white); }

.bk-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: .7rem; }
@media (max-width: 576px) { .bk-form-grid { grid-template-columns: 1fr; } }
.bk-form-grid .form-control {
  background: var(--d3); border: 1px solid var(--border-w); color: var(--white);
  font-size: .82rem; border-radius: 8px; padding: .55rem .7rem;
}
.bk-form-grid .form-control::placeholder { color: var(--muted); }
.bk-form-grid .form-control:focus { background: var(--d4); border-color: var(--gold); box-shadow: none; color: var(--white); }

.bk-message-input {
  width: 100%; background: var(--d3); border: 1px solid var(--border-w); color: var(--white);
  font-size: .82rem; border-radius: 8px; padding: .55rem .7rem; margin-bottom: .7rem;
  resize: vertical; font-family: inherit;
}
.bk-message-input::placeholder { color: var(--muted); }
.bk-message-input:focus { background: var(--d4); border-color: var(--gold); box-shadow: none; color: var(--white); outline: none; }

.bk-note { font-family: var(--ff-c); font-size: .72rem; color: var(--muted); margin-bottom: .8rem; line-height: 1.5; }

.bk-submit-btn {
  width: 100%; background: linear-gradient(135deg, var(--gold-l), var(--gold)); color: var(--dark); border: none; border-radius: 10px;
  padding: .75rem 1rem; font-family: var(--ff-c); font-weight: 800; letter-spacing: 1px;
  text-transform: uppercase; font-size: .85rem; transition: var(--tr-fast);
}
.bk-submit-btn:hover:not(:disabled) { box-shadow: 0 8px 24px rgba(255,215,0,.3); transform: translateY(-1px); }
.bk-submit-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ── Room-type sub-modal ───────────────────────────────────────── */
.bk-room-modal {
  background: linear-gradient(180deg, var(--d3), var(--d2));
  border: 1px solid rgba(255,215,0,.25); border-radius: 16px; color: var(--white);
}
.bk-room-list { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.bk-room-row {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .65rem .9rem; border-radius: 10px; background: var(--d3); border: 1px solid var(--border-w);
  cursor: pointer; transition: var(--tr-fast);
}
.bk-room-row:hover { border-color: rgba(255,215,0,.35); }
.bk-room-row.checked { border-color: var(--gold); background: rgba(255,215,0,.08); }
.bk-room-row.waiting-checked { border-color: #e6a400; background: rgba(230,164,0,.1); }
.bk-room-row.full { opacity: .9; }
.bk-room-label { font-family: var(--ff-c); font-size: .92rem; font-weight: 700; color: var(--light); display: flex; align-items: center; gap: .6rem; }
.bk-room-label input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--gold); cursor: pointer; }
.bk-room-meta { font-size: .68rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.bk-room-row.full .bk-room-meta { color: #e6a400; }
.bk-room-actions { display: flex; gap: .6rem; }
.bk-room-btn {
  flex: 1; padding: .6rem; border-radius: 9px; font-family: var(--ff-c); font-weight: 700;
  font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; border: 1px solid var(--border-w);
  cursor: pointer; transition: var(--tr-fast);
}
.bk-room-btn.cancel { background: transparent; color: var(--muted-l); }
.bk-room-btn.cancel:hover { color: var(--white); border-color: var(--border2); }
.bk-room-btn.confirm { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.bk-room-btn.confirm:hover:not(:disabled) { background: var(--gold-l); }
.bk-room-btn.confirm:disabled { opacity: .35; cursor: not-allowed; }
