/* =========================================================
   TennisFinalsPro — profesjonalny kalendarz rezerwacji kortów
   Warstwa wizualna. Nie zmienia logiki rezerwacji ani danych.
========================================================= */

body:has(.booking-studio) {
    background:
        radial-gradient(circle at 12% 4%, rgba(37, 99, 235, .08), transparent 28rem),
        linear-gradient(180deg, #f7faff 0%, #f2f7ff 100%) !important;
}

.booking-studio {
    width: min(100%, 1540px) !important;
    max-width: 1540px !important;
    padding: 18px 24px 64px !important;
}

.booking-hero {
    min-height: 106px !important;
    margin-bottom: 14px !important;
    padding: 20px 24px !important;
    border-radius: 22px !important;
    border: 1px solid #d7e4f7 !important;
    background:
        radial-gradient(circle at 94% 12%, rgba(14, 165, 233, .14), transparent 15rem),
        linear-gradient(135deg, #fff 0%, #f7fbff 65%, #edf6ff 100%) !important;
    box-shadow: 0 18px 48px rgba(24, 69, 132, .08) !important;
}

.booking-hero h1 {
    font-size: clamp(28px, 3vw, 42px) !important;
    line-height: 1 !important;
}

.booking-hero__meta > div,
.booking-hero__meta > a {
    min-height: 52px !important;
    border-radius: 15px !important;
}

.booking-board--week {
    padding: 16px !important;
    border: 1px solid #d7e4f7 !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 20px 54px rgba(31, 72, 125, .10) !important;
}

.booking-board__head--compact {
    margin-bottom: 10px !important;
    padding: 2px 2px 10px !important;
    border-bottom: 1px solid #e7eef8;
}

.booking-board__head--compact h2 {
    margin-top: 3px !important;
    color: #0b1736 !important;
    font-size: 22px !important;
    letter-spacing: -.025em;
}

.booking-board__head--compact p {
    margin-top: 4px !important;
    color: #64748b !important;
}

.week-switcher--premium {
    border: 1px solid #d9e7f8 !important;
    background: #f7faff !important;
    box-shadow: none !important;
}

.week-switcher--premium a {
    color: #175cd3 !important;
    background: #fff !important;
}

.week-switcher--premium strong {
    color: #0b1736 !important;
}

.court-picker {
    grid-column: 1 / -1;
    margin: 0 0 12px !important;
    padding: 7px !important;
    border-color: #dbe7f6 !important;
    background: #f8fbff !important;
    border-radius: 15px !important;
}

.court-picker__btn {
    min-height: 38px !important;
    padding-inline: 18px !important;
    border-radius: 11px !important;
    box-shadow: none !important;
}

.court-picker__btn.is-active {
    background: linear-gradient(135deg, #1167ed 0%, #159fec 100%) !important;
    box-shadow: 0 8px 18px rgba(17, 103, 237, .22) !important;
}

.court-week-grid-wrap {
    min-width: 0;
    max-height: 650px !important;
    margin: 0 !important;
    border: 1px solid #d8e5f5 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(25, 64, 116, .07) !important;
    scrollbar-color: #b8c9df #eef4fb;
    scrollbar-width: thin;
}

.court-week-grid-wrap::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.court-week-grid-wrap::-webkit-scrollbar-track {
    background: #eef4fb;
}

.court-week-grid-wrap::-webkit-scrollbar-thumb {
    border: 2px solid #eef4fb;
    border-radius: 999px;
    background: #b8c9df;
}

.court-week-panel {
    min-width: 980px !important;
}

.court-week-grid {
    background: #fff;
}

.court-week-grid th,
.court-week-grid td {
    border-color: #e5edf7 !important;
}

.court-week-grid thead th {
    height: 58px;
    padding: 9px 7px !important;
    background: #f7faff !important;
    color: #334155 !important;
}

.court-week-grid thead th.is-today {
    background: linear-gradient(180deg, #eaf3ff, #f4f8ff) !important;
    color: #0f5ed7 !important;
    box-shadow: inset 0 -3px 0 #2f80ed;
}

.court-week-grid .schedule-time-head,
.court-week-grid .schedule-time {
    width: 72px !important;
    background: #fbfdff !important;
}

.court-week-grid .schedule-time {
    color: #334155 !important;
    font-size: 11.5px !important;
}

.court-week-grid td {
    height: 46px !important;
    padding: 4px !important;
    background: #fff !important;
}

.court-week-grid tbody tr:hover td,
.court-week-grid tbody tr:hover .schedule-time {
    background: #fbfdff !important;
}

.court-week-grid .time-slot {
    min-height: 36px !important;
    border-radius: 9px !important;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

/* Wolny termin — spokojna zieleń */
.court-week-grid .time-slot--free {
    border: 1px solid #c9efd7 !important;
    background: linear-gradient(180deg, #f5fff8 0%, #edfbf2 100%) !important;
    color: #159447 !important;
}

.court-week-grid .time-slot--free span {
    width: 20px !important;
    height: 20px !important;
    background: #dcfce7 !important;
    color: #16a34a !important;
    font-size: 14px;
}

.court-week-grid .time-slot--free:hover {
    z-index: 2;
    transform: translateY(-1px);
    border-color: #22c55e !important;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
    box-shadow: 0 8px 18px rgba(22, 163, 74, .22) !important;
}

/* Wybrany termin — żółty, jednoznaczny */
.court-week-grid .time-slot--free.is-selected,
.court-week-grid .time-slot--free.is-range {
    border-color: #f4b400 !important;
    background: linear-gradient(180deg, #fff8d8 0%, #ffefad 100%) !important;
    color: #8a5800 !important;
    box-shadow: inset 0 0 0 1px rgba(244, 180, 0, .16), 0 7px 16px rgba(180, 119, 0, .13) !important;
}

.court-week-grid .time-slot--free.is-selected span,
.court-week-grid .time-slot--free.is-range span {
    background: #fbbf24 !important;
    color: #fff !important;
}

.court-week-grid .time-slot--free.is-blocked-range {
    border-color: #fca5a5 !important;
    background: #fff1f2 !important;
    color: #be123c !important;
    box-shadow: none !important;
}

/* Zwykła zajęta rezerwacja — koral/czerwień */
.court-week-grid .time-slot--busy {
    border: 1px solid #fecdd3 !important;
    background: linear-gradient(135deg, #fff5f6 0%, #ffe7ea 100%) !important;
    color: #b4233f !important;
    box-shadow: inset 3px 0 0 #fb7185;
}

/* Własna rezerwacja — niebieska */
.court-week-grid .time-slot--mine {
    border: 1px solid #9dc5ff !important;
    background: linear-gradient(135deg, #edf5ff 0%, #dcecff 100%) !important;
    color: #0f5ed7 !important;
    box-shadow: inset 3px 0 0 #2f80ed;
}

/* Stała rezerwacja — fioletowa, niezależnie od właściciela */
.court-week-grid .time-slot--recurring {
    border-color: #c4b5fd !important;
    background: linear-gradient(135deg, #f5f1ff 0%, #e8ddff 100%) !important;
    color: #6938b8 !important;
    box-shadow: inset 3px 0 0 #8b5cf6 !important;
}

/* Oczekująca — delikatny bursztyn (stała nadal pozostaje fioletowa) */
.court-week-grid .time-slot--pending:not(.time-slot--recurring) {
    border-color: #fed7aa !important;
    background: linear-gradient(135deg, #fffaf0 0%, #ffedd5 100%) !important;
    color: #b45309 !important;
    box-shadow: inset 3px 0 0 #f59e0b !important;
}

.court-week-grid .time-slot--locked {
    border: 1px solid #e2e8f0 !important;
    background: repeating-linear-gradient(-45deg, #f8fafc, #f8fafc 7px, #f1f5f9 7px, #f1f5f9 14px) !important;
    color: #94a3b8 !important;
}

.court-week-grid .time-slot--busy,
.court-week-grid .time-slot--mine,
.court-week-grid .time-slot--recurring {
    padding: 5px 28px 5px 9px !important;
}

.court-week-grid .time-slot strong {
    color: inherit !important;
    font-size: 10.5px !important;
    line-height: 1.12 !important;
}

.reservation-slot-meta {
    display: flex !important;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    color: inherit !important;
    font-size: 8.5px !important;
    font-weight: 800;
    opacity: .82 !important;
    white-space: nowrap;
}

.reservation-slot-meta span + span::before {
    content: "•";
    margin-right: 5px;
    opacity: .55;
}

.reservation-type-mark {
    position: absolute;
    top: 4px;
    right: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border-radius: 999px;
    background: rgba(124, 58, 237, .14);
    color: #7c3aed;
    font-size: 12px;
    font-weight: 950;
}

.court-week-grid .time-slot.is-continuation {
    min-height: 36px !important;
    opacity: .72 !important;
    border-radius: 6px !important;
}

.court-week-grid .slot-cancel-form button {
    background: #e11d48 !important;
    box-shadow: 0 5px 11px rgba(225, 29, 72, .22) !important;
}

/* Panel rezerwacji */
.booking-summary--inline {
    margin: 0 !important;
    padding: 17px !important;
    border: 1px solid #d8e5f5 !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important;
    box-shadow: 0 12px 30px rgba(24, 68, 124, .08) !important;
}

.booking-summary--inline .booking-summary__copy {
    padding-bottom: 12px;
    border-bottom: 1px solid #e5edf7;
}

.booking-summary--inline .booking-summary__copy h2 {
    margin-top: 6px !important;
    color: #0b1736 !important;
    font-size: 19px !important;
}

.booking-summary--inline .booking-summary__copy p {
    color: #64748b !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

.booking-checkout--inline {
    margin-top: 13px;
    gap: 10px !important;
}

.booking-checkout--inline label,
.booking-admin-field {
    color: #475569 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .02em;
}

.booking-checkout--inline select,
.booking-admin-field input,
.booking-admin-field select {
    min-height: 42px !important;
    border: 1px solid #d6e3f3 !important;
    border-radius: 11px !important;
    background: #fff !important;
    color: #0f172a !important;
    box-shadow: none !important;
}

.booking-checkout--inline select:focus,
.booking-admin-field input:focus,
.booking-admin-field select:focus {
    border-color: #2f80ed !important;
    box-shadow: 0 0 0 4px rgba(47, 128, 237, .10) !important;
}

.booking-checkout--inline .light-toggle {
    min-height: 42px !important;
    border: 1px solid #d6e3f3 !important;
    border-radius: 11px !important;
    background: #fff !important;
}

.booking-admin-options {
    padding: 10px !important;
    border: 1px solid #e0eaf6 !important;
    border-radius: 13px !important;
    background: #f7faff !important;
}

.repeat-toggle {
    min-height: 42px !important;
    border-color: #c4b5fd !important;
    border-radius: 11px !important;
    background: #f5f1ff !important;
    color: #6d3fc0 !important;
}

.repeat-toggle input {
    accent-color: #7c3aed !important;
}

.booking-checkout--inline .checkout-price {
    min-height: 49px !important;
    border: 1px solid #dce7f4 !important;
    border-radius: 12px !important;
    background: #fff !important;
}

.booking-checkout--inline .clubs-btn {
    min-height: 48px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #1167ed 0%, #159fec 100%) !important;
    box-shadow: 0 10px 22px rgba(17, 103, 237, .22) !important;
}

.booking-checkout--inline .clubs-btn:disabled {
    background: #dbe5f1 !important;
    box-shadow: none !important;
}

.booking-weeks-panel {
    grid-column: 1 / -1;
}

/* Szeroki, profesjonalny układ desktopowy */
@media (min-width: 1260px) {
    .booking-board--week {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 328px;
        align-items: start;
        gap: 14px 16px;
    }

    .booking-board__head--compact,
    .booking-weeks-panel,
    .court-picker {
        grid-column: 1 / -1;
    }

    .court-week-grid-wrap {
        grid-column: 1;
        grid-row: auto;
    }

    .booking-summary--inline {
        grid-column: 2;
        align-self: start;
        position: sticky !important;
        top: calc(var(--tfp-header-fixed-height, 72px) + 14px) !important;
        z-index: 6 !important;
        display: block !important;
    }

    .booking-checkout--inline {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        align-items: end !important;
    }

    .booking-checkout--inline > label:first-of-type,
    .booking-admin-options,
    .booking-checkout--inline .checkout-price,
    .booking-checkout--inline .clubs-btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .booking-checkout--inline .light-toggle {
        grid-column: 1 / -1;
        justify-content: flex-start !important;
    }

    .booking-admin-options {
        grid-template-columns: 1fr !important;
    }

    .booking-admin-field:first-child {
        grid-column: auto !important;
    }

    .repeat-toggle {
        width: 100%;
        justify-content: flex-start !important;
    }
}

@media (max-width: 1259px) {
    .booking-summary--inline {
        margin-top: 14px !important;
    }
}

@media (max-width: 900px) {
    .booking-studio {
        padding: 12px 12px 44px !important;
    }

    .booking-hero {
        padding: 16px !important;
        border-radius: 19px !important;
    }

    .booking-board--week {
        padding: 11px !important;
        border-radius: 20px !important;
    }

    .court-week-grid-wrap {
        max-height: 67vh !important;
    }
}

@media (max-width: 620px) {
    .booking-studio {
        padding-inline: 8px !important;
    }

    .booking-hero {
        min-height: 0 !important;
        padding: 14px !important;
    }

    .booking-hero h1 {
        font-size: 25px !important;
    }

    .court-week-panel {
        min-width: 790px !important;
    }

    .court-week-grid td {
        height: 43px !important;
    }

    .court-week-grid .time-slot {
        min-height: 33px !important;
    }

    .booking-summary--inline {
        padding: 14px !important;
    }

    .booking-admin-options {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   Kompaktowy mobile redesign — kalendarz ma być wyżej
========================================================= */
@media (max-width: 767px) {
    .booking-studio {
        padding: 8px 8px 28px !important;
    }

    .booking-hero {
        min-height: 0 !important;
        margin-bottom: 8px !important;
        padding: 10px 12px !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 24px rgba(24, 69, 132, .08) !important;
    }

    .booking-kicker {
        gap: 6px !important;
        margin-bottom: 6px !important;
    }

    .booking-kicker a,
    .booking-kicker span {
        min-height: 24px !important;
        padding: 0 8px !important;
        font-size: 10px !important;
        border-radius: 999px !important;
    }

    .booking-hero h1 {
        margin: 0 0 4px !important;
        font-size: 18px !important;
        line-height: 1.08 !important;
        letter-spacing: -.02em !important;
    }

    .booking-hero__content p {
        margin: 0 !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        color: #516076 !important;
    }

    .booking-hero__meta {
        display: grid !important;
        grid-template-columns: 54px repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 10px !important;
        align-items: stretch !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .club-proadmin-delete-form--hero button {
        min-height: 42px !important;
        padding: 6px 8px !important;
        border-radius: 12px !important;
        font-size: 11px !important;
        box-shadow: none !important;
    }

    .booking-hero__favorite {
        min-width: 54px !important;
    }

    .booking-hero__favorite button,
    .booking-hero__favorite a {
        min-height: 42px !important;
        width: 100% !important;
    }

    .booking-hero__meta > div strong,
    .booking-hero__meta > a strong {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    .booking-hero__meta > div span,
    .booking-hero__meta > a span {
        font-size: 10px !important;
    }

    .booking-hero__meta > a,
    .club-proadmin-delete-form--hero {
        grid-column: 1 / -1 !important;
    }

    .club-proadmin-delete-form--hero button {
        width: 100% !important;
    }

    .clubs-alert {
        margin: 6px 0 8px !important;
        padding: 10px 12px !important;
        border-radius: 12px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    .booking-board--week {
        padding: 8px !important;
        border-radius: 16px !important;
        box-shadow: 0 12px 32px rgba(31, 72, 125, .08) !important;
    }

    .booking-board__head--compact {
        margin-bottom: 8px !important;
        padding: 0 0 8px !important;
    }

    .booking-board__head--compact .mini-label {
        font-size: 10px !important;
        padding: 4px 8px !important;
    }

    .booking-board__head--compact h2 {
        margin: 4px 0 0 !important;
        font-size: 16px !important;
        line-height: 1.15 !important;
    }

    .booking-board__head--compact p,
    .booking-board__head--compact .club-feature-tags {
        display: none !important;
    }

    .week-actions {
        width: 100% !important;
        margin-top: 8px !important;
    }

    .week-switcher--premium {
        display: grid !important;
        grid-template-columns: 72px minmax(0, 1fr) 72px !important;
        gap: 6px !important;
        width: 100% !important;
        padding: 4px !important;
        border-radius: 13px !important;
    }

    .week-switcher--premium a,
    .week-switcher--premium strong {
        min-height: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 6px !important;
        border-radius: 10px !important;
        font-size: 11px !important;
        text-align: center !important;
    }

    .week-switcher--premium strong {
        line-height: 1.15 !important;
    }

    .booking-weeks-panel {
        margin-bottom: 8px !important;
    }

    .booking-weeks-panel summary {
        padding: 8px 10px !important;
        border-radius: 12px !important;
        min-height: 0 !important;
    }

    .booking-weeks-panel summary b {
        font-size: 13px !important;
    }

    .booking-weeks-panel summary small,
    .booking-weeks-panel summary em {
        font-size: 11px !important;
    }

    .booking-weeks-panel__body {
        padding: 8px 0 0 !important;
    }

    .booking-weeks-panel__info {
        display: none !important;
    }

    .booking-weeks-panel__actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }

    .booking-weeks-panel__actions form button {
        min-height: 38px !important;
        padding: 8px !important;
        border-radius: 10px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .court-picker {
        margin-bottom: 8px !important;
        padding: 5px !important;
        border-radius: 12px !important;
    }

    .court-picker__btn {
        min-height: 34px !important;
        padding-inline: 14px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
    }
}

@media (max-width: 560px) {
    .booking-studio {
        padding: 6px 6px 24px !important;
    }

    .booking-hero {
        padding: 9px 10px !important;
    }

    .booking-kicker span:last-child {
        display: none !important;
    }

    .booking-hero__content p {
        font-size: 11px !important;
    }

    .booking-hero__meta {
        grid-template-columns: 48px repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin-top: 8px !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .club-proadmin-delete-form--hero button {
        min-height: 38px !important;
        padding: 4px 6px !important;
        border-radius: 10px !important;
        font-size: 10px !important;
    }

    .booking-hero__meta > div strong,
    .booking-hero__meta > a strong {
        font-size: 16px !important;
    }

    .booking-board__head--compact h2 {
        font-size: 15px !important;
    }

    .week-switcher--premium {
        grid-template-columns: 66px minmax(0, 1fr) 66px !important;
        gap: 4px !important;
    }

    .week-switcher--premium a,
    .week-switcher--premium strong {
        min-height: 32px !important;
        font-size: 10px !important;
        padding: 0 4px !important;
    }

    .booking-weeks-panel__actions {
        grid-template-columns: 1fr !important;
    }

    .booking-summary--inline {
        padding: 12px !important;
        border-radius: 14px !important;
    }

    .booking-summary--inline .booking-summary__copy {
        padding-bottom: 8px !important;
    }

    .booking-summary--inline .booking-summary__copy h2 {
        font-size: 17px !important;
    }

    .booking-summary--inline .booking-summary__copy p {
        display: none !important;
    }
}

/* =========================================================
   FINAL: czytelny i bardzo niski baner klubu
========================================================= */
.booking-hero,
.booking-hero__content,
.booking-hero__meta {
    color: #0b1736 !important;
}

.booking-hero h1,
.booking-hero__content h1 {
    color: #0b1736 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.booking-hero__content p {
    color: #52627a !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.booking-kicker a,
.booking-kicker span {
    color: #175cd3 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.booking-hero__meta > div,
.booking-hero__meta > div strong,
.booking-hero__meta > div span,
.booking-hero__meta > a,
.booking-hero__meta > a span,
.booking-hero__favorite,
.booking-hero__favorite button {
    color: #0b1736 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.booking-hero__meta > a {
    color: #175cd3 !important;
}

@media (max-width: 767px) {
    .booking-hero {
        min-height: 0 !important;
        height: auto !important;
        margin-bottom: 7px !important;
        padding: 8px 10px !important;
        border-radius: 14px !important;
        display: block !important;
    }

    .booking-hero__content {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 4px 8px !important;
    }

    .booking-kicker {
        grid-column: 1 / -1 !important;
        display: flex !important;
        gap: 5px !important;
        margin: 0 !important;
    }

    .booking-kicker a,
    .booking-kicker span {
        min-height: 20px !important;
        padding: 0 7px !important;
        border-radius: 999px !important;
        font-size: 9px !important;
        line-height: 20px !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        grid-column: 1 !important;
        margin: 2px 0 0 !important;
        font-size: 17px !important;
        line-height: 1.05 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .booking-hero__content p {
        display: none !important;
    }

    .booking-hero__meta {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: 5px !important;
        width: 100% !important;
        margin-top: 7px !important;
        padding: 0 !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    .booking-hero__meta::-webkit-scrollbar {
        display: none !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero {
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        grid-column: auto !important;
        margin: 0 !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        min-height: 32px !important;
        height: 32px !important;
        padding: 0 8px !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        font-size: 9px !important;
        line-height: 1 !important;
        box-shadow: none !important;
        white-space: nowrap !important;
    }

    .booking-hero__favorite,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        width: 32px !important;
        min-width: 32px !important;
        padding: 0 !important;
    }

    .booking-hero__meta > div strong {
        font-size: 13px !important;
        line-height: 1 !important;
    }

    .booking-hero__meta > div span {
        font-size: 8px !important;
        line-height: 1 !important;
    }

    .booking-hero__meta > a {
        font-size: 9px !important;
    }

    .club-proadmin-delete-form--hero button {
        width: auto !important;
        min-width: 58px !important;
    }
}

@media (max-width: 480px) {
    .booking-hero {
        padding: 7px 9px !important;
    }

    .booking-kicker span {
        display: none !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        font-size: 16px !important;
    }

    .booking-hero__meta {
        margin-top: 6px !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        min-height: 30px !important;
        height: 30px !important;
        padding-inline: 7px !important;
    }
}

/* =========================================================
   TFP FIX — mobile: czyste kafelki zajętych terminów
   - bez ikonki stałej rezerwacji
   - bez napisu "stała" / dodatkowych metadanych
   - wyśrodkowany tytuł i godziny
   - brak wychodzenia tekstu poza kafelek
========================================================= */
@media (max-width: 620px) {
    .court-week-grid .time-slot--busy,
    .court-week-grid .time-slot--mine,
    .court-week-grid .time-slot--recurring,
    .court-week-grid .time-slot--blocked-event {
        padding: 3px 4px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 1px !important;
        overflow: hidden !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    /* Na telefonie kolor fioletowy wystarczy do rozpoznania rezerwacji stałej. */
    .court-week-grid .reservation-type-mark {
        display: none !important;
    }

    .court-week-grid .time-slot strong {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        color: inherit !important;
        font-size: 9px !important;
        line-height: 1.05 !important;
        font-weight: 900 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .court-week-grid .reservation-slot-meta {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 1px 0 0 !important;
        padding: 0 !important;
        color: inherit !important;
        font-size: 7.5px !important;
        line-height: 1.05 !important;
        font-weight: 800 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        font-variant-numeric: tabular-nums !important;
        opacity: .9 !important;
    }

    /* Zostaw tylko zakres godzin. "stała", "oczekuje", "światło" itd. nie ściskają komórki. */
    .court-week-grid .reservation-slot-meta > span {
        display: none !important;
    }

    .court-week-grid .reservation-slot-meta > span:first-child {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: clip !important;
    }

    .court-week-grid .reservation-slot-meta span + span::before {
        display: none !important;
        content: none !important;
    }

    .court-week-grid .reservation-phone-private {
        display: none !important;
    }

    .court-week-grid .time-slot.is-continuation {
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Przycisk anulowania zostaje funkcjonalny, ale nie zabiera miejsca tekstowi. */
    .court-week-grid .slot-cancel-form {
        top: 2px !important;
        right: 2px !important;
    }

    .court-week-grid .slot-cancel-form button {
        width: 15px !important;
        height: 15px !important;
        min-width: 15px !important;
        min-height: 15px !important;
        font-size: 11px !important;
        line-height: 13px !important;
    }

    .court-week-grid .time-slot--mine:has(.slot-cancel-form),
    .court-week-grid .time-slot--busy:has(.slot-cancel-form),
    .court-week-grid .time-slot--recurring:has(.slot-cancel-form),
    .court-week-grid .time-slot--blocked-event:has(.slot-cancel-form) {
        padding-right: 19px !important;
        padding-left: 3px !important;
    }
}

/* =========================================================
   TFP FINAL — desktop premium + czyste rezerwacje + legenda
   Modyfikacja istniejącego pliku, bez dodatkowego CSS.
========================================================= */

/* Oznaczenie stałej rezerwacji jest wyłącznie kolorem + legendą. */
.court-week-grid .reservation-type-mark {
    display: none !important;
}

/* Czytelna legenda kolorów */
.booking-color-legend {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 9px;
    margin: -2px 0 12px;
    padding: 8px 10px;
    border: 1px solid #dbe7f4;
    border-radius: 13px;
    background: #f8fbff;
    color: #475569;
    font-size: 10px;
    font-weight: 800;
}

.booking-color-legend__title {
    margin-right: 2px;
    color: #0b1736;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.booking-color-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.booking-color-legend__swatch {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.booking-color-legend__swatch.is-free {
    border-color: #bbf7d0;
    background: #eafaf0;
}
.booking-color-legend__swatch.is-selected {
    border-color: #f4b400;
    background: #ffefad;
}
.booking-color-legend__swatch.is-busy {
    border-color: #fecdd3;
    background: #ffe7ea;
}
.booking-color-legend__swatch.is-mine {
    border-color: #9dc5ff;
    background: #dcecff;
}
.booking-color-legend__swatch.is-recurring {
    border-color: #c4b5fd;
    background: #e8ddff;
}
.booking-color-legend__swatch.is-pending {
    border-color: #fed7aa;
    background: #ffedd5;
}
.booking-color-legend__swatch.is-blocked {
    border-color: #cbd5e1;
    background: repeating-linear-gradient(-45deg, #f8fafc, #f8fafc 3px, #e2e8f0 3px, #e2e8f0 6px);
}

/* Ręczna blokada klubu — osobny, neutralny stan. */
.court-week-grid .time-slot--blocked-event {
    border: 1px solid #cbd5e1 !important;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%) !important;
    color: #475569 !important;
    box-shadow: inset 3px 0 0 #64748b !important;
}

@media (min-width: 768px) {
    /* -----------------------------------------------------
       Premium banner klubu — desktop
    ----------------------------------------------------- */
    .booking-hero {
        position: relative !important;
        isolation: isolate;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 24px !important;
        min-height: 124px !important;
        margin-bottom: 14px !important;
        padding: 22px 24px !important;
        overflow: hidden !important;
        border: 1px solid rgba(37, 99, 235, .22) !important;
        border-radius: 22px !important;
        background:
            radial-gradient(circle at 88% 2%, rgba(56, 189, 248, .28), transparent 18rem),
            radial-gradient(circle at 7% 120%, rgba(37, 99, 235, .32), transparent 24rem),
            linear-gradient(118deg, #071a3a 0%, #0b2d63 58%, #0f63b8 100%) !important;
        box-shadow: 0 20px 48px rgba(15, 45, 92, .18) !important;
    }

    .booking-hero::after {
        content: "";
        position: absolute;
        z-index: -1;
        top: -75px;
        right: 120px;
        width: 230px;
        height: 230px;
        border: 1px solid rgba(255,255,255,.09);
        border-radius: 50%;
        box-shadow: 0 0 0 26px rgba(255,255,255,.025), 0 0 0 54px rgba(255,255,255,.018);
        pointer-events: none;
    }

    .booking-hero__content {
        position: relative;
        z-index: 1;
        min-width: 0;
    }

    .booking-kicker {
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        margin: 0 0 8px !important;
    }

    .booking-kicker a,
    .booking-kicker span {
        min-height: 26px !important;
        padding: 0 9px !important;
        display: inline-flex !important;
        align-items: center !important;
        border: 1px solid rgba(255,255,255,.15) !important;
        border-radius: 999px !important;
        color: #eaf4ff !important;
        background: rgba(255,255,255,.08) !important;
        font-size: 10px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        text-decoration: none !important;
        backdrop-filter: blur(8px);
    }

    .booking-kicker span {
        color: #bff4ff !important;
        background: rgba(14, 165, 233, .16) !important;
        border-color: rgba(125, 211, 252, .22) !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        margin: 0 !important;
        color: #fff !important;
        font-size: clamp(28px, 2.45vw, 38px) !important;
        line-height: 1.05 !important;
        font-weight: 950 !important;
        letter-spacing: -.035em !important;
        text-shadow: none !important;
    }

    .booking-hero__content p {
        margin: 8px 0 0 !important;
        color: #c9dcf4 !important;
        font-size: 12.5px !important;
        line-height: 1.35 !important;
        font-weight: 650 !important;
        text-shadow: none !important;
    }

    .booking-hero__meta {
        position: relative;
        z-index: 1;
        display: flex !important;
        align-items: stretch !important;
        justify-content: flex-end !important;
        gap: 9px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .booking-hero__meta > div:not(.booking-hero__favorite) {
        min-width: 112px !important;
        min-height: 62px !important;
        padding: 9px 13px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        border: 1px solid rgba(255,255,255,.14) !important;
        border-radius: 16px !important;
        background: rgba(255,255,255,.09) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
        backdrop-filter: blur(10px);
    }

    .booking-hero__meta > div:nth-child(3) {
        min-width: 136px !important;
        border-color: rgba(103, 232, 249, .24) !important;
        background: linear-gradient(135deg, rgba(14,165,233,.22), rgba(59,130,246,.13)) !important;
    }

    .booking-hero__meta > div strong {
        color: #fff !important;
        font-size: 20px !important;
        line-height: 1 !important;
        font-weight: 950 !important;
        letter-spacing: -.025em !important;
    }

    .booking-hero__meta > div span {
        margin-top: 5px !important;
        color: #c7d9f1 !important;
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
        letter-spacing: .08em !important;
    }

    .booking-hero__favorite {
        width: 62px !important;
        min-width: 62px !important;
        min-height: 62px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(251,191,36,.24) !important;
        border-radius: 16px !important;
        background: rgba(251,191,36,.10) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.07) !important;
        backdrop-filter: blur(10px);
    }

    .booking-hero__favorite .club-favorite-form {
        display: flex !important;
    }

    .booking-hero__favorite .club-favorite-btn,
    .booking-hero__favorite .club-favorite-btn--guest {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        border: 1px solid rgba(251,191,36,.34) !important;
        border-radius: 14px !important;
        color: #fbbf24 !important;
        background: rgba(255,255,255,.08) !important;
        box-shadow: none !important;
        font-size: 24px !important;
    }

    .booking-hero__favorite .club-favorite-btn:hover {
        transform: translateY(-1px) scale(1.03) !important;
        background: rgba(251,191,36,.16) !important;
    }

    .booking-hero__favorite .club-favorite-btn.is-active {
        color: #7c2d12 !important;
        background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%) !important;
        border-color: #fcd34d !important;
    }

    .booking-hero__meta > a {
        min-height: 62px !important;
        padding: 0 16px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        border-radius: 16px !important;
        color: #fff !important;
        background: rgba(255,255,255,.09) !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        text-decoration: none !important;
        box-shadow: none !important;
        backdrop-filter: blur(10px);
    }

    .booking-hero__meta > a:hover {
        background: rgba(255,255,255,.15) !important;
        transform: translateY(-1px);
    }

    /* -----------------------------------------------------
       Czyste kafelki rezerwacji — desktop
    ----------------------------------------------------- */
    .court-week-panel {
        min-width: 1080px !important;
    }

    .court-week-grid td {
        height: 50px !important;
        padding: 5px !important;
    }

    .court-week-grid .time-slot--busy,
    .court-week-grid .time-slot--mine,
    .court-week-grid .time-slot--recurring,
    .court-week-grid .time-slot--pending,
    .court-week-grid .time-slot--blocked-event {
        min-height: 39px !important;
        padding: 5px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        overflow: hidden !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    .court-week-grid .time-slot strong {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        color: inherit !important;
        font-size: 11px !important;
        line-height: 1.08 !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .court-week-grid .reservation-slot-meta {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        justify-content: center !important;
        gap: 5px !important;
        font-size: 8.5px !important;
        line-height: 1 !important;
        font-variant-numeric: tabular-nums !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .court-week-grid .reservation-slot-meta span {
        flex: 0 0 auto;
    }

    .court-week-grid .reservation-phone-private {
        max-width: 100%;
        margin-top: 1px;
        color: inherit !important;
        font-size: 8px !important;
        line-height: 1 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        opacity: .74;
    }

    .court-week-grid .time-slot.is-continuation {
        min-height: 39px !important;
        padding: 0 !important;
    }

    .court-week-grid .time-slot:has(.slot-cancel-form) {
        padding-right: 25px !important;
        padding-left: 6px !important;
    }

    .court-week-grid .slot-cancel-form {
        top: 4px !important;
        right: 4px !important;
    }

    .court-week-grid .slot-cancel-form button {
        width: 17px !important;
        height: 17px !important;
        min-width: 17px !important;
        min-height: 17px !important;
        border-radius: 6px !important;
        font-size: 12px !important;
        line-height: 15px !important;
    }
}

/* Legenda na telefonie: jeden niski, przewijany pasek zamiast kolejnej dużej sekcji. */
@media (max-width: 767px) {
    .booking-color-legend {
        flex-wrap: nowrap !important;
        gap: 8px !important;
        margin: -1px 0 8px !important;
        padding: 6px 8px !important;
        overflow-x: auto !important;
        border-radius: 11px !important;
        scrollbar-width: none !important;
    }

    .booking-color-legend::-webkit-scrollbar {
        display: none !important;
    }

    .booking-color-legend__title {
        position: sticky;
        left: 0;
        z-index: 1;
        padding-right: 7px;
        background: #f8fbff;
    }

    .booking-color-legend__item {
        flex: 0 0 auto;
        font-size: 9px !important;
    }

    .booking-color-legend__swatch {
        width: 10px;
        height: 10px;
        flex-basis: 10px;
    }
}

/* =========================================================
   TFP FINAL — mobilny baner klubu 2026
   - bez poziomego przewijania
   - nazwa + lokalizacja czytelne
   - ulubione / korty / cena w równym układzie
   - legenda usunięta z HTML
========================================================= */
@media (max-width: 767px) {
    .booking-hero {
        position: relative !important;
        display: block !important;
        min-height: 0 !important;
        margin: 7px 8px 10px !important;
        padding: 14px !important;
        overflow: hidden !important;
        border: 1px solid rgba(37, 99, 235, .20) !important;
        border-radius: 18px !important;
        background:
            radial-gradient(circle at 100% 0%, rgba(56, 189, 248, .26), transparent 11rem),
            linear-gradient(135deg, #071a3a 0%, #0b3471 66%, #0d68b8 100%) !important;
        box-shadow: 0 12px 28px rgba(15, 45, 92, .18) !important;
        color: #fff !important;
    }

    .booking-hero::after {
        content: "";
        position: absolute;
        top: -62px;
        right: -54px;
        width: 150px;
        height: 150px;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 50%;
        box-shadow: 0 0 0 22px rgba(255,255,255,.025);
        pointer-events: none;
    }

    .booking-hero__content {
        position: relative !important;
        z-index: 1 !important;
        display: block !important;
        min-width: 0 !important;
    }

    .booking-kicker {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 0 8px !important;
    }

    .booking-kicker a,
    .booking-kicker span {
        min-height: 24px !important;
        padding: 0 8px !important;
        display: inline-flex !important;
        align-items: center !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        border-radius: 999px !important;
        background: rgba(255,255,255,.09) !important;
        color: #eaf4ff !important;
        font-size: 9px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        text-decoration: none !important;
    }

    .booking-kicker span {
        color: #bff4ff !important;
        background: rgba(14,165,233,.16) !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        color: #fff !important;
        font-size: clamp(20px, 6vw, 25px) !important;
        line-height: 1.08 !important;
        font-weight: 950 !important;
        letter-spacing: -.025em !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .booking-hero__content p {
        display: block !important;
        margin: 6px 0 0 !important;
        color: #c9dcf4 !important;
        font-size: 10px !important;
        line-height: 1.35 !important;
        font-weight: 650 !important;
        white-space: normal !important;
    }

    .booking-hero__meta {
        position: relative !important;
        z-index: 1 !important;
        display: grid !important;
        grid-template-columns: 44px minmax(0, .82fr) minmax(0, 1.18fr) !important;
        align-items: stretch !important;
        gap: 7px !important;
        width: 100% !important;
        margin: 12px 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero {
        width: auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .booking-hero__favorite {
        width: 44px !important;
        min-width: 44px !important;
        min-height: 50px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(251,191,36,.28) !important;
        border-radius: 13px !important;
        background: rgba(251,191,36,.11) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.07) !important;
    }

    .booking-hero__favorite .club-favorite-form {
        display: flex !important;
        margin: 0 !important;
    }

    .booking-hero__favorite .club-favorite-btn,
    .booking-hero__favorite .club-favorite-btn--guest,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        width: 36px !important;
        min-width: 36px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 0 !important;
        border-radius: 10px !important;
        background: transparent !important;
        color: #fbbf24 !important;
        box-shadow: none !important;
        font-size: 21px !important;
        line-height: 1 !important;
    }

    .booking-hero__meta > div:not(.booking-hero__favorite) {
        min-height: 50px !important;
        padding: 8px 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        border: 1px solid rgba(255,255,255,.14) !important;
        border-radius: 13px !important;
        background: rgba(255,255,255,.09) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
    }

    .booking-hero__meta > div:nth-child(3) {
        background: linear-gradient(135deg, rgba(14,165,233,.24), rgba(59,130,246,.15)) !important;
        border-color: rgba(125,211,252,.23) !important;
    }

    .booking-hero__meta > div strong {
        color: #fff !important;
        font-size: 15px !important;
        line-height: 1 !important;
        font-weight: 950 !important;
        white-space: nowrap !important;
    }

    .booking-hero__meta > div span {
        margin-top: 4px !important;
        color: #c7d9f1 !important;
        font-size: 8px !important;
        line-height: 1 !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
        letter-spacing: .06em !important;
        white-space: nowrap !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero {
        grid-column: 1 / -1 !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button {
        width: 100% !important;
        min-height: 38px !important;
        height: 38px !important;
        padding: 0 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(255,255,255,.16) !important;
        border-radius: 11px !important;
        background: rgba(255,255,255,.09) !important;
        color: #fff !important;
        font-size: 10px !important;
        font-weight: 900 !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }
}

@media (max-width: 420px) {
    .booking-hero {
        margin-inline: 6px !important;
        padding: 12px !important;
        border-radius: 16px !important;
    }

    .booking-hero__meta {
        grid-template-columns: 42px minmax(0, .78fr) minmax(0, 1.22fr) !important;
        gap: 6px !important;
    }

    .booking-hero__favorite {
        width: 42px !important;
        min-width: 42px !important;
    }

    .booking-hero__meta > div:not(.booking-hero__favorite) {
        padding-inline: 8px !important;
    }

    .booking-hero__meta > div strong {
        font-size: 14px !important;
    }
}


/* =========================================================
   TFP FINAL COMPACT MOBILE — 2026-08
   Cel: kalendarz jak najwyzej, bez wysokiego banera.
   Nadpisuje wylacznie mobile; desktop pozostaje bez zmian.
========================================================= */
@media (max-width: 767px) {
    .booking-studio {
        padding-top: 4px !important;
    }

    .booking-hero {
        display: block !important;
        min-height: 0 !important;
        margin: 4px 6px 6px !important;
        padding: 9px 10px !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 20px rgba(15, 45, 92, .15) !important;
    }

    .booking-hero::after {
        top: -72px !important;
        right: -68px !important;
        width: 126px !important;
        height: 126px !important;
        box-shadow: 0 0 0 16px rgba(255,255,255,.022) !important;
    }

    .booking-kicker {
        gap: 4px !important;
        margin: 0 0 4px !important;
    }

    /* Na telefonie wystarczy samo szybkie wyjscie do listy klubow. */
    .booking-kicker span {
        display: none !important;
    }

    .booking-kicker a {
        min-height: 20px !important;
        height: 20px !important;
        padding: 0 7px !important;
        border-radius: 999px !important;
        font-size: 8px !important;
        line-height: 1 !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 18px !important;
        line-height: 1.05 !important;
        letter-spacing: -.025em !important;
    }

    .booking-hero__content p {
        margin: 3px 0 0 !important;
        max-width: 100% !important;
        font-size: 9px !important;
        line-height: 1.18 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* Jeden niski rzad: ulubione | korty | cena | akcja admina. */
    .booking-hero__meta {
        display: grid !important;
        grid-template-columns: 34px 58px minmax(74px, 1fr) auto !important;
        align-items: stretch !important;
        gap: 5px !important;
        width: 100% !important;
        margin: 7px 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .booking-hero__favorite {
        width: 34px !important;
        min-width: 34px !important;
        min-height: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
    }

    .booking-hero__favorite .club-favorite-btn,
    .booking-hero__favorite .club-favorite-btn--guest,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        width: 30px !important;
        min-width: 30px !important;
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        font-size: 18px !important;
    }

    .booking-hero__meta > div:not(.booking-hero__favorite) {
        min-height: 36px !important;
        height: 36px !important;
        padding: 4px 7px !important;
        border-radius: 10px !important;
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .booking-hero__meta > div strong {
        font-size: 13px !important;
        line-height: 1 !important;
    }

    .booking-hero__meta > div span {
        margin-top: 3px !important;
        font-size: 7px !important;
        line-height: 1 !important;
        letter-spacing: .04em !important;
    }

    /* Status ProAdmin nie jest potrzebny w banerze na telefonie. */
    .booking-hero__meta > .club-proadmin-badge {
        display: none !important;
    }

    /* Panel admina / usuwanie nie tworza juz osobnego, wysokiego rzedu. */
    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero {
        grid-column: auto !important;
        align-self: stretch !important;
        width: auto !important;
        min-width: 0 !important;
        height: 36px !important;
        min-height: 36px !important;
        margin: 0 !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button {
        width: auto !important;
        min-width: 58px !important;
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 8px !important;
        border-radius: 10px !important;
        font-size: 8px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    /* Po usunieciu oczywistego naglowka zostaje tylko mala etykieta i nawigacja. */
    .booking-board--week {
        margin-top: 0 !important;
        padding: 6px !important;
    }

    .booking-board__head--compact {
        margin-bottom: 6px !important;
        padding: 0 0 6px !important;
    }

    .booking-board__head--compact .mini-label {
        padding: 3px 7px !important;
        font-size: 8px !important;
        line-height: 1 !important;
    }

    .booking-board__head--compact h2,
    .booking-board__head--compact p {
        display: none !important;
    }

    .week-actions {
        margin-top: 5px !important;
    }

    .week-switcher--premium {
        padding: 3px !important;
    }

    .week-switcher--premium a,
    .week-switcher--premium strong {
        min-height: 30px !important;
    }
}

@media (max-width: 420px) {
    .booking-hero {
        margin-inline: 5px !important;
        padding: 8px 9px !important;
        border-radius: 14px !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        font-size: 17px !important;
    }

    .booking-hero__meta {
        grid-template-columns: 32px 54px minmax(70px, 1fr) auto !important;
        gap: 4px !important;
        margin-top: 6px !important;
    }

    .booking-hero__favorite {
        width: 32px !important;
        min-width: 32px !important;
        height: 34px !important;
        min-height: 34px !important;
    }

    .booking-hero__favorite .club-favorite-btn,
    .booking-hero__favorite .club-favorite-btn--guest,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        width: 28px !important;
        min-width: 28px !important;
        height: 28px !important;
        min-height: 28px !important;
        font-size: 17px !important;
    }

    .booking-hero__meta > div:not(.booking-hero__favorite),
    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button {
        height: 34px !important;
        min-height: 34px !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button {
        min-width: 54px !important;
        padding-inline: 6px !important;
        font-size: 7.5px !important;
    }
}

/* =========================================================
   TFP 2026 — CLUB BOOKING / LEAGUES VISUAL SYNC
   Spójność z ekranem /leagues: identyczna typografia, hero,
   promienie, obramowania, skala kontrolek i rytm odstępów.
   Wyłącznie warstwa wizualna — bez zmian w logice rezerwacji.
   ========================================================= */

body:has(.booking-studio) {
    --club-ui-bg: #f5f8fc;
    --club-ui-surface: rgba(255, 255, 255, .96);
    --club-ui-ink: #0b1830;
    --club-ui-text: #263750;
    --club-ui-muted: #6a7890;
    --club-ui-line: #dfe6f0;
    --club-ui-line-strong: #ccd8e7;
    --club-ui-blue: #1769df;
    --club-ui-blue-dark: #0d3978;
    --club-ui-cyan: #20a9d8;
    --club-ui-soft-blue: #eef5ff;
    --club-ui-shadow: 0 18px 46px rgba(16, 36, 68, .075);
    --club-ui-shadow-soft: 0 8px 24px rgba(16, 36, 68, .055);
    background:
        radial-gradient(circle at 8% -5%, rgba(23, 105, 223, .075), transparent 25rem),
        radial-gradient(circle at 94% 2%, rgba(32, 169, 216, .065), transparent 24rem),
        linear-gradient(180deg, #fafcff 0%, #f5f8fc 46%, #f8fafc 100%) !important;
    color: var(--club-ui-text) !important;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    letter-spacing: .004em !important;
}

.booking-studio,
.booking-studio button,
.booking-studio input,
.booking-studio select,
.booking-studio textarea {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.booking-studio {
    width: min(1480px, calc(100% - 48px)) !important;
    max-width: 1480px !important;
    margin: 0 auto !important;
    padding: 22px 0 64px !important;
    color: var(--club-ui-text) !important;
    font-size: 13px !important;
}

/* ===== Hero — ta sama rodzina wizualna co /leagues ===== */
.booking-hero {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 28px !important;
    min-height: 112px !important;
    margin: 0 0 16px !important;
    padding: 22px 26px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 22px !important;
    color: #fff !important;
    background:
        radial-gradient(circle at 90% -20%, rgba(47, 196, 232, .26), transparent 18rem),
        linear-gradient(135deg, #0b2349 0%, #123d77 62%, #0e789f 100%) !important;
    box-shadow: 0 18px 42px rgba(15, 44, 88, .14) !important;
}

.booking-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    top: -145px !important;
    right: -110px !important;
    width: 240px !important;
    height: 240px !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 36px rgba(255, 255, 255, .035) !important;
    pointer-events: none !important;
}

.booking-hero__content {
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

.booking-kicker {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 0 7px !important;
    color: #d7f3ff !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

.booking-kicker a,
.booking-kicker span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 22px !important;
    height: 22px !important;
    padding: 0 10px !important;
    border: 1px solid rgba(255, 255, 255, .15) !important;
    border-radius: 999px !important;
    color: #d7f3ff !important;
    background: rgba(255, 255, 255, .10) !important;
    box-shadow: none !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.booking-kicker a:hover {
    border-color: rgba(255, 255, 255, .28) !important;
    background: rgba(255, 255, 255, .15) !important;
}

.booking-hero h1,
.booking-hero__content h1 {
    max-width: 760px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    font-size: clamp(31px, 2.7vw, 40px) !important;
    line-height: 1.02 !important;
    font-weight: 700 !important;
    letter-spacing: -.025em !important;
}

.booking-hero p,
.booking-hero__content p {
    max-width: 760px !important;
    margin: 7px 0 0 !important;
    color: rgba(234, 243, 255, .82) !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    letter-spacing: .006em !important;
}

.booking-hero__meta {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 9px !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.booking-hero__meta > div,
.booking-hero__meta > a,
.booking-hero__meta > .club-proadmin-badge,
.club-proadmin-delete-form--hero button {
    min-width: 88px !important;
    min-height: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 7px 12px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 13px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .09) !important;
    box-shadow: none !important;
}

.booking-hero__meta > div:not(.booking-hero__favorite) {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 3px !important;
}

.booking-hero__meta > div strong {
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: -.012em !important;
}

.booking-hero__meta > div span {
    margin: 0 !important;
    color: rgba(226, 240, 255, .78) !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

.booking-hero__favorite {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    min-width: 48px !important;
    padding: 4px !important;
}

.booking-hero__favorite .club-favorite-btn,
.booking-hero__favorite .club-favorite-btn--guest,
.booking-hero__favorite button,
.booking-hero__favorite a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 10px !important;
    color: #ffd76a !important;
    background: rgba(255, 255, 255, .08) !important;
    box-shadow: none !important;
    font-size: 19px !important;
}

.booking-hero__meta > a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 108px !important;
    padding-inline: 15px !important;
    color: #0f3b73 !important;
    border-color: rgba(255, 255, 255, .65) !important;
    background: #fff !important;
    box-shadow: 0 9px 22px rgba(3, 20, 46, .15) !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.booking-hero__meta > .club-proadmin-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 82px !important;
    color: #0f3b73 !important;
    border-color: rgba(255, 255, 255, .65) !important;
    background: #fff !important;
    font-size: 10px !important;
    font-weight: 650 !important;
    text-transform: none !important;
}

.club-proadmin-delete-form--hero {
    width: auto !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
}

.club-proadmin-delete-form--hero button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 104px !important;
    padding-inline: 15px !important;
    color: #f5fbff !important;
    border-color: rgba(255, 255, 255, .24) !important;
    background: rgba(255, 255, 255, .09) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 650 !important;
    white-space: nowrap !important;
}

.booking-hero__meta > a:hover,
.club-proadmin-delete-form--hero button:hover {
    transform: translateY(-1px) !important;
}

/* ===== Plansza kalendarza — ten sam język co filtry/listy ligi ===== */
.booking-board--week {
    padding: 16px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 18px !important;
    background: var(--club-ui-surface) !important;
    box-shadow: var(--club-ui-shadow-soft) !important;
    backdrop-filter: blur(14px) !important;
}

.booking-board__head--compact {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 0 0 12px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid var(--club-ui-line) !important;
}

.booking-board__head--compact > div:first-child {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.booking-board__head--compact .mini-label,
.booking-summary--inline .mini-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 23px !important;
    height: 23px !important;
    padding: 0 9px !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #1769df !important;
    background: #eaf3ff !important;
    box-shadow: none !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.club-feature-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 0 !important;
}

.club-feature-tags span {
    min-height: 23px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 8px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 8px !important;
    color: #5a6a82 !important;
    background: #fff !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: .01em !important;
}

.week-actions {
    margin: 0 !important;
}

.week-switcher--premium {
    display: inline-grid !important;
    grid-template-columns: auto auto auto !important;
    gap: 5px !important;
    width: auto !important;
    padding: 4px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 12px !important;
    background: #f7faff !important;
    box-shadow: none !important;
}

.week-switcher--premium a,
.week-switcher--premium strong {
    min-width: 0 !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 9px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

.week-switcher--premium a {
    color: var(--club-ui-blue) !important;
    background: #fff !important;
    box-shadow: none !important;
}

.week-switcher--premium a:hover {
    color: #0e4fae !important;
    background: var(--club-ui-soft-blue) !important;
}

.week-switcher--premium strong {
    color: var(--club-ui-ink) !important;
    background: transparent !important;
}

.booking-weeks-panel {
    margin: 0 0 10px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

.booking-weeks-panel summary {
    min-height: 52px !important;
    padding: 9px 12px !important;
    border-radius: 0 !important;
    background: #fff !important;
}

.booking-weeks-panel summary b {
    color: var(--club-ui-ink) !important;
    font-size: 11.5px !important;
    line-height: 1.2 !important;
    font-weight: 650 !important;
}

.booking-weeks-panel summary small {
    color: var(--club-ui-muted) !important;
    font-size: 9px !important;
    font-weight: 500 !important;
}

.booking-weeks-panel summary em {
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 11px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 9px !important;
    color: var(--club-ui-blue) !important;
    background: var(--club-ui-soft-blue) !important;
    font-size: 9px !important;
    font-style: normal !important;
    font-weight: 650 !important;
}

.booking-weeks-panel__body {
    border-top: 1px solid var(--club-ui-line) !important;
    background: #fbfdff !important;
}

.booking-weeks-panel__info strong,
.booking-weeks-panel__info p {
    font-weight: 500 !important;
}

.booking-weeks-panel__actions button {
    min-height: 34px !important;
    border-radius: 9px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

.court-picker {
    gap: 6px !important;
    margin: 0 0 10px !important;
    padding: 5px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 12px !important;
    background: #f7faff !important;
}

.court-picker__btn {
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 13px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 9px !important;
    color: #536177 !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
}

.court-picker__btn.is-active {
    color: #fff !important;
    border-color: var(--club-ui-blue) !important;
    background: var(--club-ui-blue) !important;
    box-shadow: 0 5px 12px rgba(23, 105, 223, .14) !important;
}

/* ===== Kalendarz ===== */
.court-week-grid-wrap {
    max-height: 650px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: none !important;
    scrollbar-color: #b8c7dc #eef3f8 !important;
}

.court-week-panel {
    min-width: 980px !important;
}

.court-week-grid {
    background: #fff !important;
    color: var(--club-ui-text) !important;
}

.court-week-grid th,
.court-week-grid td {
    border-color: #e7edf5 !important;
}

.court-week-grid thead th {
    height: 56px !important;
    padding: 8px 6px !important;
    color: #536177 !important;
    background: #f8fafd !important;
    font-weight: 600 !important;
}

.court-week-grid thead th small {
    color: #75839a !important;
    font-size: 8px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.court-week-grid thead th strong {
    margin-top: 5px !important;
    color: var(--club-ui-ink) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 650 !important;
    letter-spacing: -.006em !important;
}

.court-week-grid thead th.is-today {
    color: var(--club-ui-blue) !important;
    background: var(--club-ui-soft-blue) !important;
    box-shadow: inset 0 -2px 0 var(--club-ui-blue) !important;
}

.court-week-grid thead th.is-today small,
.court-week-grid thead th.is-today strong {
    color: var(--club-ui-blue) !important;
}

.court-week-grid .schedule-time-head,
.court-week-grid .schedule-time {
    width: 70px !important;
    color: #536177 !important;
    background: #fbfcfe !important;
    font-size: 9.5px !important;
    font-weight: 600 !important;
}

.court-week-grid td {
    height: 44px !important;
    padding: 4px !important;
    background: #fff !important;
}

.court-week-grid tbody tr:hover td,
.court-week-grid tbody tr:hover .schedule-time {
    background: #fbfdff !important;
}

.court-week-grid .time-slot {
    min-height: 34px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}

.court-week-grid .time-slot--free {
    border: 1px solid #ccebd8 !important;
    background: #f2fbf5 !important;
    color: #159447 !important;
    box-shadow: none !important;
}

.court-week-grid .time-slot--free span {
    width: 18px !important;
    height: 18px !important;
    border-radius: 999px !important;
    color: #159447 !important;
    background: #dcf7e5 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.court-week-grid .time-slot--free:hover {
    transform: translateY(-1px) !important;
    border-color: #86d3a4 !important;
    color: #087d34 !important;
    background: #eaf9ef !important;
    box-shadow: 0 6px 14px rgba(22, 163, 74, .10) !important;
}

.court-week-grid .time-slot--free.is-selected,
.court-week-grid .time-slot--free.is-range {
    color: #fff !important;
    border-color: var(--club-ui-blue) !important;
    background: var(--club-ui-blue) !important;
    box-shadow: 0 5px 12px rgba(23, 105, 223, .14) !important;
}

.court-week-grid .time-slot--busy {
    border-color: #f4c7d0 !important;
    background: #fff3f5 !important;
    color: #a91f3d !important;
    box-shadow: inset 2px 0 0 #e95b78 !important;
}

.court-week-grid .time-slot--mine {
    border-color: #b8d4f8 !important;
    background: #eff6ff !important;
    color: #175eb9 !important;
    box-shadow: inset 2px 0 0 #438ae6 !important;
}

.court-week-grid .time-slot--recurring {
    border-color: #d2c7f3 !important;
    background: #f6f2ff !important;
    color: #6741a8 !important;
    box-shadow: inset 2px 0 0 #8c6ad0 !important;
}

.court-week-grid .time-slot--pending:not(.time-slot--recurring) {
    border-color: #f6d6af !important;
    background: #fff8ed !important;
    color: #a15b11 !important;
    box-shadow: inset 2px 0 0 #e0a14a !important;
}

.court-week-grid .time-slot--locked {
    border-color: #e2e8f0 !important;
    color: #93a1b4 !important;
    background: repeating-linear-gradient(-45deg, #fafbfc, #fafbfc 7px, #f3f6f9 7px, #f3f6f9 14px) !important;
}

.court-week-grid .time-slot strong {
    font-size: 9.5px !important;
    font-weight: 650 !important;
    letter-spacing: 0 !important;
}

.reservation-slot-meta,
.reservation-phone-private {
    font-size: 8px !important;
    font-weight: 500 !important;
    letter-spacing: .005em !important;
}

.reservation-type-mark {
    font-weight: 650 !important;
}

/* ===== Panel rezerwacji po prawej ===== */
.booking-summary--inline {
    margin: 0 !important;
    padding: 15px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(17, 39, 75, .045) !important;
}

.booking-summary--inline .booking-summary__copy {
    padding-bottom: 11px !important;
    border-bottom: 1px solid var(--club-ui-line) !important;
}

.booking-summary--inline .booking-summary__copy h2 {
    margin: 6px 0 4px !important;
    color: var(--club-ui-ink) !important;
    font-size: 17px !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    letter-spacing: -.018em !important;
}

.booking-summary--inline .booking-summary__copy p {
    margin: 0 !important;
    color: var(--club-ui-muted) !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
}

.booking-checkout--inline {
    gap: 9px !important;
    margin-top: 11px !important;
}

.booking-checkout--inline label,
.booking-admin-field,
.repeat-weeks-field {
    color: #5d6b80 !important;
    font-size: 8px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
}

.booking-checkout--inline select,
.booking-admin-field input,
.booking-admin-field select,
.repeat-weeks-field input,
.repeat-weeks-field select {
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 10px !important;
    border: 1px solid var(--club-ui-line-strong) !important;
    border-radius: 10px !important;
    color: var(--club-ui-ink) !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 10px !important;
    font-weight: 500 !important;
}

.booking-checkout--inline select:focus,
.booking-admin-field input:focus,
.booking-admin-field select:focus,
.repeat-weeks-field input:focus,
.repeat-weeks-field select:focus {
    outline: none !important;
    border-color: #9dbce5 !important;
    box-shadow: 0 0 0 3px rgba(23, 105, 223, .08) !important;
}

.booking-checkout--inline .light-toggle,
.repeat-toggle,
.block-toggle {
    min-height: 40px !important;
    padding: 0 10px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 10px !important;
    color: #4f5f76 !important;
    background: #fff !important;
    box-shadow: none !important;
    font-size: 9px !important;
    font-weight: 600 !important;
}

.booking-admin-options {
    gap: 9px !important;
    padding: 9px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 12px !important;
    background: #f8fafd !important;
}

.booking-checkout--inline .checkout-price {
    min-height: 43px !important;
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 10px !important;
    background: #f8fafd !important;
    box-shadow: none !important;
}

.booking-checkout--inline .clubs-btn,
.booking-phone-required .clubs-btn {
    min-height: 42px !important;
    border: 0 !important;
    border-radius: 10px !important;
    color: #fff !important;
    background: var(--club-ui-blue) !important;
    box-shadow: 0 6px 14px rgba(23, 105, 223, .16) !important;
    font-size: 10px !important;
    font-weight: 650 !important;
    letter-spacing: .01em !important;
}

.booking-checkout--inline .clubs-btn:hover,
.booking-phone-required .clubs-btn:hover {
    background: #145ec8 !important;
}

.booking-phone-required {
    border: 1px solid var(--club-ui-line) !important;
    border-radius: 12px !important;
    background: #f8fafd !important;
    color: var(--club-ui-text) !important;
}

.clubs-alert {
    border-radius: 12px !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

/* ===== Desktop ===== */
@media (min-width: 1260px) {
    .booking-board--week {
        grid-template-columns: minmax(0, 1fr) 300px !important;
        gap: 12px 14px !important;
    }

    .booking-summary--inline {
        top: calc(var(--tfp-header-fixed-height, 72px) + 14px) !important;
    }
}

@media (max-width: 1259px) {
    .booking-studio {
        width: min(100% - 36px, 1120px) !important;
    }

    .booking-summary--inline {
        margin-top: 12px !important;
    }
}

/* ===== Tablet / phone ===== */
@media (max-width: 900px) {
    .booking-studio {
        width: calc(100% - 24px) !important;
        padding: 14px 0 44px !important;
    }

    .booking-hero {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 15px !important;
        min-height: 0 !important;
        padding: 19px !important;
        border-radius: 19px !important;
    }

    .booking-hero__meta {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    .booking-board--week {
        padding: 12px !important;
        border-radius: 16px !important;
    }

    .booking-board__head--compact {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 9px !important;
    }

    .week-actions,
    .week-switcher--premium {
        width: 100% !important;
    }

    .week-switcher--premium {
        grid-template-columns: 74px minmax(0, 1fr) 74px !important;
    }

    .court-week-grid-wrap {
        max-height: 66vh !important;
    }
}

@media (max-width: 720px) {
    .booking-studio {
        width: calc(100% - 20px) !important;
        padding: 12px 0 38px !important;
    }

    .booking-hero {
        display: flex !important;
        margin: 0 0 12px !important;
        padding: 17px !important;
        border-radius: 18px !important;
        gap: 13px !important;
    }

    .booking-hero::after {
        top: -106px !important;
        right: -94px !important;
        width: 190px !important;
        height: 190px !important;
        box-shadow: 0 0 0 26px rgba(255, 255, 255, .03) !important;
    }

    .booking-kicker {
        gap: 5px !important;
        margin-bottom: 6px !important;
    }

    .booking-kicker span {
        display: inline-flex !important;
    }

    .booking-kicker a,
    .booking-kicker span {
        min-height: 20px !important;
        height: 20px !important;
        padding: 0 8px !important;
        font-size: 6.8px !important;
        letter-spacing: .085em !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        font-size: 28px !important;
        line-height: 1.04 !important;
        letter-spacing: -.018em !important;
    }

    .booking-hero p,
    .booking-hero__content p {
        margin-top: 6px !important;
        font-size: 10px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .booking-hero__meta {
        display: grid !important;
        grid-template-columns: 44px repeat(2, minmax(0, 1fr)) !important;
        gap: 7px !important;
        margin: 0 !important;
    }

    .booking-hero__favorite,
    .booking-hero__meta > div:not(.booking-hero__favorite) {
        width: auto !important;
        min-width: 0 !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 4px 8px !important;
        border-radius: 11px !important;
    }

    .booking-hero__favorite {
        padding: 3px !important;
    }

    .booking-hero__favorite .club-favorite-btn,
    .booking-hero__favorite .club-favorite-btn--guest,
    .booking-hero__favorite button,
    .booking-hero__favorite a {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        border-radius: 9px !important;
        font-size: 17px !important;
    }

    .booking-hero__meta > div strong {
        font-size: 15px !important;
    }

    .booking-hero__meta > div span {
        font-size: 7px !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero,
    .booking-hero__meta > .club-proadmin-badge {
        grid-column: span 1 !important;
        width: auto !important;
        min-width: 0 !important;
        height: 40px !important;
        min-height: 40px !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > .club-proadmin-badge,
    .booking-hero__meta > form button,
    .club-proadmin-delete-form--hero button {
        width: 100% !important;
        min-width: 0 !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 8px !important;
        border-radius: 10px !important;
        font-size: 8.5px !important;
    }

    .booking-board--week {
        margin-top: 0 !important;
        padding: 10px !important;
    }

    .booking-board__head--compact {
        margin-bottom: 8px !important;
        padding-bottom: 8px !important;
    }

    .booking-board__head--compact .mini-label {
        min-height: 21px !important;
        height: 21px !important;
        padding: 0 8px !important;
        font-size: 7px !important;
    }

    .club-feature-tags {
        display: none !important;
    }

    .week-switcher--premium {
        grid-template-columns: 68px minmax(0, 1fr) 68px !important;
        gap: 4px !important;
        padding: 3px !important;
        border-radius: 11px !important;
    }

    .week-switcher--premium a,
    .week-switcher--premium strong {
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 5px !important;
        border-radius: 8px !important;
        font-size: 9px !important;
    }

    .booking-weeks-panel {
        margin-bottom: 8px !important;
        border-radius: 12px !important;
    }

    .booking-weeks-panel summary {
        min-height: 46px !important;
        padding: 7px 9px !important;
    }

    .booking-weeks-panel summary b {
        font-size: 10.5px !important;
    }

    .booking-weeks-panel summary small,
    .booking-weeks-panel summary em {
        font-size: 8px !important;
    }

    .court-picker {
        margin-bottom: 8px !important;
        padding: 4px !important;
        border-radius: 10px !important;
    }

    .court-picker__btn {
        min-height: 31px !important;
        height: 31px !important;
        padding: 0 11px !important;
        border-radius: 8px !important;
        font-size: 9px !important;
    }

    .court-week-panel {
        min-width: 790px !important;
    }

    .court-week-grid-wrap {
        max-height: 64vh !important;
        border-radius: 12px !important;
    }

    .booking-summary--inline {
        padding: 12px !important;
        border-radius: 13px !important;
    }

    .booking-summary--inline .booking-summary__copy h2 {
        font-size: 15px !important;
    }

    .booking-summary--inline .booking-summary__copy p {
        font-size: 9.5px !important;
    }
}

@media (max-width: 430px) {
    .booking-studio {
        width: calc(100% - 14px) !important;
    }

    .booking-hero {
        padding: 14px !important;
        border-radius: 16px !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        font-size: 24px !important;
    }

    .booking-hero__meta {
        grid-template-columns: 40px repeat(2, minmax(0, 1fr)) !important;
        gap: 5px !important;
    }

    .booking-hero__meta > a,
    .booking-hero__meta > form,
    .club-proadmin-delete-form--hero,
    .booking-hero__meta > .club-proadmin-badge {
        grid-column: span 3 !important;
    }

    .week-switcher--premium {
        grid-template-columns: 62px minmax(0, 1fr) 62px !important;
    }

    .week-switcher--premium a,
    .week-switcher--premium strong {
        font-size: 8px !important;
    }
}

/* ======================================================================
   TFP BOOKING PREMIUM — WHITE / NAVY SAAS 2026
   Warstwa końcowa: spójna z nowym headerem i jasnymi sekcjami homepage.
   Nie zmienia danych ani istniejących rezerwacji.
====================================================================== */

body:has(.booking-studio) {
    --booking-navy: #071b2e;
    --booking-navy-2: #0b263f;
    --booking-ink: #0c2036;
    --booking-text: #3f556d;
    --booking-muted: #7d91a6;
    --booking-line: #dfe8f2;
    --booking-line-strong: #cfdeec;
    --booking-blue: #126df5;
    --booking-blue-2: #2b8cff;
    --booking-cyan: #38c9e8;
    --booking-lime: #b7ef45;
    --booking-surface: #ffffff;
    --booking-soft: #f4f8fc;
    background:
        radial-gradient(circle at 8% 7%, rgba(44, 140, 255, .08), transparent 24rem),
        radial-gradient(circle at 92% 12%, rgba(56, 201, 232, .06), transparent 22rem),
        #f5f8fb !important;
    color: var(--booking-ink) !important;
}

html.booking-modal-open,
html.booking-modal-open body {
    overflow: hidden !important;
}

.booking-studio {
    width: min(calc(100% - 40px), 1440px) !important;
    max-width: 1440px !important;
    padding: 26px 0 76px !important;
}

/* --- Hero: dużo bieli, granat i jeden dynamiczny akcent --- */
.booking-hero {
    position: relative !important;
    isolation: isolate !important;
    min-height: 0 !important;
    margin: 0 0 18px !important;
    padding: 26px 28px !important;
    border: 1px solid rgba(210, 224, 238, .95) !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 22px 60px rgba(14, 39, 68, .08) !important;
    overflow: hidden !important;
}

.booking-hero::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--booking-blue), var(--booking-cyan), var(--booking-lime));
    z-index: -1;
}

.booking-hero::after {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -120px;
    top: -190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 126, 246, .12), rgba(30, 126, 246, 0) 68%);
    pointer-events: none;
    z-index: -1;
}

.booking-kicker {
    gap: 8px !important;
    margin-bottom: 10px !important;
}

.booking-kicker a,
.booking-kicker span {
    min-height: 28px !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
}

.booking-kicker a {
    color: #315575 !important;
    background: #f3f7fb !important;
    border: 1px solid #e1e9f2 !important;
}

.booking-kicker a:hover {
    color: var(--booking-blue) !important;
    background: #edf5ff !important;
    transform: translateY(-1px) !important;
}

.booking-kicker span {
    color: #075d7b !important;
    background: #edfaff !important;
    border: 1px solid #d4f1f8 !important;
}

.booking-hero h1,
.booking-hero__content h1 {
    margin: 0 !important;
    color: var(--booking-navy) !important;
    font-size: clamp(32px, 3.2vw, 48px) !important;
    line-height: .98 !important;
    font-weight: 850 !important;
    letter-spacing: -.045em !important;
}

.booking-hero__content > p {
    margin: 11px 0 0 !important;
    color: #60758a !important;
    font-size: 13px !important;
    font-weight: 550 !important;
}

.booking-hero__meta {
    gap: 9px !important;
}

.booking-hero__meta > div,
.booking-hero__meta > a,
.booking-hero__meta > span,
.booking-hero__meta > form {
    min-height: 58px !important;
    border: 1px solid #e0e8f1 !important;
    border-radius: 16px !important;
    background: #f8fbfe !important;
    box-shadow: none !important;
}

.booking-hero__meta > div:not(.booking-hero__favorite) {
    padding: 10px 16px !important;
}

.booking-hero__meta > div strong {
    color: var(--booking-navy) !important;
    font-size: 18px !important;
    font-weight: 850 !important;
}

.booking-hero__meta > div span {
    color: #7990a6 !important;
}

/* --- Plansza: mniej "panelu admina", więcej nowoczesnego produktu --- */
.booking-board--week {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 336px !important;
    align-items: start !important;
    gap: 14px 16px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.booking-board__head--compact {
    grid-column: 1 / -1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    border: 1px solid var(--booking-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 14px 38px rgba(17, 45, 75, .055) !important;
}

.booking-board__head--compact > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    min-width: 0 !important;
}

.booking-board__intro {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    min-width: 0 !important;
}

.booking-board__intro > div:last-child {
    min-width: 0 !important;
}

.booking-board__intro h2 {
    margin: 0 0 3px !important;
    color: var(--booking-navy) !important;
    font-size: 17px !important;
    line-height: 1.15 !important;
    font-weight: 820 !important;
    letter-spacing: -.025em !important;
}

.booking-board__intro p {
    margin: 0 !important;
    color: #7b8fa3 !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
    font-weight: 550 !important;
}

.booking-board__head--compact .mini-label,
.booking-summary--inline .mini-label {
    flex: 0 0 auto !important;
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 10px !important;
    border: 1px solid #d8e8fb !important;
    border-radius: 999px !important;
    background: #eff6ff !important;
    color: #1769df !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    letter-spacing: .09em !important;
}

.club-feature-tags {
    gap: 6px !important;
}

.club-feature-tags span {
    min-height: 28px !important;
    padding: 0 9px !important;
    border-radius: 9px !important;
    border-color: #e3eaf2 !important;
    background: #fafcff !important;
}

.week-switcher--premium {
    padding: 4px !important;
    border: 1px solid #e0e8f1 !important;
    border-radius: 13px !important;
    background: #f6f9fc !important;
}

.week-switcher--premium a,
.week-switcher--premium strong {
    height: 36px !important;
    min-height: 36px !important;
    border-radius: 10px !important;
    font-size: 10px !important;
}

.week-switcher--premium a {
    color: #165fca !important;
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(12, 32, 54, .04) !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.week-switcher--premium a:hover {
    color: #0d55bd !important;
    background: #f0f6ff !important;
    box-shadow: 0 6px 16px rgba(26, 97, 184, .10) !important;
    transform: translateY(-1px) !important;
}

.booking-weeks-panel {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    border-radius: 18px !important;
    border-color: var(--booking-line) !important;
    box-shadow: 0 10px 28px rgba(17, 45, 75, .045) !important;
}

.court-picker {
    grid-column: 1 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 6px !important;
    gap: 6px !important;
    border: 1px solid var(--booking-line) !important;
    border-radius: 15px !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(17, 45, 75, .045) !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
}

.court-picker::-webkit-scrollbar { display: none !important; }

.court-picker__btn {
    position: relative !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: #536b82 !important;
    font-size: 10.5px !important;
    font-weight: 760 !important;
    white-space: nowrap !important;
    transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

.court-picker__btn:hover {
    color: var(--booking-navy) !important;
    background: #f2f7fc !important;
    transform: translateY(-1px) !important;
}

.court-picker__btn.is-active {
    color: #fff !important;
    background: linear-gradient(135deg, #0b2741 0%, #113d61 100%) !important;
    box-shadow: 0 8px 18px rgba(7, 27, 46, .18) !important;
}

.court-picker__btn.is-active::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--booking-cyan), var(--booking-lime));
}

/* --- Kalendarz --- */
.court-week-grid-wrap {
    grid-column: 1 !important;
    width: 100% !important;
    max-height: 670px !important;
    margin: 0 !important;
    border: 1px solid var(--booking-line) !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 18px 44px rgba(17, 45, 75, .065) !important;
    overflow: auto !important;
}

.court-week-panel {
    min-width: 940px !important;
}

.court-week-grid {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #fff !important;
}

.court-week-grid th,
.court-week-grid td {
    border-color: #e8eef5 !important;
}

.court-week-grid thead th {
    height: 62px !important;
    padding: 10px 7px !important;
    background: #fbfcfe !important;
}

.court-week-grid thead th small {
    color: #8a9cad !important;
    font-size: 8px !important;
    letter-spacing: .11em !important;
}

.court-week-grid thead th strong {
    color: var(--booking-navy) !important;
    font-size: 12px !important;
    font-weight: 820 !important;
}

.court-week-grid thead th.is-today {
    position: relative !important;
    background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%) !important;
    box-shadow: inset 0 -3px 0 var(--booking-blue) !important;
}

.court-week-grid thead th.is-today small,
.court-week-grid thead th.is-today strong {
    color: #1266d6 !important;
}

.court-week-grid thead th.is-past-day {
    background: #f8fafc !important;
}

.court-week-grid thead th.is-past-day small,
.court-week-grid thead th.is-past-day strong {
    color: #a7b3c0 !important;
}

.court-week-grid .schedule-time-head,
.court-week-grid .schedule-time {
    position: sticky !important;
    left: 0 !important;
    z-index: 4 !important;
    width: 74px !important;
    min-width: 74px !important;
    background: #fbfcfe !important;
    box-shadow: 1px 0 0 #e8eef5 !important;
}

.court-week-grid thead .schedule-time-head {
    z-index: 7 !important;
}

.court-week-grid .schedule-time {
    color: #688097 !important;
    font-size: 9.5px !important;
    font-weight: 750 !important;
}

.court-week-grid td {
    height: 48px !important;
    padding: 5px !important;
    background: #fff !important;
}

.court-week-grid tbody tr:hover td {
    background: #fbfdff !important;
}

.court-week-grid .time-slot {
    min-height: 37px !important;
    border-radius: 10px !important;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease, color .16s ease !important;
}

.court-week-grid .time-slot--free {
    border: 1px solid #cfe9dc !important;
    background: linear-gradient(180deg, #f8fefb 0%, #f1fbf6 100%) !important;
    color: #168752 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
}

.court-week-grid .time-slot--free span {
    width: 21px !important;
    height: 21px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: #def7e9 !important;
    color: #11904d !important;
    font-size: 14px !important;
    font-weight: 850 !important;
    transition: transform .16s ease, background .16s ease, color .16s ease !important;
}

.court-week-grid .time-slot--free:hover {
    z-index: 3 !important;
    transform: translateY(-2px) !important;
    border-color: #83d2ab !important;
    background: #fff !important;
    box-shadow: 0 10px 22px rgba(20, 100, 73, .13) !important;
}

.court-week-grid .time-slot--free:hover span {
    transform: scale(1.08) !important;
    background: #0e8d4b !important;
    color: #fff !important;
}

.court-week-grid .time-slot--free.is-selected,
.court-week-grid .time-slot--free.is-range {
    border-color: #126df5 !important;
    background: linear-gradient(135deg, #126df5 0%, #2c8cff 100%) !important;
    color: #fff !important;
    box-shadow: 0 9px 20px rgba(18, 109, 245, .22) !important;
}

.court-week-grid .time-slot--free.is-selected span,
.court-week-grid .time-slot--free.is-range span {
    background: rgba(255,255,255,.19) !important;
    color: #fff !important;
}

.court-week-grid .time-slot--past {
    display: grid !important;
    place-items: center !important;
    border: 1px solid #edf1f5 !important;
    background: repeating-linear-gradient(-45deg, #fbfcfd 0 7px, #f6f8fa 7px 14px) !important;
    color: #b4bfca !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.court-week-grid .time-slot--past span {
    display: inline-grid !important;
    place-items: center !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #eef2f5 !important;
    color: #a7b1bc !important;
    font-size: 12px !important;
}

.court-week-grid .time-slot--locked {
    border-color: #e3e9ef !important;
    background: #f7f9fb !important;
    color: #9cacbb !important;
}

.court-week-grid .time-slot--busy {
    border-color: #f0d5dc !important;
    background: #fff7f8 !important;
    color: #a1344b !important;
    box-shadow: inset 3px 0 0 #e47b90 !important;
}

.court-week-grid .time-slot--mine {
    border-color: #c9dcf6 !important;
    background: #f2f7ff !important;
    color: #145ebc !important;
    box-shadow: inset 3px 0 0 #3d86e5 !important;
}

.court-week-grid .time-slot--pending:not(.time-slot--recurring) {
    border-color: #f2dfbd !important;
    background: #fffaf0 !important;
    color: #97601d !important;
    box-shadow: inset 3px 0 0 #e0ad61 !important;
}

/* --- Panel po prawej jak ciemny moduł z homepage --- */
.booking-summary--inline {
    grid-column: 2 !important;
    align-self: start !important;
    position: sticky !important;
    top: calc(var(--tfp-header-fixed-height, 72px) + 16px) !important;
    margin: 0 !important;
    padding: 20px !important;
    border: 1px solid rgba(126, 174, 215, .16) !important;
    border-radius: 20px !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(45, 141, 255, .16), transparent 12rem),
        linear-gradient(155deg, #071b2e 0%, #0a243b 100%) !important;
    box-shadow: 0 22px 58px rgba(4, 22, 40, .20) !important;
    color: #fff !important;
    overflow: hidden !important;
}

.booking-summary--inline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--booking-cyan), var(--booking-lime), transparent 86%);
    opacity: .95;
}

.booking-summary--inline .booking-summary__copy {
    padding: 4px 0 15px !important;
    border-bottom: 1px solid rgba(205, 225, 243, .12) !important;
}

.booking-summary--inline .mini-label {
    color: #8be4f5 !important;
    border-color: rgba(89, 203, 226, .18) !important;
    background: rgba(53, 198, 230, .09) !important;
}

.booking-summary--inline .booking-summary__copy h2 {
    margin: 10px 0 7px !important;
    color: #fff !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
    font-weight: 830 !important;
    letter-spacing: -.025em !important;
}

.booking-summary--inline .booking-summary__copy p {
    margin: 0 !important;
    color: #a9bdd0 !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
    font-weight: 520 !important;
}

.booking-checkout--inline {
    gap: 10px !important;
    margin-top: 14px !important;
}

.booking-checkout--inline > label:first-of-type,
.booking-admin-field,
.repeat-weeks-field {
    color: #aabed0 !important;
    font-size: 8.5px !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
}

.booking-checkout--inline select,
.booking-admin-field input,
.booking-admin-field select,
.repeat-weeks-field input,
.repeat-weeks-field select {
    min-height: 44px !important;
    height: 44px !important;
    margin-top: 6px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(208, 226, 241, .18) !important;
    border-radius: 11px !important;
    color: #0b2037 !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.06) !important;
    font-size: 11px !important;
    font-weight: 650 !important;
}

.booking-checkout--inline select:focus,
.booking-admin-field input:focus,
.booking-admin-field select:focus,
.repeat-weeks-field input:focus,
.repeat-weeks-field select:focus {
    border-color: #78b2ff !important;
    box-shadow: 0 0 0 3px rgba(57, 145, 255, .18) !important;
}

.booking-checkout--inline .light-toggle,
.repeat-toggle,
.block-toggle {
    min-height: 44px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(205, 225, 243, .14) !important;
    border-radius: 11px !important;
    background: rgba(255, 255, 255, .055) !important;
    color: #d7e4ef !important;
}

.booking-checkout--inline .light-toggle:hover,
.repeat-toggle:hover,
.block-toggle:hover {
    border-color: rgba(119, 190, 244, .28) !important;
    background: rgba(255, 255, 255, .08) !important;
}

.booking-checkout--inline .light-toggle b {
    color: #8fe7f5 !important;
}

.booking-admin-options {
    gap: 10px !important;
    padding: 11px !important;
    border: 1px solid rgba(205, 225, 243, .13) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.045) !important;
}

.booking-payment-panel {
    border-color: rgba(205, 225, 243, .14) !important;
    background: rgba(255, 255, 255, .055) !important;
    box-shadow: none !important;
}

.booking-payment-panel__head strong,
.booking-payment-option b,
.booking-payment-required b {
    color: #fff !important;
}

.booking-payment-panel__head small,
.booking-payment-option small {
    color: #9fb4c8 !important;
}

.booking-payment-option {
    border-color: rgba(205, 225, 243, .13) !important;
    background: rgba(255,255,255,.045) !important;
}

.booking-payment-option.is-selected {
    border-color: rgba(69, 151, 255, .55) !important;
    background: rgba(31, 112, 225, .16) !important;
    box-shadow: inset 0 0 0 1px rgba(92, 172, 255, .10) !important;
}

.booking-checkout--inline .checkout-price {
    min-height: 54px !important;
    padding: 10px 13px !important;
    border: 1px solid rgba(205, 225, 243, .14) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.055) !important;
}

.booking-checkout--inline .checkout-price small {
    color: #9eb3c6 !important;
}

.booking-checkout--inline .checkout-price strong {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 850 !important;
}

.booking-checkout--inline .clubs-btn,
.booking-phone-required .clubs-btn {
    min-height: 48px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #126df5 0%, #2d8dff 100%) !important;
    box-shadow: 0 12px 26px rgba(18, 109, 245, .24) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 820 !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.booking-checkout--inline .clubs-btn:hover:not(:disabled),
.booking-phone-required .clubs-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 17px 32px rgba(18, 109, 245, .31) !important;
    filter: brightness(1.03) !important;
}

.booking-checkout--inline .clubs-btn:disabled {
    color: #6f8498 !important;
    background: rgba(255,255,255,.08) !important;
    box-shadow: none !important;
}

.booking-phone-required {
    border-color: rgba(205, 225, 243, .14) !important;
    background: rgba(255,255,255,.055) !important;
    color: #d4e0eb !important;
}

.booking-phone-required strong { color: #fff !important; }
.booking-phone-required span { color: #9fb3c6 !important; }

/* --- Confirm + success modal --- */
.booking-modal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483200 !important;
    display: grid !important;
    place-items: center !important;
    padding: 20px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .22s ease, visibility .22s ease !important;
}

.booking-modal.is-open {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.booking-modal__backdrop {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(3, 17, 31, .66) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.booking-modal__dialog {
    position: relative !important;
    width: min(100%, 560px) !important;
    max-height: calc(100dvh - 40px) !important;
    overflow: auto !important;
    padding: 30px !important;
    border: 1px solid rgba(222, 232, 242, .95) !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 38px 100px rgba(2, 18, 34, .31) !important;
    transform: translateY(16px) scale(.985) !important;
    transition: transform .24s cubic-bezier(.2,.8,.2,1) !important;
}

.booking-modal.is-open .booking-modal__dialog {
    transform: translateY(0) scale(1) !important;
}

.booking-modal__close {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    width: 36px !important;
    height: 36px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid #e2eaf2 !important;
    border-radius: 10px !important;
    background: #f7f9fc !important;
    color: #60758a !important;
    font-size: 21px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.booking-modal__close:hover {
    color: #0b2037 !important;
    background: #edf3f8 !important;
}

.booking-modal__icon,
.booking-modal__success-mark {
    width: 54px !important;
    height: 54px !important;
    display: grid !important;
    place-items: center !important;
    margin-bottom: 16px !important;
    border-radius: 16px !important;
}

.booking-modal__icon--calendar {
    border: 1px solid #d9e8fb !important;
    background: #eff6ff !important;
}

.booking-modal__icon--calendar span {
    position: relative !important;
    width: 23px !important;
    height: 21px !important;
    border: 2px solid #126df5 !important;
    border-radius: 5px !important;
}

.booking-modal__icon--calendar span::before,
.booking-modal__icon--calendar span::after {
    content: "" !important;
    position: absolute !important;
    top: -5px !important;
    width: 2px !important;
    height: 7px !important;
    border-radius: 3px !important;
    background: #126df5 !important;
}

.booking-modal__icon--calendar span::before { left: 5px !important; }
.booking-modal__icon--calendar span::after { right: 5px !important; }

.booking-modal__eyebrow {
    color: #5a7897 !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 850 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

.booking-modal__dialog h2 {
    margin: 8px 48px 8px 0 !important;
    color: var(--booking-navy) !important;
    font-size: clamp(24px, 4vw, 31px) !important;
    line-height: 1.08 !important;
    font-weight: 870 !important;
    letter-spacing: -.04em !important;
}

.booking-modal__lead {
    margin: 0 !important;
    color: #657a8f !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

.booking-modal__details {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px !important;
    margin-top: 22px !important;
}

.booking-modal__details > div {
    min-width: 0 !important;
    padding: 13px 14px !important;
    border: 1px solid #e2eaf2 !important;
    border-radius: 13px !important;
    background: #f8fbfe !important;
}

.booking-modal__details span,
.booking-success-ticket small {
    display: block !important;
    color: #8799aa !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 760 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

.booking-modal__details strong {
    display: block !important;
    margin-top: 6px !important;
    color: #11283e !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
    overflow-wrap: anywhere !important;
}

.booking-modal__total {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    margin-top: 10px !important;
    padding: 15px 17px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #071b2e, #0b2a45) !important;
    color: #fff !important;
}

.booking-modal__total span {
    color: #a8bed2 !important;
    font-size: 11px !important;
    font-weight: 650 !important;
}

.booking-modal__total strong {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 880 !important;
}

.booking-modal__note {
    min-height: 0 !important;
    margin: 10px 0 0 !important;
    color: #71869a !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}

.booking-modal__note:empty { display: none !important; }

.booking-modal__actions {
    display: grid !important;
    grid-template-columns: 1fr 1.35fr !important;
    gap: 9px !important;
    margin-top: 22px !important;
}

.booking-modal__actions--single {
    grid-template-columns: 1fr !important;
}

.booking-modal__secondary,
.booking-modal__primary {
    min-height: 48px !important;
    border-radius: 12px !important;
    font: inherit !important;
    font-size: 11px !important;
    font-weight: 820 !important;
    cursor: pointer !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.booking-modal__secondary {
    border: 1px solid #dfe8f1 !important;
    background: #f7f9fc !important;
    color: #405970 !important;
}

.booking-modal__secondary:hover {
    color: #0b2037 !important;
    background: #eef3f8 !important;
}

.booking-modal__primary {
    border: 0 !important;
    background: linear-gradient(135deg, #126df5, #2c8cff) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(18, 109, 245, .23) !important;
}

.booking-modal__primary:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 17px 34px rgba(18, 109, 245, .31) !important;
}

.booking-modal__primary:disabled {
    opacity: .65 !important;
    cursor: wait !important;
}

.booking-modal__success-mark {
    position: relative !important;
    border: 1px solid #ccebd9 !important;
    background: #eefbf3 !important;
}

.booking-modal__success-mark span {
    width: 23px !important;
    height: 13px !important;
    border-left: 3px solid #159052 !important;
    border-bottom: 3px solid #159052 !important;
    transform: translateY(-2px) rotate(-45deg) !important;
}

.booking-modal__dialog--pending .booking-modal__success-mark,
.booking-modal__dialog--processing .booking-modal__success-mark {
    border-color: #d8e8fb !important;
    background: #eff6ff !important;
}

.booking-modal__dialog--pending .booking-modal__success-mark span,
.booking-modal__dialog--processing .booking-modal__success-mark span {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #126df5 !important;
    border-left-color: transparent !important;
    border-radius: 50% !important;
    transform: none !important;
}

.booking-success-ticket {
    margin-top: 22px !important;
    border: 1px solid #dfe8f1 !important;
    border-radius: 17px !important;
    background: #f8fbfe !important;
    overflow: hidden !important;
}

.booking-success-ticket__top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid #e3ebf3 !important;
}

.booking-success-ticket__top span {
    color: #536c84 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
}

.booking-success-ticket__top b {
    color: var(--booking-navy) !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

.booking-success-ticket__main {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1px !important;
    background: #e4ebf3 !important;
}

.booking-success-ticket__main > div {
    padding: 16px !important;
    background: #fff !important;
}

.booking-success-ticket__main strong {
    display: block !important;
    margin-top: 7px !important;
    color: #0b2037 !important;
    font-size: 13px !important;
    font-weight: 830 !important;
}

.booking-success-ticket__meta {
    display: flex !important;
    gap: 7px !important;
    padding: 11px 14px !important;
}

.booking-success-ticket__meta span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 26px !important;
    padding: 0 9px !important;
    border-radius: 999px !important;
    background: #edf5ff !important;
    color: #1769df !important;
    font-size: 9px !important;
    font-weight: 760 !important;
}

/* --- Alerty strony --- */
.booking-studio > .clubs-alert {
    margin: 0 0 14px !important;
    padding: 12px 15px !important;
    border: 1px solid #d9e7f4 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 9px 24px rgba(17,45,75,.045) !important;
}

/* --- Responsive --- */
@media (max-width: 1180px) {
    .booking-board--week {
        grid-template-columns: minmax(0, 1fr) 300px !important;
        gap: 12px !important;
    }

    .booking-studio {
        width: min(calc(100% - 28px), 1120px) !important;
    }
}

@media (max-width: 920px) {
    .booking-studio {
        width: calc(100% - 22px) !important;
        padding-top: 16px !important;
    }

    .booking-hero {
        padding: 21px !important;
        border-radius: 20px !important;
    }

    .booking-board--week {
        display: block !important;
    }

    .booking-board__head--compact,
    .booking-weeks-panel,
    .court-picker,
    .court-week-grid-wrap,
    .booking-summary--inline {
        margin-bottom: 12px !important;
    }

    .booking-summary--inline {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
    }

    .booking-board__head--compact {
        align-items: stretch !important;
        flex-direction: column !important;
    }

    .booking-board__head--compact > div:first-child {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .booking-board__intro {
        width: 100% !important;
    }

    .week-actions,
    .week-switcher--premium {
        width: 100% !important;
    }

    .week-switcher--premium {
        grid-template-columns: 1fr auto 1fr !important;
    }

    .court-week-grid-wrap {
        max-height: 66vh !important;
        border-radius: 17px !important;
    }

    .court-week-panel {
        min-width: 820px !important;
    }
}

@media (max-width: 620px) {
    .booking-studio {
        width: calc(100% - 16px) !important;
        padding: 10px 0 46px !important;
    }

    .booking-hero {
        margin-bottom: 10px !important;
        padding: 18px 16px !important;
        border-radius: 17px !important;
    }

    .booking-hero h1,
    .booking-hero__content h1 {
        font-size: 29px !important;
    }

    .booking-hero__content > p {
        font-size: 11px !important;
    }

    .booking-hero__meta {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
        margin-top: 15px !important;
    }

    .booking-hero__meta > div,
    .booking-hero__meta > a,
    .booking-hero__meta > span,
    .booking-hero__meta > form {
        min-height: 48px !important;
        border-radius: 12px !important;
    }

    .booking-board__head--compact {
        padding: 14px !important;
        border-radius: 16px !important;
    }

    .booking-board__intro {
        align-items: flex-start !important;
        gap: 9px !important;
    }

    .booking-board__intro {
        flex-direction: column !important;
    }

    .booking-board__intro h2 {
        font-size: 16px !important;
    }

    .booking-board__intro p {
        font-size: 9.5px !important;
    }

    .club-feature-tags {
        display: none !important;
    }

    .week-switcher--premium a,
    .week-switcher--premium strong {
        padding: 0 7px !important;
        font-size: 9px !important;
    }

    .court-picker {
        justify-content: flex-start !important;
        border-radius: 13px !important;
    }

    .court-picker__btn {
        min-width: 88px !important;
        min-height: 38px !important;
        height: 38px !important;
    }

    .court-week-grid-wrap {
        width: calc(100% + 2px) !important;
        max-height: 62vh !important;
        border-radius: 14px !important;
    }

    .court-week-panel {
        min-width: 760px !important;
    }

    .court-week-grid thead th {
        height: 55px !important;
    }

    .court-week-grid td {
        height: 44px !important;
        padding: 4px !important;
    }

    .court-week-grid .time-slot {
        min-height: 34px !important;
        border-radius: 9px !important;
    }

    .booking-summary--inline {
        padding: 17px !important;
        border-radius: 17px !important;
    }

    .booking-summary--inline .booking-summary__copy h2 {
        font-size: 18px !important;
    }

    .booking-modal {
        place-items: end center !important;
        padding: 0 !important;
    }

    .booking-modal__dialog {
        width: 100% !important;
        max-height: 88dvh !important;
        padding: 24px 18px calc(18px + env(safe-area-inset-bottom)) !important;
        border-radius: 24px 24px 0 0 !important;
        border-bottom: 0 !important;
        transform: translateY(28px) !important;
    }

    .booking-modal.is-open .booking-modal__dialog {
        transform: translateY(0) !important;
    }

    .booking-modal__details {
        grid-template-columns: 1fr 1fr !important;
    }

    .booking-modal__actions {
        grid-template-columns: 1fr !important;
    }

    .booking-modal__primary {
        order: -1 !important;
    }

    .booking-success-ticket__main {
        grid-template-columns: 1fr 1fr !important;
    }

    .booking-success-ticket__main > div:last-child:nth-child(3) {
        grid-column: 1 / -1 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .booking-modal,
    .booking-modal__dialog,
    .court-picker__btn,
    .court-week-grid .time-slot,
    .booking-checkout--inline .clubs-btn {
        transition-duration: .001ms !important;
    }
}

/* --- Premium cancellation confirmation --- */
.booking-modal__cancel-mark,
.booking-modal__cancelled-mark {
    position: relative !important;
    width: 54px !important;
    height: 54px !important;
    display: grid !important;
    place-items: center !important;
    margin-bottom: 16px !important;
    border: 1px solid #ffd7dd !important;
    border-radius: 16px !important;
    background: #fff3f5 !important;
}

.booking-modal__cancel-mark span,
.booking-modal__cancelled-mark span {
    position: relative !important;
    width: 21px !important;
    height: 21px !important;
}

.booking-modal__cancel-mark span::before,
.booking-modal__cancel-mark span::after {
    content: "" !important;
    position: absolute !important;
    top: 9px !important;
    left: 1px !important;
    width: 20px !important;
    height: 2.5px !important;
    border-radius: 4px !important;
    background: #df3d55 !important;
}

.booking-modal__cancel-mark span::before { transform: rotate(45deg) !important; }
.booking-modal__cancel-mark span::after { transform: rotate(-45deg) !important; }

.booking-modal__cancelled-mark span {
    width: 23px !important;
    height: 13px !important;
    border-left: 3px solid #df3d55 !important;
    border-bottom: 3px solid #df3d55 !important;
    transform: translateY(-2px) rotate(-45deg) !important;
}

.booking-modal__cancel-note {
    margin: 12px 0 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #f2dde1 !important;
    border-radius: 12px !important;
    background: #fff8f9 !important;
    color: #775a61 !important;
    font-size: 11.5px !important;
    line-height: 1.55 !important;
}

.booking-modal__danger {
    min-height: 48px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #e3435b, #ca3048) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(202, 48, 72, .22) !important;
    font: inherit !important;
    font-size: 11px !important;
    font-weight: 820 !important;
    cursor: pointer !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.booking-modal__danger:hover:not(:disabled) {
    transform: translateY(-2px) !important;
    box-shadow: 0 17px 34px rgba(202, 48, 72, .30) !important;
    filter: saturate(1.04) !important;
}

.booking-modal__danger:disabled {
    opacity: .65 !important;
    cursor: wait !important;
}

.booking-success-ticket--cancelled {
    border-color: #f0dfe3 !important;
    background: linear-gradient(180deg, #fff 0%, #fff8f9 100%) !important;
}

/* =========================================================
   TFP BOOKING UI v3 — compact homepage-inspired polish
   Visual-only override. No reservation/database logic changes.
   ========================================================= */

/* Compact, bright club masthead inspired by the homepage */
.booking-studio .booking-hero {
    position: relative !important;
    isolation: isolate !important;
    min-height: 0 !important;
    margin-bottom: 14px !important;
    padding: 20px 22px !important;
    overflow: hidden !important;
    border: 1px solid #dce7f2 !important;
    border-radius: 22px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 62%, #eef7ff 100%) !important;
    box-shadow: 0 18px 46px rgba(20, 54, 92, .09) !important;
}
.booking-studio .booking-hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 5px !important;
    background: linear-gradient(180deg, #1677ff 0%, #38c7e8 48%, #a7ef43 100%) !important;
    border-radius: 22px 0 0 22px !important;
    pointer-events: none !important;
}
.booking-studio .booking-hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    width: 260px !important;
    height: 260px !important;
    top: -155px !important;
    right: -70px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(30,126,255,.11) 0%, rgba(30,126,255,0) 70%) !important;
    border: 0 !important;
    box-shadow: none !important;
}
.booking-studio .booking-kicker {
    margin: 0 0 9px !important;
    gap: 7px !important;
}
.booking-studio .booking-kicker a,
.booking-studio .booking-kicker span {
    min-height: 28px !important;
    padding: 0 10px !important;
    border: 1px solid #dbe7f3 !important;
    border-radius: 999px !important;
    background: #f5f9fd !important;
    color: #31506d !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95) !important;
    font-size: 9.5px !important;
    font-weight: 850 !important;
    letter-spacing: .035em !important;
    text-decoration: none !important;
}
.booking-studio .booking-kicker span {
    background: #edf7ff !important;
    color: #1472d4 !important;
    border-color: #d4e9fb !important;
}
.booking-studio .booking-hero h1,
.booking-studio .booking-hero__content h1 {
    margin: 0 !important;
    color: #0b2239 !important;
    font-size: clamp(27px, 2.1vw, 35px) !important;
    line-height: 1.04 !important;
    font-weight: 900 !important;
    letter-spacing: -.035em !important;
    text-shadow: none !important;
}
.booking-studio .booking-hero__content p {
    margin: 7px 0 0 !important;
    color: #6e8193 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 650 !important;
}
.booking-studio .booking-hero__meta {
    gap: 8px !important;
    align-items: center !important;
}
.booking-studio .booking-hero__meta > div:not(.booking-hero__favorite),
.booking-studio .booking-hero__meta > a,
.booking-studio .booking-hero__meta > span,
.booking-studio .booking-hero__meta > form,
.booking-studio .club-proadmin-delete-form--hero button {
    min-height: 52px !important;
    border: 1px solid #dce7f2 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 7px 18px rgba(24,61,101,.055) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.booking-studio .booking-hero__meta > div:not(.booking-hero__favorite) {
    min-width: 102px !important;
    padding: 8px 12px !important;
}
.booking-studio .booking-hero__meta > div:nth-child(3) {
    min-width: 122px !important;
    border-color: #cfe3f7 !important;
    background: linear-gradient(135deg, #eef8ff 0%, #f6fbff 100%) !important;
}
.booking-studio .booking-hero__meta > div strong {
    color: #0b2239 !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}
.booking-studio .booking-hero__meta > div span {
    margin-top: 4px !important;
    color: #8294a5 !important;
    font-size: 8.5px !important;
    font-weight: 850 !important;
}
.booking-studio .booking-hero__favorite {
    width: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    border: 1px solid #dce7f2 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 7px 18px rgba(24,61,101,.055) !important;
}
.booking-studio .booking-hero__favorite .club-favorite-btn,
.booking-studio .booking-hero__favorite .club-favorite-btn--guest,
.booking-studio .booking-hero__favorite button,
.booking-studio .booking-hero__favorite a {
    width: 38px !important;
    min-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    border: 1px solid #e0e8f1 !important;
    border-radius: 11px !important;
    background: #f8fafc !important;
    color: #e8b923 !important;
    box-shadow: none !important;
}
.booking-studio .booking-hero__meta > a,
.booking-studio .club-proadmin-delete-form--hero button {
    padding: 0 15px !important;
    color: #18466f !important;
    background: #f8fbfe !important;
    font-size: 10.5px !important;
    font-weight: 850 !important;
    text-decoration: none !important;
}
.booking-studio .booking-hero__meta > a:hover,
.booking-studio .club-proadmin-delete-form--hero button:hover {
    color: #0d62c7 !important;
    border-color: #bfd9f2 !important;
    background: #edf7ff !important;
    transform: translateY(-1px) !important;
}

/* Inputs/selects — dark readable typography on white controls */
.booking-studio input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.booking-studio select,
.booking-studio textarea,
.booking-studio .booking-admin-field input,
.booking-studio .booking-admin-field select,
.booking-studio .booking-checkout--inline select {
    color: #102a43 !important;
    -webkit-text-fill-color: #102a43 !important;
    caret-color: #176fe8 !important;
    background-color: #fff !important;
    border-color: #d9e5f0 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    opacity: 1 !important;
}
.booking-studio input::placeholder,
.booking-studio textarea::placeholder {
    color: #91a2b3 !important;
    -webkit-text-fill-color: #91a2b3 !important;
    opacity: 1 !important;
    font-weight: 550 !important;
}
.booking-studio select option {
    color: #102a43 !important;
    background: #fff !important;
}
.booking-studio input:focus,
.booking-studio select:focus,
.booking-studio textarea:focus {
    border-color: #68a9f8 !important;
    outline: none !important;
    box-shadow: 0 0 0 4px rgba(24,119,255,.10) !important;
}

/* Lighter homepage-like utility cards */
.booking-studio .booking-board__head--compact,
.booking-studio .booking-weeks-panel,
.booking-studio .court-picker {
    border-color: #dde7f0 !important;
    background: #fff !important;
    box-shadow: 0 10px 28px rgba(22,55,90,.055) !important;
}
.booking-studio .booking-weeks-panel summary em {
    color: #176dcc !important;
    background: #eef6ff !important;
    border-color: #d8e8f8 !important;
}

@media (min-width: 768px) {
    .booking-studio .booking-hero {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 20px !important;
        min-height: 104px !important;
    }
}

@media (max-width: 767px) {
    .booking-studio {
        padding-top: 10px !important;
    }
    .booking-studio .booking-hero {
        display: block !important;
        margin-bottom: 10px !important;
        padding: 16px 15px 15px 18px !important;
        border-radius: 18px !important;
        box-shadow: 0 11px 30px rgba(20,54,92,.075) !important;
    }
    .booking-studio .booking-hero::before {
        width: 4px !important;
        border-radius: 18px 0 0 18px !important;
    }
    .booking-studio .booking-kicker {
        margin-bottom: 8px !important;
    }
    .booking-studio .booking-kicker span {
        display: none !important;
    }
    .booking-studio .booking-kicker a {
        min-height: 27px !important;
        padding: 0 9px !important;
        font-size: 9px !important;
    }
    .booking-studio .booking-hero h1,
    .booking-studio .booking-hero__content h1 {
        font-size: 28px !important;
        line-height: 1.04 !important;
    }
    .booking-studio .booking-hero__content p {
        margin-top: 6px !important;
        font-size: 11px !important;
    }
    .booking-studio .booking-hero__meta {
        display: grid !important;
        grid-template-columns: 48px 1fr 1fr !important;
        gap: 7px !important;
        margin-top: 13px !important;
    }
    .booking-studio .booking-hero__favorite {
        width: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        grid-column: auto !important;
    }
    .booking-studio .booking-hero__meta > div:not(.booking-hero__favorite) {
        min-width: 0 !important;
        min-height: 48px !important;
        padding: 7px 10px !important;
    }
    .booking-studio .booking-hero__meta > div strong {
        font-size: 16px !important;
    }
    .booking-studio .booking-hero__meta > a,
    .booking-studio .booking-hero__meta > form,
    .booking-studio .club-proadmin-delete-form--hero {
        grid-column: span 3 !important;
        width: 100% !important;
        min-height: 42px !important;
    }
    .booking-studio .booking-hero__meta > a,
    .booking-studio .booking-hero__meta > form button,
    .booking-studio .club-proadmin-delete-form--hero button {
        width: 100% !important;
        min-height: 42px !important;
        height: 42px !important;
        border-radius: 12px !important;
    }
    .booking-studio .booking-board__head--compact {
        padding: 12px !important;
        border-radius: 15px !important;
    }
    .booking-studio .booking-board__intro h2 {
        font-size: 15px !important;
        line-height: 1.15 !important;
    }
    .booking-studio .booking-board__intro p {
        display: none !important;
    }
    .booking-studio .week-switcher--premium {
        min-height: 52px !important;
        border-radius: 14px !important;
    }
    .booking-studio .week-switcher--premium a,
    .booking-studio .week-switcher--premium strong {
        min-height: 42px !important;
        font-size: 11px !important;
    }
    .booking-studio .booking-weeks-panel {
        border-radius: 15px !important;
    }
    .booking-studio .court-picker {
        padding: 6px !important;
        border-radius: 14px !important;
    }
}

@media (max-width: 420px) {
    .booking-studio .booking-hero {
        padding: 14px 13px 13px 16px !important;
    }
    .booking-studio .booking-hero h1,
    .booking-studio .booking-hero__content h1 {
        font-size: 26px !important;
    }
    .booking-studio .booking-hero__meta {
        grid-template-columns: 44px 1fr 1fr !important;
        gap: 6px !important;
        margin-top: 11px !important;
    }
    .booking-studio .booking-hero__favorite {
        width: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
    }
    .booking-studio .booking-hero__favorite .club-favorite-btn,
    .booking-studio .booking-hero__favorite .club-favorite-btn--guest,
    .booking-studio .booking-hero__favorite button,
    .booking-studio .booking-hero__favorite a {
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
    }
}

/* =========================================================
   TFP — poprawa kontrastu tekstów w ciemnym panelu rezerwacji
   2026-09-26
========================================================= */
.booking-summary--inline .booking-summary__copy p {
    color: #d0deea !important;
}

.booking-summary--inline .booking-checkout--inline > label:first-of-type,
.booking-summary--inline .booking-admin-field,
.booking-summary--inline .repeat-weeks-field {
    color: #e0ebf5 !important;
}

.booking-summary--inline .booking-checkout--inline .light-toggle,
.booking-summary--inline .repeat-toggle,
.booking-summary--inline .block-toggle {
    color: #eef6ff !important;
}

.booking-summary--inline .booking-checkout--inline .light-toggle > span,
.booking-summary--inline .repeat-toggle > span,
.booking-summary--inline .block-toggle > span {
    color: #eef6ff !important;
    opacity: 1 !important;
}

.booking-summary--inline .block-toggle b {
    color: #ffffff !important;
    opacity: 1 !important;
}

.booking-summary--inline .block-toggle small,
.booking-summary--inline .repeat-toggle small,
.booking-summary--inline .light-toggle small {
    color: #c8d8e7 !important;
    opacity: 1 !important;
}

.booking-summary--inline .booking-checkout--inline .light-toggle b {
    color: #92ecf8 !important;
}

.booking-summary--inline .booking-checkout--inline .checkout-price small,
.booking-summary--inline .booking-payment-panel__head small,
.booking-summary--inline .booking-payment-option small,
.booking-summary--inline .booking-phone-required span {
    color: #c2d3e2 !important;
    opacity: 1 !important;
}

.booking-summary--inline input[type="checkbox"] {
    opacity: 1 !important;
}

/* ========================================================================== 
   TFP 2026-10 — compact reservation states + privacy legend
   Keeps timetable geometry compact; no taller reserved cells.
   ========================================================================== */
.booking-legend {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 7px !important;
    margin: 10px 0 12px !important;
}
.booking-legend__item {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 28px !important;
    padding: 5px 9px !important;
    border: 1px solid #e3ebf3 !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.88) !important;
    color: #546b82 !important;
    font-size: 10px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
}
.booking-legend__item i {
    width: 9px !important;
    height: 9px !important;
    flex: 0 0 9px !important;
    border-radius: 999px !important;
    box-shadow: 0 0 0 4px rgba(148,163,184,.09) !important;
}
.booking-legend__item.is-free i { background: #20b66b !important; }
.booking-legend__item.is-selected i { background: #2677f3 !important; }
.booking-legend__item.is-mine i { background: #76a8ec !important; }
.booking-legend__item.is-busy i { background: #e96b82 !important; }
.booking-legend__item.is-block i { background: #ee9a32 !important; }

/* One height for every state: free / mine / busy / block / continuation. */
.court-week-grid .time-slot,
.court-week-grid .time-slot--free,
.court-week-grid .time-slot--busy,
.court-week-grid .time-slot--mine,
.court-week-grid .time-slot--recurring,
.court-week-grid .time-slot--blocked-event,
.court-week-grid .time-slot--pending,
.court-week-grid .time-slot--locked,
.court-week-grid .time-slot--past {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    overflow: hidden !important;
    border-radius: 9px !important;
}

/* Other people's bookings: one calm, consistent state. */
.court-week-grid .time-slot--busy,
.court-week-grid .time-slot--busy.time-slot--recurring {
    border: 1px solid #f2c7d0 !important;
    background: linear-gradient(180deg, #fff8fa 0%, #fff1f4 100%) !important;
    color: #9f3049 !important;
    box-shadow: inset 2px 0 0 #ed7187 !important;
}

/* Own booking: blue, but the same physical size as every other cell. */
.court-week-grid .time-slot--mine,
.court-week-grid .time-slot--mine.time-slot--recurring {
    border: 1px solid #bdd6f7 !important;
    background: linear-gradient(180deg, #f6faff 0%, #eef6ff 100%) !important;
    color: #145dac !important;
    box-shadow: inset 2px 0 0 #3d86e5 !important;
}

/* Club event / block: orange accent, still compact. */
.court-week-grid .time-slot--blocked-event,
.court-week-grid .time-slot--blocked-event.time-slot--recurring {
    border: 1px solid #f3d2a2 !important;
    background: linear-gradient(180deg, #fffaf3 0%, #fff5e7 100%) !important;
    color: #965716 !important;
    box-shadow: inset 2px 0 0 #e79a36 !important;
}

/* Recurring is a property, not another color. */
.court-week-grid .time-slot--recurring {
    background-image: none !important;
}

.court-week-grid .time-slot strong {
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 8.5px !important;
    font-weight: 820 !important;
    line-height: 1.05 !important;
}
.court-week-grid .reservation-slot-meta,
.court-week-grid .reservation-phone-private {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    max-width: 100% !important;
    margin-top: 2px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    font-size: 6.8px !important;
    line-height: 1 !important;
    opacity: .82 !important;
}
.court-week-grid .reservation-slot-meta span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.court-week-grid .reservation-slot-meta span + span::before {
    content: "·" !important;
    margin: 0 2px 0 0 !important;
}
.court-week-grid .time-slot.is-continuation {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    opacity: .72 !important;
}

/* Series cancellation in the existing confirmation modal. */
.booking-modal__series-action {
    margin: 12px 0 0 !important;
    padding: 12px !important;
    border: 1px solid #fed7dc !important;
    border-radius: 14px !important;
    background: #fff7f8 !important;
}
.booking-modal__series-action[hidden] { display: none !important; }
.booking-modal__series-action > div {
    display: grid !important;
    gap: 4px !important;
    margin-bottom: 9px !important;
}
.booking-modal__series-action strong {
    color: #9f263c !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}
.booking-modal__series-action span {
    color: #7b5560 !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
}
.booking-modal__danger--series {
    width: 100% !important;
    min-height: 40px !important;
    border: 1px solid #ef7181 !important;
    background: #fff !important;
    color: #b5243d !important;
    box-shadow: none !important;
}
.booking-modal__danger--series:hover {
    background: #fff0f2 !important;
}

.club-booking-privacy-check {
    margin-top: 12px !important;
    border-color: #d8e5f2 !important;
    background: linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%) !important;
}
.club-booking-privacy-check strong { color: #16324b !important; }
.club-booking-privacy-check small { color: #6f8194 !important; }

@media (max-width: 820px) {
    .booking-legend {
        gap: 5px !important;
        margin: 8px 0 10px !important;
    }
    .booking-legend__item {
        min-height: 25px !important;
        padding: 4px 7px !important;
        font-size: 8.5px !important;
    }
    .court-week-grid .time-slot,
    .court-week-grid .time-slot--free,
    .court-week-grid .time-slot--busy,
    .court-week-grid .time-slot--mine,
    .court-week-grid .time-slot--recurring,
    .court-week-grid .time-slot--blocked-event,
    .court-week-grid .time-slot--pending,
    .court-week-grid .time-slot--locked,
    .court-week-grid .time-slot--past {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
    }
    .court-week-grid .time-slot strong { font-size: 8px !important; }
    .court-week-grid .reservation-slot-meta,
    .court-week-grid .reservation-phone-private { font-size: 6.5px !important; }
}

/* ==========================================================================
   TFP 2026-10 — REZERWACJE PREMIUM FINAL
   Cel:
   - zero bocznych pasków w zajętych slotach,
   - pełniejsze nazwiska bez powiększania wysokości pól,
   - stała rezerwacja NIE dostaje osobnego koloru,
   - piękny, kompaktowy panel boczny,
   - zachowanie obecnej logiki i istniejących rezerwacji.
   ========================================================================== */

/* ---------- SIATKA: geometria bez zmian ---------- */
.court-week-grid td {
    height: 46px !important;
    padding: 4px !important;
}

.court-week-grid .time-slot,
.court-week-grid .time-slot--free,
.court-week-grid .time-slot--busy,
.court-week-grid .time-slot--mine,
.court-week-grid .time-slot--recurring,
.court-week-grid .time-slot--blocked-event,
.court-week-grid .time-slot--pending,
.court-week-grid .time-slot--locked,
.court-week-grid .time-slot--past {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    border-radius: 9px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

/* Wolny termin */
.court-week-grid .time-slot--free {
    border: 1px solid #bfe9cf !important;
    background: #effbf4 !important;
    color: #15934b !important;
}
.court-week-grid .time-slot--free > span {
    width: 18px !important;
    height: 18px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    background: #d6f6e2 !important;
    color: #119548 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

/* Wybrany wolny termin */
.court-week-grid .time-slot--free.is-selected,
.court-week-grid .time-slot--free.is-range {
    border: 2px solid #2778f3 !important;
    background: #e7f0ff !important;
    color: #1559bd !important;
    box-shadow: 0 0 0 2px rgba(39,120,243,.08) !important;
}
.court-week-grid .time-slot--free.is-selected > span,
.court-week-grid .time-slot--free.is-range > span {
    background: #2778f3 !important;
    color: #fff !important;
}

/* Cudza rezerwacja: jeden spójny, mocniejszy stan. BEZ paska z boku. */
.court-week-grid .time-slot--busy,
.court-week-grid .time-slot--busy.time-slot--recurring {
    border: 1px solid #d6dee9 !important;
    background: #e9eef5 !important;
    color: #24374d !important;
    box-shadow: none !important;
}

/* Własna rezerwacja: niebieska, ale ta sama wysokość. BEZ paska z boku. */
.court-week-grid .time-slot--mine,
.court-week-grid .time-slot--mine.time-slot--recurring {
    border: 1px solid #7cb1fa !important;
    background: #dceafe !important;
    color: #0f4f9f !important;
    box-shadow: none !important;
}

/* Blokada / turniej: bursztyn. */
.court-week-grid .time-slot--blocked-event,
.court-week-grid .time-slot--blocked-event.time-slot--recurring {
    border: 1px solid #f1b75e !important;
    background: #fff0d7 !important;
    color: #82490c !important;
    box-shadow: none !important;
}

/* Stała rezerwacja jest właściwością, a nie osobnym kolorem. */
.court-week-grid .time-slot--recurring {
    box-shadow: none !important;
    background-image: none !important;
}

/* Oczekująca nie zmienia geometrii. */
.court-week-grid .time-slot--pending:not(.time-slot--recurring) {
    border-color: #e8c17e !important;
    background: #fff4df !important;
    color: #7f5317 !important;
    box-shadow: none !important;
}

/* Zajęte sloty nie dostają dodatkowego lewego akcentu. */
.court-week-grid .time-slot--busy::before,
.court-week-grid .time-slot--mine::before,
.court-week-grid .time-slot--recurring::before,
.court-week-grid .time-slot--blocked-event::before {
    display: none !important;
}

/* Treść slotu: mniejszy font, maks. 2 linie, zero brutalnego ellipsis. */
.court-week-grid .time-slot--busy,
.court-week-grid .time-slot--mine,
.court-week-grid .time-slot--blocked-event {
    position: relative !important;
    padding: 3px 21px 3px 7px !important;
    align-items: center !important;
    justify-content: center !important;
}

.court-week-grid .reservation-slot-title,
.court-week-grid .time-slot strong {
    display: -webkit-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    font-size: 7.7px !important;
    font-weight: 850 !important;
    line-height: 1.02 !important;
    text-align: center !important;
}

.court-week-grid .time-slot--mine .reservation-slot-title,
.court-week-grid .time-slot--blocked-event .reservation-slot-title {
    text-align: left !important;
}

/* Godzina pod własną rezerwacją / blokadą — bardzo kompaktowa. */
.court-week-grid .reservation-slot-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 2px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    font-size: 6.2px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    opacity: .86 !important;
}

/* Telefon nie zapycha mini-slotu. ProAdmin nadal widzi właściciela rezerwacji. */
.court-week-grid .reservation-phone-private {
    display: none !important;
}

/* Badge płatności nie rozpycha siatki. */
.court-week-grid .reservation-payment-badge {
    font-size: 5.8px !important;
    padding: 1px 3px !important;
}

/* mały, czytelny przycisk anulowania */
.court-week-grid .slot-cancel-form {
    top: 50% !important;
    right: 4px !important;
    transform: translateY(-50%) !important;
}
.court-week-grid .slot-cancel-form button {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    min-height: 15px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #e5485d !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 10px !important;
    line-height: 15px !important;
}

/* Kontynuacja wielogodzinnej rezerwacji: identyczna wysokość, żadnych pasków. */
.court-week-grid .time-slot.is-continuation {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    opacity: .92 !important;
    border-radius: 9px !important;
    box-shadow: none !important;
}

/* ---------- LEGENDA ---------- */
.booking-legend {
    gap: 6px !important;
}
.booking-legend__item {
    min-height: 26px !important;
    padding: 4px 8px !important;
    border-color: #dce6f1 !important;
    background: #fff !important;
    color: #4c6277 !important;
    font-size: 9px !important;
    font-weight: 780 !important;
}
.booking-legend__item.is-free i { background: #20b66b !important; }
.booking-legend__item.is-selected i { background: #2778f3 !important; }
.booking-legend__item.is-mine i { background: #6fa6ef !important; }
.booking-legend__item.is-busy i { background: #7f8fa3 !important; }
.booking-legend__item.is-block i { background: #e59a2b !important; }

/* ==========================================================================
   PANEL BOCZNY — PREMIUM COMPACT
   ========================================================================== */
.booking-summary--inline {
    padding: 18px !important;
    border: 1px solid rgba(120,183,226,.20) !important;
    border-radius: 22px !important;
    background:
        radial-gradient(circle at 96% 0%, rgba(21,154,236,.16), transparent 160px),
        linear-gradient(160deg, #061b2e 0%, #08243b 55%, #0a2944 100%) !important;
    color: #fff !important;
    box-shadow: 0 24px 64px rgba(4,23,40,.24) !important;
    overflow: hidden !important;
}
.booking-summary--inline::before {
    left: 18px !important;
    right: 18px !important;
    height: 2px !important;
    background: linear-gradient(90deg, #42d8e8 0%, #48b5ff 52%, transparent 100%) !important;
}

.booking-summary--inline .booking-summary__copy {
    padding: 2px 0 13px !important;
    border-bottom: 1px solid rgba(218,235,249,.12) !important;
}
.booking-summary--inline .mini-label {
    display: inline-flex !important;
    min-height: 24px !important;
    align-items: center !important;
    padding: 0 8px !important;
    border: 1px solid rgba(83,210,227,.22) !important;
    border-radius: 999px !important;
    background: rgba(24,174,205,.10) !important;
    color: #81e6f2 !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}
.booking-summary--inline .booking-summary__copy h2 {
    margin: 10px 0 6px !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
    letter-spacing: -.025em !important;
}
.booking-summary--inline .booking-summary__copy p {
    margin: 0 !important;
    color: #c8d8e7 !important;
    font-size: 10.5px !important;
    font-weight: 550 !important;
    line-height: 1.45 !important;
}

.booking-summary--inline .booking-checkout--inline {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    margin-top: 13px !important;
}

/* labels */
.booking-summary--inline .booking-checkout--inline > label:first-of-type,
.booking-summary--inline .booking-admin-field,
.booking-summary--inline .repeat-weeks-field {
    display: grid !important;
    gap: 5px !important;
    color: #bcd0e1 !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
}

/* pola */
.booking-summary--inline .booking-checkout--inline select,
.booking-summary--inline .booking-admin-field input,
.booking-summary--inline .booking-admin-field select,
.booking-summary--inline .repeat-weeks-field select {
    width: 100% !important;
    min-height: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 11px !important;
    border: 1px solid rgba(214,231,244,.18) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #11283f !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    box-shadow: 0 5px 15px rgba(0,0,0,.08) !important;
}

.booking-summary--inline .booking-checkout--inline select:focus,
.booking-summary--inline .booking-admin-field input:focus,
.booking-summary--inline .booking-admin-field select:focus {
    border-color: #63a9ff !important;
    box-shadow: 0 0 0 3px rgba(61,143,242,.16) !important;
}

/* przełączniki */
.booking-summary--inline .light-toggle,
.booking-summary--inline .repeat-toggle,
.booking-summary--inline .block-toggle {
    width: 100% !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(215,232,246,.13) !important;
    border-radius: 10px !important;
    background: rgba(255,255,255,.055) !important;
    color: #e8f2fa !important;
    box-shadow: none !important;
}

.booking-summary--inline .booking-admin-options {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    padding: 10px !important;
    border: 1px solid rgba(213,231,246,.11) !important;
    border-radius: 13px !important;
    background: rgba(255,255,255,.035) !important;
    box-shadow: none !important;
}

.booking-summary--inline .block-toggle b {
    color: #fff !important;
    font-size: 10px !important;
}
.booking-summary--inline .block-toggle small {
    color: #a9bfd1 !important;
    font-size: 8.5px !important;
    line-height: 1.25 !important;
}
.booking-summary--inline .repeat-toggle > span,
.booking-summary--inline .light-toggle > span {
    color: #edf6fd !important;
    font-size: 10px !important;
    font-weight: 760 !important;
}

.booking-summary--inline input[type="checkbox"] {
    accent-color: #33a1ff !important;
}

/* cena */
.booking-summary--inline .checkout-price {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 44px !important;
    padding: 9px 11px !important;
    border: 1px solid rgba(212,231,247,.13) !important;
    border-radius: 11px !important;
    background: rgba(255,255,255,.055) !important;
}
.booking-summary--inline .checkout-price small {
    color: #9fb5c8 !important;
    font-size: 8px !important;
    font-weight: 850 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
}
.booking-summary--inline .checkout-price strong {
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 900 !important;
}

/* główny CTA */
.booking-summary--inline .clubs-btn.clubs-btn--primary {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: linear-gradient(135deg, #1877f2 0%, #10a4ef 100%) !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    box-shadow: 0 11px 24px rgba(17,119,238,.25) !important;
}
.booking-summary--inline .clubs-btn.clubs-btn--primary:hover:not(:disabled) {
    transform: translateY(-1px) !important;
    box-shadow: 0 14px 28px rgba(17,119,238,.32) !important;
}
.booking-summary--inline .clubs-btn.clubs-btn--primary:disabled {
    background: rgba(218,229,240,.14) !important;
    color: #7890a6 !important;
    box-shadow: none !important;
}

/* Payment panel, jeśli aktywny */
.booking-summary--inline .booking-payment-panel {
    border: 1px solid rgba(214,232,247,.12) !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.045) !important;
    box-shadow: none !important;
}

/* ==========================================================================
   ANULOWANIE STAŁEJ REZERWACJI — czytelne i bezpieczne
   ========================================================================== */
.booking-modal__series-action {
    padding: 13px !important;
    border: 1px solid #f5bcc4 !important;
    border-radius: 14px !important;
    background: #fff5f6 !important;
}
.booking-modal__series-action strong {
    color: #9e2138 !important;
    font-size: 12px !important;
}
.booking-modal__series-action span {
    color: #75515b !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
}
.booking-modal__danger--series {
    width: 100% !important;
    min-height: 40px !important;
    border: 1px solid #e94359 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #b31f36 !important;
    font-size: 10.5px !important;
    font-weight: 900 !important;
    box-shadow: none !important;
}
.booking-modal__danger--series:hover {
    background: #fff0f2 !important;
}

/* ---------- MOBILE ---------- */
@media (max-width: 820px) {
    .court-week-grid .time-slot,
    .court-week-grid .time-slot--free,
    .court-week-grid .time-slot--busy,
    .court-week-grid .time-slot--mine,
    .court-week-grid .time-slot--recurring,
    .court-week-grid .time-slot--blocked-event,
    .court-week-grid .time-slot--pending,
    .court-week-grid .time-slot--locked,
    .court-week-grid .time-slot--past {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
    }

    .court-week-grid .reservation-slot-title,
    .court-week-grid .time-slot strong {
        font-size: 7.2px !important;
        line-height: 1 !important;
    }

    .court-week-grid .reservation-slot-meta {
        font-size: 5.9px !important;
    }

    .booking-summary--inline {
        padding: 14px !important;
        border-radius: 18px !important;
    }

    .booking-summary--inline .booking-summary__copy h2 {
        font-size: 19px !important;
    }

    .booking-summary--inline .booking-checkout--inline select,
    .booking-summary--inline .booking-admin-field input,
    .booking-summary--inline .booking-admin-field select,
    .booking-summary--inline .repeat-weeks-field select,
    .booking-summary--inline .light-toggle,
    .booking-summary--inline .repeat-toggle,
    .booking-summary--inline .block-toggle {
        min-height: 40px !important;
        height: 40px !important;
    }
}


/* ==========================================================================
   TFP — FINALNY PANEL BOCZNY PREMIUM Z PRZEŁĄCZNIKAMI
   ========================================================================== */

/* Bez grafiki piłki i dekoracyjnych ilustracji */
.booking-summary--inline,
.booking-summary--inline::before,
.booking-summary--inline::after {
    background-image: none !important;
}
.booking-summary--inline::after {
    display:none !important;
    content:none !important;
}

/* Panel */
.booking-summary--inline {
    padding: 17px !important;
    border: 1px solid rgba(73,173,232,.22) !important;
    border-radius: 22px !important;
    background:
      radial-gradient(circle at 100% -10%, rgba(31,149,222,.12), transparent 190px),
      linear-gradient(160deg,#061a2d 0%,#08233b 56%,#092944 100%) !important;
    color:#fff !important;
    box-shadow:0 24px 62px rgba(4,24,42,.24) !important;
}
.booking-summary--inline::before {
    display:block !important;
    content:"" !important;
    position:absolute !important;
    top:0 !important;
    left:18px !important;
    right:18px !important;
    height:2px !important;
    border-radius:999px !important;
    background:linear-gradient(90deg,#33d1e2 0%,#2997f4 60%,transparent 100%) !important;
}
.booking-summary--inline .booking-summary__copy {
    padding:2px 0 14px !important;
    border-bottom:1px solid rgba(215,233,248,.12) !important;
}
.booking-summary--inline .booking-summary__copy h2 {
    margin:10px 0 6px !important;
    color:#fff !important;
    font-size:22px !important;
    font-weight:900 !important;
    line-height:1.08 !important;
}
.booking-summary--inline .booking-summary__copy p {
    max-width:34ch !important;
    margin:0 !important;
    color:#c5d6e5 !important;
    font-size:10.5px !important;
    line-height:1.45 !important;
}
.booking-summary--inline .booking-checkout--inline {
    display:flex !important;
    flex-direction:column !important;
    gap:9px !important;
    margin-top:12px !important;
}
.booking-summary--inline .booking-checkout--inline > label:first-of-type {
    display:grid !important;
    gap:6px !important;
    color:#a9c0d3 !important;
    font-size:8px !important;
    font-weight:900 !important;
    letter-spacing:.08em !important;
    text-transform:uppercase !important;
}
.booking-summary--inline .booking-checkout--inline > label:first-of-type select {
    height:42px !important;
    min-height:42px !important;
    padding:0 11px !important;
    border:1px solid rgba(213,230,244,.2) !important;
    border-radius:11px !important;
    background:#fff !important;
    color:#112a41 !important;
    font-size:11px !important;
    font-weight:800 !important;
    box-shadow:0 7px 18px rgba(0,0,0,.08) !important;
}
.booking-summary--inline .booking-admin-options {
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    padding:0 !important;
    border:0 !important;
    background:transparent !important;
}

/* Piękny switch */
.booking-summary--inline .tfp-side-switch,
.booking-summary--inline .light-toggle.tfp-side-switch,
.booking-summary--inline .repeat-toggle.tfp-side-switch,
.booking-summary--inline .block-toggle.tfp-side-switch {
    position:relative !important;
    display:grid !important;
    grid-template-columns:34px minmax(0,1fr) 42px !important;
    align-items:center !important;
    gap:9px !important;
    width:100% !important;
    min-height:54px !important;
    height:auto !important;
    margin:0 !important;
    padding:9px 10px !important;
    border:1px solid rgba(214,232,247,.13) !important;
    border-radius:13px !important;
    background:rgba(255,255,255,.055) !important;
    color:#fff !important;
    cursor:pointer !important;
    box-shadow:none !important;
    transition:.16s ease !important;
}
.booking-summary--inline .tfp-side-switch:hover {
    border-color:rgba(102,185,239,.34) !important;
    background:rgba(255,255,255,.075) !important;
}
.booking-summary--inline .tfp-side-switch__icon {
    display:grid !important;
    place-items:center !important;
    width:34px !important;
    height:34px !important;
    border-radius:10px !important;
    background:rgba(39,133,226,.12) !important;
    color:#70c4ff !important;
    font-size:15px !important;
    font-weight:900 !important;
}
.booking-summary--inline .tfp-side-switch__copy {
    display:grid !important;
    gap:2px !important;
    min-width:0 !important;
}
.booking-summary--inline .tfp-side-switch__copy strong {
    color:#f7fbff !important;
    font-size:10.5px !important;
    font-weight:850 !important;
    line-height:1.2 !important;
}
.booking-summary--inline .tfp-side-switch__copy small {
    color:#9eb5c8 !important;
    font-size:8.2px !important;
    font-weight:600 !important;
    line-height:1.3 !important;
}
.booking-summary--inline .tfp-side-switch__input {
    position:absolute !important;
    inline-size:1px !important;
    block-size:1px !important;
    opacity:0 !important;
    pointer-events:none !important;
}
.booking-summary--inline .tfp-side-switch__track {
    position:relative !important;
    display:block !important;
    width:38px !important;
    height:22px !important;
    border:1px solid rgba(255,255,255,.08) !important;
    border-radius:999px !important;
    background:#314b61 !important;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.22) !important;
    transition:.18s ease !important;
}
.booking-summary--inline .tfp-side-switch__track i {
    position:absolute !important;
    top:2px !important;
    left:2px !important;
    width:16px !important;
    height:16px !important;
    border-radius:50% !important;
    background:#fff !important;
    box-shadow:0 2px 7px rgba(0,0,0,.25) !important;
    transition:transform .18s ease !important;
}
.booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track {
    background:linear-gradient(135deg,#1677f2,#16a5ee) !important;
    border-color:rgba(82,177,255,.55) !important;
}
.booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track i {
    transform:translateX(16px) !important;
}
.booking-summary--inline .tfp-side-switch:has(.tfp-side-switch__input:checked) {
    border-color:rgba(73,158,242,.32) !important;
    background:rgba(30,119,211,.09) !important;
}

/* Dodatkowe pola pokazują się tylko gdy potrzebne */
.booking-summary--inline .block-reason-field,
.booking-summary--inline .repeat-weeks-field {
    margin:0 !important;
    padding:9px 10px !important;
    border:1px solid rgba(214,232,247,.11) !important;
    border-radius:12px !important;
    background:rgba(255,255,255,.035) !important;
}
.booking-summary--inline .block-reason-field select,
.booking-summary--inline .repeat-weeks-field select {
    height:39px !important;
    min-height:39px !important;
    border-radius:9px !important;
    font-size:10px !important;
}

/* Widoczność nazw rezerwujących */
.booking-summary--inline .tfp-side-privacy-card {
    display:grid !important;
    gap:6px !important;
}
.booking-summary--inline .tfp-side-switch--privacy {
    border-color:rgba(64,168,232,.22) !important;
    background:linear-gradient(135deg,rgba(11,121,180,.10),rgba(255,255,255,.045)) !important;
}
.booking-summary--inline .tfp-side-switch--privacy .tfp-side-switch__icon {
    background:rgba(26,171,206,.13) !important;
    color:#6fe1ed !important;
}
.booking-summary--inline .tfp-side-privacy-card__status {
    display:block !important;
    padding:0 8px 2px !important;
    color:#8fa9bd !important;
    font-size:8px !important;
    font-weight:700 !important;
    line-height:1.3 !important;
}
.booking-summary--inline .tfp-side-privacy-card__status.is-saving {color:#71c8ff !important;}
.booking-summary--inline .tfp-side-privacy-card__status.is-error {color:#ff9cac !important;}

/* CTA */
.booking-summary--inline .clubs-btn.clubs-btn--primary {
    width:100% !important;
    min-height:44px !important;
    height:44px !important;
    border:0 !important;
    border-radius:11px !important;
    background:linear-gradient(135deg,#1879f4 0%,#10a5ef 100%) !important;
    color:#fff !important;
    font-size:11px !important;
    font-weight:900 !important;
    box-shadow:0 11px 24px rgba(17,119,238,.25) !important;
}

/* Żadnej piłki */
.booking-summary--inline [class*="tennis-ball"],
.booking-summary--inline [class*="hero-ball"],
.booking-summary--inline .booking-ball {
    display:none !important;
}

@media (max-width:820px){
    .booking-summary--inline {
        padding:14px !important;
        border-radius:18px !important;
    }
    .booking-summary--inline .tfp-side-switch,
    .booking-summary--inline .light-toggle.tfp-side-switch,
    .booking-summary--inline .repeat-toggle.tfp-side-switch,
    .booking-summary--inline .block-toggle.tfp-side-switch {
        grid-template-columns:32px minmax(0,1fr) 40px !important;
        min-height:52px !important;
        padding:8px 9px !important;
        gap:8px !important;
    }
    .booking-summary--inline .tfp-side-switch__icon {
        width:32px !important;
        height:32px !important;
        border-radius:9px !important;
    }
    .booking-summary--inline .tfp-side-switch__copy strong {font-size:10px !important;}
    .booking-summary--inline .tfp-side-switch__copy small {font-size:7.8px !important;}
}

/* ==========================================================================
   TFP — BALANCED FINAL
   Cel:
   1) przywrócić normalną czytelność desktopu,
   2) mocno obniżyć baner z nazwą klubu,
   3) usunąć gradienty,
   4) zrobić kompaktowe, NIE szerokie kontrolki panelu rezerwacji,
   5) osobne proporcje desktop / mobile.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BANER KLUBU U GÓRY — DESKTOP
   -------------------------------------------------------------------------- */
.booking-studio .booking-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;

    min-height: 0 !important;
    margin: 0 0 8px !important;
    padding: 9px 12px !important;

    border: 1px solid #dce6ef !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: 0 8px 22px rgba(19, 50, 78, .055) !important;
}

.booking-studio .booking-hero::before,
.booking-studio .booking-hero::after {
    display: none !important;
    content: none !important;
}

.booking-studio .booking-hero__content {
    min-width: 0 !important;
}

.booking-studio .booking-kicker {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 0 4px !important;
}

.booking-studio .booking-kicker a,
.booking-studio .booking-kicker span {
    min-height: 20px !important;
    height: 20px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    font-size: 7px !important;
    line-height: 20px !important;
}

.booking-studio .booking-hero h1,
.booking-studio .booking-hero__content h1 {
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 1.04 !important;
    letter-spacing: -.025em !important;
}

.booking-studio .booking-hero__content p {
    margin: 3px 0 0 !important;
    font-size: 9.5px !important;
    line-height: 1.25 !important;
}

/* Telefon jako mały, poziomy element — nie podnosi banera */
.booking-studio .booking-hero__contact {
    display: inline-flex !important;
    width: auto !important;
    margin: 5px 0 0 !important;
}

.booking-studio .booking-hero__phone {
    display: inline-grid !important;
    grid-template-columns: 24px auto auto !important;
    align-items: center !important;
    gap: 6px !important;
    min-height: 30px !important;
    padding: 3px 7px !important;
    border: 1px solid #e1e8f0 !important;
    border-radius: 9px !important;
    background: #f8fafc !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.booking-studio .booking-hero__phone-icon {
    display: grid !important;
    place-items: center !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 7px !important;
    background: #eef4fb !important;
    font-size: 11px !important;
}

.booking-studio .booking-hero__phone span small {
    display: block !important;
    font-size: 6px !important;
    line-height: 1 !important;
}

.booking-studio .booking-hero__phone span strong {
    display: block !important;
    margin-top: 1px !important;
    font-size: 9px !important;
    line-height: 1.05 !important;
}

.booking-studio .booking-hero__phone b {
    padding-left: 4px !important;
    font-size: 7px !important;
}

/* Prawa część banera — małe statystyki, bez ogromnych kart */
.booking-studio .booking-hero__meta {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    margin: 0 !important;
}

.booking-studio .booking-hero__meta > div:not(.booking-hero__favorite),
.booking-studio .booking-hero__meta > a,
.booking-studio .booking-hero__meta > span,
.booking-studio .booking-hero__meta > form,
.booking-studio .club-proadmin-delete-form--hero button {
    min-height: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 9px !important;
    border-radius: 9px !important;
    box-shadow: none !important;
}

.booking-studio .booking-hero__meta > div:not(.booking-hero__favorite) {
    min-width: 70px !important;
}

.booking-studio .booking-hero__meta > div strong {
    font-size: 12px !important;
    line-height: 1 !important;
}

.booking-studio .booking-hero__meta > div span {
    margin-top: 2px !important;
    font-size: 6px !important;
    line-height: 1 !important;
}

.booking-studio .booking-hero__favorite {
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    height: 34px !important;
    border-radius: 9px !important;
    box-shadow: none !important;
}

.booking-studio .booking-hero__favorite .club-favorite-btn,
.booking-studio .booking-hero__favorite .club-favorite-btn--guest,
.booking-studio .booking-hero__favorite button,
.booking-studio .booking-hero__favorite a {
    width: 27px !important;
    min-width: 27px !important;
    height: 27px !important;
    min-height: 27px !important;
    padding: 0 !important;
    border-radius: 7px !important;
}

/* --------------------------------------------------------------------------
   2. DESKTOP — PANEL REZERWACJI MA BYĆ NORMALNIE CZYTELNY
   -------------------------------------------------------------------------- */
@media (min-width: 921px) {
    .booking-studio .booking-board--week {
        grid-template-columns: minmax(0, 1fr) 350px !important;
        column-gap: 18px !important;
        row-gap: 12px !important;
    }

    .booking-summary--inline {
        width: 350px !important;
        margin-left: 2px !important;
    }
}

.booking-summary--inline {
    padding: 13px !important;
    border: 1px solid #17435f !important;
    border-radius: 17px !important;
    background: #08243b !important;
    background-image: none !important;
    box-shadow: 0 16px 38px rgba(4, 24, 42, .18) !important;
}

.booking-summary--inline::before,
.booking-summary--inline::after {
    display: none !important;
    content: none !important;
    background: none !important;
}

/* Nagłówek panelu rezerwacji — kompaktowy, ale czytelny */
.booking-summary--inline .booking-summary__copy {
    padding: 0 0 9px !important;
    margin: 0 !important;
    border-bottom: 1px solid #173a53 !important;
}

.booking-summary--inline .mini-label {
    min-height: 19px !important;
    height: 19px !important;
    padding: 0 6px !important;
    border-radius: 999px !important;
    font-size: 6.5px !important;
    line-height: 19px !important;
}

.booking-summary--inline .booking-summary__copy h2 {
    margin: 6px 0 3px !important;
    font-size: 18px !important;
    line-height: 1.08 !important;
}

.booking-summary--inline .booking-summary__copy p {
    margin: 0 !important;
    max-width: 34ch !important;
    font-size: 8.5px !important;
    line-height: 1.3 !important;
    color: #a9bdce !important;
}

/* Formularz */
.booking-summary--inline .booking-checkout--inline {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    margin-top: 8px !important;
}

/* Czas gry: etykieta po lewej, MAŁY select po prawej */
.booking-summary--inline .booking-checkout--inline > label:first-of-type {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 122px !important;
    align-items: center !important;
    gap: 8px !important;

    min-height: 40px !important;
    padding: 5px 7px 5px 10px !important;
    margin: 0 !important;

    border: 1px solid #173f59 !important;
    border-radius: 10px !important;
    background: #0d2c44 !important;

    color: #dce8f1 !important;
    font-size: 8.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.booking-summary--inline .booking-checkout--inline > label:first-of-type select {
    width: 122px !important;
    min-width: 122px !important;
    max-width: 122px !important;
    height: 31px !important;
    min-height: 31px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 9px !important;
    box-shadow: none !important;
}

/* Oświetlenie NIE ma być wielką kartą na całą szerokość */
.booking-summary--inline .light-toggle.tfp-side-switch {
    width: 174px !important;
    max-width: 174px !important;
}

/* Admin options: dwie zwarte kolumny zamiast pionowego tunelu */
.booking-summary--inline .booking-admin-options {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 6px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* kolejność: blokada | powtarzanie; niżej ich dodatkowe selecty */
.booking-summary--inline .block-toggle.tfp-side-switch {
    grid-column: 1 !important;
    grid-row: 1 !important;
}
.booking-summary--inline .repeat-toggle.tfp-side-switch {
    grid-column: 2 !important;
    grid-row: 1 !important;
}
.booking-summary--inline .block-reason-field {
    grid-column: 1 !important;
    grid-row: 2 !important;
}
.booking-summary--inline .repeat-weeks-field {
    grid-column: 2 !important;
    grid-row: 2 !important;
}

/* Zwarte karty przełączników */
.booking-summary--inline .tfp-side-switch,
.booking-summary--inline .light-toggle.tfp-side-switch,
.booking-summary--inline .repeat-toggle.tfp-side-switch,
.booking-summary--inline .block-toggle.tfp-side-switch {
    display: grid !important;
    grid-template-columns: 25px minmax(0, 1fr) 31px !important;
    align-items: center !important;
    gap: 6px !important;

    min-height: 42px !important;
    height: auto !important;
    padding: 6px 7px !important;

    border: 1px solid #173f59 !important;
    border-radius: 9px !important;
    background: #0d2c44 !important;
    box-shadow: none !important;
}

.booking-summary--inline .tfp-side-switch__icon {
    width: 25px !important;
    height: 25px !important;
    border-radius: 7px !important;
    background: #153c58 !important;
    font-size: 10px !important;
}

.booking-summary--inline .tfp-side-switch__copy strong {
    font-size: 8px !important;
    line-height: 1.12 !important;
}

.booking-summary--inline .tfp-side-switch__copy small {
    margin-top: 1px !important;
    font-size: 5.7px !important;
    line-height: 1.08 !important;
}

.booking-summary--inline .tfp-side-switch__track {
    width: 30px !important;
    height: 17px !important;
    background: #40596b !important;
    box-shadow: none !important;
}

.booking-summary--inline .tfp-side-switch__track i {
    top: 2px !important;
    left: 2px !important;
    width: 11px !important;
    height: 11px !important;
}

.booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track {
    background: #268bf1 !important;
}

.booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track i {
    transform: translateX(13px) !important;
}

/* Dodatkowe pola są UKRYTE, dopóki ich switch nie jest aktywny */
.booking-summary--inline .block-reason-field,
.booking-summary--inline .repeat-weeks-field {
    display: none !important;
}

.booking-summary--inline .block-reason-field.is-visible,
.booking-summary--inline .repeat-weeks-field.is-visible {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 3px !important;
    min-height: 0 !important;
    padding: 6px !important;
    border: 1px solid #173f59 !important;
    border-radius: 9px !important;
    background: #0d2c44 !important;
    color: #9fb5c7 !important;
    font-size: 6px !important;
}

.booking-summary--inline .block-reason-field.is-visible select,
.booking-summary--inline .repeat-weeks-field.is-visible select {
    width: 100% !important;
    min-width: 0 !important;
    height: 29px !important;
    min-height: 29px !important;
    padding: 0 7px !important;
    border-radius: 7px !important;
    font-size: 8px !important;
    box-shadow: none !important;
}

/* Prywatność nazwisk: to jedyny dłuższy wiersz */
.booking-summary--inline .tfp-side-privacy-card {
    display: grid !important;
    gap: 2px !important;
}

.booking-summary--inline .tfp-side-switch--privacy {
    width: 100% !important;
    min-height: 44px !important;
}

.booking-summary--inline .tfp-side-privacy-card__status {
    padding: 0 5px !important;
    font-size: 5.8px !important;
    line-height: 1.1 !important;
}

/* Cena i CTA */
.booking-summary--inline .checkout-price {
    min-height: 34px !important;
    padding: 5px 8px !important;
    border-radius: 8px !important;
    background: #0d2c44 !important;
}

.booking-summary--inline .checkout-price small {
    font-size: 6px !important;
}

.booking-summary--inline .checkout-price strong {
    font-size: 12.5px !important;
}

.booking-summary--inline .clubs-btn.clubs-btn--primary {
    min-height: 35px !important;
    height: 35px !important;
    border-radius: 8px !important;
    background: #1687ee !important;
    background-image: none !important;
    font-size: 9px !important;
    box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   3. MOBILE — OSOBNY UKŁAD, NIE MINIATURA DESKTOPU
   -------------------------------------------------------------------------- */
@media (max-width: 920px) {
    .booking-studio {
        width: calc(100% - 12px) !important;
        padding: 6px 0 34px !important;
    }

    /* Baner klubu maksymalnie zwarty */
    .booking-studio .booking-hero {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 5px !important;

        min-height: 0 !important;
        margin: 0 0 6px !important;
        padding: 7px 8px !important;

        border-radius: 11px !important;
        background: #fff !important;
        background-image: none !important;
        box-shadow: 0 5px 14px rgba(19, 50, 78, .045) !important;
    }

    .booking-studio .booking-kicker {
        margin-bottom: 2px !important;
    }

    .booking-studio .booking-kicker span {
        display: none !important;
    }

    .booking-studio .booking-kicker a {
        min-height: 18px !important;
        height: 18px !important;
        padding: 0 5px !important;
        font-size: 6px !important;
        line-height: 18px !important;
    }

    .booking-studio .booking-hero h1,
    .booking-studio .booking-hero__content h1 {
        font-size: 18px !important;
        line-height: 1.03 !important;
    }

    .booking-studio .booking-hero__content p {
        margin-top: 2px !important;
        font-size: 7.5px !important;
        line-height: 1.15 !important;
    }

    .booking-studio .booking-hero__contact {
        margin-top: 3px !important;
    }

    .booking-studio .booking-hero__phone {
        grid-template-columns: 20px auto auto !important;
        min-height: 26px !important;
        padding: 2px 5px !important;
        gap: 4px !important;
        border-radius: 7px !important;
    }

    .booking-studio .booking-hero__phone-icon {
        width: 20px !important;
        height: 20px !important;
        border-radius: 5px !important;
        font-size: 9px !important;
    }

    .booking-studio .booking-hero__phone span small {
        font-size: 5.2px !important;
    }

    .booking-studio .booking-hero__phone span strong {
        font-size: 7.5px !important;
    }

    .booking-studio .booking-hero__phone b {
        font-size: 6px !important;
    }

    /* Statystyki w JEDNYM poziomym rzędzie zamiast wysokiej siatki */
    .booking-studio .booking-hero__meta {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 4px !important;
        margin-top: 2px !important;
        overflow-x: auto !important;
        padding-bottom: 1px !important;
        scrollbar-width: none !important;
    }

    .booking-studio .booking-hero__meta::-webkit-scrollbar {
        display: none !important;
    }

    .booking-studio .booking-hero__meta > div:not(.booking-hero__favorite),
    .booking-studio .booking-hero__meta > a,
    .booking-studio .booking-hero__meta > span,
    .booking-studio .booking-hero__meta > form,
    .booking-studio .club-proadmin-delete-form--hero,
    .booking-studio .club-proadmin-delete-form--hero button {
        flex: 0 0 auto !important;
        grid-column: auto !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 29px !important;
        height: 29px !important;
        padding: 0 7px !important;
        border-radius: 7px !important;
    }

    .booking-studio .booking-hero__favorite {
        flex: 0 0 29px !important;
        width: 29px !important;
        min-width: 29px !important;
        min-height: 29px !important;
        height: 29px !important;
        border-radius: 7px !important;
    }

    .booking-studio .booking-hero__favorite .club-favorite-btn,
    .booking-studio .booking-hero__favorite .club-favorite-btn--guest,
    .booking-studio .booking-hero__favorite button,
    .booking-studio .booking-hero__favorite a {
        width: 23px !important;
        min-width: 23px !important;
        height: 23px !important;
        min-height: 23px !important;
        border-radius: 6px !important;
    }

    .booking-studio .booking-hero__meta > div strong {
        font-size: 9px !important;
    }

    .booking-studio .booking-hero__meta > div span {
        font-size: 5px !important;
    }

    /* Panel rezerwacji: pełna szerokość strony, ALE kontrolki są zwarte */
    .booking-summary--inline {
        width: calc(100% - 4px) !important;
        margin: 8px 2px 10px !important;
        padding: 9px !important;
        border-radius: 12px !important;
    }

    .booking-summary--inline .booking-summary__copy {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 6px !important;
        min-height: 28px !important;
        padding: 0 0 5px !important;
    }

    .booking-summary--inline .booking-summary__copy .mini-label {
        height: 16px !important;
        min-height: 16px !important;
        padding: 0 5px !important;
        font-size: 5.4px !important;
        line-height: 16px !important;
    }

    .booking-summary--inline .booking-summary__copy h2 {
        margin: 0 !important;
        font-size: 14px !important;
        white-space: nowrap !important;
    }

    .booking-summary--inline .booking-summary__copy p {
        display: none !important;
    }

    .booking-summary--inline .booking-checkout--inline {
        gap: 5px !important;
        margin-top: 5px !important;
    }

    /* czas gry — mały select */
    .booking-summary--inline .booking-checkout--inline > label:first-of-type {
        grid-template-columns: minmax(0, 1fr) 98px !important;
        min-height: 33px !important;
        padding: 4px 5px 4px 7px !important;
        border-radius: 8px !important;
        font-size: 7.5px !important;
    }

    .booking-summary--inline .booking-checkout--inline > label:first-of-type select {
        width: 98px !important;
        min-width: 98px !important;
        max-width: 98px !important;
        height: 27px !important;
        min-height: 27px !important;
        padding: 0 6px !important;
        font-size: 7.8px !important;
    }

    /* Oświetlenie to krótki kafelek, nie baner przez całą szerokość */
    .booking-summary--inline .light-toggle.tfp-side-switch {
        width: 154px !important;
        max-width: 154px !important;
    }

    /* Dwie małe opcje obok siebie */
    .booking-summary--inline .booking-admin-options {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 5px !important;
    }

    .booking-summary--inline .tfp-side-switch,
    .booking-summary--inline .light-toggle.tfp-side-switch,
    .booking-summary--inline .repeat-toggle.tfp-side-switch,
    .booking-summary--inline .block-toggle.tfp-side-switch {
        grid-template-columns: 21px minmax(0, 1fr) 28px !important;
        min-height: 35px !important;
        padding: 4px 5px !important;
        gap: 5px !important;
        border-radius: 7px !important;
    }

    .booking-summary--inline .tfp-side-switch__icon {
        width: 21px !important;
        height: 21px !important;
        border-radius: 5px !important;
        font-size: 8px !important;
    }

    .booking-summary--inline .tfp-side-switch__copy strong {
        font-size: 6.7px !important;
    }

    .booking-summary--inline .tfp-side-switch__copy small {
        font-size: 4.9px !important;
    }

    .booking-summary--inline .tfp-side-switch__track {
        width: 27px !important;
        height: 15px !important;
    }

    .booking-summary--inline .tfp-side-switch__track i {
        width: 9px !important;
        height: 9px !important;
    }

    .booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track i {
        transform: translateX(12px) !important;
    }

    /* selecty dodatkowe tylko gdy włączone i tylko w swojej kolumnie */
    .booking-summary--inline .block-reason-field.is-visible,
    .booking-summary--inline .repeat-weeks-field.is-visible {
        padding: 5px !important;
        border-radius: 7px !important;
    }

    .booking-summary--inline .block-reason-field.is-visible select,
    .booking-summary--inline .repeat-weeks-field.is-visible select {
        height: 27px !important;
        min-height: 27px !important;
        font-size: 7px !important;
    }

    /* Prywatność może być pełną szerokością, bo ma długi tekst */
    .booking-summary--inline .tfp-side-switch--privacy {
        width: 100% !important;
        min-height: 38px !important;
    }

    .booking-summary--inline .checkout-price {
        min-height: 30px !important;
        padding: 4px 7px !important;
    }

    .booking-summary--inline .clubs-btn.clubs-btn--primary {
        min-height: 31px !important;
        height: 31px !important;
        font-size: 8px !important;
    }
}

/* ========================================================================== 
   TFP — BOOKING PANEL UI REFRESH 2026-10
   Final override. Keeps booking logic untouched; only fixes layout/readability.
   ========================================================================== */

body .booking-studio .booking-summary--inline {
    position: relative !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(77, 171, 226, .28) !important;
    border-radius: 20px !important;
    background: #082840 !important;
    background-image: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)) !important;
    color: #f7fbff !important;
    box-shadow: 0 18px 44px rgba(2, 20, 34, .20) !important;
}

body .booking-studio .booking-summary--inline::before,
body .booking-studio .booking-summary--inline::after {
    display: none !important;
    content: none !important;
}

body .booking-studio .booking-summary--inline .booking-summary__copy {
    display: block !important;
    margin: 0 !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid rgba(166, 210, 236, .15) !important;
}

body .booking-studio .booking-summary--inline .mini-label {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    height: 26px !important;
    min-height: 26px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid rgba(69, 199, 236, .28) !important;
    border-radius: 999px !important;
    background: rgba(21, 155, 207, .13) !important;
    color: #70d8f1 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

body .booking-studio .booking-summary--inline .booking-summary__copy h2 {
    margin: 11px 0 5px !important;
    color: #fff !important;
    font-size: clamp(21px, 2vw, 27px) !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
    letter-spacing: -.03em !important;
    white-space: normal !important;
}

body .booking-studio .booking-summary--inline .booking-summary__copy p {
    display: block !important;
    max-width: none !important;
    margin: 0 !important;
    color: #9fb7c9 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
}

body .booking-studio .booking-summary--inline .booking-checkout--inline {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 14px 0 0 !important;
}

body .booking-studio .booking-summary--inline .booking-checkout--inline > * {
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Standard fields, including owner-only "Rezerwacja dla" variants. */
body .booking-studio .booking-summary--inline .booking-checkout--inline > label:not(.tfp-side-switch),
body .booking-studio .booking-summary--inline .booking-admin-field,
body .booking-studio .booking-summary--inline [class*="booking-for"],
body .booking-studio .booking-summary--inline [class*="reservation-for"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #dce8f1 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="text"],
body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="search"],
body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="email"],
body .booking-studio .booking-summary--inline .booking-checkout--inline select,
body .booking-studio .booking-summary--inline .booking-admin-field input,
body .booking-studio .booking-summary--inline .booking-admin-field select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid rgba(179, 207, 226, .24) !important;
    border-radius: 11px !important;
    outline: 0 !important;
    background: #fff !important;
    color: #10283c !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 44px !important;
    box-shadow: 0 5px 14px rgba(0,0,0,.08) !important;
}

body .booking-studio .booking-summary--inline .booking-checkout--inline input:focus,
body .booking-studio .booking-summary--inline .booking-checkout--inline select:focus {
    border-color: #5ec8ff !important;
    box-shadow: 0 0 0 3px rgba(74, 181, 241, .18) !important;
}

/* Duration becomes one clean row instead of a detached control. */
body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(132px, 46%) !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 58px !important;
    padding: 7px 8px 7px 14px !important;
    border: 1px solid rgba(169, 211, 237, .15) !important;
    border-radius: 13px !important;
    background: #0c314d !important;
    color: #dce8f1 !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type select {
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    font-size: 13px !important;
}

/* Switch rows */
body .booking-studio .booking-summary--inline .tfp-side-switch,
body .booking-studio .booking-summary--inline .light-toggle.tfp-side-switch,
body .booking-studio .booking-summary--inline .repeat-toggle.tfp-side-switch,
body .booking-studio .booking-summary--inline .block-toggle.tfp-side-switch {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) 46px !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 58px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 9px 11px !important;
    border: 1px solid rgba(169, 211, 237, .15) !important;
    border-radius: 13px !important;
    background: #0c314d !important;
    color: #fff !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch:has(.tfp-side-switch__input:checked) {
    border-color: rgba(70, 177, 241, .42) !important;
    background: #0c3857 !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__icon {
    display: grid !important;
    place-items: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: #123e5c !important;
    color: #70d8f1 !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__copy {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__copy strong {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__copy small {
    display: block !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: #91aabd !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__track {
    position: relative !important;
    display: block !important;
    width: 44px !important;
    height: 25px !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 999px !important;
    background: #49677d !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.18) !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__track i {
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 7px rgba(0,0,0,.20) !important;
    transform: none !important;
    transition: transform .18s ease !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track {
    background: #168ee8 !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track i {
    transform: translateX(19px) !important;
}

body .booking-studio .booking-summary--inline .booking-admin-options {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body .booking-studio .booking-summary--inline .block-toggle.tfp-side-switch,
body .booking-studio .booking-summary--inline .repeat-toggle.tfp-side-switch,
body .booking-studio .booking-summary--inline .block-reason-field,
body .booking-studio .booking-summary--inline .repeat-weeks-field {
    grid-column: auto !important;
    grid-row: auto !important;
}

body .booking-studio .booking-summary--inline .block-reason-field,
body .booking-studio .booking-summary--inline .repeat-weeks-field {
    display: none !important;
}

body .booking-studio .booking-summary--inline .block-reason-field.is-visible,
body .booking-studio .booking-summary--inline .repeat-weeks-field.is-visible {
    display: grid !important;
    gap: 6px !important;
    width: 100% !important;
    margin: -2px 0 0 !important;
    padding: 10px !important;
    border: 1px solid rgba(169, 211, 237, .15) !important;
    border-radius: 12px !important;
    background: #0a2c46 !important;
    color: #a9bfd0 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

body .booking-studio .booking-summary--inline .block-reason-field.is-visible select,
body .booking-studio .booking-summary--inline .repeat-weeks-field.is-visible select {
    height: 40px !important;
    min-height: 40px !important;
    font-size: 13px !important;
}

body .booking-studio .booking-summary--inline .tfp-side-privacy-card {
    display: grid !important;
    gap: 4px !important;
    width: 100% !important;
    margin: 0 !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch--privacy {
    width: 100% !important;
    min-height: 62px !important;
}

body .booking-studio .booking-summary--inline .tfp-side-privacy-card__status {
    display: block !important;
    padding: 0 3px !important;
    color: #809caf !important;
    font-size: 10px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
}

/* Future/newer markup seen on the booking panel: keep advanced/summary blocks aligned. */
body .booking-studio #bookingForm details,
body .booking-studio #bookingForm [class*="advanced"],
body .booking-studio #bookingForm [class*="booking-summary"],
body .booking-studio #bookingForm [class*="reservation-summary"] {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body .booking-studio #bookingForm details {
    overflow: hidden !important;
    border: 1px solid rgba(169, 211, 237, .15) !important;
    border-radius: 13px !important;
    background: #0c314d !important;
}

body .booking-studio #bookingForm details > summary {
    min-height: 52px !important;
    padding: 0 14px !important;
    color: #eef8ff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

body .booking-studio .booking-summary--inline .checkout-price {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 1px solid rgba(169, 211, 237, .15) !important;
    border-radius: 12px !important;
    background: #0c314d !important;
}

body .booking-studio .booking-summary--inline .checkout-price small {
    color: #91aabd !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

body .booking-studio .booking-summary--inline .checkout-price strong {
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}

body .booking-studio .booking-summary--inline .clubs-btn.clubs-btn--primary {
    width: 100% !important;
    min-height: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #138ce8 !important;
    background-image: linear-gradient(135deg, #167be9, #13a2e8) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    box-shadow: 0 10px 22px rgba(12, 111, 191, .25) !important;
}

body .booking-studio .booking-summary--inline .clubs-btn.clubs-btn--primary:disabled {
    background: #35516a !important;
    background-image: none !important;
    color: #8fa6b8 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

/* Desktop: calendar + stable, readable sidebar. */
@media (min-width: 1200px) {
    body .booking-studio .booking-board--week {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 390px !important;
        column-gap: 20px !important;
        row-gap: 14px !important;
        align-items: start !important;
    }

    body .booking-studio .booking-board__head--compact,
    body .booking-studio .booking-weeks-panel,
    body .booking-studio .court-picker,
    body .booking-studio .booking-legend {
        grid-column: 1 / -1 !important;
    }

    body .booking-studio .court-week-grid-wrap {
        grid-column: 1 !important;
        min-width: 0 !important;
    }

    body .booking-studio .booking-summary--inline {
        grid-column: 2 !important;
        align-self: start !important;
        position: sticky !important;
        top: calc(var(--tfp-header-fixed-height, 72px) + 14px) !important;
        z-index: 6 !important;
    }
}

/* Tablet/smaller desktop: panel under calendar, uses horizontal space well. */
@media (min-width: 768px) and (max-width: 1199px) {
    body .booking-studio .booking-board--week {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body .booking-studio .booking-board--week > * {
        grid-column: 1 !important;
    }

    body .booking-studio .booking-summary--inline {
        margin-top: 14px !important;
        padding: 20px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type,
    body .booking-studio .booking-summary--inline .light-toggle.tfp-side-switch {
        grid-column: auto !important;
        width: 100% !important;
    }

    body .booking-studio .booking-summary--inline .booking-admin-options,
    body .booking-studio .booking-summary--inline .tfp-side-privacy-card,
    body .booking-studio .booking-summary--inline .booking-payment-panel,
    body .booking-studio .booking-summary--inline .checkout-price,
    body .booking-studio .booking-summary--inline .clubs-btn.clubs-btn--primary,
    body .booking-studio .booking-summary--inline .booking-phone-required,
    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:not(.tfp-side-switch):not(:first-of-type),
    body .booking-studio .booking-summary--inline .booking-admin-field {
        grid-column: 1 / -1 !important;
    }

    body .booking-studio .booking-summary--inline .booking-admin-options {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile: one clean column, no right-shifted cards or miniaturised text. */
@media (max-width: 767px) {
    body .booking-studio .booking-summary--inline {
        width: 100% !important;
        margin: 10px 0 12px !important;
        padding: 14px !important;
        border-radius: 16px !important;
    }

    body .booking-studio .booking-summary--inline .booking-summary__copy {
        padding-bottom: 12px !important;
    }

    body .booking-studio .booking-summary--inline .mini-label {
        height: 24px !important;
        min-height: 24px !important;
        padding: 0 9px !important;
        font-size: 9px !important;
    }

    body .booking-studio .booking-summary--inline .booking-summary__copy h2 {
        margin-top: 9px !important;
        font-size: 21px !important;
        line-height: 1.12 !important;
    }

    body .booking-studio .booking-summary--inline .booking-summary__copy p {
        display: block !important;
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
        margin-top: 11px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type {
        grid-template-columns: minmax(0, 1fr) minmax(122px, 45%) !important;
        min-height: 52px !important;
        gap: 9px !important;
        padding: 5px 6px 5px 11px !important;
        border-radius: 11px !important;
        font-size: 11px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type select {
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="text"],
    body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="search"],
    body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="email"],
    body .booking-studio .booking-summary--inline .booking-admin-field input,
    body .booking-studio .booking-summary--inline .booking-admin-field select {
        height: 42px !important;
        min-height: 42px !important;
        font-size: 13px !important;
    }

    body .booking-studio .booking-summary--inline .booking-admin-options {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch,
    body .booking-studio .booking-summary--inline .light-toggle.tfp-side-switch,
    body .booking-studio .booking-summary--inline .repeat-toggle.tfp-side-switch,
    body .booking-studio .booking-summary--inline .block-toggle.tfp-side-switch {
        grid-template-columns: 34px minmax(0, 1fr) 42px !important;
        min-height: 54px !important;
        padding: 8px 9px !important;
        gap: 9px !important;
        border-radius: 11px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__icon {
        width: 34px !important;
        height: 34px !important;
        border-radius: 9px !important;
        font-size: 13px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__copy strong {
        font-size: 12.5px !important;
        line-height: 1.18 !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__copy small {
        font-size: 9.5px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__track {
        width: 40px !important;
        height: 23px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__track i {
        top: 3px !important;
        left: 3px !important;
        width: 15px !important;
        height: 15px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track i {
        transform: translateX(17px) !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch--privacy {
        min-height: 58px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-privacy-card__status {
        font-size: 9px !important;
    }

    body .booking-studio .booking-summary--inline .checkout-price {
        min-height: 44px !important;
        padding: 8px 10px !important;
    }

    body .booking-studio .booking-summary--inline .checkout-price strong {
        font-size: 16px !important;
    }

    body .booking-studio .booking-summary--inline .clubs-btn.clubs-btn--primary {
        min-height: 46px !important;
        height: 46px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 380px) {
    body .booking-studio .booking-summary--inline {
        padding: 12px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type {
        grid-template-columns: 1fr !important;
        padding: 9px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__copy small {
        white-space: normal !important;
    }
}

/* =========================================================
   TFP BOOKING UI v5 — clean reservation panel
   Mobile + desktop polish, visual only.
   - removes empty "Zaawansowane opcje"
   - brighter hierarchy / less dark mass
   - cleaner switches, owner field and summary
   ========================================================= */

/* Empty advanced block is intentionally removed from the UI. */
body .booking-studio #bookingForm details,
body .booking-studio #bookingForm [class*="advanced"] {
    display: none !important;
}

/* Main reservation card: brighter, calmer and easier to scan. */
body .booking-studio .booking-summary--inline {
    position: relative !important;
    isolation: isolate !important;
    padding: 22px !important;
    border: 1px solid #dce8f4 !important;
    border-radius: 24px !important;
    background:
        radial-gradient(circle at 96% 2%, rgba(47, 157, 255, .13), transparent 220px),
        linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    color: #10283c !important;
    box-shadow: 0 24px 65px rgba(17, 47, 78, .11) !important;
    overflow: hidden !important;
}

body .booking-studio .booking-summary--inline::before {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 4px !important;
    height: auto !important;
    background: linear-gradient(180deg, #1d7df2 0%, #2bc7df 55%, #8edc44 100%) !important;
    opacity: 1 !important;
}

body .booking-studio .booking-summary--inline::after {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    z-index: -1 !important;
    width: 240px !important;
    height: 240px !important;
    top: -155px !important;
    right: -120px !important;
    border-radius: 50% !important;
    background: rgba(50, 160, 255, .08) !important;
}

body .booking-studio .booking-summary--inline .booking-summary__copy {
    margin: 0 !important;
    padding: 0 0 17px !important;
    border-bottom: 1px solid #e3edf6 !important;
}

body .booking-studio .booking-summary--inline .mini-label {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-height: 27px !important;
    height: 27px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid #cfe9f7 !important;
    border-radius: 999px !important;
    background: #eefaff !important;
    color: #08779c !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

body .booking-studio .booking-summary--inline .booking-summary__copy h2 {
    margin: 11px 0 6px !important;
    color: #0a2238 !important;
    font-size: clamp(23px, 2.2vw, 30px) !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
}

body .booking-studio .booking-summary--inline .booking-summary__copy p {
    max-width: 680px !important;
    margin: 0 !important;
    color: #657b90 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

body .booking-studio .booking-summary--inline .booking-checkout--inline {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 11px !important;
    width: 100% !important;
    margin: 16px 0 0 !important;
}

/* Duration row */
body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(145px, 47%) !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 62px !important;
    padding: 8px 8px 8px 15px !important;
    border: 1px solid #dce8f3 !important;
    border-radius: 15px !important;
    background: #ffffff !important;
    color: #18344d !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    box-shadow: 0 7px 20px rgba(20, 58, 95, .045) !important;
}

body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type select {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid #d7e4ef !important;
    border-radius: 12px !important;
    background: #f5f9fd !important;
    color: #10283c !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}

/* Owner-only / normal text fields become proper cards instead of loose copy. */
body .booking-studio .booking-summary--inline .booking-checkout--inline > label:not(.tfp-side-switch):not(:first-of-type),
body .booking-studio .booking-summary--inline .booking-admin-field,
body .booking-studio .booking-summary--inline [class*="booking-for"],
body .booking-studio .booking-summary--inline [class*="reservation-for"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 13px !important;
    border: 1px solid #dce8f3 !important;
    border-radius: 15px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%) !important;
    color: #18344d !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: 0 7px 20px rgba(20, 58, 95, .04) !important;
}

body .booking-studio .booking-summary--inline .booking-checkout--inline > label:not(.tfp-side-switch):not(:first-of-type) small,
body .booking-studio .booking-summary--inline .booking-admin-field small,
body .booking-studio .booking-summary--inline [class*="booking-for"] small,
body .booking-studio .booking-summary--inline [class*="reservation-for"] small,
body .booking-studio .booking-summary--inline [class*="booking-for"] span,
body .booking-studio .booking-summary--inline [class*="reservation-for"] span {
    display: block !important;
    margin: 0 !important;
    color: #7b8fa2 !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
}

body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="text"],
body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="search"],
body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="email"],
body .booking-studio .booking-summary--inline .booking-admin-field input,
body .booking-studio .booking-summary--inline .booking-admin-field select {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid #d6e3ef !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #10283c !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9) !important;
}

body .booking-studio .booking-summary--inline .booking-checkout--inline input:focus,
body .booking-studio .booking-summary--inline .booking-checkout--inline select:focus {
    border-color: #67aaf4 !important;
    box-shadow: 0 0 0 4px rgba(34, 126, 233, .10) !important;
}

/* Switches: white cards with clear active state. */
body .booking-studio .booking-summary--inline .booking-admin-options {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch,
body .booking-studio .booking-summary--inline .light-toggle.tfp-side-switch,
body .booking-studio .booking-summary--inline .repeat-toggle.tfp-side-switch,
body .booking-studio .booking-summary--inline .block-toggle.tfp-side-switch {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) 46px !important;
    align-items: center !important;
    gap: 11px !important;
    width: 100% !important;
    min-height: 62px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #dce8f3 !important;
    border-radius: 15px !important;
    background: #ffffff !important;
    color: #18344d !important;
    box-shadow: 0 7px 20px rgba(20, 58, 95, .04) !important;
    cursor: pointer !important;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch:hover {
    transform: translateY(-1px) !important;
    border-color: #c7daec !important;
    box-shadow: 0 10px 24px rgba(20, 58, 95, .07) !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch:has(.tfp-side-switch__input:checked) {
    border-color: #9ecdf6 !important;
    background: linear-gradient(180deg, #f4faff 0%, #eef7ff 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(42, 132, 224, .06), 0 8px 22px rgba(28, 106, 183, .07) !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__icon {
    display: grid !important;
    place-items: center !important;
    width: 40px !important;
    height: 40px !important;
    border: 1px solid #d8ecf6 !important;
    border-radius: 11px !important;
    background: #eef9fd !important;
    color: #1387af !important;
    font-size: 15px !important;
    font-weight: 900 !important;
}

body .booking-studio .booking-summary--inline .block-toggle .tfp-side-switch__icon,
body .booking-studio .booking-summary--inline .repeat-toggle .tfp-side-switch__icon {
    border-color: #d9e8fa !important;
    background: #f0f6ff !important;
    color: #2479d5 !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__copy {
    display: grid !important;
    gap: 3px !important;
    min-width: 0 !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__copy strong,
body .booking-studio .booking-summary--inline .block-toggle b {
    color: #18344d !important;
    font-size: 13px !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__copy small,
body .booking-studio .booking-summary--inline .block-toggle small,
body .booking-studio .booking-summary--inline .repeat-toggle small,
body .booking-studio .booking-summary--inline .light-toggle small {
    display: block !important;
    margin: 0 !important;
    overflow: visible !important;
    color: #75899c !important;
    font-size: 10.5px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    text-overflow: clip !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__track {
    position: relative !important;
    display: block !important;
    width: 44px !important;
    height: 25px !important;
    border: 1px solid #d3dee8 !important;
    border-radius: 999px !important;
    background: #dce5ec !important;
    box-shadow: inset 0 1px 2px rgba(16, 40, 60, .08) !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__track i {
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 2px 6px rgba(21, 48, 72, .18) !important;
    transition: transform .18s ease !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track {
    border-color: #168fe9 !important;
    background: linear-gradient(135deg, #167be9, #19a6e8) !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track i {
    transform: translateX(19px) !important;
}

/* Conditional select rows. */
body .booking-studio .booking-summary--inline .block-reason-field,
body .booking-studio .booking-summary--inline .repeat-weeks-field {
    display: none !important;
}

body .booking-studio .booking-summary--inline .block-reason-field.is-visible,
body .booking-studio .booking-summary--inline .repeat-weeks-field.is-visible {
    display: grid !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid #dce8f3 !important;
    border-radius: 13px !important;
    background: #f5f9fd !important;
    color: #557086 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

/* Privacy row + status. */
body .booking-studio .booking-summary--inline .tfp-side-privacy-card {
    display: grid !important;
    gap: 5px !important;
    width: 100% !important;
    margin: 0 !important;
}

body .booking-studio .booking-summary--inline .tfp-side-switch--privacy {
    min-height: 66px !important;
}

body .booking-studio .booking-summary--inline .tfp-side-privacy-card__status {
    display: block !important;
    padding: 0 4px !important;
    color: #71879b !important;
    font-size: 9.5px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
}

/* Future/current selection summary inside the form: make it look like a receipt. */
body .booking-studio #bookingForm [class*="booking-summary"]:not(.booking-summary--inline):not(.booking-summary__copy),
body .booking-studio #bookingForm [class*="reservation-summary"] {
    width: 100% !important;
    max-width: none !important;
    margin: 2px 0 0 !important;
    padding: 15px !important;
    border: 1px solid #d7e6f2 !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #f2f8ff 0%, #edf6ff 100%) !important;
    color: #17344e !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8) !important;
}

body .booking-studio #bookingForm [class*="booking-summary"]:not(.booking-summary--inline):not(.booking-summary__copy) h3,
body .booking-studio #bookingForm [class*="booking-summary"]:not(.booking-summary--inline):not(.booking-summary__copy) h4,
body .booking-studio #bookingForm [class*="reservation-summary"] h3,
body .booking-studio #bookingForm [class*="reservation-summary"] h4 {
    margin: 0 0 12px !important;
    color: #102a43 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

body .booking-studio #bookingForm [class*="booking-summary"]:not(.booking-summary--inline):not(.booking-summary__copy) hr,
body .booking-studio #bookingForm [class*="reservation-summary"] hr {
    border: 0 !important;
    border-top: 1px solid #d8e6f2 !important;
}

/* Total is the visual anchor before the CTA. */
body .booking-studio .booking-summary--inline .checkout-price {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 58px !important;
    margin: 1px 0 0 !important;
    padding: 11px 14px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #09243b 0%, #0d3858 100%) !important;
    box-shadow: 0 12px 28px rgba(6, 35, 57, .14) !important;
}

body .booking-studio .booking-summary--inline .checkout-price small {
    color: #a8c0d3 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

body .booking-studio .booking-summary--inline .checkout-price strong {
    color: #fff !important;
    font-size: 21px !important;
    font-weight: 900 !important;
}

body .booking-studio .booking-summary--inline .clubs-btn.clubs-btn--primary {
    width: 100% !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: linear-gradient(135deg, #176fe8 0%, #10a5e6 100%) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    box-shadow: 0 13px 28px rgba(17, 116, 210, .22) !important;
}

body .booking-studio .booking-summary--inline .clubs-btn.clubs-btn--primary:hover:not(:disabled) {
    transform: translateY(-1px) !important;
    filter: brightness(1.03) !important;
    box-shadow: 0 16px 32px rgba(17, 116, 210, .28) !important;
}

body .booking-studio .booking-summary--inline .clubs-btn.clubs-btn--primary:disabled {
    border: 1px solid #dce6ee !important;
    background: #e8eef3 !important;
    color: #91a1af !important;
    box-shadow: none !important;
}

body .booking-studio .booking-summary--inline .booking-phone-required,
body .booking-studio .booking-summary--inline .booking-payment-panel {
    border-color: #dce8f3 !important;
    background: #fff !important;
    color: #18344d !important;
    box-shadow: 0 7px 20px rgba(20, 58, 95, .04) !important;
}

body .booking-studio .booking-summary--inline .booking-phone-required strong,
body .booking-studio .booking-summary--inline .booking-payment-panel__head strong,
body .booking-studio .booking-summary--inline .booking-payment-option b,
body .booking-studio .booking-summary--inline .booking-payment-required b {
    color: #18344d !important;
}

body .booking-studio .booking-summary--inline .booking-phone-required span,
body .booking-studio .booking-summary--inline .booking-payment-panel__head small,
body .booking-studio .booking-summary--inline .booking-payment-option small {
    color: #71879b !important;
}

/* Desktop keeps the elegant sticky sidebar without feeling cramped. */
@media (min-width: 1200px) {
    body .booking-studio .booking-board--week {
        grid-template-columns: minmax(0, 1fr) 410px !important;
        column-gap: 22px !important;
    }

    body .booking-studio .booking-summary--inline {
        top: calc(var(--tfp-header-fixed-height, 72px) + 16px) !important;
    }
}

/* Tablet: use the width for two columns where it helps. */
@media (min-width: 768px) and (max-width: 1199px) {
    body .booking-studio .booking-summary--inline {
        padding: 22px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type,
    body .booking-studio .booking-summary--inline .booking-admin-options,
    body .booking-studio .booking-summary--inline .tfp-side-privacy-card,
    body .booking-studio .booking-summary--inline .booking-payment-panel,
    body .booking-studio .booking-summary--inline .checkout-price,
    body .booking-studio .booking-summary--inline .clubs-btn.clubs-btn--primary,
    body .booking-studio .booking-summary--inline .booking-phone-required,
    body .booking-studio #bookingForm [class*="booking-summary"]:not(.booking-summary--inline):not(.booking-summary__copy),
    body .booking-studio #bookingForm [class*="reservation-summary"] {
        grid-column: 1 / -1 !important;
    }

    body .booking-studio .booking-summary--inline .booking-admin-options {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Mobile: compact, readable, no truncated copy and no detached blocks. */
@media (max-width: 767px) {
    body .booking-studio .booking-summary--inline {
        width: 100% !important;
        margin: 8px 0 12px !important;
        padding: 16px 14px 15px 16px !important;
        border-radius: 18px !important;
        box-shadow: 0 16px 38px rgba(17, 47, 78, .10) !important;
    }

    body .booking-studio .booking-summary--inline::before {
        width: 3px !important;
    }

    body .booking-studio .booking-summary--inline .booking-summary__copy {
        padding-bottom: 13px !important;
    }

    body .booking-studio .booking-summary--inline .mini-label {
        height: 24px !important;
        min-height: 24px !important;
        padding: 0 9px !important;
        font-size: 8px !important;
    }

    body .booking-studio .booking-summary--inline .booking-summary__copy h2 {
        margin-top: 8px !important;
        font-size: 23px !important;
        line-height: 1.1 !important;
    }

    body .booking-studio .booking-summary--inline .booking-summary__copy p {
        font-size: 10.5px !important;
        line-height: 1.42 !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 9px !important;
        margin-top: 12px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type {
        grid-template-columns: minmax(0, 1fr) minmax(145px, 52%) !important;
        min-height: 56px !important;
        gap: 8px !important;
        padding: 6px 6px 6px 12px !important;
        border-radius: 13px !important;
        font-size: 11px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type select {
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:not(.tfp-side-switch):not(:first-of-type),
    body .booking-studio .booking-summary--inline .booking-admin-field,
    body .booking-studio .booking-summary--inline [class*="booking-for"],
    body .booking-studio .booking-summary--inline [class*="reservation-for"] {
        padding: 12px !important;
        border-radius: 13px !important;
        font-size: 11.5px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="text"],
    body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="search"],
    body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="email"],
    body .booking-studio .booking-summary--inline .booking-admin-field input,
    body .booking-studio .booking-summary--inline .booking-admin-field select {
        height: 44px !important;
        min-height: 44px !important;
        font-size: 13px !important;
    }

    body .booking-studio .booking-summary--inline .booking-admin-options {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch,
    body .booking-studio .booking-summary--inline .light-toggle.tfp-side-switch,
    body .booking-studio .booking-summary--inline .repeat-toggle.tfp-side-switch,
    body .booking-studio .booking-summary--inline .block-toggle.tfp-side-switch {
        grid-template-columns: 36px minmax(0, 1fr) 42px !important;
        min-height: 58px !important;
        padding: 9px 10px !important;
        gap: 9px !important;
        border-radius: 13px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
        font-size: 13px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__copy strong,
    body .booking-studio .booking-summary--inline .block-toggle b {
        font-size: 12.5px !important;
        line-height: 1.18 !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__copy small,
    body .booking-studio .booking-summary--inline .block-toggle small,
    body .booking-studio .booking-summary--inline .repeat-toggle small,
    body .booking-studio .booking-summary--inline .light-toggle small {
        display: -webkit-box !important;
        overflow: hidden !important;
        font-size: 9.5px !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__track {
        width: 40px !important;
        height: 23px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__track i {
        top: 3px !important;
        left: 3px !important;
        width: 15px !important;
        height: 15px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track i {
        transform: translateX(17px) !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch--privacy {
        min-height: 62px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-privacy-card__status {
        padding-left: 3px !important;
        font-size: 9px !important;
    }

    body .booking-studio #bookingForm [class*="booking-summary"]:not(.booking-summary--inline):not(.booking-summary__copy),
    body .booking-studio #bookingForm [class*="reservation-summary"] {
        padding: 13px !important;
        border-radius: 14px !important;
    }

    body .booking-studio .booking-summary--inline .checkout-price {
        min-height: 52px !important;
        padding: 10px 12px !important;
        border-radius: 13px !important;
    }

    body .booking-studio .booking-summary--inline .checkout-price strong {
        font-size: 18px !important;
    }

    body .booking-studio .booking-summary--inline .clubs-btn.clubs-btn--primary {
        min-height: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 380px) {
    body .booking-studio .booking-summary--inline {
        padding: 14px 11px 13px 14px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type {
        grid-template-columns: 1fr !important;
        gap: 7px !important;
        padding: 10px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch,
    body .booking-studio .booking-summary--inline .light-toggle.tfp-side-switch,
    body .booking-studio .booking-summary--inline .repeat-toggle.tfp-side-switch,
    body .booking-studio .booking-summary--inline .block-toggle.tfp-side-switch {
        grid-template-columns: 34px minmax(0, 1fr) 40px !important;
        padding: 8px !important;
    }
}

/* =========================================================
   TFP BOOKING UI — FINAL FIX
   2026-10-01
   - stała / powtarzana rezerwacja ZOSTAJE
   - usuwa wyłącznie dodatkowe podsumowanie przed modalem
   - modal potwierdzenia pozostaje bez zmian
   - przywraca czytelny telefon + CTA „Zadzwoń”
   - mobile + desktop
   ========================================================= */

/* 1) NIE pokazujemy drugiego podsumowania w formularzu.
   Pełne podsumowanie jest już w modalu potwierdzenia. */
body .booking-studio #bookingForm [class*="summary" i],
body .booking-studio #bookingForm [id*="summary" i],
body .booking-studio #bookingForm [aria-label*="Podsumowanie" i],
body .booking-studio #bookingForm .booking-checkout-summary,
body .booking-studio #bookingForm .booking-form-summary,
body .booking-studio #bookingForm .booking-summary-card,
body .booking-studio #bookingForm .reservation-summary-card,
body .booking-studio #bookingForm .selection-summary,
body .booking-studio #bookingForm .reservation-summary {
    display: none !important;
}

/* Kwota „Razem” też jest dopiero w modalu — bez duplikowania. */
body .booking-studio #bookingForm .checkout-price {
    display: none !important;
}

/* CTA ma dojść od razu po opcjach. */
body .booking-studio #bookingForm .clubs-btn.clubs-btn--primary,
body .booking-studio #bookingForm #bookButton {
    margin-top: 4px !important;
}

/* 2) STAŁA REZERWACJA ZOSTAJE — jawnie cofamy ewentualne stare reguły hide. */
body .booking-studio #bookingForm .repeat-toggle,
body .booking-studio #bookingForm label.repeat-toggle,
body .booking-studio #bookingForm .repeat-toggle.tfp-side-switch {
    display: grid !important;
}

body .booking-studio #bookingForm #repeatWeeksField,
body .booking-studio #bookingForm .repeat-weeks-field {
    display: none !important;
}

body .booking-studio #bookingForm #repeatWeeksField.is-visible,
body .booking-studio #bookingForm .repeat-weeks-field.is-visible {
    display: grid !important;
}

/* 3) TELEFON KLUBU — czytelny i normalny na desktopie. */
body .booking-studio .booking-hero__contact {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    width: auto !important;
    max-width: 100% !important;
    margin-top: 8px !important;
}

body .booking-studio .booking-hero__phone {
    display: grid !important;
    grid-template-columns: 38px minmax(112px, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: auto !important;
    min-width: 250px !important;
    max-width: 100% !important;
    min-height: 50px !important;
    padding: 6px 8px !important;
    border: 1px solid #dbe6f1 !important;
    border-radius: 13px !important;
    background: #f8fbff !important;
    box-shadow: 0 8px 22px rgba(20, 48, 76, .06) !important;
    text-decoration: none !important;
}

body .booking-studio .booking-hero__phone-icon {
    display: grid !important;
    place-items: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: #eef5fc !important;
    color: #164e78 !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

body .booking-studio .booking-hero__phone span {
    min-width: 0 !important;
}

body .booking-studio .booking-hero__phone span small {
    display: block !important;
    margin: 0 0 3px !important;
    color: #71869a !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

body .booking-studio .booking-hero__phone span strong {
    display: block !important;
    margin: 0 !important;
    color: #102a43 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
}

body .booking-studio .booking-hero__phone b {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    margin: 0 !important;
    padding: 0 11px !important;
    border-radius: 9px !important;
    background: #eef2ff !important;
    color: #6741d9 !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Desktop — telefon nie jest mikroskopijny, ale nie rozpycha hero. */
@media (min-width: 721px) {
    body .booking-studio .booking-hero__phone {
        min-width: 270px !important;
        min-height: 52px !important;
        grid-template-columns: 40px minmax(125px, 1fr) auto !important;
        padding: 6px 9px !important;
    }

    body .booking-studio .booking-hero__phone-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 17px !important;
    }

    body .booking-studio .booking-hero__phone span small {
        font-size: 9.5px !important;
    }

    body .booking-studio .booking-hero__phone span strong {
        font-size: 14px !important;
    }

    body .booking-studio .booking-hero__phone b {
        min-height: 36px !important;
        padding: 0 12px !important;
        font-size: 10.5px !important;
    }
}

/* Mobile — pełna czytelność bez wielkiej karty. */
@media (max-width: 720px) {
    body .booking-studio .booking-hero__contact {
        width: 100% !important;
        margin-top: 7px !important;
    }

    body .booking-studio .booking-hero__phone {
        grid-template-columns: 34px minmax(0, 1fr) auto !important;
        gap: 8px !important;
        width: min(100%, 290px) !important;
        min-width: 0 !important;
        min-height: 46px !important;
        padding: 5px 7px !important;
        border-radius: 11px !important;
    }

    body .booking-studio .booking-hero__phone-icon {
        width: 34px !important;
        height: 34px !important;
        border-radius: 9px !important;
        font-size: 14px !important;
    }

    body .booking-studio .booking-hero__phone span small {
        margin-bottom: 2px !important;
        font-size: 8px !important;
    }

    body .booking-studio .booking-hero__phone span strong {
        font-size: 12px !important;
    }

    body .booking-studio .booking-hero__phone b {
        min-height: 32px !important;
        padding: 0 9px !important;
        border-radius: 8px !important;
        font-size: 9px !important;
    }

    /* Opcje właściciela w jednej czytelnej kolumnie na telefonie. */
    body .booking-studio #bookingForm .booking-admin-options {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 380px) {
    body .booking-studio .booking-hero__phone {
        width: 100% !important;
        grid-template-columns: 32px minmax(0, 1fr) auto !important;
        gap: 7px !important;
    }

    body .booking-studio .booking-hero__phone-icon {
        width: 32px !important;
        height: 32px !important;
    }

    body .booking-studio .booking-hero__phone span strong {
        font-size: 11.5px !important;
    }

    body .booking-studio .booking-hero__phone b {
        padding: 0 8px !important;
        font-size: 8.5px !important;
    }
}


/* =========================================================
   TFP 2026-10-03 — DESKTOP: niższy panel rezerwacji
   - nie usuwa żadnej funkcji
   - nie rusza modala potwierdzenia
   - zachowuje stałą / powtarzaną rezerwację
   ========================================================= */
@media (min-width: 1200px) {
    body .booking-studio .booking-summary--inline {
        padding: 16px !important;
        border-radius: 20px !important;
    }

    body .booking-studio .booking-summary--inline .booking-summary__copy {
        padding-bottom: 10px !important;
    }

    body .booking-studio .booking-summary--inline .mini-label {
        height: 21px !important;
        min-height: 21px !important;
        padding: 0 8px !important;
        font-size: 7.5px !important;
    }

    body .booking-studio .booking-summary--inline .booking-summary__copy h2 {
        margin-top: 6px !important;
        font-size: 24px !important;
        line-height: 1.05 !important;
    }

    body .booking-studio .booking-summary--inline .booking-summary__copy p {
        margin-top: 5px !important;
        font-size: 10.5px !important;
        line-height: 1.32 !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline {
        gap: 7px !important;
        margin-top: 10px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type {
        min-height: 48px !important;
        padding: 5px 6px 5px 10px !important;
        border-radius: 12px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type select {
        height: 38px !important;
        min-height: 38px !important;
        padding-block: 0 !important;
    }

    body .booking-studio .booking-summary--inline .booking-admin-options {
        gap: 7px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch,
    body .booking-studio .booking-summary--inline .light-toggle.tfp-side-switch,
    body .booking-studio .booking-summary--inline .repeat-toggle.tfp-side-switch,
    body .booking-studio .booking-summary--inline .block-toggle.tfp-side-switch {
        grid-template-columns: 34px minmax(0, 1fr) 40px !important;
        min-height: 52px !important;
        padding: 7px 9px !important;
        gap: 8px !important;
        border-radius: 12px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__icon {
        width: 34px !important;
        height: 34px !important;
        border-radius: 9px !important;
        font-size: 13px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__copy {
        gap: 1px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__copy strong,
    body .booking-studio .booking-summary--inline .block-toggle b {
        font-size: 12px !important;
        line-height: 1.14 !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__copy small,
    body .booking-studio .booking-summary--inline .block-toggle small,
    body .booking-studio .booking-summary--inline .repeat-toggle small,
    body .booking-studio .booking-summary--inline .light-toggle small {
        font-size: 9px !important;
        line-height: 1.18 !important;
        -webkit-line-clamp: 2 !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__track {
        width: 39px !important;
        height: 22px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__track i {
        top: 3px !important;
        left: 3px !important;
        width: 14px !important;
        height: 14px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track i {
        transform: translateX(17px) !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch--privacy {
        min-height: 55px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-privacy-card__status {
        margin-top: 3px !important;
        padding-left: 2px !important;
        font-size: 8.5px !important;
        line-height: 1.15 !important;
    }

    body .booking-studio .booking-summary--inline .booking-admin-field,
    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:not(.tfp-side-switch):not(:first-of-type) {
        padding: 9px 10px !important;
        border-radius: 12px !important;
    }

    body .booking-studio .booking-summary--inline .booking-admin-field input,
    body .booking-studio .booking-summary--inline .booking-admin-field select,
    body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="text"] {
        min-height: 38px !important;
        height: 38px !important;
    }

    body .booking-studio .booking-summary--inline .clubs-btn.clubs-btn--primary,
    body .booking-studio .booking-summary--inline #bookButton {
        min-height: 42px !important;
        height: 42px !important;
        margin-top: 2px !important;
        border-radius: 11px !important;
    }

    /* Dolne komunikaty/akcje serii nie powinny niepotrzebnie wydłużać karty. */
    body .booking-studio .booking-summary--inline > p:last-child,
    body .booking-studio .booking-summary--inline form + p:last-child {
        margin: 6px 0 0 !important;
        font-size: 10px !important;
        line-height: 1.3 !important;
    }

    body .booking-studio .booking-summary--inline button:disabled:not(#bookButton) {
        min-height: 34px !important;
        height: 34px !important;
        margin-top: 2px !important;
    }
}

/* =========================================================
   TFP 2026-10-03 — DESKTOP SIDEBAR REAL COMPACT FIX
   Cel: prawa karta ma kończyć się dużo wyżej i nie wpadać w footer.
   Mobile pozostaje bez zmian.
   ========================================================= */
@media (min-width: 1200px) {
    /* Odrobinę więcej miejsca dla panelu = mniej zawijania tekstów. */
    body .booking-studio .booking-board--week {
        grid-template-columns: minmax(0, 1fr) 420px !important;
        column-gap: 20px !important;
    }

    body .booking-studio .booking-summary--inline {
        width: 420px !important;
        max-width: 420px !important;
        padding: 14px 14px 13px 16px !important;
        border-radius: 19px !important;
        align-self: start !important;
    }

    body .booking-studio .booking-summary--inline .booking-summary__copy {
        padding: 0 0 9px !important;
    }

    body .booking-studio .booking-summary--inline .mini-label {
        min-height: 21px !important;
        height: 21px !important;
        padding: 0 8px !important;
        font-size: 7px !important;
    }

    body .booking-studio .booking-summary--inline .booking-summary__copy h2 {
        margin: 6px 0 0 !important;
        font-size: 22px !important;
        line-height: 1.04 !important;
    }

    /* Na desktopie instrukcja jest zbędna — wybór slotu jest oczywisty.
       Jej usunięcie daje realnie niższą kartę, nie mikroskopijne fonty. */
    body .booking-studio .booking-summary--inline .booking-summary__copy p {
        display: none !important;
    }

    /* Formularz jako zwarta siatka. */
    body .booking-studio .booking-summary--inline #bookingForm,
    body .booking-studio .booking-summary--inline .booking-checkout--inline {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-items: stretch !important;
        gap: 7px !important;
        margin-top: 9px !important;
    }

    /* Czas gry zawsze pełna szerokość i niski poziomy wiersz. */
    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type {
        grid-column: 1 / -1 !important;
        min-height: 46px !important;
        padding: 5px 6px 5px 10px !important;
        gap: 8px !important;
        border-radius: 11px !important;
        font-size: 10px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:first-of-type select {
        height: 35px !important;
        min-height: 35px !important;
        padding: 0 9px !important;
        border-radius: 9px !important;
        font-size: 10.5px !important;
    }

    /* Pole „Rezerwacja dla” / inne pole tekstowe zajmuje jeden zwarty wiersz. */
    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:not(.tfp-side-switch):not(:first-of-type),
    body .booking-studio .booking-summary--inline [class*="booking-for"],
    body .booking-studio .booking-summary--inline [class*="reservation-for"] {
        grid-column: 1 / -1 !important;
        gap: 4px !important;
        padding: 8px 9px !important;
        border-radius: 11px !important;
        font-size: 10px !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline > label:not(.tfp-side-switch):not(:first-of-type) small,
    body .booking-studio .booking-summary--inline [class*="booking-for"] small,
    body .booking-studio .booking-summary--inline [class*="reservation-for"] small,
    body .booking-studio .booking-summary--inline [class*="booking-for"] span,
    body .booking-studio .booking-summary--inline [class*="reservation-for"] span {
        font-size: 8.5px !important;
        line-height: 1.2 !important;
    }

    body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="text"],
    body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="search"],
    body .booking-studio .booking-summary--inline .booking-checkout--inline input[type="email"] {
        height: 36px !important;
        min-height: 36px !important;
        padding: 0 10px !important;
        border-radius: 9px !important;
        font-size: 11px !important;
    }

    /* Kluczowa zmiana: rozpakowujemy wrappery, żeby 4 opcje ułożyć 2 × 2. */
    body .booking-studio .booking-summary--inline .booking-admin-options,
    body .booking-studio .booking-summary--inline .tfp-side-privacy-card {
        display: contents !important;
    }

    /* Cztery przełączniki jako małe kafelki 2 × 2. */
    body .booking-studio .booking-summary--inline .tfp-side-switch,
    body .booking-studio .booking-summary--inline .light-toggle.tfp-side-switch,
    body .booking-studio .booking-summary--inline .repeat-toggle.tfp-side-switch,
    body .booking-studio .booking-summary--inline .block-toggle.tfp-side-switch,
    body .booking-studio .booking-summary--inline .tfp-side-switch--privacy {
        grid-column: auto !important;
        grid-template-columns: 29px minmax(0, 1fr) 35px !important;
        gap: 6px !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 46px !important;
        padding: 6px 7px !important;
        border-radius: 11px !important;
        box-shadow: 0 4px 12px rgba(20, 58, 95, .035) !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__icon {
        width: 29px !important;
        height: 29px !important;
        border-radius: 8px !important;
        font-size: 11px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__copy {
        gap: 0 !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__copy strong,
    body .booking-studio .booking-summary--inline .block-toggle b {
        font-size: 10.5px !important;
        line-height: 1.1 !important;
    }

    /* Na desktopie nazwa opcji wystarcza. Opisy zostają na mobile. */
    body .booking-studio .booking-summary--inline .tfp-side-switch__copy small,
    body .booking-studio .booking-summary--inline .block-toggle small,
    body .booking-studio .booking-summary--inline .repeat-toggle small,
    body .booking-studio .booking-summary--inline .light-toggle small {
        display: none !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__track {
        width: 34px !important;
        height: 20px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__track i {
        top: 2px !important;
        left: 2px !important;
        width: 14px !important;
        height: 14px !important;
    }

    body .booking-studio .booking-summary--inline .tfp-side-switch__input:checked + .tfp-side-switch__track i {
        transform: translateX(14px) !important;
    }

    /* Status pod przełącznikiem widoczności duplikuje stan switcha. */
    body .booking-studio .booking-summary--inline .tfp-side-privacy-card__status {
        display: none !important;
    }

    /* Gdy otworzy się powód blokady lub liczba tygodni, pole ma pełną szerokość. */
    body .booking-studio .booking-summary--inline .block-reason-field,
    body .booking-studio .booking-summary--inline .repeat-weeks-field,
    body .booking-studio .booking-summary--inline .block-reason-field.is-visible,
    body .booking-studio .booking-summary--inline .repeat-weeks-field.is-visible {
        grid-column: 1 / -1 !important;
    }

    body .booking-studio .booking-summary--inline .block-reason-field.is-visible,
    body .booking-studio .booking-summary--inline .repeat-weeks-field.is-visible {
        gap: 4px !important;
        padding: 8px 9px !important;
        border-radius: 10px !important;
        font-size: 9px !important;
    }

    body .booking-studio .booking-summary--inline .block-reason-field select,
    body .booking-studio .booking-summary--inline .repeat-weeks-field select {
        height: 34px !important;
        min-height: 34px !important;
        margin-top: 3px !important;
    }

    /* CTA pełna szerokość, ale bez niepotrzebnej wysokości. */
    body .booking-studio .booking-summary--inline #bookButton,
    body .booking-studio .booking-summary--inline .clubs-btn.clubs-btn--primary {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        min-height: 39px !important;
        height: 39px !important;
        margin-top: 1px !important;
        border-radius: 10px !important;
        font-size: 11px !important;
    }

    /* Gdy nie ma serii do usunięcia, martwy przycisk + komunikat nie wydłużają karty.
       Sam przełącznik „Powtarzaj rezerwację” ZOSTAJE. */
    body .booking-studio .booking-summary--inline > button:disabled:not(#bookButton),
    body .booking-studio .booking-summary--inline > form:not(#bookingForm):has(button:disabled) {
        display: none !important;
    }

    body .booking-studio .booking-summary--inline:has(> button:disabled:not(#bookButton)) > p:last-child,
    body .booking-studio .booking-summary--inline:has(> form:not(#bookingForm) button:disabled) > p:last-child,
    body .booking-studio .booking-summary--inline #bookingForm + p:last-child {
        display: none !important;
    }
}
