.offcourt-booking {
    --offcourt-green: #004B3A;
    --offcourt-green-deep: #023428;
    --offcourt-green-glass: rgba(0, 75, 58, 0.74);
    --offcourt-gold: #D4B15A;
    --offcourt-gold-soft: #ead28b;
    --offcourt-cream: #F5EFE4;
    --offcourt-ink: #F5EFE4;
    --offcourt-muted: rgba(245, 239, 228, 0.74);
    --offcourt-line: rgba(212, 177, 90, 0.28);
    color: var(--offcourt-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
    width: 100%;
}

.offcourt-booking *,
.offcourt-booking *::before,
.offcourt-booking *::after {
    box-sizing: border-box;
    min-width: 0;
}

.offcourt-shell {
    background:
        radial-gradient(circle at 16% 0%, rgba(245, 239, 228, 0.2), transparent 32%),
        radial-gradient(circle at 90% 8%, rgba(212, 177, 90, 0.24), transparent 36%),
        linear-gradient(145deg, rgba(0, 75, 58, 0.98), rgba(2, 52, 40, 0.96));
    border: 1px solid rgba(212, 177, 90, 0.28);
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(2, 52, 40, 0.32);
    margin: 0;
    max-width: 100%;
    overflow: visible;
    padding: 18px;
    position: relative;
    width: 100%;
}

.offcourt-shell::before {
    background: radial-gradient(circle, rgba(212, 177, 90, 0.3), transparent 64%);
    content: "";
    height: 300px;
    pointer-events: none;
    position: absolute;
    right: -160px;
    top: -150px;
    width: 300px;
}

.offcourt-panel {
    background: var(--offcourt-green-glass);
    border: 1px solid var(--offcourt-line);
    border-radius: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 22px 58px rgba(0, 0, 0, 0.24);
    margin-top: 18px;
    max-width: 100%;
    padding: 20px;
    position: relative;
    width: 100%;
}

.offcourt-intro {
    background: linear-gradient(135deg, rgba(0, 75, 58, 0.84), rgba(2, 52, 40, 0.62));
    margin-top: 0;
}

.offcourt-kicker {
    color: var(--offcourt-gold-soft);
    display: block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.offcourt-panel h2,
.offcourt-panel h3 {
    color: var(--offcourt-ink);
    line-height: 1.08;
    margin: 10px 0 12px;
}

.offcourt-panel h2 {
    font-size: 34px;
}

.offcourt-panel h3 {
    font-size: 24px;
}

.offcourt-panel p {
    color: var(--offcourt-muted);
    font-size: 15px;
    line-height: 1.65;
    max-width: 100%;
}

.offcourt-step-caption {
    color: var(--offcourt-gold-soft);
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.offcourt-summary {
    background: rgba(245, 239, 228, 0.1);
    border: 1px solid rgba(212, 177, 90, 0.28);
    border-radius: 24px;
    display: grid;
    gap: 7px;
    margin: 14px 0 0;
    max-width: 100%;
    padding: 14px;
    position: sticky;
    top: 12px;
    width: 100%;
    z-index: 2;
}

.offcourt-summary strong {
    color: var(--offcourt-gold-soft);
    font-size: 13px;
    text-transform: uppercase;
}

.offcourt-summary span,
.offcourt-summary em {
    color: var(--offcourt-ink);
    display: block;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.offcourt-summary em {
    color: var(--offcourt-gold-soft);
}

.offcourt-steps {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 18px -2px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 2px 2px 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.offcourt-steps::-webkit-scrollbar {
    display: none;
}

.offcourt-steps span {
    align-items: center;
    background: rgba(245, 239, 228, 0.08);
    border: 1px solid rgba(212, 177, 90, 0.18);
    border-radius: 999px;
    color: var(--offcourt-muted);
    display: flex;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 900;
    justify-content: center;
    min-height: 42px;
    padding: 9px 16px;
    scroll-snap-align: start;
    text-align: center;
    transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.offcourt-steps span::before {
    align-items: center;
    background: rgba(245, 239, 228, 0.08);
    border: 1px solid rgba(212, 177, 90, 0.22);
    border-radius: 999px;
    content: "○";
    display: inline-flex;
    flex: 0 0 22px;
    font-size: 12px;
    height: 22px;
    justify-content: center;
    margin-right: 8px;
    width: 22px;
}

.offcourt-steps span.is-complete {
    background: rgba(245, 239, 228, 0.1);
    border-color: rgba(212, 177, 90, 0.3);
    color: var(--offcourt-gold-soft);
}

.offcourt-steps span.is-complete::before {
    background: rgba(212, 177, 90, 0.18);
    border-color: rgba(212, 177, 90, 0.46);
    color: var(--offcourt-gold-soft);
    content: "✓";
}

.offcourt-steps span.is-current {
    background: linear-gradient(135deg, var(--offcourt-gold), var(--offcourt-gold-soft));
    box-shadow: 0 12px 28px rgba(212, 177, 90, 0.28);
    color: var(--offcourt-green-deep);
}

.offcourt-steps span.is-current::before {
    background: rgba(2, 52, 40, 0.12);
    border-color: rgba(2, 52, 40, 0.22);
    color: var(--offcourt-green-deep);
    content: "➜";
}

.offcourt-steps span.is-upcoming::before {
    content: "○";
}

.offcourt-panel-heading {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.offcourt-field,
.offcourt-form {
    display: grid;
    gap: 12px;
    max-width: 100%;
    width: 100%;
}

.offcourt-form {
    gap: 20px;
}

.offcourt-field span {
    color: var(--offcourt-gold-soft);
    font-weight: 900;
}

.offcourt-field input {
    background: rgba(245, 239, 228, 0.1);
    border: 1px solid rgba(212, 177, 90, 0.28);
    border-radius: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: var(--offcourt-ink);
    min-height: 48px;
    padding: 14px 18px;
    width: 100%;
}

.offcourt-field input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    display: block;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.offcourt-field input:focus {
    border-color: var(--offcourt-gold);
    box-shadow: 0 0 0 4px rgba(212, 177, 90, 0.16);
    outline: none;
}

.offcourt-slot-groups {
    display: grid;
    gap: 16px;
    max-width: 100%;
    width: 100%;
}

.offcourt-duration-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    max-width: 100%;
    width: 100%;
}

.offcourt-slot-group {
    background: rgba(245, 239, 228, 0.08);
    border: 1px solid rgba(212, 177, 90, 0.2);
    border-radius: 28px;
    max-width: 100%;
    overflow: hidden;
    padding: 12px;
    width: 100%;
}

.offcourt-slot-group-toggle {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--offcourt-gold-soft);
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 17px;
    font-weight: 900;
    gap: 10px;
    justify-content: space-between;
    min-height: 52px;
    padding: 4px;
    text-align: left;
    width: 100%;
}

.offcourt-slot-icon {
    align-items: center;
    background: rgba(212, 177, 90, 0.2);
    border: 1px solid rgba(212, 177, 90, 0.34);
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 34px;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.offcourt-slot-chevron {
    align-items: center;
    border: 1px solid rgba(212, 177, 90, 0.22);
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 32px;
    height: 32px;
    justify-content: center;
    transition: transform 180ms ease;
    width: 32px;
}

.offcourt-slot-group.is-open .offcourt-slot-chevron {
    transform: rotate(45deg);
}

.offcourt-slot-grid {
    display: none;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    padding-top: 12px;
    width: 100%;
}

.offcourt-slot-group.is-open .offcourt-slot-grid {
    display: grid;
}

.offcourt-courts {
    display: grid;
    gap: 14px;
    grid-template-columns: 1fr;
    max-width: 100%;
    width: 100%;
}

.offcourt-slot-card,
.offcourt-court-card,
.offcourt-duration-card {
    background: linear-gradient(145deg, rgba(0, 75, 58, 0.86), rgba(2, 52, 40, 0.78));
    border: 1px solid rgba(212, 177, 90, 0.28);
    border-radius: 28px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 14px 34px rgba(0, 0, 0, 0.18);
    color: var(--offcourt-ink);
    cursor: pointer;
    max-width: 100%;
    min-height: 136px;
    padding: 16px;
    text-align: left;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
    width: 100%;
}

.offcourt-slot-card {
    min-height: 118px;
}

.offcourt-duration-card.is-selected {
    transform: scale(1.03);
}

.offcourt-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: -4px 0 16px;
    max-width: 100%;
}

.offcourt-legend span {
    align-items: center;
    background: rgba(245, 239, 228, 0.08);
    border: 1px solid rgba(212, 177, 90, 0.2);
    border-radius: 999px;
    color: var(--offcourt-muted);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    gap: 7px;
    padding: 7px 10px;
    white-space: nowrap;
}

.offcourt-legend i {
    border-radius: 999px;
    display: inline-flex;
    height: 9px;
    width: 9px;
}

.offcourt-legend i.is-available {
    background: #3bd487;
}

.offcourt-legend i.is-reserved {
    background: #d45252;
}

.offcourt-legend i.is-booked {
    background: #6f7672;
}

.offcourt-slot-card:active,
.offcourt-court-card:active,
.offcourt-duration-card:active,
.offcourt-primary:active,
.offcourt-link-button:active {
    border-color: rgba(212, 177, 90, 0.78);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
    transform: translateY(-2px);
}

.offcourt-slot-card.is-selected,
.offcourt-court-card.is-selected,
.offcourt-duration-card.is-selected {
    border-color: var(--offcourt-gold);
    box-shadow: 0 18px 40px rgba(2, 52, 40, .22), 0 0 0 4px rgba(212, 177, 90, 0.16);
}

.offcourt-slot-card:disabled {
    background: linear-gradient(145deg, rgba(61, 70, 66, 0.42), rgba(28, 34, 32, 0.56));
    border-color: rgba(188, 194, 190, 0.2);
    box-shadow: none;
    color: rgba(248, 243, 231, 0.48);
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: 0.58;
    transform: none;
}

.offcourt-court-card:disabled,
.offcourt-court-card.is-unavailable {
    background: linear-gradient(145deg, rgba(61, 70, 66, 0.42), rgba(28, 34, 32, 0.56));
    border-color: rgba(188, 194, 190, 0.2);
    box-shadow: none;
    color: rgba(248, 243, 231, 0.54);
    cursor: not-allowed;
    filter: grayscale(1);
    opacity: 0.68;
    transform: none;
}

.offcourt-court-card:disabled .offcourt-court-image,
.offcourt-court-card.is-unavailable .offcourt-court-image {
    opacity: .5;
}

.offcourt-court-card:disabled > span,
.offcourt-court-card.is-unavailable > span {
    color: rgba(245, 239, 228, 0.66);
}

.offcourt-slot-card:disabled:active {
    box-shadow: none;
    transform: none;
}

.offcourt-slot-card:disabled span,
.offcourt-slot-card:disabled small,
.offcourt-slot-card:disabled em {
    color: rgba(248, 243, 231, 0.5);
}

.offcourt-slot-card strong,
.offcourt-court-card strong,
.offcourt-duration-card strong {
    align-items: center;
    display: block;
    font-size: 24px;
    gap: 10px;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

.offcourt-court-heading {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-top: 4px;
}

.offcourt-court-card .offcourt-court-heading {
    color: var(--offcourt-ink);
}

.offcourt-court-card strong {
    display: block;
}

.offcourt-court-colour {
    background: var(--court-colour, var(--offcourt-green));
    border: 4px solid rgba(245, 239, 228, 0.72);
    border-radius: 999px;
    box-shadow: 0 0 0 7px rgba(245, 239, 228, 0.08), 0 16px 30px rgba(0, 0, 0, 0.22);
    display: inline-flex;
    flex: 0 0 46px;
    height: 46px;
    width: 46px;
}

.offcourt-court-image {
    background-position: center;
    background-size: cover;
    border: 1px solid rgba(212, 177, 90, 0.26);
    border-radius: 22px;
    display: block;
    height: 124px;
    margin-bottom: 16px;
    width: 100%;
}

.offcourt-slot-card > span,
.offcourt-court-card > span,
.offcourt-duration-card > span {
    color: var(--offcourt-gold-soft);
    display: block;
    font-size: 15px;
    font-weight: 900;
    margin-top: 12px;
    overflow-wrap: anywhere;
}

.offcourt-court-card > .offcourt-court-heading {
    color: var(--offcourt-ink);
    display: flex;
    font-size: inherit;
    margin-top: 0;
}

.offcourt-selected-label {
    background: rgba(212, 177, 90, 0.18);
    border: 1px solid rgba(212, 177, 90, 0.44);
    border-radius: 999px;
    color: var(--offcourt-gold-soft);
    display: none;
    font-size: 12px;
    font-weight: 900;
    margin-top: 16px;
    padding: 7px 10px;
    width: fit-content;
}

.offcourt-selected-label[hidden],
.offcourt-court-card:not(.is-selected) .offcourt-selected-label {
    display: none !important;
}

.offcourt-court-card.is-selected .offcourt-selected-label {
    display: inline-flex;
}

.offcourt-court-card small {
    color: var(--offcourt-muted);
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-top: 12px;
}

.offcourt-sponsor-logo {
    background: rgba(245, 239, 228, 0.92);
    border-radius: 14px;
    display: block;
    max-height: 42px;
    max-width: 140px;
    object-fit: contain;
    padding: 6px;
    margin-top: 14px;
}

.offcourt-availability-badge {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 11px;
    font-weight: 900;
    margin-top: 12px;
    max-width: 100%;
    overflow: hidden;
    padding: 7px 10px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    width: fit-content;
}

.offcourt-availability-badge.is-available {
    background: rgba(0, 75, 58, 0.28);
    border: 1px solid rgba(245, 239, 228, 0.22);
    color: #e3fbf0;
}

.offcourt-availability-badge.is-limited {
    background: rgba(212, 177, 90, 0.2);
    border: 1px solid rgba(212, 177, 90, 0.44);
    color: var(--offcourt-gold-soft);
}

.offcourt-availability-badge.is-booked {
    background: rgba(138, 142, 137, 0.2);
    border: 1px solid rgba(188, 194, 190, 0.28);
    color: rgba(245, 239, 228, 0.64);
}

.offcourt-slot-card em {
    background: rgba(212, 177, 90, 0.2);
    border: 1px solid rgba(212, 177, 90, 0.38);
    border-radius: 999px;
    color: var(--offcourt-gold-soft);
    display: inline-block;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
    margin-top: 14px;
    padding: 7px 10px;
}

.offcourt-primary,
.offcourt-link-button {
    align-items: center;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 52px;
    padding: 13px 22px;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    width: 100%;
}

.offcourt-primary {
    background: linear-gradient(135deg, var(--offcourt-gold), var(--offcourt-gold-soft));
    border: 1px solid var(--offcourt-gold);
    box-shadow: 0 16px 32px rgba(212, 177, 90, 0.24);
    color: var(--offcourt-green-deep);
    position: relative;
}

.offcourt-primary:disabled {
    cursor: wait;
    opacity: 0.78;
}

.offcourt-primary.is-loading {
    gap: 10px;
}

.offcourt-primary.is-loading::before {
    animation: offcourt-spin 760ms linear infinite;
    border: 2px solid rgba(2, 52, 40, 0.28);
    border-top-color: var(--offcourt-green-deep);
    border-radius: 999px;
    content: "";
    height: 18px;
    width: 18px;
}

.offcourt-link-button {
    background: rgba(245, 239, 228, 0.08);
    border: 1px solid rgba(212, 177, 90, 0.28);
    color: var(--offcourt-gold-soft);
}

.offcourt-confirmation dl {
    background: rgba(245, 239, 228, 0.08);
    border: 1px solid rgba(212, 177, 90, 0.24);
    border-radius: 28px;
    display: grid;
    gap: 0;
    margin: 0;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.offcourt-cancel-details {
    background: rgba(245, 239, 228, 0.08);
    border: 1px solid rgba(212, 177, 90, 0.24);
    border-radius: 28px;
    display: grid;
    margin: 0 0 18px;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.offcourt-cancel-details div {
    border-bottom: 1px solid rgba(212, 177, 90, 0.18);
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
}

.offcourt-cancel-details div:last-child {
    border-bottom: 0;
}

.offcourt-cancel-details dt {
    color: var(--offcourt-muted);
    font-weight: 800;
}

.offcourt-cancel-details dd {
    color: var(--offcourt-ink);
    font-weight: 900;
    margin: 0;
    overflow-wrap: anywhere;
}

.offcourt-cancel-status {
    background: rgba(245, 239, 228, 0.1);
    border: 1px solid rgba(212, 177, 90, 0.22);
    border-radius: 22px;
    color: var(--offcourt-gold-soft);
    font-weight: 900;
    padding: 16px;
}

.offcourt-cancel-status.is-error {
    border-color: rgba(255, 180, 166, 0.38);
    color: #ffb4a6;
}

.offcourt-cancel-status.is-success {
    border-color: rgba(59, 212, 135, 0.36);
    color: #baf5d8;
}

.offcourt-cancel-form {
    display: grid;
    max-width: 100%;
    width: 100%;
}

.offcourt-confirmation.is-success dl {
    animation: offcourt-confirmation-in 520ms ease both;
}

.offcourt-confirmation div {
    align-items: flex-start;
    border-bottom: 1px solid rgba(212, 177, 90, 0.18);
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: space-between;
    padding: 16px 18px;
}

.offcourt-confirmation div:last-child {
    border-bottom: 0;
}

.offcourt-confirmation dt {
    color: var(--offcourt-muted);
    font-weight: 800;
}

.offcourt-confirmation dd {
    color: var(--offcourt-ink);
    font-weight: 900;
    margin: 0;
    overflow-wrap: anywhere;
}

.offcourt-payment-note,
.offcourt-message {
    color: var(--offcourt-gold-soft);
    font-weight: 900;
}

.offcourt-message {
    margin-top: 20px;
    min-height: 24px;
}

.offcourt-message.is-error {
    color: #ffb4a6;
}

.offcourt-message.is-loading {
    color: var(--offcourt-muted);
}

.offcourt-skeleton-card {
    cursor: progress;
    overflow: hidden;
    pointer-events: none;
    position: relative;
}

.offcourt-skeleton-card::before {
    animation: offcourt-skeleton 1150ms ease-in-out infinite;
    background: linear-gradient(90deg, transparent, rgba(245, 239, 228, 0.2), transparent);
    content: "";
    inset: 0;
    position: absolute;
    transform: translateX(-100%);
}

.offcourt-skeleton-card span {
    background: rgba(245, 239, 228, 0.16);
    border-radius: 999px;
    display: block;
    height: 16px;
    margin-top: 0;
}

.offcourt-skeleton-card span:first-child {
    height: 26px;
    width: 54%;
}

.offcourt-skeleton-card span:nth-child(2) {
    margin-top: 18px;
    width: 44%;
}

.offcourt-skeleton-card span:nth-child(3) {
    margin-top: 18px;
    width: 72%;
}

.is-hidden {
    display: none !important;
}

@keyframes offcourt-skeleton {
    100% {
        transform: translateX(100%);
    }
}

@keyframes offcourt-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes offcourt-confirmation-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (hover: hover) and (pointer: fine) {
    .offcourt-slot-card:hover,
    .offcourt-court-card:hover,
    .offcourt-duration-card:hover,
    .offcourt-primary:hover,
    .offcourt-link-button:hover {
        border-color: rgba(212, 177, 90, 0.78);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
        transform: translateY(-2px);
    }

    .offcourt-slot-card:disabled:hover {
        box-shadow: none;
        transform: none;
    }

    .offcourt-court-card:disabled:hover,
    .offcourt-court-card.is-unavailable:hover {
        box-shadow: none;
        transform: none;
    }
}

@media (min-width: 768px) {
    .offcourt-shell {
        border-radius: 32px;
        margin: 24px auto;
        padding: 32px;
    }

    .offcourt-panel {
        border-radius: 32px;
        margin-top: 24px;
        padding: 28px;
    }

    .offcourt-panel h2 {
        font-size: 46px;
    }

    .offcourt-panel h3 {
        font-size: 30px;
    }

    .offcourt-steps {
        background: rgba(245, 239, 228, 0.08);
        border: 1px solid rgba(212, 177, 90, 0.2);
        border-radius: 999px;
        display: grid;
        gap: 6px;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        margin: 26px 0;
        overflow: visible;
        padding: 8px;
    }

    .offcourt-steps span {
        flex: initial;
        min-height: 42px;
    }

    .offcourt-panel-heading {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }

    .offcourt-field input {
        width: min(100%, 520px);
    }

    .offcourt-primary,
    .offcourt-link-button {
        width: fit-content;
    }

    .offcourt-slot-groups {
        gap: 24px;
    }

    .offcourt-summary {
        align-items: start;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        padding: 16px 18px;
    }

    .offcourt-summary strong {
        font-size: 14px;
    }

    .offcourt-duration-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .offcourt-slot-group {
        border-radius: 32px;
        padding: 20px;
    }

    .offcourt-slot-group-toggle {
        cursor: default;
        pointer-events: none;
    }

    .offcourt-slot-chevron {
        display: none;
    }

    .offcourt-slot-grid,
    .offcourt-slot-group.is-open .offcourt-slot-grid {
        display: grid;
        gap: 16px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 16px;
    }

    .offcourt-courts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offcourt-slot-card,
    .offcourt-court-card,
    .offcourt-duration-card {
        border-radius: 30px;
        min-height: 148px;
        padding: 22px;
    }

    .offcourt-slot-card {
        min-height: 118px;
    }

    .offcourt-duration-card {
        min-height: 112px;
        padding: 18px;
    }

    .offcourt-slot-card strong,
    .offcourt-court-card strong {
        font-size: 28px;
    }

    .offcourt-duration-card strong {
        font-size: 22px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .offcourt-slot-card > span,
    .offcourt-court-card > span,
    .offcourt-duration-card > span {
        font-size: 17px;
    }

    .offcourt-confirmation div {
        align-items: center;
        flex-direction: row;
        gap: 16px;
    }

    .offcourt-cancel-details div {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1025px) {
    .offcourt-shell {
        border-radius: 36px;
        max-width: 1180px;
        padding: 52px;
    }

    .offcourt-panel {
        border-radius: 32px;
        padding: 36px;
    }

    .offcourt-panel h2 {
        font-size: 60px;
    }

    .offcourt-slot-grid,
    .offcourt-slot-group.is-open .offcourt-slot-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .offcourt-slot-card {
        min-height: 118px;
    }

    .offcourt-duration-grid {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }

    .offcourt-duration-card strong {
        font-size: 22px;
    }

    .offcourt-duration-card > span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .offcourt-booking,
    .offcourt-shell,
    .offcourt-panel {
        max-width: 100%;
        min-width: 0;
        overflow: visible;
        width: 100%;
    }

    .offcourt-booking {
        overflow-wrap: anywhere;
    }

    .offcourt-shell {
        border-radius: 24px;
        padding: 14px;
    }

    .offcourt-shell::before {
        display: none;
    }

    .offcourt-panel {
        border-radius: 22px;
        padding: 16px;
    }

    .offcourt-panel h2 {
        font-size: 32px;
    }

    .offcourt-panel h3 {
        font-size: 22px;
    }

    .offcourt-steps {
        display: flex;
        flex-wrap: nowrap;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        padding: 2px 0 10px;
        -webkit-overflow-scrolling: touch;
    }

    .offcourt-steps span {
        flex: 0 0 auto;
        font-size: 12px;
        min-height: 38px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .offcourt-steps span::before {
        flex-basis: 20px;
        height: 20px;
        margin-right: 6px;
        width: 20px;
    }

    .offcourt-field input {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .offcourt-field input[type="date"] {
        appearance: none;
        -webkit-appearance: none;
        display: block;
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .offcourt-slot-grid {
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .offcourt-slot-card {
        min-height: 118px;
        padding: 14px;
    }

    .offcourt-duration-card {
        min-height: 88px;
        padding: 14px;
    }

    .offcourt-slot-card strong {
        font-size: 26px;
    }

    .offcourt-duration-card strong {
        font-size: 21px;
    }

    .offcourt-slot-card > span,
    .offcourt-court-card > span,
    .offcourt-duration-card > span {
        font-size: 13px;
        overflow-wrap: anywhere;
    }

    .offcourt-availability-badge {
        font-size: 10px;
        max-width: 100%;
        overflow: hidden;
        padding: 6px 8px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .offcourt-court-card {
        min-height: 0;
        padding: 16px;
    }

    .offcourt-court-image {
        height: 70px;
    }

    .offcourt-court-colour {
        border-width: 3px;
        flex-basis: 36px;
        height: 36px;
        width: 36px;
    }

    .offcourt-court-heading {
        gap: 10px;
    }

    .offcourt-selected-label {
        font-size: 11px;
        margin-top: 12px;
        padding: 6px 9px;
    }
}

@media (max-width: 430px) {
    .offcourt-slot-grid {
        grid-template-columns: 1fr;
    }
}
