/* India Village Restaurant — table booking (Reservation page)
   Luxury ink+gold redesign 2026-07-06. JS-generated classes (.tb-slot*, .tb-svc-label,
   .tb-slots-hint, .tb-slots-tip, .tb-success*) keep their names — restyled only. */

/* ---------- layout: dark brand panel + paper form card ---------- */
.tb-lux {
    border-radius: 22px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(28, 28, 28, .18);
    background: #fffdf8;
}
.tb-lux-grid { display: grid; grid-template-columns: 380px 1fr; min-height: 560px; }

/* left panel */
.tb-lux-side {
    position: relative; color: #fdf6e7;
    background: linear-gradient(150deg, #171310 0%, #2b2013 55%, #3a2c10 100%);
    overflow: hidden;
}
.tb-lux-side::before {
    content: ""; position: absolute; inset: 0; opacity: .4; pointer-events: none;
    background:
        radial-gradient(420px 220px at 110% -10%, rgba(232, 170, 66, .35), transparent 65%),
        radial-gradient(360px 240px at -20% 110%, rgba(232, 170, 66, .22), transparent 60%);
}
.tb-lux-side-inner { position: relative; padding: 40px 34px; display: flex; flex-direction: column; height: 100%; }
.tb-lux-eyebrow {
    font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
    color: #d9b96a; margin-bottom: 12px;
}
.tb-lux-title {
    font-size: 40px; line-height: 1.08; color: #fff; margin: 0 0 14px; font-weight: 700;
}
.tb-lux-rule { width: 64px; height: 3px; background: linear-gradient(90deg, #E8AA42, rgba(232,170,66,.2)); margin-bottom: 16px; }
.tb-lux-lead { color: #cdbfa5; font-size: 14px; line-height: 1.7; margin-bottom: 22px; }

.tb-lux-perks { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.tb-lux-perks li { display: flex; align-items: center; gap: 12px; }
.tb-lux-perk-ic {
    width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(232, 170, 66, .14); border: 1px solid rgba(232, 170, 66, .45);
    color: #E8AA42; font-size: 15px;
}
.tb-lux-perks b { display: block; color: #fff; font-size: 13.5px; line-height: 1.3; }
.tb-lux-perks small { display: block; color: #b3a586; font-size: 11.5px; line-height: 1.35; }

.tb-lux-hours {
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(232, 170, 66, .3);
    border-radius: 12px; padding: 12px 15px; margin-bottom: 16px;
}
.tb-lux-hours-head { color: #d9b96a; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 6px; }
.tb-lux-hours-head i { margin-right: 6px; }
.tb-lux-hours-row { display: flex; justify-content: space-between; align-items: center; color: #cdbfa5; font-size: 13px; }
.tb-lux-hours-row b { color: #fff; }

.tb-lux-phone {
    margin-top: auto; display: inline-flex; align-items: center; gap: 9px;
    color: #E8AA42; font-weight: 800; font-size: 16px; text-decoration: none;
}
.tb-lux-phone:hover { color: #f3c96e; }
.tb-lux-phone i {
    width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(232, 170, 66, .14); border: 1px solid rgba(232, 170, 66, .45); font-size: 14px;
}

/* right form card */
.tb-lux-main { padding: 34px 36px; background: #fffdf8; }
/* neutralize the theme's narrow centered .reservation-form box — the tb-lux grid is the layout now */
.tb-lux .reservation-form.tb-book-form {
    max-width: none; margin: 0; padding: 0; background: transparent; text-align: left;
}
.tb-book-form .form-title { color: #1c1c1c; }

/* promo offers banner (admin-managed table-booking offers) */
.tb-offer-ribbon {
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(120deg, #1c1c1c, #3a2c10);
    color: #fdf6e7; border: 1px solid rgba(232, 170, 66, .5); border-radius: 12px;
    padding: 11px 15px; margin-bottom: 18px; font-size: 14px; font-weight: 600;
}
.tb-offer-ribbon i { color: var(--theme-color, #E8AA42); font-size: 20px; }

/* ---------- step cards ---------- */
.tb-lux-step {
    background: #fff; border: 1px solid #ece5d3; border-radius: 16px;
    padding: 20px 22px 16px; margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(28, 28, 28, .05);
}
.tb-book-form .tb-step-head {
    display: flex; align-items: center; gap: 12px;
    margin: 0 0 16px; padding-bottom: 12px;
    border-bottom: 1px dashed #e3d7ba;
}
.tb-step-num {
    background: linear-gradient(135deg, #f3c96e, var(--theme-color, #E8AA42)); color: #fff;
    border-radius: 50%; width: 34px; height: 34px; flex: 0 0 34px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 800;
    box-shadow: 0 4px 12px rgba(232, 170, 66, .45);
}
.tb-step-txt { font-weight: 800; font-size: 17px; color: #1c1c1c; line-height: 1.2; }
.tb-step-txt small { display: block; font-weight: 500; font-size: 12px; color: #9a8f7a; margin-top: 2px; }
.tb-step-ic { margin-left: auto; color: #e3c98a; font-size: 24px; }

.tb-lux-label {
    display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px;
    text-transform: uppercase; color: #8a6414; margin-bottom: 6px;
}
.tb-lux-label i { margin-right: 5px; color: #b39140; }

/* inputs — soft rounded, gold focus (theme .form-control base kept) */
.tb-book-form .form-control {
    border: 2px solid #e6dec9 !important; border-radius: 12px !important;
    background: #fffdf8 !important; color: #1c1c1c !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.tb-book-form .form-control:focus {
    border-color: var(--theme-color, #E8AA42) !important;
    box-shadow: 0 0 0 4px rgba(232, 170, 66, .15) !important;
}

/* ---------- slots ---------- */
.tb-slots-area { margin: 4px 0 6px; }
.tb-slots-hint { color: #4a4538; font-size: 14px; padding: 10px 4px; }
.tb-slots-hint i { color: var(--theme-color, #E8AA42); margin-right: 6px; }
.tb-slots-warn { color: #b02a1c; }

.tb-svc-label {
    color: #8a6414; font-size: 12px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 2.5px; margin: 14px 0 9px;
    display: flex; align-items: center; gap: 7px;
}
.tb-svc-label::after { content: ""; flex: 1; height: 1px; background: #eadfc4; }
.tb-svc-label i { margin-right: 0; color: #c9962a; }

.tb-slot-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.tb-slot {
    background: #ffffff; border: 2px solid #e0d9c8; border-radius: 14px;
    padding: 9px 18px; font-weight: 700; font-size: 14px; color: #1c1c1c;
    cursor: pointer; transition: all .16s ease;
    display: inline-flex; flex-direction: column; align-items: center; line-height: 1.25;
}
.tb-slot:hover {
    border-color: var(--theme-color, #E8AA42); transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(232, 170, 66, .25);
}
.tb-slot.is-picked {
    background: linear-gradient(135deg, #f3c96e, var(--theme-color, #E8AA42));
    color: #fff; border-color: var(--theme-color, #E8AA42);
    box-shadow: 0 8px 20px rgba(232, 170, 66, .5); transform: translateY(-2px);
}
.tb-slot-full { background: #fdecea; border-color: #e7b3ac; color: #b02a1c; opacity: .9; cursor: not-allowed; }
.tb-slot-full:hover { border-color: #e7b3ac; transform: none; box-shadow: none; }
.tb-slot-time { font-weight: 700; }
.tb-slot-full .tb-slot-time { text-decoration: line-through; }
.tb-slot-sub { font-size: 10.5px; font-weight: 600; color: #8a6414; text-transform: none; letter-spacing: 0; white-space: nowrap; }
.tb-slot.is-picked .tb-slot-sub { color: #fdf6e7; }
.tb-slot-full .tb-slot-sub { color: #b02a1c; text-decoration: none; }
.tb-slots-tip {
    background: #fdf6e7; border: 1px dashed var(--theme-color, #E8AA42); border-radius: 10px;
    color: #4a4538; padding: 9px 12px; margin-top: 12px; font-size: 13.5px;
}

/* ---------- details step ---------- */
.tb-details-step { margin-top: 2px; }
.tb-summary {
    display: flex; align-items: center; gap: 12px;
    background: linear-gradient(120deg, #fdf6e7, #fbf0d8);
    border: 1px solid #e3c98a; border-left: 4px solid var(--theme-color, #E8AA42);
    border-radius: 12px; padding: 11px 15px; margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(232, 170, 66, .15);
}
.tb-summary-ic {
    width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #f3c96e, var(--theme-color, #E8AA42));
    color: #fff; font-size: 16px; box-shadow: 0 3px 8px rgba(232, 170, 66, .4);
}
.tb-summary-body small {
    display: block; font-size: 10px; font-weight: 800; letter-spacing: 1.5px;
    text-transform: uppercase; color: #8a6414;
}
.tb-summary-body { color: #1c1c1c; font-weight: 700; font-size: 15px; line-height: 1.35; }
/* legacy inline icon (in case cached JS injects it) */
.tb-summary > i { color: #8a6414; }

.tb-captcha { margin: 6px 0 14px; min-height: 0; }

/* buttons */
.tb-lux-btn { border-radius: 12px !important; font-weight: 700 !important; }
.tb-lux-btn-ghost { margin-bottom: 10px; }

/* must out-rank .tb-book-form .form-control (0,2,0 !important) — hence the doubled selector */
.tb-input-error,
.tb-book-form .form-control.tb-input-error {
    border: 2px solid #e74c3c !important;
    background: #fff5f5 !important;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, .12) !important;
}
.tb-msg-ok { color: #1e7a3a; font-weight: 600; }
.tb-msg-err { color: #b02a1c; font-weight: 600; }

/* ---------- success state (JS replaces #tbBookForm innerHTML) ---------- */
.tb-success { text-align: center; color: #1c1c1c; padding: 40px 10px; }
.tb-success-ic i { font-size: 64px; color: #2ecc71; }
.tb-success h3 { color: #1c1c1c; margin: 14px 0 10px; }
.tb-success p { color: #4a4538; font-size: 15px; }
.tb-success-note { background: #fdf6e7; border: 1px dashed var(--theme-color, #E8AA42); border-radius: 10px; padding: 12px 16px; display: inline-block; }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
    .tb-lux-grid { grid-template-columns: 1fr; }
    /* brand panel becomes a compact banner: hide the long perks, keep title + hours + phone */
    .tb-lux-side-inner { padding: 26px 24px 22px; }
    .tb-lux-title { font-size: 28px; }
    .tb-lux-title br { display: none; }
    .tb-lux-lead { margin-bottom: 14px; }
    .tb-lux-perks { flex-direction: row; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 16px; }
    .tb-lux-perks li { flex: 1 1 44%; }
    .tb-lux-perks small { display: none; }
    .tb-lux-perk-ic { width: 30px; height: 30px; flex-basis: 30px; font-size: 12px; }
    .tb-lux-hours { margin-bottom: 12px; }
    .tb-lux-phone { margin-top: 4px; }
    .tb-lux-main { padding: 24px 20px; }
}
@media (max-width: 575.98px) {
    .tb-lux { border-radius: 16px; }
    .tb-lux-side-inner { padding: 22px 18px 18px; }
    .tb-lux-title { font-size: 24px; }
    .tb-lux-perks li { flex: 1 1 100%; }
    .tb-lux-main { padding: 18px 14px; }
    .tb-lux-step { padding: 15px 14px 12px; border-radius: 13px; }
    .tb-step-txt { font-size: 15px; }
    .tb-step-txt small { font-size: 11px; }
    .tb-step-ic { display: none; }
    .tb-slot { padding: 8px 12px; font-size: 13px; flex: 1 1 30%; text-align: center; }
}

/* ── Feature-toggle "temporarily unavailable" notice (2026-07-08) ── */
.tb-feature-off {
    max-width: 720px;
    margin: 24px auto;
    padding: 18px 22px;
    border: 1px solid #e6dec9;
    border-left: 4px solid #c9a44c;
    border-radius: 10px;
    background: #fdfaf3;
    color: #4a4538;
    font-size: 15px;
    text-align: center;
}
.tb-feature-off i { color: #c9a44c; margin-right: 6px; }
@media (max-width: 575.98px) { .tb-feature-off { margin: 16px 12px; font-size: 14px; } }
