/* =========================================================
   Booking Idol
   ========================================================= */
.svc-booking { background: linear-gradient(135deg, rgba(255, 42, 61, .22), rgba(16, 16, 21, .85) 60%); border-color: var(--line-red); }

.bk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.bk-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.bk-chips { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.bk-chip {
  padding: 7px 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--muted);
  font-weight: 600; font-size: 14px; border-radius: 999px; white-space: nowrap;
}
.bk-chip.on { background: var(--red-d); border-color: var(--red); color: #fff; }
.bk-sort { width: auto; min-width: 170px; }

/* ---------- Thẻ idol ---------- */
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.idol {
  position: relative; display: block; aspect-ratio: 3 / 4.1; overflow: hidden; border-radius: 18px; text-decoration: none; color: #fff;
  background: #16161b; box-shadow: 0 0 0 1px var(--line), 0 14px 30px rgba(0, 0, 0, .45);
  transition: transform .2s, box-shadow .2s;
}
.idol:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--red), 0 0 26px rgba(255, 42, 61, .45), 0 18px 34px rgba(0, 0, 0, .5); }
.idol > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.idol:hover > img { transform: scale(1.05); }
.idol.vip { box-shadow: 0 0 0 2px #ffcf3f, 0 0 22px rgba(255, 207, 63, .35), 0 14px 30px rgba(0, 0, 0, .45); }
.idol .i-dot { position: absolute; top: 12px; right: 12px; width: 13px; height: 13px; border-radius: 50%; background: #6b6b75; border: 2px solid #fff; z-index: 2; }
.idol .i-dot.on { background: #3ddc97; box-shadow: 0 0 10px #3ddc97; }
.idol .i-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(6, 6, 8, .6); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .2);
}
.idol .i-badge.vip { background: linear-gradient(90deg, #ffe07a, #ffb300); color: #2a1800; border: 0; }
.idol .i-stat {
  position: absolute; left: 10px; bottom: 132px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(200, 16, 46, .85); backdrop-filter: blur(4px);
}
.idol .i-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 30px 14px 12px; min-height: 124px;
  background: linear-gradient(180deg, transparent, rgba(8, 8, 10, .82) 26%, rgba(8, 8, 10, .96));
}
.idol .i-name { font-family: var(--display); font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 6px; line-height: 1.15; }
.idol .i-name .vipmark { font-size: 11px; padding: 2px 6px; border-radius: 6px; background: linear-gradient(90deg, #ffe07a, #ffb300); color: #2a1800; }
.idol .i-tag { color: var(--silver); font-size: 13px; margin: 5px 0 8px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.idol .i-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.i-price { font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff; white-space: nowrap; }
.i-price small { color: var(--muted); font-size: 12px; font-family: var(--font); font-weight: 600; }
.i-games { display: flex; gap: 4px; flex-wrap: nowrap; overflow: hidden; }
.g-pill { font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: rgba(255, 42, 61, .18); color: #ffb3ba; white-space: nowrap; }
.idol.off > img { filter: grayscale(.6) brightness(.8); }

/* ---------- Chi tiết ---------- */
.bk-detail { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 22px; align-items: start; }
.bk-photo { position: relative; aspect-ratio: 4 / 4.4; border-radius: 16px; overflow: hidden; background: #111; cursor: zoom-in; }
.bk-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-photo .i-badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(6, 6, 8, .6); border: 1px solid rgba(255, 255, 255, .2); }
.bk-photo .i-badge.vip { background: linear-gradient(90deg, #ffe07a, #ffb300); color: #2a1800; border: 0; }
.bk-thumbs { position: relative; margin-top: 10px; }
.bk-strip { display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; }
.bk-strip::-webkit-scrollbar { display: none; }
.bk-strip button { flex: 0 0 74px; height: 74px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: #111; }
.bk-strip button.on { border-color: var(--red); }
.bk-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bk-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(6, 6, 8, .75); color: #fff; font-size: 18px; z-index: 2; }
.bk-arrow.l { left: -4px; } .bk-arrow.r { right: -4px; }
.bk-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.bk-meta { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.bk-meta div { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.bk-meta span { color: var(--muted); font-weight: 600; }
.bk-social { display: flex; gap: 8px; }
.bk-social a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-weight: 800; color: #fff; }
.bk-social .fb { background: #1877f2; font-family: Arial, sans-serif; font-size: 18px; }
.bk-social .tt { background: #111; box-shadow: inset 0 0 0 2px #25f4ee, 0 0 0 2px #fe2c55; font-size: 15px; }
.bk-name { font-family: var(--display); font-size: 34px; margin: 0; line-height: 1.1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bk-avail { font-size: 13px; font-family: var(--font); font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(61, 220, 151, .15); color: var(--ok); }
.bk-avail.off { background: rgba(255, 255, 255, .08); color: var(--muted); }
.bk-tagline { color: var(--silver); margin: 8px 0 14px; font-size: 16px; }
.bk-bio { white-space: pre-wrap; line-height: 1.75; color: #e7e7ec; overflow-wrap: anywhere; }
.bk-card-title { font-family: var(--display); font-size: 20px; text-transform: uppercase; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bk-pricebox { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 30px; }
.bk-pricebox small { font-size: 14px; color: var(--muted); font-family: var(--font); }

/* ---------- Lightbox ---------- */
.bk-lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .9); display: grid; place-items: center; padding: 20px; }
.bk-lightbox img { max-width: 100%; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.bk-lightbox button { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; }
.bk-lightbox .l { left: 16px; } .bk-lightbox .r { right: 16px; }
.bk-lightbox .x { top: 20px; right: 20px; transform: none; font-size: 22px; }

/* ---------- Form đăng ký ---------- */
.bk-form { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; align-items: start; }
.bk-fields { display: grid; gap: 14px; }
.bk-fields .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-games { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-games label { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); cursor: pointer; font-size: 14px; }
.bk-games input { width: auto; accent-color: var(--red); }
.bk-games label:has(input:checked) { border-color: var(--red); background: rgba(255, 42, 61, .15); }
.bk-up { display: flex; gap: 10px; flex-wrap: wrap; }
.bk-up .slot { position: relative; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; border: 1px dashed var(--line-red); background: rgba(255, 255, 255, .03); display: grid; place-items: center; color: var(--muted); font-size: 28px; cursor: pointer; }
.bk-up .slot img { width: 100%; height: 100%; object-fit: cover; }
.bk-up .slot .rm { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .75); color: #fff; font-size: 13px; line-height: 1; }
.bk-up .slot.main { width: 130px; height: 170px; }
.bk-check { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 14px; margin: 0; }
.bk-check input { width: auto; margin-top: 3px; accent-color: var(--red); }
.bk-status { padding: 14px 18px; margin-bottom: 18px; border-left: 3px solid; background: rgba(255, 255, 255, .04); }
.bk-status.pending { border-color: #ffcf3f; } .bk-status.approved { border-color: var(--ok); } .bk-status.rejected, .bk-status.hidden { border-color: var(--red); }
.bk-preview { position: sticky; top: 90px; }
.bk-preview .idol { pointer-events: none; }
.bk-switch { display: flex; align-items: center; gap: 10px; }
.bk-list { display: grid; gap: 10px; }
.bk-req { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; background: rgba(255, 255, 255, .035); border-left: 3px solid var(--line); }
.bk-req.new { border-color: #ffcf3f; } .bk-req.accepted { border-color: var(--ok); } .bk-req.done { border-color: #6b6b75; } .bk-req.declined, .bk-req.cancelled { border-color: var(--red); opacity: .7; }
.bk-req .note { margin-top: 3px; }
.bk-tabs { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .bk-detail, .bk-form { grid-template-columns: minmax(0, 1fr); }
  .bk-preview { position: static; max-width: 260px; }
  .bk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .idol .i-name { font-size: 16px; }
  .idol .i-info { padding: 26px 10px 10px; min-height: 110px; }
  .idol .i-stat { bottom: 116px; }
  .i-price { font-size: 15px; }
  .bk-fields .two { grid-template-columns: 1fr; }
  .bk-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; flex-basis: 100%; padding-bottom: 2px; }
  .bk-chips::-webkit-scrollbar { display: none; }
  .bk-sort { flex: 1; }
  .idol .i-games { display: none; }
}

/* Bảng giá theo hạng mục */
.bk-pkgs { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.bk-pkg { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; background: rgba(255, 255, 255, .04); border-left: 3px solid var(--red); }
.bk-pkg span { color: #fff; font-weight: 600; }
.bk-pkg b { font-family: var(--display); font-size: 22px; color: #fff; white-space: nowrap; }
.bk-pkg b small { font-size: 13px; color: var(--muted); margin-left: 4px; font-weight: 500; }
.bk-pkpick { display: flex; flex-direction: column; gap: 6px; }
.bk-pkpick label { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); cursor: pointer; margin: 0; color: var(--text); font-size: 14px; }
.bk-pkpick label:has(input:checked) { border-color: var(--red); background: rgba(255, 42, 61, .1); }
.bk-pkpick input { width: auto; accent-color: var(--red); }
.bk-pkpick b { color: #fff; }
.pkg-edit { display: flex; flex-direction: column; gap: 8px; }
.pkg-edit .pk { display: grid; grid-template-columns: 1fr 130px auto auto; gap: 8px; align-items: center; }
@media (max-width: 560px) { .pkg-edit .pk { grid-template-columns: 1fr 100px auto; } .pkg-edit .pk .note { display: none; } }
