/* ===== BOOKING PAGE RESET & STANDALONE CSS ===== */
.bp * { box-sizing: border-box; margin: 0; padding: 0; }
.bp { font-family: 'Inter', system-ui, sans-serif; color: #1c1917; counter-reset: step; }
.bp img { display: block; max-width: 100%; }

/* ===== ENTRANCE ANIMATIONS ===== */
@keyframes bpFadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes bpPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes bpShimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes bpGlowPulse {
    0%,100% { box-shadow: 0 0 12px 2px rgba(217,119,6,0.25); }
    50%     { box-shadow: 0 0 22px 5px rgba(217,119,6,0.40); }
}
@keyframes bpBtnShine {
    0%   { left: -75%; }
    100% { left: 125%; }
}

.bp-anim-1 { animation: bpFadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.08s both; }
.bp-anim-2 { animation: bpFadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.18s both; }
.bp-anim-3 { animation: bpFadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.28s both; }
.bp-anim-4 { animation: bpFadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.38s both; }
.bp-anim-5 { animation: bpFadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.48s both; }
.bp-anim-6 { animation: bpFadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.58s both; }
.bp-anim-7 { animation: bpFadeInUp 0.6s cubic-bezier(.22,1,.36,1) 0.68s both; }

/* ===== Layout ===== */
.bp-wrap { max-width: 960px; margin: 0 auto; padding: 40px 16px 60px; }
.bp-header { text-align: center; margin-bottom: 40px; }
.bp-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,0.55); border: 1px solid rgba(217,119,6,0.15); margin-bottom: 16px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.bp-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #d97706; animation: bpPulse 2s infinite; }
.bp-badge-text { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #92400e; }
.bp-title { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: #1c1917; line-height: 1.2; }
.bp-subtitle { margin-top: 8px; font-size: 15px; color: #78716c; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ===== GLASSMORPHISM SECTION CARDS ===== */
.bp-card {
    background: rgba(255,255,255,0.60);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.50);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    transition: box-shadow 0.35s ease;
}
.bp-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
}
.bp-card-head { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid rgba(245,245,244,0.7); }
.bp-step-num { counter-increment: step; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #8C6D4F, #B8956A); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bp-step-num::after { content: counter(step); }
.bp-card-title { font-size: 15px; font-weight: 700; color: #1c1917; }
.bp-card-body { padding: 24px; }

/* ===== FORM ELEMENTS — IMPROVED FOCUS STATES ===== */
.bp-label { display: block; font-size: 11px; font-weight: 600; color: #78716c; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.bp-label .req { color: #ef4444; }
.bp-input {
    width: 100%; padding: 12px 16px; font-size: 14px;
    border: 1px solid #d6d3d1; border-radius: 12px;
    background: rgba(255,255,255,0.80); color: #1c1917; outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    font-family: inherit;
}
.bp-input:focus {
    border-color: #d97706;
    box-shadow: 0 0 0 4px rgba(217,119,6,0.12), 0 0 16px rgba(217,119,6,0.08);
    background: #fff;
}
.bp-input::placeholder { color: #a8a29e; }
.bp-input-icon-wrap { position: relative; }
.bp-input-icon-wrap .bp-input { padding-left: 40px; }
.bp-input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #a8a29e; pointer-events: none; transition: color 0.3s ease; }
.bp-input-icon-wrap .bp-input:focus ~ .bp-input-icon,
.bp-input-icon-wrap:focus-within .bp-input-icon { color: #d97706; }
.bp-hint { font-size: 11px; color: #a8a29e; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.bp-error { font-size: 12px; color: #ef4444; margin-top: 4px; font-weight: 500; }
.bp-grid-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* ===== ROOM CARDS — GLOWING AMBER BORDER ===== */
.bp-rooms { display: grid; grid-template-columns: 1fr; gap: 20px; }
.bp-room {
    border: 2px solid rgba(231,229,228,0.8);
    border-radius: 16px; overflow: hidden; cursor: pointer;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    background: rgba(255,255,255,0.70);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.bp-room:hover {
    border-color: #d4a574;
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(140,109,79,0.14), 0 0 0 1px rgba(217,119,6,0.10), 0 0 20px rgba(217,119,6,0.08);
}
.bp-room.active {
    border-color: #d97706;
    background: linear-gradient(135deg, rgba(253,248,243,0.9), rgba(251,243,234,0.9));
    box-shadow: 0 0 0 2px rgba(217,119,6,0.20), 0 0 24px rgba(217,119,6,0.15), 0 8px 32px rgba(140,109,79,0.10);
    animation: bpGlowPulse 2.5s ease-in-out infinite;
}
.bp-room-img { height: 180px; position: relative; overflow: hidden; background: #f5f5f4; }
.bp-room-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.bp-room:hover .bp-room-img img { transform: scale(1.05); }
.bp-room-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.45), transparent); pointer-events: none; }

/* ===== PRICE BADGE WITH SHIMMER ===== */
.bp-room-price {
    position: absolute; top: 12px; right: 12px;
    padding: 6px 14px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    font-weight: 700; font-size: 14px; color: #1c1917;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    z-index: 2;
    overflow: hidden;
}
.bp-room-price::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255,215,130,0.35) 45%,
        rgba(255,215,130,0.50) 50%,
        rgba(255,215,130,0.35) 55%,
        transparent 70%
    );
    background-size: 200% 100%;
    animation: bpShimmer 3s ease-in-out infinite;
    pointer-events: none;
}
.bp-room-price small { font-size: 10px; font-weight: 400; color: #78716c; margin-left: 2px; }

/* Room check / dots */
.bp-room-check { position: absolute; top: 12px; left: 12px; width: 28px; height: 28px; background: #10b981; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(16,185,129,0.4); opacity: 0; transform: scale(0.5); transition: all 0.3s; z-index: 2; }
.bp-room.active .bp-room-check { opacity: 1; transform: scale(1); }
.bp-room-check .material-symbols-rounded { color: #fff; font-size: 16px; font-variation-settings: 'FILL' 1; }
.bp-room-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; z-index: 2; }
.bp-room-dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: all 0.3s; padding: 0; }
.bp-room-dot.on { background: #fff; width: 16px; }
.bp-room-body { padding: 16px 20px; }
.bp-room-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 4px; }
.bp-room-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: #1c1917; }
.bp-room-occ { display: inline-flex; align-items: center; gap: 4px; background: #fffbeb; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; color: #92400e; border: 1px solid #fde68a; flex-shrink: 0; margin-left: 8px; }
.bp-room-occ .material-symbols-rounded { font-size: 13px; }
.bp-room-desc { font-size: 13px; color: #78716c; line-height: 1.5; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.bp-amenity { padding: 3px 10px; background: rgba(245,245,244,0.8); color: #57534e; font-size: 10px; font-weight: 600; border-radius: 999px; border: 1px solid #e7e5e4; transition: background 0.2s; }
.bp-room:hover .bp-amenity { background: rgba(255,251,235,0.6); }

/* ===== GUESTS + DATES GRID ===== */
.bp-grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.bp-guest-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; }
.bp-guest-label { font-size: 14px; font-weight: 600; color: #1c1917; }
.bp-guest-sub { font-size: 11px; color: #a8a29e; margin-top: 1px; }
.bp-guest-ctrl { display: flex; align-items: center; gap: 10px; }

/* ===== GUEST +/- BUTTONS — MICRO-ANIMATIONS ===== */
.bp-adj-btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid #d6d3d1; background: rgba(255,255,255,0.80);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 18px; font-weight: 700; color: #78716c;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
    user-select: none;
}
.bp-adj-btn:hover {
    border-color: #d97706; background: #fffbeb; color: #92400e;
    transform: scale(1.12);
    box-shadow: 0 0 0 3px rgba(217,119,6,0.10);
}
.bp-adj-btn:active {
    transform: scale(0.90);
    background: #fde68a;
    transition-duration: 0.08s;
}
.bp-num-input { width: 48px; height: 36px; text-align: center; font-size: 16px; font-weight: 700; border: none; background: transparent; color: #1c1917; font-family: inherit; -moz-appearance: textfield; }
.bp-num-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.bp-divider { height: 1px; background: #f5f5f4; margin: 16px 0; }

/* ===== SUMMARY — GRADIENT ACCENT BAR ===== */
.bp-summary {
    background: linear-gradient(135deg, rgba(251,243,234,0.85), rgba(245,237,228,0.85));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(180,140,100,0.2);
    overflow: hidden; margin-bottom: 24px;
    position: relative;
}
.bp-summary::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d97706, #f59e0b, #eab308, #d97706);
    background-size: 300% 100%;
    animation: bpShimmer 4s ease-in-out infinite;
}
.bp-summary-head { display: flex; align-items: center; gap: 8px; padding: 16px 24px; border-bottom: 1px solid rgba(180,140,100,0.15); }
.bp-summary-head .material-symbols-rounded { color: #d97706; font-size: 20px; }
.bp-summary-title { font-size: 14px; font-weight: 700; color: #78350f; }
.bp-summary-body { padding: 24px; }
.bp-summary-row { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; font-size: 14px; }
.bp-summary-row .label { color: #78716c; }
.bp-summary-row .value { font-weight: 600; color: #1c1917; }
.bp-summary-divider { height: 1px; background: rgba(180,140,100,0.2); margin: 8px 0; }
.bp-summary-total .value { font-size: 24px; font-family: 'Playfair Display', serif; font-weight: 700; color: #78350f; }

/* ===== PAYMENT ===== */
.bp-pay-option {
    display: flex; align-items: center; gap: 16px; padding: 16px;
    border: 1px solid rgba(214,211,209,0.8); border-radius: 14px;
    cursor: pointer; transition: all 0.3s cubic-bezier(.4,0,.2,1); margin-bottom: 10px;
    background: rgba(255,255,255,0.50);
}
.bp-pay-option:hover { background: rgba(250,250,249,0.80); transform: translateX(4px); }
.bp-pay-option:has(input:checked) { border-color: #8C6D4F; background: rgba(253,248,243,0.85); box-shadow: 0 0 0 1px #8C6D4F; }
.bp-pay-option input[type="radio"] { width: 16px; height: 16px; accent-color: #8C6D4F; flex-shrink: 0; }
.bp-pay-option-info { flex: 1; }
.bp-pay-option-name { font-size: 14px; font-weight: 600; color: #1c1917; }
.bp-pay-option-desc { font-size: 11px; color: #a8a29e; margin-top: 2px; }
.bp-pay-icon { color: #d6d3d1; font-size: 20px; }

/* ===== SUBMIT BUTTON — PREMIUM GRADIENT + HOVER LIFT ===== */
.bp-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; flex-wrap: wrap; }
.bp-secure { font-size: 12px; color: #a8a29e; display: flex; align-items: center; gap: 4px; }
.bp-submit {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #d97706, #92400e, #78350f);
    background-size: 200% 200%;
    color: #fff; font-size: 14px; font-weight: 700;
    border: none; border-radius: 14px; cursor: pointer;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 4px 20px rgba(217,119,6,0.30), 0 2px 8px rgba(0,0,0,0.08);
    font-family: inherit;
    overflow: hidden;
}
.bp-submit::before {
    content: '';
    position: absolute; top: 0; width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    left: -75%;
    transform: skewX(-20deg);
    transition: none;
}
.bp-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 36px rgba(217,119,6,0.40), 0 4px 12px rgba(0,0,0,0.10);
    background-position: 100% 100%;
}
.bp-submit:hover::before {
    animation: bpBtnShine 0.7s ease-out forwards;
}
.bp-submit:active {
    transform: translateY(-1px) scale(0.99);
    transition-duration: 0.1s;
}
.bp-submit:disabled {
    opacity: 0.4; cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 4px 16px rgba(140,109,79,0.15) !important;
}
.bp-submit:disabled:hover::before { animation: none; }
.bp-submit .material-symbols-rounded { font-size: 18px; }

/* ===== ERROR ALERT ===== */
.bp-alert { padding: 14px 20px; background: rgba(254,242,242,0.85); border: 1px solid #fecaca; border-radius: 16px; display: flex; align-items: center; gap: 10px; margin-bottom: 24px; backdrop-filter: blur(8px); }
.bp-alert .material-symbols-rounded { color: #ef4444; font-size: 20px; }
.bp-alert p { font-size: 14px; color: #991b1b; font-weight: 500; }

/* Hidden utility */
.bp-hidden { display: none !important; }

/* Flatpickr theme */
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: #8C6D4F !important; border-color: #8C6D4F !important; }

/* ===== LUXURY FOOTER ===== */
.bp-luxury-footer {
    text-align: center; padding: 40px 20px 32px;
    margin-top: 48px;
    border-top: 1px solid rgba(180,140,100,0.15);
}
.bp-luxury-footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 18px; font-weight: 700; color: #78350f;
    margin-bottom: 4px;
}
.bp-luxury-footer-tagline {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: #d97706; margin-bottom: 16px;
}
.bp-luxury-footer-divider {
    width: 60px; height: 2px; margin: 0 auto 16px;
    background: linear-gradient(90deg, transparent, #d97706, transparent);
}
.bp-luxury-footer-copy {
    font-size: 12px; color: #a8a29e;
    line-height: 1.6;
}
.bp-luxury-footer-copy a {
    color: #78716c; text-decoration: none;
    transition: color 0.2s;
}
.bp-luxury-footer-copy a:hover { color: #d97706; }

/* ===== RESPONSIVE — TABLET 768px ===== */
@media(min-width:640px) { .bp-rooms { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:768px) {
    .bp-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .bp-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .bp-title { font-size: 40px; }
    .bp-subtitle { font-size: 16px; }
    .bp-wrap { padding: 48px 24px 72px; }
}

/* ===== RESPONSIVE — MOBILE 375px ===== */
@media(max-width:480px) {
    .bp-wrap { padding: 28px 12px 48px; }
    .bp-title { font-size: 26px; }
    .bp-subtitle { font-size: 13px; }
    .bp-card-body { padding: 16px; }
    .bp-card-head { padding: 12px 16px; }
    .bp-rooms { gap: 14px; }
    .bp-room-img { height: 150px; }
    .bp-room-body { padding: 12px 14px; }
    .bp-room-name { font-size: 16px; }
    .bp-footer { flex-direction: column; align-items: stretch; gap: 12px; }
    .bp-submit { width: 100%; justify-content: center; padding: 14px 24px; }
    .bp-secure { justify-content: center; }
    .bp-summary-total .value { font-size: 20px; }
    .bp-luxury-footer { padding: 28px 16px 24px; margin-top: 32px; }
}
@media(max-width:375px) {
    .bp-title { font-size: 22px; }
    .bp-badge { padding: 4px 12px; }
    .bp-badge-text { font-size: 10px; }
    .bp-card-body { padding: 12px; }
    .bp-room-img { height: 130px; }
    .bp-adj-btn { width: 32px; height: 32px; font-size: 16px; }
    .bp-num-input { width: 40px; font-size: 14px; }
}
