/* KATY Booking UI 1.0.0 */

.katy-booking-notice {
    padding: 12px 14px;
    color: #e6d3ad;
    background: rgba(201,168,106,.07);
    border: 1px solid rgba(201,168,106,.35);
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.katy-booking-status {
    padding: 10px 12px;
    border-radius: 10px;
    color: #ded3c0;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.katy-booking-status[data-kind="success"] {
    color: #9cdbb4;
    background: rgba(70,150,100,.10);
}

.katy-booking-status[data-kind="error"] {
    color: #ffb8b8;
    background: rgba(180,60,60,.12);
}

.katy-booking-summary {
    color: #e6d3ad;
    padding: 12px;
    border: 1px solid rgba(201,168,106,.28);
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.katy-booking-summary:empty {
    display: none;
}

.katy-booking-select {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    color-scheme: dark;
}

.katy-booking-select option {
    color: #f0e6d3;
    background: #101014;
}

.katy-booking-select option:disabled {
    color: #999;
}

#rezervace form button:disabled {
    opacity: .48;
    cursor: not-allowed;
}


/* Persistent Booking UI 2.0 */

.katy-booking-label {
    display: block;
    margin-bottom: 8px;
    color: #c9a86a;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
}

.katy-booking-input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 12px 14px;
    color: #f7f1e8;
    background: #07070a;
    border: 1px solid rgba(201,168,106,.28);
    border-radius: 14px;
    font-size: 14px;
    color-scheme: dark;
}

.katy-booking-input option {
    color: #f7f1e8;
    background: #101014;
}

.katy-booking-fieldset {
    padding: 0;
    margin: 0;
    border: 0;
    min-width: 0;
}

.katy-slot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.katy-slot {
    min-width: 0;
    padding: 11px 3px;
    min-height: 44px;
    border: 1px solid rgba(201,168,106,.4);
    border-radius: 10px;
    background: #171519;
    color: #e6d3ad;
    font-size: 13px;
    cursor: pointer;
}

.katy-slot:hover:not(:disabled) {
    border-color: #c9a86a;
}

.katy-slot[aria-pressed="true"] {
    background: #c9a86a;
    border-color: #c9a86a;
    color: #101014;
    font-weight: 700;
}

.katy-booking-refresh {
    padding: 8px 0;
    background: transparent;
    border: 0;
    color: #e6d3ad;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.katy-booking-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #ded3c0;
    font-size: 12px;
    line-height: 1.6;
}

.katy-booking-consent input {
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: #c9a86a;
}

.katy-booking-receipt {
    padding: 16px;
    border: 1px solid rgba(105,185,135,.4);
    border-radius: 14px;
    color: #b6e4c5;
    background: rgba(70,150,100,.10);
    font-size: 13px;
    line-height: 1.8;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.katy-booking-receipt[hidden] {
    display: none;
}

.katy-booking-footnote {
    color: #b0a697;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

.katy-slot:focus-visible,
.katy-booking-input:focus-visible,
.katy-booking-refresh:focus-visible {
    outline: 2px solid #c9a86a;
    outline-offset: 3px;
}

@media (max-width: 380px) {
    .katy-slot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}


/* Customer Contact GUI - development */

.katy-contact-section {
    display: grid;
    gap: 14px;
    min-width: 0;
    padding: 18px;
    margin: 0;
    border: 1px solid rgba(201,168,106,.35);
    border-radius: 14px;
    background: rgba(201,168,106,.035);
}

.katy-contact-section[hidden] {
    display: none !important;
}

.katy-contact-notice {
    color: #e6d3ad;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.katy-contact-section input[readonly] {
    color: #ded3c0;
    cursor: default;
}

@media (max-width: 480px) {
    .katy-contact-section {
        padding: 12px;
    }
}
