/* ── Luxe Hotel Booking — Frontend Styles ── */
:root {
    --lhb-gold:      #8b6914;
    --lhb-gold-lt:   #b8931a;
    --lhb-dark:      #1a1a1a;
    --lhb-gray:      #f4f4f4;
    --lhb-border:    #e0e0e0;
    --lhb-radius:    10px;
    --lhb-font:      -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.lhb-booking-wrap { font-family: var(--lhb-font); max-width: 1080px; margin: 0 auto; color: var(--lhb-dark); }

/* Steps */
.lhb-steps { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 32px; }
.lhb-step { display: flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: #aaa; }
.lhb-step.active { color: var(--lhb-gold); }
.lhb-step-num { width: 30px; height: 30px; border-radius: 50%; border: 2px solid currentColor; display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; background: transparent; flex-shrink: 0; }
.lhb-step.active .lhb-step-num { background: var(--lhb-gold); color: #fff; border-color: var(--lhb-gold); }
.lhb-step.done .lhb-step-num { background: #00a32a; color: #fff; border-color: #00a32a; }
.lhb-step-line { width: 60px; height: 2px; background: var(--lhb-border); margin: 0 10px; }

/* Layout */
.lhb-form-layout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
@media (max-width: 860px) { .lhb-form-layout { grid-template-columns: 1fr; } }

/* Form Left */
.lhb-form-left { background: #fff; border: 1px solid var(--lhb-border); border-radius: var(--lhb-radius); padding: 28px; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.lhb-form-title { margin: 0 0 24px; font-size: 1.6rem; font-weight: 700; color: var(--lhb-dark); }

.lhb-field-group { margin-bottom: 22px; }
.lhb-field-group-label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: #888; text-transform: uppercase; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--lhb-border); }

.lhb-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 600px) { .lhb-field-row { grid-template-columns: 1fr; } }
.lhb-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.lhb-field-row .lhb-field { margin-bottom: 0; }
.lhb-field-full { grid-column: 1/-1; }

.lhb-field label { font-size: .82rem; font-weight: 600; color: #444; }
.lhb-input, .lhb-select { width: 100%; padding: 10px 14px; border: 1px solid var(--lhb-border); border-radius: 8px; font-size: .9rem; font-family: var(--lhb-font); color: var(--lhb-dark); background: #fff; box-sizing: border-box; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.lhb-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M6 8L0 0h12z' fill='%23888'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.lhb-input:focus, .lhb-select:focus { outline: none; border-color: var(--lhb-gold); box-shadow: 0 0 0 3px rgba(139,105,20,.12); }
.lhb-textarea { resize: vertical; min-height: 80px; }

.lhb-submit-btn { width: 100%; padding: 14px; background: var(--lhb-dark); color: #fff; border: none; border-radius: 8px; font-size: .9rem; font-weight: 700; letter-spacing: .06em; cursor: pointer; transition: background .2s; margin-top: 8px; }
.lhb-submit-btn:hover { background: #333; }
.lhb-submit-btn:disabled { opacity: .5; cursor: not-allowed; }

/* Room Preview (right panel) */
.lhb-form-right { position: sticky; top: 20px; }
.lhb-room-preview { background: #fff; border: 1px solid var(--lhb-border); border-radius: var(--lhb-radius); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.lhb-preview-placeholder { padding: 48px 24px; text-align: center; color: #aaa; }
.lhb-preview-placeholder span { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.lhb-preview-placeholder p { margin: 0; font-size: .9rem; line-height: 1.5; }

.lhb-preview-img { width: 100%; height: 200px; object-fit: cover; display: block; background: #eee; background-size: cover; background-position: center; }
.lhb-preview-body { padding: 18px; }
.lhb-preview-hotel-name { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--lhb-gold); margin-bottom: 4px; }
.lhb-preview-room-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.lhb-preview-room-name { font-size: 1.3rem; font-weight: 700; color: var(--lhb-dark); }
.lhb-preview-price { font-size: 1.2rem; font-weight: 700; color: var(--lhb-gold); }
.lhb-preview-price small { font-size: .7rem; font-weight: 500; color: #888; }
.lhb-preview-desc { font-size: .85rem; color: #666; line-height: 1.55; margin-bottom: 14px; }
.lhb-preview-features-title { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #888; margin-bottom: 10px; }
.lhb-preview-features { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.lhb-preview-feature { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: #555; }

.lhb-room-selector-tabs { display: flex; gap: 6px; padding: 14px; border-bottom: 1px solid var(--lhb-border); flex-wrap: wrap; }
.lhb-room-tab { padding: 7px 14px; border: 2px solid var(--lhb-border); border-radius: 7px; font-size: .82rem; font-weight: 600; cursor: pointer; background: #fff; color: #555; transition: all .15s; white-space: nowrap; }
.lhb-room-tab:hover { border-color: var(--lhb-gold); color: var(--lhb-gold); }
.lhb-room-tab.active { border-color: var(--lhb-gold); background: var(--lhb-gold); color: #fff; }
.lhb-room-tab.unavailable { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* Review step */
.lhb-review-layout { background: #fff; border: 1px solid var(--lhb-border); border-radius: var(--lhb-radius); padding: 28px; max-width: 680px; margin: 0 auto; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.lhb-review-table { width: 100%; margin: 20px 0; }
.lhb-review-table tr td { padding: 10px 0; border-bottom: 1px solid #f5f5f5; font-size: .9rem; }
.lhb-review-table tr td:first-child { color: #888; width: 45%; }
.lhb-review-table tr td:last-child { font-weight: 600; color: var(--lhb-dark); }
.lhb-review-total { background: #fafafa; border-radius: 8px; padding: 14px 16px; margin-top: 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1.05rem; }
.lhb-review-total span:last-child { color: var(--lhb-gold); font-size: 1.2rem; }
.lhb-review-actions { display: flex; gap: 12px; margin-top: 20px; }
.lhb-btn-outline { flex: 1; padding: 12px; background: #fff; border: 2px solid var(--lhb-border); border-radius: 8px; font-size: .88rem; font-weight: 600; cursor: pointer; color: #555; transition: all .15s; }
.lhb-btn-outline:hover { border-color: var(--lhb-dark); color: var(--lhb-dark); }
.lhb-review-actions .lhb-submit-btn { flex: 2; margin-top: 0; }

/* Success */
.lhb-success-wrap { text-align: center; padding: 60px 24px; background: #fff; border: 1px solid var(--lhb-border); border-radius: var(--lhb-radius); max-width: 500px; margin: 0 auto; }
.lhb-success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.lhb-success-wrap h2 { font-size: 1.6rem; color: var(--lhb-dark); margin: 0 0 10px; }
.lhb-success-wrap p { color: #666; font-size: .95rem; line-height: 1.6; }
.lhb-success-ref { background: #f8f9fa; border-radius: 8px; padding: 14px 20px; margin: 20px 0; font-family: monospace; font-size: 1.2rem; font-weight: 700; color: var(--lhb-gold); letter-spacing: .1em; }

/* Notices */
.lhb-notice { padding: 12px 16px; border-radius: 7px; font-size: .88rem; margin-top: 12px; line-height: 1.5; }
.lhb-notice-error   { background: #fef0f0; border: 1px solid #f5c6c6; color: #7b1c1c; }
.lhb-notice-success { background: #edfaef; border: 1px solid #b2dfbb; color: #1a5c27; }

/* Hotel listing */
.lhb-hotels-grid { display: grid; grid-template-columns: repeat(var(--lhb-cols, 3), 1fr); gap: 20px; }
@media (max-width: 900px) { .lhb-hotels-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lhb-hotels-grid { grid-template-columns: 1fr; } }
.lhb-hotel-card { background: #fff; border: 1px solid var(--lhb-border); border-radius: var(--lhb-radius); overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s; }
.lhb-hotel-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.lhb-hotel-img { height: 200px; background-size: cover; background-position: center; background-color: #eee; }
.lhb-hotel-body { padding: 18px; }
.lhb-hotel-stars { color: var(--lhb-gold); font-size: .9rem; margin-bottom: 6px; }
.lhb-hotel-name { font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; color: var(--lhb-dark); }
.lhb-hotel-location { font-size: .82rem; color: #888; margin: 0 0 10px; }
.lhb-hotel-amenities { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.lhb-amenity-tag { background: #f6f7f7; border: 1px solid #e8e8e8; border-radius: 20px; padding: 2px 9px; font-size: .74rem; color: #555; }
.lhb-hotel-footer { display: flex; align-items: center; justify-content: space-between; }
.lhb-hotel-price { font-size: .88rem; color: #666; }
.lhb-hotel-price strong { color: var(--lhb-gold); font-size: 1.05rem; }
.lhb-book-btn { background: var(--lhb-dark); color: #fff; padding: 8px 18px; border-radius: 6px; text-decoration: none; font-size: .82rem; font-weight: 700; transition: background .15s; }
.lhb-book-btn:hover { background: #333; color: #fff; }

/* Room cards */
.lhb-rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .lhb-rooms-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lhb-rooms-grid { grid-template-columns: 1fr; } }
.lhb-room-card { background: #fff; border: 1px solid var(--lhb-border); border-radius: var(--lhb-radius); overflow: hidden; }
.lhb-room-img { height: 160px; background-size: cover; background-position: center; background-color: #eee; }
.lhb-room-body { padding: 16px; }
.lhb-room-name { font-size: .98rem; font-weight: 700; margin: 0 0 8px; color: var(--lhb-dark); }
.lhb-room-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: #666; margin-bottom: 10px; }
.lhb-room-features { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
.lhb-feature-tag { background: #f0f4ff; border: 1px solid #d0dcf5; border-radius: 4px; padding: 2px 7px; font-size: .74rem; color: #3b5bdb; }
.lhb-room-price { font-size: 1.1rem; font-weight: 700; color: var(--lhb-gold); }
.lhb-room-price span { font-size: .78rem; font-weight: 500; color: #888; }

/* Loading spinner */
.lhb-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: lhb-spin .7s linear infinite; }
@keyframes lhb-spin { to { transform: rotate(360deg); } }
