.sbh-booking-wrap {
    --sbh-border: #b9c0c7;
    --sbh-bg: #ffffff;
    --sbh-soft: #f1f4f6;
    --sbh-text: #202124;
    --sbh-muted: #667085;
    --sbh-free: #e7f8e8;
    --sbh-confirmed: #f28f8f;
    --sbh-pending: #ffd66b;
    --sbh-blocked: #b8bec6;
    color: var(--sbh-text);
}
.sbh-booking-intro {
    margin-bottom: 1rem;
}
.sbh-alert {
    border-radius: 8px;
    padding: .85rem 1rem;
    margin: 1rem 0;
    border: 1px solid var(--sbh-border);
    background: var(--sbh-soft);
}
.sbh-alert-success {
    border-color: #7bc67b;
    background: #f1fff1;
}
.sbh-alert-error {
    border-color: #d98686;
    background: #fff4f4;
}
.sbh-calendar {
    margin: 1.25rem 0 2rem;
}
.sbh-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
    font-size: .95rem;
}
.sbh-key {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid var(--sbh-border);
    border-radius: 999px;
    padding: .25rem .65rem;
    background: var(--sbh-bg);
}
.sbh-key::before {
    content: "";
    width: .8rem;
    height: .8rem;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid var(--sbh-border);
}
.sbh-key.sbh-free::before { background: var(--sbh-free); }
.sbh-key.sbh-confirmed::before { background: var(--sbh-confirmed); }
.sbh-key.sbh-pending::before { background: var(--sbh-pending); }
.sbh-key.sbh-blocked::before { background: var(--sbh-blocked); }
.sbh-key.sbh-half::before {
    border-radius: 3px;
    background: linear-gradient(90deg, var(--sbh-confirmed) 0 50%, var(--sbh-free) 50% 100%);
}
.sbh-month-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.sbh-month {
    background: var(--sbh-bg);
    border: 1px solid var(--sbh-border);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
}
.sbh-month h3 {
    margin: 0 0 .75rem;
    font-size: 1.05rem;
}
.sbh-weekdays,
.sbh-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .25rem;
}
.sbh-weekdays span {
    text-align: center;
    color: var(--sbh-muted);
    font-size: .78rem;
    font-weight: 600;
}
.sbh-day {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--sbh-border);
    background: var(--sbh-free);
    font-size: .9rem;
}
.sbh-day.sbh-empty {
    border-color: transparent;
    background: transparent;
}
.sbh-day.sbh-confirmed { background: var(--sbh-confirmed); }
.sbh-day.sbh-pending { background: var(--sbh-pending); }
.sbh-day.sbh-blocked { background: var(--sbh-blocked); color: #25313d; }
.sbh-day.sbh-confirmed,
.sbh-day.sbh-pending,
.sbh-day.sbh-blocked {
    border-color: rgba(32,33,36,.28);
}
.sbh-day.sbh-confirmed,
.sbh-day.sbh-pending {
    color: #1f2933;
}
.sbh-day.sbh-split {
    --sbh-am-bg: var(--sbh-free);
    --sbh-pm-bg: var(--sbh-free);
    background: linear-gradient(90deg, var(--sbh-am-bg) 0 calc(50% - 1px), rgba(0,0,0,.42) calc(50% - 1px) calc(50% + 1px), var(--sbh-pm-bg) calc(50% + 1px) 100%);
}
.sbh-day.sbh-am-free { --sbh-am-bg: var(--sbh-free); }
.sbh-day.sbh-am-confirmed { --sbh-am-bg: var(--sbh-confirmed); }
.sbh-day.sbh-am-pending { --sbh-am-bg: var(--sbh-pending); }
.sbh-day.sbh-am-blocked { --sbh-am-bg: var(--sbh-blocked); }
.sbh-day.sbh-pm-free { --sbh-pm-bg: var(--sbh-free); }
.sbh-day.sbh-pm-confirmed { --sbh-pm-bg: var(--sbh-confirmed); }
.sbh-day.sbh-pm-pending { --sbh-pm-bg: var(--sbh-pending); }
.sbh-day.sbh-pm-blocked { --sbh-pm-bg: var(--sbh-blocked); }
.sbh-day.sbh-arrival-day,
.sbh-day.sbh-departure-day,
.sbh-day.sbh-turnover-day {
    font-weight: 700;
    border-color: rgba(32,33,36,.34);
}
.sbh-booking-form {
    border: 1px solid var(--sbh-border);
    border-radius: 16px;
    background: var(--sbh-bg);
    padding: 1rem;
    box-shadow: 0 8px 22px rgba(0,0,0,.07);
}
.sbh-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}
.sbh-booking-form label {
    display: block;
    font-weight: 600;
    margin: 0 0 .9rem;
}
.sbh-booking-form input,
.sbh-booking-form textarea,
.sbh-booking-form select {
    width: 100%;
    box-sizing: border-box;
    margin-top: .35rem;
    border: 1px solid var(--sbh-border);
    border-radius: 8px;
    padding: .65rem .75rem;
    font: inherit;
}
.sbh-booking-form textarea {
    resize: vertical;
}
.sbh-checkbox {
    display: flex !important;
    gap: .55rem;
    align-items: flex-start;
    font-weight: 400 !important;
}
.sbh-checkbox input {
    width: auto;
    margin-top: .2rem;
}
.sbh-submit {
    border: 0;
    border-radius: 999px;
    padding: .75rem 1.2rem;
    font-weight: 700;
    cursor: pointer;
}
.sbh-availability-result {
    min-height: 1.5rem;
    margin: .25rem 0 1rem;
    font-weight: 600;
}
.sbh-availability-result.is-free { color: #207227; }
.sbh-availability-result.is-blocked { color: #9a4a00; }
.sbh-admin-wrap .sbh-month-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.sbh-badge {
    display: inline-block;
    padding: .2rem .5rem;
    border-radius: 999px;
    font-size: .82rem;
    border: 1px solid #ccd0d4;
    background: #fff;
}
.sbh-badge-pending { background: #ffd66b; }
.sbh-badge-confirmed { background: #f28f8f; }
.sbh-badge-blocked { background: #b8bec6; color: #25313d; }
.sbh-badge-cancelled { background: #f4f4f4; color: #777; }
.sbh-filter-links a {
    margin-right: .5rem;
}
@media (max-width: 680px) {
    .sbh-form-grid {
        grid-template-columns: 1fr;
    }
}
