/* ============================================================
   Book Room Page — Neumorphic Design (matches profile/my_reservations)
   ============================================================ */

:root {
  --c-teal:        #19494a;
  --c-teal-mid:    #2a6566;
  --c-teal-light:  #4B918E;
  --c-teal-pale:   #e8f4f4;
  --c-gold:        #c9a84c;
  --c-bg:          #f0f4f8;
  --c-surface:     #ffffff;
  --c-shadow-dark: #c8cdd6;
  --c-shadow-lite: #ffffff;
  --c-text:        #2d3748;
  --c-muted:       #718096;
  --radius-lg:     20px;
  --radius-md:     14px;
  --radius-sm:     10px;
  --neu-raised:    6px 6px 14px var(--c-shadow-dark), -6px -6px 14px var(--c-shadow-lite);
  --neu-inset:     inset 3px 3px 8px var(--c-shadow-dark), inset -3px -3px 8px var(--c-shadow-lite);
}

/* ── Page ────────────────────────────────────────────────────── */
.bk-page { background: var(--c-bg); min-height: 100vh; padding: 40px 0 80px; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.bk-breadcrumb { margin-bottom: 20px; }
.bk-breadcrumb .breadcrumb-item a { color: var(--c-teal-light); text-decoration: none; font-weight: 500; }
.bk-breadcrumb .breadcrumb-item.active { color: var(--c-muted); }
.bk-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--c-muted); }

/* ── Room title card (below gallery) ─────────────────────────── */
.bk-room-title-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}
.bk-room-title-icon {
  width: 50px; height: 50px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--c-teal-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--c-teal);
  box-shadow: var(--neu-inset);
}
.bk-room-title-info {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.bk-room-title {
  font-size: 1.2rem; font-weight: 800;
  color: var(--c-text); margin: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bk-room-floor {
  font-size: .82rem; color: var(--c-muted);
  font-weight: 500; white-space: nowrap;
  border-right: 1px solid rgba(0,0,0,.1);
  padding-right: 14px;
}

/* ── Neumorphic card ─────────────────────────────────────────── */
.bk-card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--neu-raised);
  overflow: hidden;
  margin-bottom: 24px;
}
.bk-card-header {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 24px 0;
  font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--c-teal-light);
}
.bk-card-header::after {
  content: ''; flex: 1; height: 1px; background: rgba(0,0,0,.07);
}
.bk-card-body { padding: 18px 24px 24px; }

/* ── Gallery ─────────────────────────────────────────────────── */
.bk-gallery { margin-bottom: 24px; }
.bk-gallery img {
  width: 100%; object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform .3s ease;
  cursor: zoom-in;
  box-shadow: var(--neu-raised);
}
.bk-gallery img:hover { transform: scale(1.02); }
.bk-gallery-main img  { height: 420px; }
.bk-gallery-thumb img { height: 196px; }

/* ── Description ─────────────────────────────────────────────── */
.bk-desc { color: var(--c-muted); line-height: 1.85; }

/* ── Features ────────────────────────────────────────────────── */
.bk-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  padding: 12px 8px;
  background: var(--c-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--neu-raised);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.bk-feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 8px 8px 18px var(--c-shadow-dark), -8px -8px 18px var(--c-shadow-lite);
}
.bk-feature-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-teal-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--c-teal);
  box-shadow: var(--neu-inset);
  transition: background .2s;
}
.bk-feature-item:hover .bk-feature-icon {
  background: var(--c-teal);
  color: #fff;
}
.bk-feature-name {
  font-size: .78rem; font-weight: 700;
  color: var(--c-text); line-height: 1.3;
}

/* ── Rules ───────────────────────────────────────────────────── */
.bk-rule-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--c-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--neu-raised);
  border-right: 3px solid #ef4444;
  transition: transform .15s ease;
}
.bk-rule-item:hover { transform: translateX(-3px); }
.bk-rule-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  background: #fee2e2;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: #ef4444;
}
.bk-rule-text { font-size: .82rem; font-weight: 600; color: var(--c-text); }

/* ── Booking sidebar ─────────────────────────────────────────── */
.bk-sidebar { position: sticky; top: 100px; }
.bk-sidebar-card {
  background: var(--c-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--neu-raised);
  overflow: hidden;
}

/* ── Form label ──────────────────────────────────────────────── */
.bk-label {
  display: block;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .3px;
  color: var(--c-text); margin-bottom: 7px;
}

/* ── Input ───────────────────────────────────────────────────── */
.bk-input {
  width: 100%; border: none; border-radius: var(--radius-sm);
  padding: 8px 36px 8px 12px;
  font-size: .82rem; font-weight: 500;
  color: var(--c-text); background: var(--c-bg);
  box-shadow: var(--neu-inset); outline: none;
  transition: box-shadow .2s ease; font-family: inherit;
  direction: ltr; text-align: left;
}
.bk-input-icon {
  font-size: .85rem;
}
.bk-input:focus { box-shadow: var(--neu-inset), 0 0 0 3px rgba(75,145,142,.18); }
.bk-input-wrap { position: relative; }
.bk-input-icon {
  position: absolute; top: 50%; right: 13px;
  transform: translateY(-50%);
  color: var(--c-teal-light); font-size: .95rem; pointer-events: none;
}

/* ── Persons counter ─────────────────────────────────────────── */
.bk-persons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bk-persons-btn {
  width: 32px; height: 32px; flex-shrink: 0; border: none;
  border-radius: var(--radius-sm); background: var(--c-bg);
  box-shadow: var(--neu-raised);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--c-teal); cursor: pointer;
  transition: box-shadow .2s, transform .15s;
}
.bk-persons-btn:hover {
  transform: translateY(-1px);
  box-shadow: 5px 5px 12px var(--c-shadow-dark), -5px -5px 12px var(--c-shadow-lite);
}
.bk-persons-btn:active {
  transform: translateY(0);
  box-shadow: var(--neu-inset);
}
.bk-persons-val-wrap {
  flex: 1;
  background: var(--c-bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--neu-inset);
  padding: 6px 8px;
  text-align: center;
}
.bk-persons-val {
  width: 100%; text-align: center;
  font-size: .95rem; font-weight: 800; color: var(--c-teal);
  background: transparent; border: none; outline: none;
}
.bk-persons-hint { font-size: .7rem; color: var(--c-muted); margin-top: 8px; }

/* ── Price summary ───────────────────────────────────────────── */
.bk-summary {
  background: var(--c-bg); border-radius: var(--radius-sm);
  box-shadow: var(--neu-inset); padding: 16px;
}
.bk-summary-row {
  display: flex; justify-content: space-between;
  align-items: center; font-size: .84rem;
  color: var(--c-muted); margin-bottom: 8px;
}
.bk-summary-row .val { font-weight: 700; color: var(--c-text); }
.bk-summary-total {
  display: flex; justify-content: space-between;
  align-items: center; border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 12px; margin-top: 4px;
}
.bk-summary-total .label { font-size: .9rem; font-weight: 700; color: var(--c-text); }
.bk-summary-total .amount {
  font-size: 1.25rem; font-weight: 800;
  color: var(--c-teal); direction: ltr;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn-bk-reserve {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; border: none; border-radius: var(--radius-sm);
  padding: 13px; font-size: .95rem; font-weight: 700;
  background: linear-gradient(135deg, var(--c-teal), var(--c-teal-mid));
  color: #fff; cursor: pointer;
  box-shadow: 0 4px 16px rgba(25,73,74,.4);
  transition: box-shadow .2s, transform .15s; font-family: inherit;
  text-decoration: none;
}
.btn-bk-reserve:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(25,73,74,.5); }
.btn-bk-reserve:active { transform: translateY(0); }

/* Reserved day in datepicker */
.ui-datepicker td.reserved-day > a,
.ui-datepicker td.reserved-day > span {
  background: #fecaca !important;
  color: #b91c1c !important;
  cursor: not-allowed !important;
  text-decoration: line-through;
  border-radius: 8px !important;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
  .bk-sidebar { position: static; }
  .bk-gallery-main img  { height: 300px; }
  .bk-gallery-thumb img { height: 140px; }
}
@media (max-width: 767px) {
  .bk-page { padding: 20px 0 50px; }
  .bk-room-title { font-size: 1rem; }
  .bk-room-title-card { padding: 14px 16px; gap: 12px; }
  .bk-room-title-icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .bk-gallery-main img  { height: 220px; }
  .bk-gallery-thumb img { height: 104px; }
  .bk-card-body { padding: 14px 16px 18px; }
}
