/* Room booking + payment pages (site theme variables from style.css) */
.bk-card { background: #fff; border: 1px solid var(--gold-light); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.4rem 2.6rem; margin-bottom: 2.4rem; }
.bk-card h2 { font-size: 2.6rem; margin-bottom: 1.2rem; }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 2rem; align-items: start; }
.bk-search-btn { align-self: end; padding-top: 2.4rem; }
.form-row select, .form-row input[type=datetime-local], .form-row input[type=number], .form-row input[type=tel] {
    width: 100%; padding: 1rem 1.2rem; border: 1px solid #cdbf9c; border-radius: 6px; font: inherit; font-size: 1.55rem; background: #fff;
}
.form-row input[readonly] { background: #f6f1e4; }

.bk-steps { display: flex; list-style: none; margin: 0 0 2.4rem; padding: 0; counter-reset: s; gap: .6rem; flex-wrap: wrap; }
.bk-steps li { counter-increment: s; flex: 1 1 140px; margin: 0; padding: 1rem 1.2rem; background: #f3ead2; color: var(--muted); border-radius: 6px; font-size: 1.4rem; font-weight: 600; }
.bk-steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-right: .8rem; border-radius: 50%; background: #fff; color: var(--maroon); font-size: 1.3rem; }
.bk-steps li.current { background: var(--maroon); color: #fff; }
.bk-steps li.done { background: #e0efe3; color: #1d5c31; }
.bk-steps li.done::before { content: "✓"; }

.bk-cat { border: 1px solid var(--gold-light); border-radius: var(--radius); margin-top: 1.6rem; overflow: hidden; }
.bk-cat-head { display: flex; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; padding: 1.4rem 1.8rem; background: var(--cream); }
.bk-cat-head h3 { font-size: 2.2rem; margin: 0; }
.bk-cat-meta { margin: .2rem 0 0; font-size: 1.35rem; color: var(--muted); }
.bk-cat-price { text-align: right; }
.bk-cat-price strong { font-size: 2rem; color: var(--maroon); }
.bk-cat-price span { font-size: 1.3rem; color: var(--muted); }
.bk-cat-price small { display: block; font-size: 1.25rem; color: var(--muted); }
.bk-rooms { display: flex; flex-wrap: wrap; gap: 1rem; padding: 1.6rem 1.8rem; }
.room-chip { position: relative; cursor: pointer; }
.room-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.room-chip span { display: block; padding: .9rem 1.6rem; border: 2px solid #cdbf9c; border-radius: 6px; font-weight: 600; font-size: 1.45rem; background: #fff; transition: all .15s; }
.room-chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.room-chip.selected span, .room-chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }

.bk-summary { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; background: #fff; border: 2px solid var(--maroon); border-radius: var(--radius); padding: 1.4rem 2rem; margin-bottom: 2.4rem; box-shadow: 0 -4px 16px rgba(0,0,0,.12); font-size: 1.45rem; }
.bk-summary > div:first-child { flex: 1; min-width: 200px; }
.bk-summary-total { font-size: 2.4rem; font-weight: 700; color: var(--maroon); }
.bk-warn { color: #b3261e; font-weight: 600; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.bk-dev { background: #f3e5f5; color: #4a148c; padding: .4rem .8rem; border-radius: 4px; margin-top: .6rem; }

.bk-table { width: 100%; border-collapse: collapse; margin-bottom: 1.8rem; font-size: 1.5rem; }
.bk-table th { color: var(--muted); }
.bk-table th, .bk-table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--gold-light); vertical-align: top; }
.bk-table > tbody > tr > th, .bk-table > tr > th { width: 30%; color: var(--muted); font-weight: 600; }
.bk-lines thead th, .bk-lines tfoot th { background: var(--cream); color: var(--heading); }
.bk-lines td:last-child, .bk-lines th:last-child { text-align: right; white-space: nowrap; }
.bk-lines tfoot th { font-size: 1.7rem; color: var(--maroon); border-bottom: 0; }
.link-btn { background: none; border: 0; color: var(--link); text-decoration: underline; cursor: pointer; font: inherit; font-size: 1.35rem; padding: 0 .4rem; }

.pay-timer { font-size: 1.6rem; background: #fff3cd; border: 1px solid #e6c65c; border-radius: 6px; padding: 1rem 1.4rem; margin-bottom: 1.8rem; }
.pay-timer strong { font-size: 2rem; color: var(--maroon); font-variant-numeric: tabular-nums; }
.receipt-status { font-size: 1.8rem; }
@media print {
    .top-strip, .header, .footer, .page-banner, .breadcrumb, .back-to-top, .no-print { display: none !important; }
    .bk-card { box-shadow: none; border: 0; padding: 0; }
}
@media (max-width: 600px) {
    .bk-card { padding: 1.8rem 1.6rem; }
    .bk-cat-price { text-align: left; }
}

/* ---------- Donate page ---------- */
.dn-heads { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem 2.4rem; margin: 1.6rem 0 1rem; }
.dn-head { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; margin: 0; padding: 1.2rem 1.4rem; border: 1px solid var(--gold-light); border-radius: var(--radius); background: var(--ivory); }
.dn-head label { margin: 0; }
.dn-head-name { display: block; font-weight: 700; color: var(--heading); font-size: 1.6rem; }
.dn-head-desc { display: block; font-weight: 400; font-size: 1.3rem; color: var(--muted); }
.dn-amount { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--maroon); }
.form-row .dn-amount input { width: 13rem; text-align: right; padding: .8rem 1rem; border: 1px solid #cdbf9c; border-radius: 6px; font: inherit; font-size: 1.6rem; }
.dn-head .field-error { flex-basis: 100%; }
.dn-head.has-error { flex-wrap: wrap; }
.dn-sub { font-size: 2rem; margin: 2rem 0 1rem; }
.dn-total-row { display: flex; justify-content: space-between; align-items: center; gap: 1.6rem; flex-wrap: wrap; border-top: 2px solid var(--gold-light); padding-top: 1.6rem; margin-top: .8rem; font-size: 1.7rem; }
.dn-total-row strong { font-size: 2.6rem; color: var(--maroon); margin-left: .6rem; }

/* ---------- Office counter cash box (admin only) ---------- */
.cash-box { margin-top: 2.4rem; padding: 1.8rem 2rem; border: 2px dashed var(--teal); border-radius: var(--radius); background: #eef7f6; }
.cash-box h2 { font-size: 2.1rem; margin-bottom: .6rem; color: var(--teal); }
.cash-box p { font-size: 1.45rem; }
.cash-row { display: flex; gap: 1.6rem; align-items: flex-end; flex-wrap: wrap; }
.cash-row .form-row { flex: 1; min-width: 220px; margin: 0; }
.btn-cash { background: var(--teal); border-color: var(--teal); }
.btn-cash:hover { background: #174f4c; border-color: #174f4c; }
.counter-note { background: #eef7f6; border: 1px solid var(--teal); border-radius: var(--radius); padding: 1rem 1.6rem; margin-bottom: 2rem; font-size: 1.45rem; }
