/* Match the normal booking form's typography, fields, spacing and button. */
.kib-restaurant-reservation {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    color: inherit;
}
.kib-restaurant-reservation *,
.kib-restaurant-reservation *::before,
.kib-restaurant-reservation *::after {
    box-sizing: border-box;
}
.kib-rr-form-wrap { width: 100%; max-width: 100%; }
.kib-restaurant-reservation h3.kib-form-title {
    margin-top: 0;
    margin-bottom: 20px;
}
.kib-rr-intro {
    margin: 4px 0 18px;
    font-size: 11px;
    line-height: 1.45;
    color: #666;
}
.kib-rr-field {
    width: 100%;
    min-width: 0;
    margin: 0 0 12px;
}
.kib-rr-field > label,
.kib-rr-field legend {
    display: block;
    margin-bottom: 6px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
}
.kib-rr-field input:not([type="radio"]),
.kib-rr-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin: 0;
    padding: 11px 12px;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    box-shadow: none;
    outline: none;
}
.kib-rr-field textarea { min-height: 120px; resize: vertical; }
.kib-rr-field input:not([type="radio"])::placeholder,
.kib-rr-field textarea::placeholder { color: #888; opacity: 1; }
.kib-rr-field fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.kib-rr-field fieldset legend { padding: 0; }
.kib-rr-field fieldset label {
    display: inline;
    margin: 0;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
}
.kib-rr-field input[type="radio"] { margin: 0 5px 0 0; }
.kib-rr-window {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}
.kib-rr-window[hidden],
.kib-rr-exact[hidden],
.kib-rr-form-wrap[hidden] { display: none !important; }
.kib-rr-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 6px;
    padding: 10px 20px;
    border: 0;
    border-radius: 4px;
    background: #222;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}
.kib-rr-submit:disabled { cursor: not-allowed; opacity: .6; }
.kib-rr-message {
    width: 100%;
    margin: 15px 0 0;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}
.kib-rr-message:empty { display: none; }
.kib-rr-message.is-error { border-color: #e2b8b8; background: #fff0f0; color: #7a2020; }
.kib-rr-message.is-success { border-color: #b7d8bd; background: #edf8ef; color: #245b2d; }
.kib-restaurant-reservation .kib-booking-lock-message { width: 100%; }
.kib-restaurant-reservation .kib-lock-text,
.kib-restaurant-reservation .kib-next-request { line-height: 1.6; }
.kib-restaurant-reservation .kib-countdown { margin: 15px 0; font-size: 24px; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 600px) {
    .kib-rr-window { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .kib-rr-field input:not([type="radio"]), .kib-rr-field textarea { padding-left: 9px; padding-right: 9px; }
    .kib-rr-submit { width: 100%; }
}
