/* Reservation block — date + time + party + contact form.
 * Layouts:
 *   .lyra-bt-res--stacked       → single column
 *   .lyra-bt-res--side_by_side  → 2-column (booking left, contact right)
 *   .lyra-bt-res--compact       → fields in a single inline row
 */

.lyra-bt-res {
    max-width: 880px;
    margin: 0 auto;
    padding: 32px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}
.lyra-bt-res *, .lyra-bt-res *::before, .lyra-bt-res *::after { box-sizing: border-box; }

.lyra-bt-res__heading { margin: 0 0 8px; font-size: 28px; font-weight: 700; }
.lyra-bt-res__subheading { margin: 0 0 24px; color: #475569; font-size: 16px; }

.lyra-bt-res__form {
    display: grid;
    gap: 20px;
}
.lyra-bt-res--side_by_side .lyra-bt-res__form {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "booking contact" "foot foot";
}
.lyra-bt-res--side_by_side .lyra-bt-res__col--booking { grid-area: booking; }
.lyra-bt-res--side_by_side .lyra-bt-res__col--contact { grid-area: contact; }
.lyra-bt-res--side_by_side .lyra-bt-res__foot { grid-area: foot; }

.lyra-bt-res--stacked .lyra-bt-res__form {
    grid-template-columns: 1fr;
}

.lyra-bt-res--compact .lyra-bt-res__form {
    grid-template-columns: 1fr;
}
.lyra-bt-res--compact .lyra-bt-res__col--booking,
.lyra-bt-res--compact .lyra-bt-res__col--contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.lyra-bt-res--compact .lyra-bt-res__field { flex: 1 1 160px; min-width: 0; }

.lyra-bt-res__col { display: flex; flex-direction: column; gap: 14px; }

.lyra-bt-res__field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lyra-bt-res__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}
.lyra-bt-res__field > span {
    font-weight: 600;
    color: #334155;
    font-size: 13px;
}
.lyra-bt-res__field input,
.lyra-bt-res__field select,
.lyra-bt-res__field textarea {
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
    font-size: 14px;
    background: #fff;
    color: inherit;
}
.lyra-bt-res__field input:focus,
.lyra-bt-res__field select:focus,
.lyra-bt-res__field textarea:focus {
    outline: 2px solid #3b82f6;
    outline-offset: -1px;
    border-color: #3b82f6;
}
.lyra-bt-res__field input:disabled,
.lyra-bt-res__field select:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.lyra-bt-res__foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 8px;
}
.lyra-bt-res__error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    flex: 1;
}
.lyra-bt-res__submit {
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}
.lyra-bt-res__submit:hover { background: #1e293b; }
.lyra-bt-res__submit:disabled { opacity: 0.6; cursor: not-allowed; }

.lyra-bt-res__success {
    text-align: center;
    padding: 32px 16px;
}
.lyra-bt-res__success-icon { margin-bottom: 12px; }
.lyra-bt-res__success p {
    margin: 0;
    font-size: 17px;
    color: #16a34a;
    font-weight: 600;
}

@media (max-width: 640px) {
    .lyra-bt-res--side_by_side .lyra-bt-res__form { grid-template-columns: 1fr; grid-template-areas: "booking" "contact" "foot"; }
    .lyra-bt-res__field-row { grid-template-columns: 1fr; }
}
