/* ============================================================
   booking-ux-v3.css — UX uplift 2026-05-24
   Layered di atas booking-light.css. Tidak mengubah ID/class
   yang dipakai booking.js / main.js — hanya menambah varian
   visual via class baru (.bkx-*) atau enhance existing class.
   ============================================================ */

/* ---------- 1) Stepper microcopy & active emphasis ---------- */
.bk-light .bprogress__step.is-active .bprogress__bubble {
    box-shadow: 0 0 0 4px var(--bk-gold-glow);
    transform: scale(1.05);
}
.bk-light .bprogress__step.is-active .bprogress__label {
    color: var(--bk-gold-dim);
    font-weight: 700;
}
.bk-light .bprogress__step .bprogress__bubble,
.bk-light .bprogress__step .bprogress__label {
    transition: all .22s ease;
}

/* ---------- 2) Segmented control for Stay Type ---------- */
.bk-light .stay-type-selector {
    display: inline-flex;
    background: var(--bk-surface);
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--bk-border);
    gap: 4px;
    width: 100%;
    max-width: 420px;
}
.bk-light .stay-type-option {
    flex: 1;
    cursor: pointer;
    border-radius: 10px;
    padding: 12px 16px;
    background: transparent;
    border: none;
    transition: all .2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    position: relative;
}
.bk-light .stay-type-option .stay-type-option__radio {
    display: none;
}
.bk-light .stay-type-option .bkx-stay-icon {
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 2px;
    transition: transform .2s ease;
}
.bk-light .stay-type-option .stay-type-option__body strong {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--bk-text);
}
.bk-light .stay-type-option .stay-type-option__body .summary-kicker {
    font-size: 0.72rem;
    color: var(--bk-text-mut);
    text-transform: none;
    letter-spacing: 0;
}
.bk-light .stay-type-option:hover {
    background: rgba(185, 135, 61, 0.06);
}
.bk-light .stay-type-option:hover .bkx-stay-icon {
    transform: scale(1.15);
}
.bk-light .stay-type-option.selected {
    background: linear-gradient(135deg, var(--bk-gold) 0%, var(--bk-gold-dim) 100%);
    box-shadow: 0 4px 14px rgba(185, 135, 61, 0.32);
}
.bk-light .stay-type-option.selected .stay-type-option__body strong,
.bk-light .stay-type-option.selected .stay-type-option__body .summary-kicker {
    color: #fff;
}

/* ---------- 3) Date inputs: calendar icon + placeholder polish ---------- */
.bk-light #section-dates-nightly .form-input,
.bk-light #section-dates-transit .form-input {
    padding-left: 42px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23b9873d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px 18px;
    transition: all .2s ease;
}
.bk-light #section-dates-nightly .form-input:hover,
.bk-light #section-dates-transit .form-input:hover {
    border-color: var(--bk-gold);
    background-color: #fffdfa;
}
.bk-light #section-dates-nightly .form-input:focus,
.bk-light #section-dates-transit .form-input:focus {
    box-shadow: 0 0 0 3px var(--bk-gold-glow);
}

/* ---------- 4) Quick Pick — pill buttons with icons ---------- */
.bk-light .quick-select-buttons__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bk-light .quick-select-buttons .quick-select-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--bk-surface);
    border: 1.5px solid var(--bk-border-g);
    color: var(--bk-text);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}
.bk-light .quick-select-buttons .quick-select-btn .bkx-pill-ico {
    font-size: 0.95rem;
    line-height: 1;
}
.bk-light .quick-select-buttons .quick-select-btn:hover {
    background: var(--bk-gold-glow);
    border-color: var(--bk-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(185, 135, 61, 0.16);
}
.bk-light .quick-select-buttons .quick-select-btn:active {
    transform: translateY(0);
}
.bk-light .quick-select-buttons .quick-select-btn.is-selected {
    background: var(--bk-gold);
    border-color: var(--bk-gold);
    color: #fff;
}

/* ---------- 5) Skeleton loader (room cards before date picked) ---------- */
.bkx-room-skeleton-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 1rem;
}
.bk-light .booking-results-panel[data-rooms-state="waiting"] .booking-room-list {
    display: none;
}
.bk-light .booking-results-panel[data-rooms-state="waiting"] .bkx-room-skeleton-list {
    display: flex;
}
.bk-light .booking-results-panel:not([data-rooms-state="waiting"]) .bkx-room-skeleton-list {
    display: none;
}
.bkx-room-skeleton {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--bk-border);
    background: var(--bk-card);
}
.bkx-skel {
    background: linear-gradient(90deg, #ede8df 0%, #f6f3ed 50%, #ede8df 100%);
    background-size: 200% 100%;
    animation: bkx-shimmer 1.4s ease-in-out infinite;
    border-radius: 8px;
}
.bkx-skel--img { height: 100px; border-radius: 12px; }
.bkx-skel--title { height: 18px; width: 60%; margin-bottom: 10px; }
.bkx-skel--line { height: 12px; width: 100%; margin-bottom: 6px; }
.bkx-skel--line.short { width: 40%; }
.bkx-skel--chip { height: 22px; width: 70px; border-radius: 999px; display: inline-block; margin-right: 6px; }
@keyframes bkx-shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}
.bkx-empty-hint {
    text-align: center;
    color: var(--bk-text-mut);
    font-size: 0.85rem;
    margin-top: 6px;
    font-style: italic;
}
@media (max-width: 600px) {
    .bkx-room-skeleton { grid-template-columns: 90px 1fr; }
    .bkx-skel--img { height: 80px; }
}

/* ---------- 6) Trust badges horizontal (after dates) ---------- */
.bkx-trust-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 12px 0 18px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--bk-card);
    border: 1px solid var(--bk-border);
    box-shadow: 0 2px 8px rgba(17, 20, 24, 0.03);
}
.bkx-trust-strip__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--bk-text-sec);
    line-height: 1.25;
}
.bkx-trust-strip__item svg {
    flex-shrink: 0;
    color: var(--bk-gold);
}
@media (max-width: 720px) {
    .bkx-trust-strip {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px 12px;
    }
    .bkx-trust-strip__item { font-size: 0.78rem; }
}

/* ---------- 7) Room card amenity icons ---------- */
.bk-light .booking-room-card__quick-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding-left: 0;
    list-style: none;
}
.bk-light .booking-room-card__quick-features li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: var(--bk-text-sec);
}
.bk-light .booking-room-card__quick-features li::before {
    content: "";
    display: none;
}
.bkx-amenity-ico {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--bk-gold);
}

/* ---------- 8) CTA button text update ---------- */
.bk-light .booking-room-card__select-button {
    background: var(--bk-gold);
    color: #fff;
    font-weight: 600;
    transition: all .2s ease;
}
.bk-light .booking-room-card__select-button:hover {
    background: var(--bk-gold-dim);
    box-shadow: 0 4px 14px rgba(185, 135, 61, 0.28);
    transform: translateY(-1px);
}

/* ---------- 9) Floating WhatsApp button ---------- */
.bkx-fab-wa {
    position: fixed;
    right: 18px;
    bottom: 90px;
    z-index: 80;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bk-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.42);
    text-decoration: none;
    transition: all .2s ease;
    animation: bkx-fab-pop .35s ease both;
}
.bkx-fab-wa:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 40px rgba(37, 211, 102, 0.55);
}
.bkx-fab-wa svg {
    width: 28px;
    height: 28px;
    color: #fff;
}
.bkx-fab-wa__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--bk-green);
    animation: bkx-fab-pulse 2s ease-out infinite;
}
@keyframes bkx-fab-pop {
    from { opacity: 0; transform: translateY(20px) scale(0.6); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bkx-fab-pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0;   }
}
@media (max-width: 680px) {
    .bkx-fab-wa { right: 14px; bottom: 88px; width: 52px; height: 52px; }
    .bkx-fab-wa svg { width: 26px; height: 26px; }
}

/* ---------- 10) Summary placeholders polish ---------- */
.bk-light .booking-summary__line strong:where(#sum-checkin, #sum-checkout, #sum-room):empty::after,
.bk-light .booking-summary__line strong[data-empty="true"] {
    color: var(--bk-text-mut);
    font-weight: 500;
    font-style: italic;
}
.bkx-summary-check {
    color: var(--bk-gold);
    margin-right: 4px;
}

/* ---------- 11) Mobile-first refinements ---------- */
@media (max-width: 600px) {
    .bk-light .stay-type-selector { max-width: none; }
    .bk-light .stay-type-option { padding: 10px 12px; }
    .bk-light .stay-type-option .bkx-stay-icon { font-size: 1.1rem; }
}

/* ---------- 12) Helper: visible-only-on-mobile / -desktop ---------- */
@media (min-width: 720px) {
    .bkx-mobile-only { display: none !important; }
}
@media (max-width: 719.98px) {
    .bkx-desktop-only { display: none !important; }
}
