body {
    background: #f7f8fb;
    font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
    font-weight: 400;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    --booking-header-height: 64px;
    --booking-stepbar-height: 76px;
    --booking-toolbar-height: 74px;
    --booking-fixed-gap: 10px;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.booking-step,
.step-nav-btn,
.touch-option-content strong {
    font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-weight: 700;
    line-height: 1.45;
}

.navbar {
    gap: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
}

.navbar-shell {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.navbar-shell .navbar-toggler {
    flex: 0 0 auto;
    margin: 0;
    order: 1;
}

.navbar-shell .navbar-brand {
    flex: 0 1 auto;
    margin: 0;
    order: 2;
}

.navbar-shell .navbar-collapse {
    flex-basis: 100%;
    order: 3;
}

.navbar-brand {
    font-size: 1.1rem;
    white-space: normal;
}

@media (min-width: 992px) {
    .navbar-shell {
        flex-wrap: nowrap;
    }

    .navbar-shell .navbar-collapse {
        flex-basis: auto;
        flex-grow: 1;
    }
}

.card {
    border-radius: 16px;
}

.card-body {
    padding: 24px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.summary-item:last-child {
    border-bottom: 0;
}

.sticky-summary {
    position: sticky;
    top: 20px;
}

.summary-action-icon {
    align-items: center;
    display: inline-flex;
    height: 22px;
    justify-content: center;
    width: 22px;
}

.summary-action-icon svg {
    display: block;
    height: 22px;
    width: 22px;
}

.summary-action-label {
    font-weight: 700;
    line-height: 1;
}

.cart-summary-page {
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 8px;
    padding: 16px;
}

.booking-mini-summary {
    background: #f8fbff;
    border: 1px dashed #d4e2ff;
    border-radius: 8px;
    padding: 16px;
}

.customer-summary-launch {
    align-items: center;
    background: #f8fbff;
    border: 1px solid #d8deea;
    border-radius: 8px;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px;
}

.customer-summary-launch p {
    margin-bottom: 0;
}

.customer-info-offcanvas {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
   /* height: min(82vh, 760px);*/
    height: 85vh !important;
}

.customer-info-offcanvas .offcanvas-body {
    padding-top: 0;
}

.customer-info-offcanvas .customer-summary-box {
    background: transparent;
    border: 0;
    padding: 0;
}

.court-details-modal .modal-body {
    padding-top: 0;
}

.court-details-modal .court-details {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
}

.court-details-modal-footer {
    justify-content: space-between;
    gap: 10px;
}

#messageBox.booking-message-popup {
    inset-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right));
    pointer-events: none;
    position: fixed;
    top: calc(72px + env(safe-area-inset-top));
    z-index: 2200;
}

#messageBox .alert {
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.2);
    display: flex;
    gap: 12px;
    margin: 0 auto 12px;
    max-width: min(720px, 100%);
    min-height: 56px;
    padding: 14px 16px;
    pointer-events: auto;
}

#messageBox .btn-close {
    flex: 0 0 auto;
    margin: 0;
}

.booking-stepbar {
    align-items: center;
    display: flex;
    gap: 10px;
}

.booking-stepbar .booking-steps {
    flex: 1 1 auto;
}

.booking-steps {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.nav-icon {
    display: block;
    height: 24px;
    width: 24px;
}

.step-navigation {
    align-items: center;
    background: #f7f9fc;
    border: 1px solid #dfe6f1;
    border-radius: 8px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 10px;
}

.step-nav-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 8px;
    color: #243142;
    display: inline-flex;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 48px;
    min-width: 48px;
    padding: 10px 14px;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.step-nav-btn:hover,
.step-nav-btn:focus {
    border-color: #86b7fe;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.14);
    outline: 0;
    transform: translateY(-1px);
}

.step-nav-btn:disabled {
    background: #eef2f7;
    box-shadow: none;
    color: #8a95a5;
    cursor: not-allowed;
    transform: none;
}

.step-nav-btn-primary {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.step-nav-btn-primary:hover,
.step-nav-btn-primary:focus {
    background: #0b5ed7;
    border-color: #0b5ed7;
    color: #fff;
}

.step-nav-btn .nav-icon {
    flex: 0 0 auto;
}

.booking-step {
    border: 1px solid #d8deea;
    border-radius: 8px;
    background: #fff;
    color: #526071;
    font-weight: 700;
    padding: 10px;
    text-align: center;
    min-height: 62px;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.booking-step span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 4px;
}

.booking-step.active,
.booking-step.completed {
    border-color: #0d6efd;
    background: #eaf2ff;
    color: #0b5ed7;
}

.booking-step.completed {
    cursor: pointer;
}

.booking-step.completed:hover,
.booking-step.completed:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
    outline: 0;
}

.booking-step:disabled:not(.active):not(.completed) {
    cursor: not-allowed;
    opacity: 0.62;
}

.booking-page {
    display: grid;
    gap: 18px;
    overflow-x: clip;
    padding-bottom: 190px;
}

.booking-sports-sticky {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e3eaf4;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    margin-bottom: 16px;
    padding: 12px;
    position: sticky;
    top: calc(var(--booking-header-height) + 8px);
    z-index: 1030;
}

.booking-sports-sticky .booking-card-strip {
    margin: 0;
}

.booking-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #39a0ff 100%);
    color: #fff;
    overflow: hidden;
}

.booking-hero-body {
    display: grid;
    gap: 16px;
}

.booking-hero-copy {
    display: grid;
    gap: 10px;
}

.booking-hero-eyebrow {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0;
}

.booking-hero-title {
    color: #fff;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    margin: 0;
}

.booking-hero-text {
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
    max-width: 60ch;
}

.booking-search-bar {
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(11, 94, 215, 0.18);
    display: grid;
    gap: 10px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    padding: 14px 16px;
}

.booking-search-icon {
    color: #7a8798;
    display: inline-flex;
    height: 22px;
    width: 22px;
}

.booking-search-icon svg {
    height: 22px;
    width: 22px;
}

.booking-search-input {
    background: transparent;
    border: 0;
    color: #243142;
    font-weight: 600;
    outline: 0;
    min-width: 0;
    width: auto;
    flex: 1 1 auto;
}

.booking-search-input::placeholder {
    color: #8894a6;
    font-weight: 500;
}

.booking-search-clear {
    border-radius: 999px;
    min-height: 38px;
    padding-inline: 16px;
}

.booking-workspace {
    display: grid;
    gap: 16px;
}

.touch-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.touch-option {
    min-height: 76px;
    border: 1px solid #d8deea;
    border-radius: 8px;
    background: #fff;
    color: #243142;
    font-weight: 700;
    padding: 14px 16px;
    text-align: start;
    width: 100%;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.touch-option.has-thumbnail {
    align-items: center;
    display: flex;
    gap: 12px;
}

.touch-option-thumb {
    aspect-ratio: 4 / 3;
    background: #eef2f7;
    border-radius: 8px;
    flex: 0 0 76px;
    height: 58px;
    object-fit: cover;
    width: 76px;
}

.touch-option-content {
    display: block;
    min-width: 0;
}

.touch-option-content strong {
    display: block;
}

.touch-option-content span {
    display: block;
    color: #697586;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 6px;
    line-height: 1.55;
}

.booking-panel {
    display: grid;
    gap: 14px;
}

.booking-panel-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.booking-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.booking-card {
    align-items: stretch;
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 20px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    color: #243142;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    text-align: start;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
    width: 100%;
}

.booking-card:hover,
.booking-card:focus {
    border-color: #86b7fe;
    box-shadow: 0 12px 28px rgba(13, 110, 253, 0.12);
    outline: 0;
    transform: translateY(-1px);
}

.booking-card.selected {
    border-color: #0d6efd;
    box-shadow: 0 14px 28px rgba(13, 110, 253, 0.16);
    outline: 2px solid rgba(13, 110, 253, 0.14);
}

.booking-card--vertical {
    overflow: hidden;
}

.booking-card-media {
    position: relative;
}

.booking-card-thumb {
    aspect-ratio: 16 / 10;
    background: #eef2f7;
    display: block;
    object-fit: cover;
    width: 100%;
}

.booking-card-badge {
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 999px;
    bottom: 12px;
    color: #fff;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    inset-inline-start: 12px;
    padding: 4px 10px;
    position: absolute;
}

.booking-card-content {
    display: grid;
    gap: 6px;
    padding: 14px 16px 16px;
}

.booking-card-toprow {
    align-items: start;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.booking-card-title {
    color: #162236;
    font-size: 1rem;
    font-weight: 800;
}

.booking-card-subtitle {
    color: #627086;
    font-size: 0.9rem;
    font-weight: 500;
}

.booking-card-meta {
    color: #0b5ed7;
    font-size: 0.9rem;
    font-weight: 700;
}

.booking-card-price {
    align-items: center;
    background: #eef5ff;
    border-radius: 999px;
    color: #0b5ed7;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 4px 10px;
}

.booking-card--chip {
    align-items: center;
    flex: 0 0 auto;
    flex-direction: row;
    gap: 12px;
    min-height: 72px;
    min-width: 180px;
    padding: 12px 14px;
    scroll-snap-align: start;
}

.booking-card--chip .booking-card-media {
    flex: 0 0 48px;
}

.booking-card--chip .booking-card-thumb {
    border-radius: 14px;
    aspect-ratio: 1 / 1;
    height: 48px;
    width: 48px;
}

.booking-card--chip .booking-card-badge {
    bottom: -6px;
    inset-inline-start: 0;
}

.booking-card--chip .booking-card-content {
    padding: 0;
}

.booking-card--chip .booking-card-subtitle,
.booking-card--chip .booking-card-meta,
.booking-card--chip .booking-card-price {
    display: none;
}

.booking-card--sport {
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.booking-card--facility .booking-card-thumb,
.booking-card--court .booking-card-thumb {
    aspect-ratio: 16 / 9;
}

.court-focus-banner {
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 0;
    overflow: hidden;
}

.court-focus-media img {
    aspect-ratio: 16 / 9;
    background: #eef2f7;
    display: block;
    object-fit: cover;
    width: 100%;
}

.court-focus-body {
    display: grid;
    gap: 8px;
    padding: 16px;
}

.court-focus-eyebrow {
    color: #0b5ed7;
    font-size: 0.85rem;
    font-weight: 700;
}

.court-focus-title {
    color: #152238;
    font-weight: 800;
    margin: 0;
}

.court-focus-subtitle {
    color: #627086;
    margin: 0;
}

.court-focus-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.court-focus-meta span {
    background: #eef5ff;
    border-radius: 999px;
    color: #0b5ed7;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 10px;
}

.schedule-board {
    background: #f8fbff;
    border: 1px solid #d8e2ef;
    border-radius: 24px;
    padding: 16px;
}

.schedule-board-toolbar {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.schedule-week-title {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
}

.schedule-week-title strong {
    color: #152238;
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.schedule-week-title span {
    color: #6b7a90;
    display: block;
    font-size: 0.88rem;
    margin-top: 4px;
}

.schedule-duration-chip {
    align-items: center;
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 999px;
    display: inline-flex;
    gap: 8px;
    padding: 8px 12px;
    width: fit-content;
}

.schedule-duration-chip span {
    color: #6b7a90;
    font-size: 0.85rem;
    font-weight: 700;
}

.schedule-duration-chip strong {
    color: #152238;
    font-size: 0.92rem;
    font-weight: 800;
}

.schedule-week-nav {
    align-items: center;
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 12px;
    color: #243142;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    min-height: 46px;
    padding: 10px 14px;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.schedule-week-nav:hover,
.schedule-week-nav:focus {
    border-color: #86b7fe;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.14);
    outline: 0;
    transform: translateY(-1px);
}

.schedule-week-nav svg {
    height: 18px;
    width: 18px;
}

.schedule-week-nav-primary {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.schedule-week-nav-primary:hover,
.schedule-week-nav-primary:focus {
    background: #0b5ed7;
    border-color: #0b5ed7;
    color: #fff;
}

.schedule-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 14px;
}

.schedule-legend-item {
    align-items: center;
    color: #4f5d73;
    display: inline-flex;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.schedule-legend-dot {
    border-radius: 999px;
    display: inline-block;
    height: 10px;
    width: 10px;
}

.schedule-legend-dot.available {
    background: #198754;
}

.schedule-legend-dot.booked {
    background: #dc3545;
}

.schedule-legend-dot.selected {
    background: #0d6efd;
}

.schedule-legend-dot.closed {
    background: #6c757d;
}

.schedule-legend-dot.past {
    background: #8a94a6;
}

.schedule-loading,
.schedule-empty {
    align-items: center;
    background: #fff;
    border: 1px dashed #cdd9ea;
    border-radius: 12px;
    color: #627086;
    display: flex;
    justify-content: center;
    min-height: 108px;
    padding: 16px;
    text-align: center;
}

.schedule-grid-scroll {
    overflow-x: auto;
    padding-bottom: 6px;
}

.schedule-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: 160px repeat(7, minmax(150px, 1fr));
    min-width: 1240px;
}

.schedule-grid-corner,
.schedule-day-header,
.schedule-slot-label,
.schedule-cell {
    border: 1px solid #d8deea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.schedule-grid-corner {
    align-items: center;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
    color: #17304e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 82px;
    padding: 12px;
    text-align: center;
}

.schedule-grid-corner span {
    font-size: 0.82rem;
    font-weight: 600;
}

.schedule-grid-corner strong {
    font-size: 1rem;
    font-weight: 800;
    margin-top: 4px;
}

.schedule-day-header {
    min-height: 82px;
    padding: 12px 10px;
    text-align: center;
}

.schedule-day-header strong {
    color: #152238;
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
}

.schedule-day-header span {
    color: #617086;
    display: block;
    font-size: 0.86rem;
    margin-top: 6px;
}

.schedule-day-header.is-today {
    border-color: #0d6efd;
    background: #eaf2ff;
}

.schedule-day-header.is-past {
    opacity: 0.72;
}

.schedule-slot-label {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 88px;
    padding: 12px;
    text-align: center;
}

.schedule-slot-label strong {
    color: #152238;
    font-size: 1rem;
    font-weight: 800;
}

.schedule-slot-label span {
    color: #6b7a90;
    font-size: 0.88rem;
    margin-top: 6px;
}

.schedule-cell {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: flex-start;
    min-height: 88px;
    padding: 10px;
    text-align: start;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
    width: 100%;
}

.schedule-cell:hover:not(:disabled) {
    border-color: #86b7fe;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.12);
    transform: translateY(-1px);
}

.schedule-cell:disabled {
    cursor: not-allowed;
}

.schedule-cell-time {
    color: #152238;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.5;
}

.schedule-cell-time.is-disabled {
    color: #98a2b3;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.schedule-cell--available {
    background: linear-gradient(180deg, #ffffff 0%, #f4fff8 100%);
    border-color: rgba(25, 135, 84, 0.28);
}

.schedule-cell--booked,
.schedule-cell--past,
.schedule-cell--closed,
.schedule-cell--unavailable {
    background: #f8fafc;
    border-color: #d8deea;
    color: #8a95a5;
}

.schedule-cell--booked {
    background: linear-gradient(180deg, #fff 0%, #fff4f5 100%);
}

.schedule-cell--past {
    opacity: 0.72;
}

.schedule-cell--booked .schedule-cell-time,
.schedule-cell--past .schedule-cell-time,
.schedule-cell--closed .schedule-cell-time,
.schedule-cell--unavailable .schedule-cell-time {
    color: #98a2b3;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.schedule-cell--closed {
    background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}

.schedule-cell.is-selected {
    border-color: #0d6efd;
    box-shadow: 0 12px 26px rgba(13, 110, 253, 0.18);
    outline: 2px solid rgba(13, 110, 253, 0.12);
}

.schedule-selection-summary {
    align-items: center;
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 12px;
    color: #253141;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    justify-content: space-between;
    margin-top: 14px;
    padding: 14px 16px;
}

.schedule-selection-summary span {
    color: #6b7a90;
    font-size: 0.9rem;
    font-weight: 700;
}

.schedule-selection-summary strong {
    font-size: 0.95rem;
    font-weight: 800;
}

.booking-checkout-footer {
    align-items: center;
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 20px;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-top: 16px;
    padding: 14px 16px;
}

.booking-checkout-price {
    display: grid;
    gap: 4px;
}

.booking-checkout-price span {
    color: #6b7a90;
    font-size: 0.85rem;
    font-weight: 700;
}

.booking-checkout-price strong {
    color: #152238;
    font-size: 1.3rem;
    font-weight: 900;
}

.booking-checkout-price small {
    color: #0b5ed7;
    font-weight: 700;
}

.booking-checkout-btn {
    min-width: 180px;
}

.booking-preview-card {
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 22px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    padding: 18px;
}

.checkout-sheet-modal .modal-dialog {
    max-width: 760px;
}

.checkout-sheet-modal .modal-content {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
}

.schedule-modal .modal-dialog {
    max-width: 1180px;
}

.schedule-modal .modal-content {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
}

.schedule-modal .modal-body {
    background: #f7faff;
}

.schedule-modal .schedule-board {
    background: #fff;
    min-height: 100%;
}

.schedule-modal .schedule-grid-scroll {
    -webkit-overflow-scrolling: touch;
}

.checkout-sheet-header {
    align-items: flex-start;
}

.checkout-sheet-eyebrow {
    color: #0b5ed7;
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.checkout-sheet-summary {
    background: #f8fbff;
    border: 1px solid #d8e2ef;
    border-radius: 20px;
    padding: 14px;
}

.checkout-sheet-section {
    border-top: 1px solid #eef2f7;
    margin-top: 18px;
    padding-top: 18px;
}

.promo-code-row {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.promo-clear-btn {
    min-width: 44px;
}

.team-entry-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-entry-card {
    background: #f8fbff;
    border: 1px solid #d8e2ef;
    border-radius: 16px;
    padding: 14px;
}

.checkout-terms {
    background: #f8fbff;
    border: 1px solid #d8e2ef;
    border-radius: 16px;
    padding: 14px;
}

.checkout-terms .form-check {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    margin: 0;
}

.checkout-terms .form-check-input {
    margin-top: 4px;
}

.checkout-terms .form-check-label {
    color: #243142;
    line-height: 1.7;
}

.checkout-sheet-footer {
    align-items: center;
    gap: 12px;
    justify-content: space-between;

}

.checkout-sheet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.checkout-sheet-actions .btn {
    min-width: 140px;
}

.checkout-sheet-total {
    display: grid;
    gap: 4px;
}

.checkout-sheet-total span {
    color: #6b7a90;
    font-size: 0.85rem;
    font-weight: 700;
}

.checkout-sheet-total strong {
    color: #152238;
    font-size: 1.2rem;
    font-weight: 900;
}

.touch-option:hover,
.touch-option:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    outline: 0;
}

.touch-option.selected {
    border-color: #0d6efd;
    background: #eaf2ff;
    color: #0b5ed7;
    box-shadow: inset 0 0 0 1px #0d6efd;
}

.touch-option.selected .touch-option-content span {
    color: #0b5ed7;
}

.court-details {
    border: 0;
    background: transparent;
    margin-top: 0;
    padding: 0;
}

.court-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.court-player-format {
    align-items: center;
    background: #eef5ff;
    border: 1px solid #d7e7ff;
    border-radius: 999px;
    color: #0b5ed7;
    display: inline-flex;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
}

.court-player-format strong {
    color: #243142;
    font-size: 1rem;
    line-height: 1;
}

.court-image {
    margin: 0;
}

.court-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    background: #eef2f7;
}

.court-image figcaption {
    color: #697586;
    font-size: 0.85rem;
    margin-top: 6px;
}

.court-empty {
    background: #f7f8fb;
    border-radius: 8px;
    color: #697586;
    padding: 16px;
}

.court-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.court-spec {
    background: #f7f8fb;
    border-radius: 8px;
    padding: 10px 12px;
}

.court-spec-header {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.court-spec-highlight {
    align-items: center;
    background: #eef5ff;
    border: 1px solid #d7e7ff;
    display: flex;
    gap: 10px;
}

.court-spec-icon {
    color: #0b5ed7;
    flex: 0 0 auto;
    height: 18px;
    width: 18px;
}

.court-spec span {
    color: #697586;
    display: block;
    font-size: 0.85rem;
}

.court-spec strong {
    color: #243142;
}

.court-spec-highlight .court-spec-header {
    margin-bottom: 0;
}

.court-spec-highlight strong {
    font-size: 1rem;
    line-height: 1;
}

.court-description {
    color: #3d4a5c;
    line-height: 1.8;
    margin-bottom: 14px;
}

.court-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.court-amenities span {
    background: #eaf2ff;
    border-radius: 999px;
    color: #0b5ed7;
    font-weight: 600;
    padding: 6px 12px;
}

.court-extras {
    margin-top: 18px;
}

.court-details-schedule {
    margin-top: 20px;
}

.court-details-schedule-head {
    margin-bottom: 12px;
}

.extra-service-options {
    display: grid;
    gap: 10px;
}

.extra-service-option {
    align-items: flex-start;
    background: #f7f9fc;
    border: 1px solid #d8deea;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    gap: 12px;
    padding: 12px 14px;
}

.extra-service-option input {
    accent-color: #0d6efd;
    flex: 0 0 auto;
    margin-top: 4px;
}

.extra-service-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
}

.extra-service-content strong {
    color: #243142;
}

.extra-service-content small {
    color: #697586;
    font-size: 0.85rem;
}

.extra-service-price {
    color: #0b5ed7;
    font-weight: 700;
}

.booking-videos-list {
    display: grid;
    gap: 12px;
}

.booking-video-card {
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 8px;
    overflow: hidden;
}

.booking-video-card video {
    aspect-ratio: 16 / 9;
    background: #000;
    display: block;
    width: 100%;
}

.booking-video-caption {
    color: #3d4a5c;
    font-size: 0.9rem;
    padding: 10px 12px;
}

@media (max-width: 767.98px) {
    body {
        background: #fff;
    }

    .navbar {
        align-items: stretch;
        padding-bottom: 12px;
        padding-top: 12px;
    }

    .navbar-brand {
        font-size: 1rem;
        line-height: 1.35;
        margin-inline-end: 0;
        width: 100%;
    }

    .navbar-nav {
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }

    .navbar-nav .nav-link {
        background: #f1f5fb;
        border-radius: 8px;
        flex: 1;
        min-height: 44px;
        padding: 10px 12px;
        text-align: center;
    }

    main.container {
        padding-inline: 10px;
        padding-top: 12px !important;
    }

    .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    .card {
        border-radius: 0;
        box-shadow: none !important;
    }

    .card-body {
        padding: 16px;
    }

    h2.h4,
    h3.h5 {
        line-height: 1.35;
    }

    .booking-steps {
        grid-template-columns: repeat(7, minmax(70px, 1fr));
        overflow-x: auto;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
    }

    .booking-step {
        font-size: 0.9rem;
        min-width: 72px;
        min-height: 58px;
        padding: 8px 6px;
        scroll-snap-align: start;
    }

    .booking-step span {
        font-size: 0.72rem;
        line-height: 1.25;
    }

    .touch-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .booking-hero-body {
        gap: 12px;
        min-width: 0;
        width: 100%;
    }

    .booking-hero-title {
        font-size: 1.35rem;
        overflow-wrap: anywhere;
    }

    .booking-hero-text {
        font-size: 0.94rem;
    }

    .booking-search-bar {
        grid-template-columns: 22px minmax(0, 1fr);
        min-width: 0;
        width: 100%;
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .booking-page .row.g-4 {
        display: block;
        margin-inline: 0;
        max-width: 100%;
        width: 100%;
    }

    .booking-workspace {
        display: block;
        min-width: 0;
        width: 100%;
    }

    .booking-hero,
    .booking-panel {
        min-width: 0;
        width: 100%;
    }

    .booking-search-clear {
        grid-column: 1 / -1;
        width: 100%;
    }

    .booking-card-strip {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .booking-card-strip .booking-card,
    .booking-card-strip .booking-card--chip {
        flex: 0 0 clamp(140px, 30vw, 220px);
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        scroll-snap-align: start;
    }

    .booking-card-grid {
        min-width: 0;
    }

    .booking-card--chip,
    .booking-card,
    .booking-card--vertical {
        min-width: 0;
    }

    .booking-card-content {
        gap: 8px;
        padding: 12px;
    }

        .booking-checkout-footer {
            align-items: stretch;
            flex-direction: column;
        }

        .booking-checkout-btn {
            min-width: 0;
            width: 100%;
        }

        .promo-code-row {
            grid-template-columns: 1fr;
        }

        .checkout-sheet-modal .modal-content {
            border-radius: 24px 24px 0 0;
        }

        .touch-option {
            min-height: 64px;
            padding: 14px;
        }

        .touch-option-thumb {
            flex-basis: 84px;
            height: 64px;
            width: 84px;
        }

        .schedule-board {
            padding: 12px;
        }

        .schedule-modal .modal-dialog {
            margin: 0;
            max-width: 100%;
            min-height: 100%;
        }

        .schedule-modal .modal-content {
            border-radius: 24px 24px 0 0;
            min-height: 100%;
        }

        .schedule-modal .modal-body {
            max-height: calc(100vh - 118px);
            overflow-y: auto;
            padding: 12px;
        }

        .schedule-board-toolbar {
            align-items: stretch;
            flex-direction: column;
            gap: 10px;
        }

        .schedule-week-title {
            text-align: start;
        }

        .schedule-week-nav {
            width: 100%;
        }

        .schedule-grid {
            grid-template-columns: 96px repeat(7, minmax(96px, 1fr));
            min-width: 820px;
        }

        .schedule-grid-corner,
        .schedule-day-header,
        .schedule-slot-label,
        .schedule-cell {
            min-height: 78px;
            padding: 8px;
        }

        .schedule-cell-time {
            font-size: 0.82rem;
        }

        .schedule-week-title strong {
            font-size: 0.98rem;
        }

        .schedule-week-title span {
            font-size: 0.8rem;
        }

        .schedule-duration-chip {
            width: 100%;
        }

        .booking-checkout-price {
            width: 100%;
        }

            .booking-checkout-price strong {
                font-size: 1rem;
            }

        .schedule-selection-summary {
            align-items: flex-start;
            flex-direction: column;
        }

        .court-details {
            margin-inline: -4px;
            padding: 12px;
        }

        .court-images {
            display: flex;
            gap: 10px;
            margin-inline: -12px;
            overflow-x: auto;
            padding-inline: 12px;
            scroll-snap-type: x mandatory;
        }

        .court-image {
            flex: 0 0 86%;
            scroll-snap-align: start;
        }

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

        .court-details-modal .modal-content,
        .checkout-sheet-modal .modal-content {
            border-radius: 24px 24px 0 0;
        }

        .summary-item {
            align-items: flex-start;
            flex-direction: column;
            gap: 4px;
        }

        .sticky-summary {
            position: static;
        }

        .icon-only-btn {
            width: 40px !important;
            height: 40px;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
        }

        .clear-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }

        .summary-action-btn {
            box-sizing: border-box;
            flex: 1 1 0;
            min-width: 0;
            min-inline-size: 0;
            width: auto;
            min-height: 44px;
            justify-content: center;
            padding: 8px 10px;
        }

        .summary-action-label {
            font-size: 0.78rem;
            max-width: 96px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            min-width: 0;
        }

        .summary-action-btn strong {
            flex: 0 0 auto;
        }

        .cart-summary-page {
            padding: 12px;
        }

        .court-details-modal-footer {
            flex-direction: column-reverse;
            align-items: stretch;
        }

        .checkout-sheet-modal .modal-dialog {
            align-items: flex-end;
            margin: 0;
            min-height: 100%;
        }

        .step-navigation {
            align-items: stretch;
            gap: 8px;
            padding: 8px;
        }

        .step-nav-btn {
            flex: 1;
            min-width: 0;
            padding-inline: 12px;
        }

    .form-control,
        .form-select,
        .btn {
            min-height: 46px;
        }

        .booking-result-hero {
            grid-template-columns: 1fr;
            padding: 16px;
        }

        .booking-result-grid {
            grid-template-columns: 1fr;
        }

        .booking-result-actions,
        .booking-result-actions form,
        .booking-result-actions .btn {
            width: 100%;
        }

        .booking-result-panel dl div,
        .booking-result-money div,
        .booking-extra-item {
            align-items: flex-start;
            flex-direction: column;
            gap: 4px;
        }

        .booking-result-panel dd {
            text-align: start;
        }

        footer {
            font-size: 0.85rem;
            margin-bottom: 72px;
        }
    }

@media (max-width: 420px) {
    .court-specs {
        grid-template-columns: 1fr;
    }

    .court-image {
        flex-basis: 92%;
    }
}

/* Final polish for featured court cards */
.booking-featured-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
    gap: 16px;
}

.booking-featured-head {
    border-bottom: 1px solid rgba(226, 232, 239, 0.82);
    padding-bottom: 10px;
}

.booking-featured-head h2 {
    color: var(--app-ink, #101827);
    font-weight: 900;
    letter-spacing: 0;
}

.booking-featured-head p {
    color: #6c788a !important;
    font-size: 0.92rem;
    line-height: 1.6;
}

.booking-card-grid--featured {
    gap: 14px;
}

.booking-card--featured {
    background: #fff;
    border: 1px solid rgba(218, 228, 242, 0.94);
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(16, 24, 39, 0.07);
    overflow: hidden;
    text-align: start;
    transform: translateZ(0);
}

.booking-card--featured:hover,
.booking-card--featured:focus {
    border-color: rgba(20, 94, 231, 0.34);
    box-shadow: 0 16px 36px rgba(20, 94, 231, 0.13);
    transform: translateY(-2px);
}

.booking-card--featured:active {
    box-shadow: 0 8px 22px rgba(20, 94, 231, 0.11);
    transform: scale(0.99);
}

.featured-card-media {
    aspect-ratio: 16 / 9.4;
    background: linear-gradient(135deg, #dce9fb, #f2f7ff);
    margin: 10px 10px 0;
    max-height: none !important;
    overflow: hidden;
    border-radius: 18px;
}

.featured-card-thumb {
    aspect-ratio: 16 / 9.4;
    height: 100%;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    transition: transform 260ms ease;
    width: 100%;
}

.booking-card--featured:hover .featured-card-thumb,
.booking-card--featured:focus .featured-card-thumb {
    transform: scale(1.025);
}

.featured-card-placeholder {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(20, 94, 231, 0.18), rgba(22, 163, 123, 0.18)),
        #edf4ff;
    color: #145ee7;
    display: flex;
    font-weight: 900;
    height: 100%;
    justify-content: center;
    min-height: 136px;
    width: 100%;
}

.featured-card-overlay {
    background: rgba(16, 24, 39, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    bottom: 10px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    inset-inline-start: 10px;
    line-height: 1;
    padding: 7px 10px;
    position: absolute;
}

.featured-card-content {
    gap: 8px;
    padding: 12px 14px 14px !important;
}

.featured-card-title {
    color: #101827;
    display: -webkit-box;
    font-size: 1.06rem !important;
    font-weight: 900;
    line-height: 1.45;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.featured-card-location {
    color: #6a7688;
    display: -webkit-box;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.featured-card-footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    margin-top: 2px;
}

.featured-card-price {
    background: #eaf3ff;
    border: 1px solid rgba(20, 94, 231, 0.16);
    color: #0f55d8;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 6px 10px;
}

.featured-card-rating {
    align-items: center;
    background: #fff8e8;
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 999px;
    color: #946200;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    gap: 4px;
    padding: 6px 9px;
}

.featured-card-hint {
    color: #16a37b;
    font-size: 0.82rem;
    font-weight: 800;
    margin-top: 2px;
}

@media (max-width: 767.98px) {
    .booking-featured-panel {
        gap: 12px;
        padding: 13px;
    }

    .booking-featured-head {
        padding-bottom: 8px;
    }

    .booking-card-grid--featured {
        gap: 11px;
    }

    .booking-card--featured {
        border-radius: 21px;
        box-shadow: 0 9px 24px rgba(16, 24, 39, 0.065);
    }

    .featured-card-media {
        aspect-ratio: 16 / 8.7;
        border-radius: 16px;
        margin: 8px 8px 0;
    }

    .featured-card-thumb {
        aspect-ratio: 16 / 8.7;
    }

    .featured-card-placeholder {
        min-height: 128px;
    }

    .featured-card-content {
        gap: 7px;
        padding: 10px 12px 12px !important;
    }

    .featured-card-title {
        font-size: 1rem !important;
    }

    .featured-card-location {
        font-size: 0.86rem;
    }

    .featured-card-price,
    .featured-card-rating {
        font-size: 0.74rem;
        padding: 5px 8px;
    }
}

/* Booking intro screen */
.booking-intro-screen {
    align-items: center;
    background:
        linear-gradient(180deg, rgba(11, 26, 52, 0.58), rgba(6, 16, 31, 0.76)),
        url("/uploads/courts/5/e8799c6ff26d42f2836d747a8747d729.jpeg") center / cover;
    color: #fff;
    display: grid;
    inset: 0;
    min-height: 100svh;
    opacity: 0;
    padding: max(24px, env(safe-area-inset-top)) 18px max(32px, env(safe-area-inset-bottom));
    pointer-events: none;
    position: fixed;
    transform: scale(1.018);
    transition:
        opacity 520ms ease,
        transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
        visibility 520ms ease;
    visibility: hidden;
    z-index: 3000;
}

.booking-intro-screen.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    visibility: visible;
}

.booking-intro-screen.is-leaving {
    opacity: 0;
    transform: translateY(-14px) scale(1.012);
}

.booking-intro-card {
    animation: bookingIntroCardIn 780ms cubic-bezier(0.22, 1, 0.36, 1) both;
    margin-inline: auto;
    max-width: 520px;
    text-align: right;
    width: min(100%, 520px);
}

.booking-intro-card h1 {
    color: #fff;
    font-size: clamp(2rem, 11vw, 3.6rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 12px 0 0;
}

.booking-intro-card .booking-app-subtitle {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-top: 14px;
    max-width: 430px;
}

.booking-intro-card .booking-app-eyebrow {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
}

body.booking-intro-active {
    overflow: hidden;
}

body.booking-intro-active .booking-page,
body.booking-intro-active .booking-summary-toolbar,
body.booking-intro-active .booking-mobile-nextbar {
    opacity: 0;
}

.booking-page .booking-app-hero,
.booking-app-progress,
.booking-app-progress-track {
    display: none !important;
}

.booking-home-search {
    margin-top: 0 !important;
}

@keyframes bookingIntroCardIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }

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

@media (max-width: 767.98px) {
    .booking-intro-screen {
        align-items: end;
        padding-inline: 22px;
    }

    .booking-intro-card {
        padding-bottom: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .booking-intro-screen,
    .booking-intro-card {
        animation: none;
        transition: opacity 180ms ease, visibility 180ms ease;
    }
}

.admin-login-card {
    border-radius: 16px;
}

.account-card {
    max-width: 460px;
}

.admin-shortcut {
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-dashboard-hero {
    border-radius: 18px;
}

.admin-top-logout-form {
    display: flex;
    margin: 0;
}

.admin-nav-action {
    appearance: none;
    background: transparent;
    border: 0;
    color: var(--bs-nav-link-color);
    font: inherit;
    line-height: inherit;
    margin: 0;
    text-align: center;
}

.admin-nav-action:hover,
.admin-nav-action:focus {
    color: var(--bs-nav-link-hover-color);
}

.admin-top-menu-backdrop {
    background: rgba(15, 23, 42, 0.18);
    bottom: 0;
    inset-inline: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: var(--admin-top-menu-offset, 64px);
    transition: opacity 180ms ease, visibility 180ms ease;
    visibility: hidden;
    z-index: 1045;
}

.admin-top-menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.admin-top-menu-panel {
    inset-inline: 12px;
    margin-inline: auto;
    max-height: calc(100vh - var(--admin-top-menu-offset, 64px) - 18px);
    max-width: 1080px;
    opacity: 0;
    overflow-y: auto;
    pointer-events: none;
    position: fixed;
    top: calc(var(--admin-top-menu-offset, 64px) + 10px);
    transform: translateY(-22px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
    visibility: hidden;
    width: min(1080px, calc(100vw - 24px));
    z-index: 1050;
}

.admin-top-menu-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.admin-top-menu-panel-inner {
    background: #fff;
    border: 1px solid rgba(211, 222, 237, 0.95);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    padding: 20px;
}

.admin-top-menu-panel-header {
    align-items: center;
    border-bottom: 1px solid #e5edf7;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
}

.admin-top-menu-close {
    align-items: center;
    background: #f8fbff;
    border: 1px solid #dbe4f0;
    border-radius: 10px;
    color: #16324f;
    display: inline-flex;
    font-size: 1.35rem;
    height: 40px;
    justify-content: center;
    line-height: 1;
    width: 40px;
}

.admin-top-menu-close:hover,
.admin-top-menu-close:focus {
    background: #eef6ff;
    border-color: #b8d1f0;
}

.admin-top-menu-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.admin-top-menu-link {
    align-items: center;
    background: #f8fbff;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    color: #16324f;
    display: flex;
    min-height: 46px;
    padding: 10px 12px;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.admin-top-menu-link:hover,
.admin-top-menu-link:focus {
    background: #eef6ff;
    border-color: #b8d1f0;
    color: #0d6efd;
    transform: translateY(-1px);
}

.admin-stats-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-stat-card {
    border-radius: 16px;
}

.admin-stat-card .card-body {
    min-height: 146px;
}

.admin-stat-value {
    color: #0d6efd;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.admin-dashboard-toolbar {
    display: flex;
    justify-content: flex-end;
}

.admin-analytics-open {
    align-items: center;
    border-radius: 12px;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    min-height: 42px;
    padding-inline: 18px;
}

.admin-analytics-backdrop {
    background: rgba(15, 23, 42, 0.24);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 180ms ease, visibility 180ms ease;
    visibility: hidden;
    z-index: 1060;
}

.admin-analytics-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.admin-analytics-panel {
    position: static;
}

.admin-analytics-panel-inner {
    padding-bottom: 12px;
}

.admin-analytics-panel-open {
    overflow: hidden;
}

.admin-analytics-panel-header {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.admin-analytics-close {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1.4rem;
    height: 42px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 42px;
}

.admin-analytics-section {
    border-radius: 18px;
}

.admin-analytics-filters {
    align-items: stretch;
    background: #f8fbff;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    inset-inline: 12px;
    margin-inline: auto;
    max-height: calc(100vh - 32px);
    max-width: 780px;
    opacity: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 18px;
    pointer-events: none;
    position: fixed;
    top: 16px;
    transform: translateY(-24px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
    visibility: hidden;
    width: min(780px, calc(100vw - 24px));
    z-index: 1070;
}

.admin-analytics-filters.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.admin-analytics-filter-header {
    align-items: flex-start;
    display: flex;
    gap: 16px;
    grid-column: 1 / -1;
    justify-content: space-between;
}

.admin-analytics-filter-alert {
    grid-column: 1 / -1;
}

.admin-analytics-filter-actions {
    align-self: end;
    display: flex;
    gap: 10px;
    grid-column: 1 / -1;
    justify-content: flex-end;
}

.admin-analytics-filter-actions .btn {
    min-height: 38px;
    white-space: nowrap;
}

.admin-charts-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-chart-card {
    background: #fff;
    border: 1px solid #e5edf7;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 16px;
}

.admin-chart-card-header h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 4px;
}

.admin-chart-card-header p {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

.admin-chart-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.admin-chart-summary span {
    background: #eef6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 7px 12px;
}

.admin-chart-canvas-wrap {
    align-items: center;
    display: flex;
    flex: 1;
    justify-content: center;
    min-height: 260px;
    padding-top: 12px;
    position: relative;
}

.admin-chart-canvas-wrap canvas {
    max-height: 280px;
    width: 100% !important;
}

.admin-chart-empty {
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: #64748b;
    display: none;
    font-size: 0.925rem;
    justify-content: center;
    line-height: 1.7;
    margin: 0;
    min-height: 170px;
    padding: 18px;
    text-align: center;
    width: 100%;
}

.admin-chart-empty.is-visible {
    display: flex;
}

.admin-bookings-today-section {
    border-radius: 18px;
}

.admin-booking-tables-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.admin-booking-table-card {
    background: #fff;
    border: 1px solid #e5edf7;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.admin-booking-table-header {
    background: #f8fbff;
    border-bottom: 1px solid #e5edf7;
    padding: 16px;
}

.admin-booking-table-header h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.5;
    margin: 0 0 12px;
}

.admin-booking-table-totals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-booking-table-totals span {
    background: #eef6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 6px 10px;
}

.admin-booking-table-scroll {
    max-height: 620px;
    overflow: auto;
    overscroll-behavior: contain;
}

.admin-booking-table {
    min-width: 760px;
}

.admin-booking-table th {
    background: #fbfdff;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 800;
    position: sticky;
    top: 0;
    z-index: 1;
    white-space: nowrap;
}

.admin-booking-table td {
    color: #0f172a;
    font-size: 0.875rem;
    white-space: nowrap;
}

.admin-booking-pagination {
    align-items: center;
    background: #fff;
    border-top: 1px solid #e5edf7;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 14px 16px;
}

.admin-booking-page-button {
    align-items: center;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 800;
    justify-content: center;
    line-height: 1;
    min-height: 36px;
    min-width: 36px;
    padding: 0 12px;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.admin-booking-page-button:hover:not(:disabled),
.admin-booking-page-button:focus-visible:not(:disabled),
.admin-booking-page-button.is-active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.admin-booking-page-button:disabled {
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.72;
}

.admin-booking-page-ellipsis {
    color: #64748b;
    font-weight: 800;
    padding-inline: 4px;
}

.admin-booking-table-empty {
    align-items: center;
    color: #64748b;
    display: flex;
    justify-content: center;
    line-height: 1.8;
    margin: 0;
    min-height: 120px;
    padding: 20px;
    text-align: center;
}

@media (max-width: 991.98px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-analytics-filters,
    .admin-charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .admin-dashboard-toolbar {
        justify-content: stretch;
    }

    .admin-analytics-open {
        justify-content: center;
        width: 100%;
    }

    .admin-analytics-filters {
        inset-inline: 8px;
        max-height: calc(100vh - 16px);
        top: 8px;
        width: calc(100vw - 16px);
    }

    .admin-analytics-panel-header,
    .admin-analytics-filter-header {
        align-items: stretch;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-analytics-filters {
        padding: 12px;
    }

    .admin-analytics-filter-actions {
        flex-direction: column;
    }

    .admin-analytics-filter-actions .btn {
        width: 100%;
    }

    .admin-chart-card {
        min-height: 330px;
        padding: 14px;
    }

    .admin-chart-canvas-wrap {
        min-height: 230px;
    }

    .admin-booking-table-scroll {
        max-height: 520px;
    }

    .admin-booking-pagination {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 12px;
    }
}

.admin-dashboard-section > .d-flex {
    border-bottom: 1px solid #e5edf7;
    padding-bottom: 8px;
}

.admin-dashboard-section .card-body {
    min-height: 132px;
}

.admin-home-order-table th,
.admin-home-order-table td {
    white-space: nowrap;
}

.admin-home-order-input {
    max-width: 110px;
}

.admin-shortcut:hover {
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.booking-video-link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.schedule-status-check {
    display: inline-flex;
    justify-content: center;
    width: 100%;
}

.schedule-status-check .form-check-input[disabled] {
    opacity: 1;
    cursor: default;
}

.operator-menu {
    border-radius: 16px;
}

.operator-shortcut {
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.operator-shortcut:hover {
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.operator-dashboard-section > .d-flex {
    border-bottom: 1px solid #e5edf7;
    padding-bottom: 8px;
}

.operator-dashboard-section .card-body {
    min-height: 132px;
}

.operator-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 128px;
    justify-content: center;
}

.operator-menu-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.operator-menu-list {
    display: grid;
    gap: 10px;
}

.operator-menu-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    color: #16324f;
    background: #f8fbff;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.operator-menu-link:hover {
    background: #eef6ff;
    border-color: #b8d1f0;
    transform: translateY(-1px);
}

.operator-menu-link.is-active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.operator-sales-report-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.operator-sales-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.operator-sales-print-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.operator-sales-filter-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.operator-sales-filter-summary span {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    color: #1e3a8a;
    display: inline-flex;
    gap: .25rem;
    padding: .35rem .65rem;
}

.operator-sales-table {
    min-width: 760px;
}

.operator-direct-booking-hero .card-body {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.operator-direct-booking-form {
    border-radius: 18px;
}

.operator-direct-booking-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.operator-direct-schedule {
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 1rem;
}

.operator-direct-schedule-head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.operator-direct-schedule-nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: flex-end;
}

.operator-direct-schedule-grid {
    display: grid;
    gap: 1rem;
}

.operator-direct-days-rail {
    justify-content: flex-start;
    padding: .15rem .1rem .7rem;
}

.operator-direct-days-rail .schedule-day-chip {
    min-width: 82px;
}

.operator-direct-slots-panel {
    background: transparent;
    border: 0;
    padding: 0;
}

.operator-direct-slots-grid {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.operator-direct-slots-grid .schedule-slot-chip {
    min-height: 78px;
}

.operator-direct-selected-slot {
    align-items: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    color: #1e40af;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: 1rem;
    padding: .75rem .9rem;
}

.operator-direct-selected-slot span {
    color: #64748b;
    font-size: .85rem;
}

.operator-direct-phone-lookup {
    align-items: stretch;
    display: grid;
    gap: .5rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.operator-direct-phone-lookup .btn {
    min-width: 76px;
}

.operator-direct-lookup-message {
    color: #64748b;
    font-size: .85rem;
    min-height: 1.25rem;
    padding-top: .35rem;
}

.operator-direct-lookup-message.is-success {
    color: #047857;
}

.operator-direct-lookup-message.is-error {
    color: #b91c1c;
}

.operator-direct-success-actions {
    border-radius: 18px;
}

.operator-direct-success-actions .card-body {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    justify-content: space-between;
}

.operator-direct-success-actions-title {
    color: #0f172a;
    font-weight: 700;
}

.operator-direct-success-actions-list {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.operator-direct-success-actions-list form {
    margin: 0;
}

.operator-direct-action-button {
    align-items: center;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    color: #1e3a8a;
    display: inline-flex;
    font-size: .88rem;
    font-weight: 700;
    justify-content: center;
    min-height: 42px;
    min-width: 74px;
    padding: .55rem .8rem;
    text-decoration: none;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.operator-direct-action-button:hover,
.operator-direct-action-button:focus {
    border-color: #3b82f6;
    box-shadow: 0 10px 24px rgba(59, 130, 246, .14);
    color: #1d4ed8;
    transform: translateY(-1px);
}

.operator-direct-action-button--whatsapp {
    color: #047857;
}

.operator-direct-action-button--email {
    color: #2563eb;
}

.operator-direct-action-button--pdf {
    color: #7c2d12;
}

.operator-direct-schedule-errors {
    display: grid;
    gap: .25rem;
    margin-top: .75rem;
}

.operator-direct-extra-services {
    background: #f8fbff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 1rem;
}

.operator-direct-extra-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.operator-direct-extra-card {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    gap: .65rem;
    padding: .8rem;
}

.operator-direct-extra-card input {
    margin-top: .25rem;
}

.operator-direct-extra-card strong,
.operator-direct-extra-card small {
    display: block;
}

.operator-direct-extra-card small {
    color: #2563eb;
    font-weight: 700;
    margin-top: .2rem;
}

.operator-direct-empty {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    padding: .85rem;
}

.operator-direct-booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

@media (max-width: 767.98px) {
    .operator-sales-report-head,
    .operator-sales-print-header {
        display: grid;
    }

    .operator-sales-actions {
        justify-content: stretch;
    }

    .operator-sales-actions .btn {
        flex: 1 1 100%;
    }

    .operator-direct-booking-grid,
    .operator-direct-extra-grid {
        grid-template-columns: 1fr;
    }

    .operator-direct-schedule-head {
        display: grid;
    }

    .operator-direct-schedule-nav {
        justify-content: stretch;
    }

    .operator-direct-schedule-nav .btn {
        flex: 1 1 0;
    }

    .operator-direct-slots-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .operator-direct-booking-actions .btn {
        width: 100%;
    }

    .operator-direct-phone-lookup,
    .operator-direct-success-actions .card-body,
    .operator-direct-success-actions-list {
        display: grid;
        grid-template-columns: 1fr;
    }

    .operator-direct-success-actions-list .operator-direct-action-button {
        width: 100%;
    }
}

@media print {
    .operator-sales-report-page .operator-sales-filter-card,
    .operator-sales-report-page .operator-sales-actions,
    .site-header,
    footer {
        display: none !important;
    }

    .operator-sales-report-page,
    .operator-sales-report-print-area {
        display: block !important;
    }

    .operator-sales-report-print-area .card {
        border: 0 !important;
        box-shadow: none !important;
    }

    .operator-sales-report-print-area .card-body {
        padding: 0 !important;
    }

    .operator-sales-report-print-area .table-responsive {
        overflow: visible !important;
    }

    .operator-sales-table {
        min-width: 0 !important;
        width: 100% !important;
    }
}

.admin-menu {
    border-radius: 16px;
}

.admin-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 128px;
    justify-content: center;
}

.admin-menu-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.admin-menu-list {
    display: grid;
    gap: 10px;
}

.admin-menu-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    color: #16324f;
    background: #f8fbff;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.admin-menu-link:hover {
    background: #eef6ff;
    border-color: #b8d1f0;
    transform: translateY(-1px);
}

.admin-menu-link.is-active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.booking-result-page {
    display: grid;
    gap: 16px;
    overflow-x: clip;
}

.booking-result-hero {
    align-items: stretch;
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 8px;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    padding: 22px;
}

.booking-result-hero h1 {
    color: #152238;
    font-size: 1.65rem;
    margin: 4px 0 8px;
}

.booking-result-hero p {
    color: #627086;
    margin: 0;
}

.booking-result-kicker {
    color: #0b5ed7;
    display: inline-block;
    font-weight: 800;
}

.booking-result-hero--success {
    border-color: rgba(25, 135, 84, 0.28);
    background: linear-gradient(180deg, #fff 0%, #f4fff8 100%);
}

.booking-result-hero--danger {
    border-color: rgba(220, 53, 69, 0.28);
    background: linear-gradient(180deg, #fff 0%, #fff4f5 100%);
}

.booking-result-hero--warning {
    border-color: rgba(255, 193, 7, 0.32);
    background: linear-gradient(180deg, #fff 0%, #fffaf0 100%);
}

.booking-result-status-card {
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 8px;
    display: grid;
    gap: 6px;
    padding: 16px;
}

.booking-result-status-card span,
.booking-result-status-card small {
    color: #627086;
    font-weight: 700;
}

.booking-result-status-card strong {
    color: #152238;
    font-size: 1.25rem;
    font-weight: 900;
}

.booking-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.booking-result-actions form {
    margin: 0;
}

.booking-result-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-result-panel {
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 8px;
    padding: 18px;
}

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

.booking-result-panel h2 {
    color: #152238;
    font-size: 1rem;
    margin: 0 0 14px;
}

.booking-result-panel dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.booking-result-panel dl div,
.booking-result-money div,
.booking-extra-item {
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding-bottom: 10px;
}

.booking-result-panel dl div:last-child,
.booking-result-money div:last-child,
.booking-extra-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.booking-result-panel dt,
.booking-result-money span {
    color: #627086;
    font-weight: 700;
}

.booking-result-panel dd {
    color: #152238;
    font-weight: 800;
    margin: 0;
    text-align: end;
}

.booking-result-money {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.booking-result-money strong,
.booking-extra-item strong {
    color: #152238;
}

.booking-result-money .total {
    background: #eef5ff;
    border: 0;
    border-radius: 8px;
    padding: 12px;
}

.booking-result-money .total strong {
    color: #0b5ed7;
    font-size: 1.15rem;
}

.booking-extra-list {
    display: grid;
    gap: 10px;
}

.booking-extra-item {
    background: #f8fbff;
    border: 1px solid #d8e2ef;
    border-radius: 8px;
    padding: 12px;
}
.booking-panel[data-step-panel="1"] .form-label {
    display: none;
}
.touch-option-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.touch-option-meta::before {
    content: "\1F465";
    font-size: 13px;
    line-height: 1;
    opacity: 0.8;
}

@media (max-width: 420px) {

    .summary-action-label {
        display: none;
    }

    .summary-action-btn {
        display: flex;
        gap: 8px;
        justify-content: center;
        padding-inline: 8px;
        width: 100%;
    }

    .summary-action-btn + .summary-action-btn {
        margin-top: 8px;
    }
}

@media (max-width: 575.98px) {
    .booking-page {
        width: 100% !important;
    }

    .booking-page .card,
    .booking-page .booking-hero,
    .booking-page .booking-panel,
    .booking-page .row.g-4,
    .booking-page .row.g-4 > .col-12,
    .booking-page .booking-workspace,

    .booking-page .booking-hero,
    .booking-page .booking-panel,

    .booking-page .row.g-4 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/***************************/
.booking-summary-toolbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

.summary-action-btn {
    align-items: center;
    justify-content: center;
    background: #86b7fe;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.28);
    color: #fff;
    display: inline-flex;
    gap: 10px;
    min-height: 52px;
    padding: 10px 16px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
    width: auto;
    min-width: 44px;
}

    .summary-action-btn:hover,
    .summary-action-btn:focus {
        background: #0b5ed7;
        box-shadow: 0 12px 28px rgba(13, 110, 253, 0.34);
        outline: 0;
        transform: translateY(-1px);
    }

.booking-summary-toolbar .summary-action-btn,
.booking-summary-toolbar .summary-action-btn-primary {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0;
}

.booking-stepbar {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #d8deea;
    border-radius: 16px;
    bottom: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
    gap: 8px;
    inset-inline: max(16px, calc((100vw - 1140px) / 2));
    margin-bottom: 0 !important;
    padding: 8px;
    position: fixed;
    z-index: 1025;
}

.booking-stepbar .booking-steps {
    min-width: 0;
}

.booking-stepbar .step-nav-btn {
    border-radius: 12px;
    min-height: 46px;
    min-width: 46px;
    padding: 8px;
}

.booking-stepbar .nav-icon {
    height: 20px;
    width: 20px;
}

.booking-stepbar .booking-step {
    align-content: center;
    font-size: 0.86rem;
    min-height: 48px;
    padding: 6px 8px;
}

.booking-stepbar .booking-step span {
    font-size: 0.72rem;
    line-height: 1.2;
    margin-top: 2px;
}

.booking-page,
.booking-result-page,
.checkout-sheet-modal,
.court-details-modal,
.customer-info-offcanvas {
    direction: rtl;
}

.modal-dialog-scrollable .modal-body,
.offcanvas-body {
    -webkit-overflow-scrolling: touch;
}

.court-details-modal .modal-dialog {
    max-width: min(1180px, calc(100vw - 24px));
}

.court-details-modal .modal-body,
.checkout-sheet-modal .modal-body {
    overflow-x: hidden;
}

.payment-method-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.payment-method-card {
    min-width: 0;
}

@media (max-width: 767.98px) {
    body {
        --booking-header-height: 60px;
        --booking-stepbar-height: 66px;
        --booking-toolbar-height: 72px;
    }

    .navbar {
        align-items: center;
        min-height: var(--booking-header-height);
        padding-block: 8px;
    }

    .navbar-shell {
        gap: 8px;
        justify-content: flex-start;
    }

    .navbar-shell .navbar-toggler {
        height: 42px;
        padding: 6px 9px;
        width: 42px;
    }

    .navbar-shell .navbar-brand {
        flex: 1 1 auto;
        font-size: 1rem;
        min-width: 0;
        overflow-wrap: anywhere;
        width: auto;
    }

    .booking-page {
        padding-bottom: calc(var(--booking-stepbar-height) + var(--booking-toolbar-height) + 44px);
    }

    .booking-sports-sticky {
        border-radius: 0;
        margin-inline: -16px;
        padding: 10px 12px;
        top: var(--booking-header-height);
    }

    .booking-sports-sticky .booking-card-strip {
        gap: 10px;
    }

    .booking-sports-sticky .booking-card-strip .booking-card,
    .booking-sports-sticky .booking-card-strip .booking-card--chip {
        flex-basis: clamp(112px, 38vw, 156px);
    }

    .booking-stepbar {
        border-radius: 14px;
        bottom: calc(var(--booking-toolbar-height) + 16px);
        gap: 6px;
        inset-inline: 8px;
        padding: 6px;
    }

    .booking-stepbar .booking-steps {
        display: grid;
        gap: 6px;
        grid-auto-flow: column;
        grid-auto-columns: minmax(62px, 1fr);
        grid-template-columns: none;
        min-width: 0;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        padding-bottom: 2px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .booking-stepbar .step-nav-btn {
        border-radius: 10px;
        min-height: 42px;
        min-width: 38px;
        padding: 6px;
    }

    .booking-stepbar .nav-icon {
        height: 18px;
        width: 18px;
    }

    .booking-stepbar .booking-step {
        font-size: 0.78rem;
        min-height: 44px;
        min-width: 62px;
        padding: 5px 4px;
        scroll-snap-align: start;
    }

    .booking-stepbar .booking-step span {
        font-size: 0.64rem;
        line-height: 1.15;
        margin-top: 1px;
    }

    .booking-summary-toolbar {
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid #d8deea;
        border-radius: 16px;
        bottom: 10px;
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
        inset-inline: 10px;
        padding: 8px;
        position: fixed;
        width: auto;
        z-index: 1020;
    }

    .booking-card-grid {
        grid-template-columns: 1fr;
    }

    .court-details-modal .modal-dialog,
    .checkout-sheet-modal .modal-dialog {
        align-items: flex-end;
        margin: 0;
        max-width: 100%;
        min-height: 100%;
    }

    .court-details-modal .modal-content,
    .checkout-sheet-modal .modal-content {
        border-radius: 22px 22px 0 0;
        max-height: 92vh;
    }

    .court-details-modal .modal-body,
    .checkout-sheet-modal .modal-body {
        max-height: calc(92vh - 132px);
        overflow-y: auto;
        padding-inline: 14px;
    }

    .schedule-grid-scroll {
        margin-inline: -4px;
        max-width: calc(100vw - 28px);
    }

    .schedule-grid {
        grid-template-columns: 92px repeat(7, minmax(92px, 1fr));
        min-width: 780px;
    }

    .payment-method-grid {
        grid-template-columns: 1fr;
    }

    .promo-code-row,
    .team-entry-grid {
        grid-template-columns: 1fr;
    }

    .checkout-sheet-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .checkout-sheet-footer .btn {
        width: 100%;
    }

    .checkout-sheet-actions {
        width: 100%;
    }

    .checkout-sheet-actions .btn {
        flex: 1 1 100%;
        min-width: 0;
    }

    .customer-info-offcanvas {
        height: min(86vh, 760px) !important;
    }
}

.booking-stepbar--hidden {
    display: none !important;
}

.booking-page {
    padding-bottom: calc(var(--booking-toolbar-height) + 42px);
}

.booking-sports-sticky {
    border-inline: 0;
    border-radius: 0;
    margin: 0 calc(50% - 50vw) 26px;
    padding: 12px max(16px, calc((100vw - 1140px) / 2));
    width: 100vw;
}

.booking-sports-carousel {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    min-width: 0;
}

.booking-sports-carousel .booking-card-strip {
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 8px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}

.sports-scroll-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #d8deea;
    border-radius: 12px;
    color: #0b5ed7;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    min-width: 42px;
    padding: 0;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.sports-scroll-btn:hover,
.sports-scroll-btn:focus {
    border-color: #0d6efd;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.16);
    outline: 0;
    transform: translateY(-1px);
}

.booking-summary-toolbar {
    border-radius: 0;
    margin: 28px calc(50% - 50vw) 0;
    padding: 12px max(16px, calc((100vw - 1140px) / 2));
    width: 100vw;
}

@media (max-width: 767.98px) {
    body {
        --booking-stepbar-height: 0px;
    }

    .booking-page {
        padding-bottom: calc(var(--booking-toolbar-height) + 30px);
    }

    .booking-sports-sticky {
        margin: 0 calc(50% - 50vw) 20px;
        padding: 10px 8px 12px;
    }

    .booking-sports-carousel {
        gap: 8px;
        grid-template-columns: 38px minmax(0, 1fr) 38px;
    }

    .sports-scroll-btn {
        border-radius: 10px;
        height: 38px;
        min-width: 38px;
    }

    .booking-sports-carousel .booking-card-strip .booking-card,
    .booking-sports-carousel .booking-card-strip .booking-card--chip {
        flex-basis: clamp(128px, 42vw, 168px);
    }

    .booking-summary-toolbar {
        border-inline: 0;
        border-radius: 18px 18px 0 0;
        bottom: 0;
        box-shadow: 0 -10px 28px rgba(15, 23, 42, 0.14);
        gap: 10px;
        inset-inline: 0;
        margin: 0;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        width: 100vw;
    }
}

/* Mobile-first app booking experience */
body {
    --app-bg: #f4f7fb;
    --app-surface: #ffffff;
    --app-text: #182235;
    --app-muted: #6d7a8d;
    --app-line: #dfe7f2;
    --app-primary: #1268f3;
    --app-primary-dark: #0b4fc4;
    --app-primary-soft: #eaf2ff;
    --app-success: #12a56a;
    --booking-stepbar-height: 84px;
    --booking-toolbar-height: 78px;
    --booking-progress: 14.285%;
    background:
        radial-gradient(circle at 20% 0, rgba(18, 104, 243, 0.09), transparent 34%),
        var(--app-bg);
    color: var(--app-text);
}

.booking-page {
    gap: 16px;
    margin-inline: auto;
    max-width: 1180px;
    padding-bottom: calc(var(--booking-stepbar-height) + var(--booking-toolbar-height) + 46px);
}

.booking-app-hero {
    align-items: center;
    background: linear-gradient(135deg, #0b4fc4, #1683ff);
    border-radius: 26px;
    box-shadow: 0 18px 44px rgba(18, 104, 243, 0.22);
    color: #fff;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.booking-app-hero::after {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 60%);
    content: "";
    height: 160px;
    inset-inline-start: -40px;
    position: absolute;
    top: -62px;
    width: 160px;
}

.booking-app-hero h1 {
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    margin: 4px 0 0;
}

.booking-app-eyebrow,
.booking-app-progress span {
    color: rgba(255, 255, 255, 0.82);
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
}

.booking-app-progress {
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    min-width: min(320px, 48%);
    padding: 12px;
    position: relative;
    z-index: 1;
}

.booking-app-progress strong {
    color: #fff;
    display: block;
    font-size: 1rem;
    margin-top: 2px;
}

.booking-app-progress-track {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    height: 8px;
    margin-top: 10px;
    overflow: hidden;
}

.booking-app-progress-track span {
    background: #fff;
    border-radius: inherit;
    display: block;
    height: 100%;
    width: var(--booking-progress);
}

.booking-page > .row.g-4 > .col-12 > .card {
    background: transparent;
    border: 0;
    box-shadow: none !important;
}

.booking-page > .row.g-4 > .col-12 > .card > .card-body {
    padding: 0;
}

.booking-workspace {
    display: grid;
    gap: 18px;
}

.booking-panel:not(.booking-sports-sticky) {
    background: var(--app-surface);
    border: 1px solid rgba(221, 231, 245, 0.9);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(24, 34, 53, 0.08);
    padding: 16px;
}

.booking-sports-sticky {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(223, 231, 242, 0.95);
    box-shadow: 0 14px 34px rgba(24, 34, 53, 0.08);
}

.booking-sports-carousel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
}

.sports-scroll-btn {
    background: #f7faff;
    border-color: #dbe7f7;
    color: var(--app-primary);
}

.booking-card-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.booking-card {
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(24, 34, 53, 0.08);
    color: var(--app-text);
    min-width: 0;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
}

.booking-card:hover,
.booking-card:focus {
    border-color: rgba(18, 104, 243, 0.55);
    box-shadow: 0 18px 38px rgba(18, 104, 243, 0.16);
}

.booking-card.selected {
    border-color: var(--app-primary);
    box-shadow: 0 0 0 3px rgba(18, 104, 243, 0.13), 0 18px 38px rgba(18, 104, 243, 0.17);
}

.booking-card.selected::after {
    align-items: center;
    background: var(--app-primary);
    border-radius: 999px;
    color: #fff;
    content: "✓";
    display: inline-flex;
    font-weight: 900;
    height: 26px;
    inset-inline-end: 12px;
    justify-content: center;
    position: absolute;
    top: 12px;
    width: 26px;
    z-index: 2;
}

.booking-card--chip {
    align-items: center;
    border-radius: 22px;
    box-shadow: 0 10px 24px rgba(24, 34, 53, 0.07);
    min-height: 76px;
    padding: 10px;
}

.booking-card--chip .booking-card-media {
    border-radius: 18px;
    height: 56px;
    width: 56px;
}

.booking-card--chip .booking-card-title {
    font-size: 0.98rem;
}

.booking-card--facility,
.booking-card--court {
    min-height: 100%;
}

.booking-card--facility .booking-card-media,
.booking-card--court .booking-card-media {
    aspect-ratio: 16 / 9;
    background: #dbe7f7;
    border-radius: 0;
    height: auto;
    width: 100%;
}

.booking-card--facility .booking-card-thumb,
.booking-card--court .booking-card-thumb {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.booking-card--facility .booking-card-content,
.booking-card--court .booking-card-content {
    padding: 14px;
}

.booking-card-title {
    color: var(--app-text);
    font-size: 1.02rem;
    line-height: 1.35;
}

.booking-card-subtitle,
.booking-card-meta {
    color: var(--app-muted);
    font-size: 0.9rem;
}

.booking-card-price {
    background: var(--app-primary-soft);
    border-radius: 999px;
    color: var(--app-primary-dark);
    font-size: 0.78rem;
    padding: 6px 10px;
    white-space: nowrap;
}

.court-details-modal .modal-dialog,
.checkout-sheet-modal .modal-dialog {
    max-width: min(980px, calc(100vw - 24px));
}

.court-details-modal .modal-content,
.checkout-sheet-modal .modal-content,
.customer-info-offcanvas {
    background: #f8fbff;
    border: 1px solid rgba(223, 231, 242, 0.95);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(24, 34, 53, 0.24);
    overflow: hidden;
}

.checkout-sheet-header,
.offcanvas-header {
    background: #fff;
    border-bottom: 1px solid #e6edf7;
    padding: 16px 18px;
}

.checkout-sheet-modal .modal-body,
.court-details-modal .modal-body,
.customer-info-offcanvas .offcanvas-body {
    padding: 16px;
}

.checkout-sheet-section,
.checkout-sheet-summary,
.customer-summary-box,
.court-details,
.court-details-schedule {
    background: #fff;
    border: 1px solid #e1eaf5;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(24, 34, 53, 0.07);
    padding: 14px;
}

.court-details {
    display: grid;
    gap: 12px;
}

.court-details h4 {
    font-size: 1.15rem;
    margin: 0;
}

.court-amenities,
.court-player-format {
    gap: 8px;
}

.court-amenities span,
.court-player-format {
    background: #f1f6ff;
    border: 1px solid #dfe9fb;
    border-radius: 999px;
    color: var(--app-primary-dark);
}

.court-details-schedule {
    margin-top: 14px;
}

.schedule-board,
.court-details-schedule {
    overflow: hidden;
}

.schedule-grid-scroll {
    border-radius: 18px;
}

.schedule-grid {
    gap: 8px;
}

.schedule-grid-corner,
.schedule-day-header,
.schedule-slot-label,
.schedule-cell {
    border-radius: 16px;
}

.schedule-day-header,
.schedule-slot-label {
    background: #f7faff;
    border: 1px solid #e1eaf5;
}

.schedule-cell {
    border: 1px solid #dfe7f2;
    box-shadow: none;
    min-height: 72px;
}

.schedule-cell--available {
    background: #fff;
}

.schedule-cell.is-selected {
    background: linear-gradient(135deg, var(--app-primary), #2a8cff);
    border-color: var(--app-primary);
    box-shadow: 0 12px 28px rgba(18, 104, 243, 0.24);
    color: #fff;
}

.schedule-cell.is-selected .schedule-cell-price,
.schedule-cell.is-selected .schedule-cell-time {
    color: #fff;
}

.schedule-cell--booked,
.schedule-cell--past,
.schedule-cell--closed,
.schedule-cell--unavailable {
    background: #f1f4f8;
    color: #9aa6b7;
}

.cart-summary-page,
.checkout-sheet-summary {
    display: grid;
    gap: 8px;
}

.summary-item,
.customer-summary-item {
    background: #f8fbff;
    border: 1px solid #e4edf8;
    border-radius: 16px;
    padding: 12px;
}

.summary-item span,
.customer-summary-item span {
    color: var(--app-muted);
    font-size: 0.86rem;
}

.summary-item strong,
.customer-summary-item strong {
    color: var(--app-text);
}

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

.payment-method-card {
    background: #fff;
    border: 1px solid #dfe7f2;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(24, 34, 53, 0.06);
    min-height: 94px;
    padding: 14px;
}

.payment-method-card.selected {
    border-color: var(--app-primary);
    box-shadow: 0 0 0 3px rgba(18, 104, 243, 0.12), 0 16px 34px rgba(18, 104, 243, 0.14);
}

.checkout-sheet-footer {
    background: #fff;
    border-top: 1px solid #e6edf7;
    margin: 14px -14px -14px;
    padding: 14px;
}

.btn-primary,
.summary-action-btn,
.summary-action-btn-primary {
    background: linear-gradient(135deg, var(--app-primary), #2b8cff);
    border-color: transparent;
}

.booking-app-stepper {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(220, 230, 244, 0.95);
    border-radius: 22px 22px 0 0;
    bottom: var(--booking-toolbar-height);
    box-shadow: 0 -12px 34px rgba(24, 34, 53, 0.13);
    inset-inline: 0;
    padding: 8px max(12px, calc((100vw - 1180px) / 2));
    width: 100vw;
}

.booking-app-stepper .booking-steps {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scroll-snap-type: x proximity;
}

.booking-app-stepper .booking-step {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 6px;
    min-height: 42px;
    min-width: 116px;
    padding: 7px 10px;
    scroll-snap-align: start;
}

.booking-app-stepper .booking-step span {
    font-size: 0.72rem;
    margin: 0;
}

.booking-app-stepper .step-nav-btn {
    border-radius: 999px;
    min-height: 42px;
    min-width: 42px;
}

.booking-summary-toolbar {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #dfe7f2;
    box-shadow: 0 -16px 34px rgba(24, 34, 53, 0.12);
}

@media (max-width: 767.98px) {
    body {
        --booking-stepbar-height: 74px;
        --booking-toolbar-height: 76px;
    }

    main.py-4 {
        padding-top: 12px !important;
    }

    main > .container {
        padding-inline: 12px;
    }

    .booking-page {
        max-width: 100%;
        padding-bottom: calc(var(--booking-stepbar-height) + var(--booking-toolbar-height) + 24px);
    }

    .booking-app-hero {
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .booking-app-progress {
        min-width: 0;
        width: 100%;
    }

    .booking-sports-sticky {
        top: var(--booking-header-height);
    }

    .booking-panel:not(.booking-sports-sticky) {
        border-radius: 24px;
        padding: 12px;
    }

    .booking-card-grid {
        grid-template-columns: 1fr;
    }

    .booking-card--facility,
    .booking-card--court {
        border-radius: 24px;
    }

    .court-details-modal .modal-dialog,
    .checkout-sheet-modal .modal-dialog {
        align-items: flex-end;
        margin: 0;
        max-width: 100%;
        min-height: 100%;
    }

    .court-details-modal .modal-content,
    .checkout-sheet-modal .modal-content,
    .customer-info-offcanvas {
        border-radius: 28px 28px 0 0;
        max-height: 92vh;
    }

    .schedule-grid {
        grid-template-columns: 74px repeat(7, minmax(86px, 1fr));
        min-width: 690px;
    }

    .schedule-cell {
        min-height: 64px;
    }

    .payment-method-grid {
        grid-template-columns: 1fr 1fr;
    }

    .booking-app-stepper {
        border-radius: 18px 18px 0 0;
        gap: 6px;
        padding: 7px 8px;
    }

    .booking-app-stepper .booking-step {
        min-height: 40px;
        min-width: 96px;
        padding: 6px 8px;
    }

    .booking-app-stepper .booking-step span {
        font-size: 0.66rem;
        line-height: 1.15;
    }

    .booking-summary-toolbar {
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
}

/* Premium mobile booking redesign */
.booking-page {
    --app-bg: #f6f8f7;
    --app-surface: #ffffff;
    --app-ink: #101827;
    --app-muted: #687588;
    --app-line: #e2e8ef;
    --app-primary: #145ee7;
    --app-primary-dark: #0b3f9e;
    --app-accent: #16a37b;
    --app-warm: #ffb84d;
    color: var(--app-ink);
}

.booking-app-hero {
    background:
        linear-gradient(135deg, rgba(16, 24, 39, 0.76), rgba(20, 94, 231, 0.66)),
        url("/uploads/courts/5/e8799c6ff26d42f2836d747a8747d729.jpeg") center / cover;
    border: 0;
    border-radius: 30px;
    min-height: 210px;
    padding: 22px;
}

.booking-app-hero::after {
    display: none;
}

.booking-app-hero h1 {
    font-size: clamp(1.65rem, 5vw, 2.6rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.18;
    max-width: 520px;
}

.booking-app-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.98rem;
    line-height: 1.7;
    margin: 10px 0 0;
    max-width: 540px;
}

.booking-home-search {
    margin-top: -30px;
    padding-inline: 14px;
    position: relative;
    z-index: 3;
}

.booking-search-bar {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(226, 232, 239, 0.95);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(16, 24, 39, 0.13);
    min-height: 62px;
}

.booking-search-icon {
    background: #eef6f2;
    border-radius: 16px;
    color: var(--app-accent);
    height: 42px;
    width: 42px;
}

.booking-section-title,
.booking-field-actions {
    align-items: center;
    display: flex;
    gap: 14px;
    justify-content: space-between;
}

.booking-section-title span,
.booking-section-kicker {
    color: var(--app-accent);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
}

.booking-section-title h2,
.booking-panel-head h2,
.booking-field-actions h2 {
    color: var(--app-ink);
    font-weight: 900;
    margin: 2px 0 0;
}

.booking-panel:not(.booking-sports-sticky),
.booking-preview-card,
.schedule-board {
    background: var(--app-surface);
    border: 1px solid rgba(226, 232, 239, 0.92);
    border-radius: 28px;
    box-shadow: 0 18px 44px rgba(16, 24, 39, 0.08);
}

.booking-sports-sticky {
    border: 1px solid rgba(226, 232, 239, 0.92);
    border-radius: 26px;
    padding: 14px;
    top: calc(var(--booking-header-height) + 10px);
}

.booking-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.booking-card {
    border: 1px solid rgba(226, 232, 239, 0.95);
    border-radius: 28px;
    box-shadow: 0 14px 34px rgba(16, 24, 39, 0.08);
}

.booking-card--facility .booking-card-media,
.booking-card--court .booking-card-media {
    aspect-ratio: 1.28 / 1;
    border-radius: 24px;
    margin: 10px 10px 0;
    overflow: hidden;
    width: auto;
}

.booking-card--facility .booking-card-content,
.booking-card--court .booking-card-content {
    gap: 9px;
    padding: 14px 16px 16px;
}

.booking-card-title {
    font-size: 1.08rem;
    font-weight: 900;
}

.booking-card-subtitle {
    align-items: center;
    display: flex;
    gap: 6px;
    line-height: 1.5;
}

.booking-card-subtitle::before {
    color: var(--app-accent);
    content: "⌖";
    font-weight: 900;
}

.booking-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.booking-card-stats span,
.court-focus-meta span,
.schedule-duration-chip {
    background: #f1f6f4;
    border: 1px solid #deebe7;
    border-radius: 999px;
    color: #26423b;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 6px 10px;
}

.booking-card-stats span:first-child {
    background: #fff8e8;
    border-color: #ffe4aa;
    color: #8a5a00;
}

.booking-card-price {
    background: #edf4ff;
    border: 1px solid #d8e7ff;
    color: var(--app-primary-dark);
}

.booking-card--chip {
    border-radius: 999px;
    min-width: 148px;
}

.booking-card--chip .booking-card-media {
    border-radius: 999px;
}

.court-focus-banner {
    border: 0;
    border-radius: 26px;
    box-shadow: none;
}

.court-focus-media img {
    aspect-ratio: 1.45 / 1;
    border-radius: 24px;
}

.booking-field-detail {
    display: grid;
    gap: 16px;
}

.booking-time-picker {
    display: grid;
    gap: 14px;
    overflow: visible;
    padding: 14px;
}

.schedule-board-toolbar {
    margin: 0;
}

.schedule-week-nav {
    border-radius: 18px;
    min-height: 46px;
    min-width: 46px;
    padding: 0;
}

.schedule-week-title {
    line-height: 1.35;
}

.schedule-duration-chip {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    width: 100%;
}

.schedule-duration-chip strong {
    color: var(--app-ink);
    font-size: 0.9rem;
}

.schedule-grid-scroll {
    overflow: visible;
    padding: 0;
}

.schedule-grid.schedule-app-picker {
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}

.schedule-days-rail {
    display: flex;
    gap: 10px;
    margin-inline: -2px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-snap-type: x proximity;
}

.schedule-day-chip {
    background: #fff;
    border: 1px solid var(--app-line);
    border-radius: 20px;
    box-shadow: 0 8px 18px rgba(16, 24, 39, 0.06);
    color: var(--app-ink);
    display: grid;
    flex: 0 0 76px;
    gap: 4px;
    min-height: 78px;
    padding: 10px 8px;
    scroll-snap-align: start;
    text-align: center;
}

.schedule-day-chip strong {
    font-size: 0.9rem;
    font-weight: 900;
}

.schedule-day-chip span {
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 800;
}

.schedule-day-chip.is-today {
    border-color: rgba(22, 163, 123, 0.42);
}

.schedule-day-chip.is-selected {
    background: var(--app-primary);
    border-color: var(--app-primary);
    box-shadow: 0 16px 32px rgba(20, 94, 231, 0.24);
    color: #fff;
}

.schedule-day-chip.is-selected span {
    color: rgba(255, 255, 255, 0.82);
}

.schedule-day-chip.is-past {
    opacity: 0.58;
}

.schedule-slots-panel {
    display: grid;
    gap: 12px;
}

.schedule-slots-title {
    align-items: end;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.schedule-slots-title span {
    color: var(--app-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.schedule-slots-title strong {
    color: var(--app-ink);
    font-size: 0.98rem;
    font-weight: 900;
}

.schedule-slots-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.schedule-slot-chip {
    border-radius: 18px;
    min-height: 74px;
    padding: 11px 12px;
}

.schedule-slot-chip.schedule-cell--available {
    background: #fff;
    border-color: #dce8e3;
}

.schedule-slot-chip.is-selected {
    background: var(--app-primary);
    border-color: var(--app-primary);
    color: #fff;
}

.schedule-cell-status {
    color: #9aa6b5;
}

.booking-mobile-nextbar {
    bottom: calc(var(--booking-toolbar-height) + 10px);
    box-shadow: 0 -18px 42px rgba(16, 24, 39, 0.15);
    inset-inline: max(12px, calc((100vw - 540px) / 2));
    margin: 0;
    position: fixed;
    z-index: 1040;
}

body:not([data-booking-step="3"]) .booking-mobile-nextbar {
    display: none;
}

.booking-checkout-btn {
    border-radius: 18px;
    min-height: 52px;
}

.checkout-sheet-modal .modal-dialog,
.court-details-modal .modal-dialog {
    align-items: flex-end;
}

.checkout-sheet-modal .modal-content,
.court-details-modal .modal-content,
.customer-info-offcanvas {
    border: 0;
    border-radius: 30px 30px 0 0;
}

.checkout-sheet-header,
.modal-header {
    align-items: center;
}

.court-details-modal-header {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #e6edf7;
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: space-between;
    padding: 16px 18px;
}

.court-details-modal-header .modal-title {
    color: #111827;
    flex: 1 1 auto;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.35;
    min-width: 0;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.court-details-modal-header .btn-close {
    flex: 0 0 auto;
    margin: 0;
    order: 2;
}

.booking-checkout-hero {
    background: linear-gradient(135deg, #101827, #145ee7);
    border-radius: 24px;
    color: #fff;
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
    padding: 16px;
}

.booking-checkout-hero span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.82rem;
    font-weight: 800;
}

.booking-checkout-hero strong {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
}

.payment-method-grid {
    gap: 10px;
}

.payment-method-card {
    border-radius: 20px;
    cursor: pointer;
    display: grid;
    gap: 5px;
    position: relative;
}

.payment-method-card input {
    position: absolute;
    opacity: 0;
}

.payment-method-card strong {
    color: var(--app-ink);
    font-size: 1rem;
    font-weight: 900;
}

.payment-method-card.selected {
    background: #eef5ff;
}

.checkout-sheet-footer {
    border-radius: 22px;
}

@media (min-width: 768px) {
    .booking-mobile-nextbar {
        inset-inline: max(24px, calc((100vw - 760px) / 2));
    }

    .court-focus-banner {
        grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
    }

    .court-focus-media img {
        height: 100%;
    }
}

@media (max-width: 767.98px) {
    .booking-app-hero {
        border-radius: 0 0 30px 30px;
        margin-inline: -12px;
        min-height: 245px;
        padding: 22px 18px 52px;
    }

    .booking-home-search {
        margin-top: -38px;
        padding-inline: 0;
    }

    .booking-sports-sticky {
        border-radius: 24px;
        padding: 12px;
    }

    .booking-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-card--facility .booking-card-media,
    .booking-card--court .booking-card-media {
        aspect-ratio: 1.36 / 1;
    }

    .booking-field-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .booking-field-actions .btn {
        min-height: 46px;
    }

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

    .booking-mobile-nextbar {
        border-radius: 24px;
        bottom: calc(var(--booking-toolbar-height) + 8px);
        flex-wrap: nowrap;
        inset-inline: 10px;
        padding: 12px;
    }

    .booking-checkout-price strong {
        font-size: 1rem;
    }

    .booking-checkout-price small {
        font-size: 0.76rem;
    }

    .booking-checkout-btn {
        min-width: 132px;
    }

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

@media (max-width: 380px) {
    .schedule-slots-grid,
    .payment-method-grid {
        grid-template-columns: 1fr;
    }

    .booking-mobile-nextbar {
        align-items: stretch;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-checkout-btn {
        width: 100%;
    }
}

/* Full-screen sports picker on mobile */
@media (max-width: 767.98px) {
    .sports-sheet-modal .modal-dialog {
        height: 100dvh;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }

    .sports-sheet-modal .modal-content {
        border-radius: 0;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
    }

    .sports-sheet-modal .modal-header {
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(226, 232, 239, 0.95);
        padding: calc(16px + env(safe-area-inset-top)) 18px 14px;
    }

    .sports-sheet-modal .modal-header .btn-close {
        margin-top: 2px;
    }

    .sports-sheet-modal .modal-title {
        font-size: 1.15rem;
        font-weight: 900;
    }

    .sports-sheet-modal .modal-header p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-top: 3px;
    }

    .sports-sheet-modal .modal-body {
        background:
            linear-gradient(180deg, #f7fbff 0%, #ffffff 46%),
            #fff;
        min-height: 0;
        overflow-y: auto;
        padding: 16px 14px calc(24px + env(safe-area-inset-bottom));
    }

    .sports-sheet-modal .booking-card-strip--modal {
        display: grid;
        gap: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
        padding: 0;
    }

    .sports-sheet-modal .booking-card--chip {
        border-radius: 20px;
        flex: initial;
        gap: 9px;
        min-height: 74px;
        min-width: 0;
        padding: 10px;
        width: 100%;
    }

    .sports-sheet-modal .booking-card--chip .booking-card-media,
    .sports-sheet-modal .booking-card--chip .booking-card-thumb {
        flex-basis: 42px;
        height: 42px;
        width: 42px;
    }

    .sports-sheet-modal .booking-card--chip .booking-card-title {
        font-size: 0.92rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .sports-sheet-modal .booking-card.selected {
        box-shadow: 0 0 0 3px rgba(20, 94, 231, 0.12), 0 12px 26px rgba(20, 94, 231, 0.12);
        outline: 0;
    }
}

@media (max-width: 360px) {
    .sports-sheet-modal .booking-card-strip--modal {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Full-screen search picker on mobile */
@media (max-width: 767.98px) {
    .search-sheet-modal .modal-dialog {
        height: 100dvh;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }

    .search-sheet-modal .modal-content {
        border-radius: 0;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
    }

    .search-sheet-modal .modal-header {
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(226, 232, 239, 0.95);
        padding: calc(16px + env(safe-area-inset-top)) 18px 14px;
    }

    .search-sheet-modal .modal-header .btn-close {
        margin-top: 2px;
    }

    .search-sheet-modal .modal-title {
        font-size: 1.15rem;
        font-weight: 900;
    }

    .search-sheet-modal .modal-header p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-top: 3px;
    }

    .search-sheet-modal .modal-body {
        background:
            linear-gradient(180deg, #f7fbff 0%, #ffffff 46%),
            #fff;
        min-height: 0;
        overflow-y: auto;
        padding: 18px 14px calc(24px + env(safe-area-inset-bottom));
    }

    .search-sheet-modal .checkout-sheet-section {
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(226, 232, 239, 0.95);
        border-radius: 20px;
        margin-top: 0;
        padding: 16px 14px;
    }

    .search-sheet-modal .checkout-sheet-section + .checkout-sheet-section {
        margin-top: 12px;
    }

    .search-sheet-modal .form-label {
        color: #253047;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .search-sheet-modal .form-select {
        min-height: 48px;
    }

    .search-sheet-modal .modal-body > .d-flex {
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(226, 232, 239, 0.95);
        border-radius: 20px;
        display: grid !important;
        gap: 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 12px;
        padding: 14px;
    }

    .search-sheet-modal .modal-body > .d-flex .btn {
        min-height: 46px;
        width: 100%;
    }
}

/* Full-bleed compact sports rail */
@media (max-width: 767.98px) {
    .booking-page {
        gap: 0;
    }

    .booking-sports-sticky {
        border-inline: 0;
        border-radius: 0;
        margin: -8px calc(50% - 50vw) 0;
        padding: 8px 14px 9px;
        width: 100vw;
    }

    .booking-sports-carousel {
        display: block;
    }

    .booking-sports-carousel .sports-scroll-btn {
        display: none;
    }

    .booking-sports-carousel .booking-card-strip {
        gap: 8px;
        overflow-x: auto;
        padding: 0 0 4px;
        scroll-padding-inline: 14px;
        scrollbar-width: thin;
    }

    .booking-sports-carousel .booking-card-strip .booking-card,
    .booking-sports-carousel .booking-card-strip .booking-card--chip {
        flex-basis: clamp(112px, 30vw, 132px);
        min-width: clamp(112px, 30vw, 132px);
    }

    .booking-featured-panel {
        margin-top: 10px;
    }
}

/* Compact sports rail and featured courts home state */
.booking-sports-sticky {
    margin-top: -6px;
}

.booking-sports-carousel {
    gap: 6px;
}

.booking-sports-sticky .booking-card-strip {
    gap: 8px;
    padding-block: 1px 4px;
}

.booking-sports-sticky .booking-card--chip,
.booking-sports-carousel .booking-card-strip .booking-card,
.booking-sports-carousel .booking-card-strip .booking-card--chip {
    border-radius: 18px;
    flex-basis: clamp(116px, 25vw, 148px);
    gap: 8px;
    min-height: 58px;
    min-width: 116px;
    padding: 8px 10px;
}

.booking-sports-sticky .booking-card--chip .booking-card-media,
.booking-sports-sticky .booking-card--chip .booking-card-thumb {
    flex-basis: 38px;
    height: 38px;
    width: 38px;
}

.booking-sports-sticky .booking-card--chip .booking-card-thumb {
    border-radius: 12px;
}

.booking-sports-sticky .booking-card--chip .booking-card-title {
    font-size: 0.86rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.booking-sports-sticky .sports-scroll-btn {
    border-radius: 12px;
    height: 36px;
    min-height: 36px;
    min-width: 34px;
    width: 34px;
}

.booking-featured-panel {
    display: grid;
    gap: 14px;
}

.booking-featured-head {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.booking-card-grid--featured {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.booking-card--featured .booking-card-media,
.booking-card--featured .booking-card-thumb {
    max-height: 172px;
}

.booking-card--featured .booking-card-content {
    padding: 12px 14px 14px;
}

@media (max-width: 767.98px) {
    main.py-4 {
        padding-top: 8px !important;
    }

    .booking-page {
        gap: 10px;
    }

    .booking-sports-sticky {
        border-radius: 18px;
        margin-top: -4px;
        padding: 8px 7px 7px;
        top: calc(var(--booking-header-height) + 2px);
    }

    .booking-sports-carousel {
        gap: 5px;
        grid-template-columns: 30px minmax(0, 1fr) 30px;
    }

    .booking-sports-sticky .booking-card-strip {
        gap: 7px;
        padding: 1px 3px 4px;
    }

    .booking-sports-sticky .booking-card--chip,
    .booking-sports-carousel .booking-card-strip .booking-card,
    .booking-sports-carousel .booking-card-strip .booking-card--chip {
        flex-basis: clamp(104px, 31vw, 128px);
        min-height: 54px;
        min-width: 104px;
        padding: 7px 8px;
    }

    .booking-sports-sticky .booking-card--chip .booking-card-media,
    .booking-sports-sticky .booking-card--chip .booking-card-thumb {
        flex-basis: 34px;
        height: 34px;
        width: 34px;
    }

    .booking-sports-sticky .booking-card--chip .booking-card-title {
        font-size: 0.8rem;
    }

    .booking-sports-sticky .sports-scroll-btn {
        height: 34px;
        min-height: 34px;
        min-width: 30px;
        width: 30px;
    }

    .booking-featured-panel {
        border-radius: 22px;
        padding: 14px;
    }

    .booking-featured-head h2 {
        font-size: 1.05rem;
    }

    .booking-featured-head p {
        font-size: 0.86rem;
    }

    .booking-card-grid--featured {
        gap: 12px;
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-card--featured .booking-card-media,
    .booking-card--featured .booking-card-thumb {
        max-height: 156px;
    }
}

/* Final mobile polish: no clipping, calmer sticky sports rail, compact result page */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

.site-header,
main,
footer,
.booking-page,
.booking-result-page,
.modal,
.offcanvas {
    max-width: 100%;
}

.booking-page *,
.booking-result-page * {
    min-width: 0;
}

body[data-booking-step]:not([data-booking-step="0"]) .booking-app-hero {
    display: none;
}

body[data-booking-step]:not([data-booking-step="0"]) .booking-home-search {
    margin-top: 0;
}

.booking-sports-sticky {
    overflow: hidden;
    z-index: 20;
}

.booking-sports-sticky .booking-sports-carousel {
    margin: 0;
}

.booking-sports-sticky .booking-card-strip {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 4px 7px;
}

.sports-scroll-btn {
    transform: none;
}

.booking-card.selected {
    outline: 0;
}

.booking-card.selected::after {
    box-shadow: 0 4px 12px rgba(20, 94, 231, 0.22);
}

.booking-card--facility .booking-card-media {
    aspect-ratio: 16 / 9;
    max-height: 190px;
}

.booking-card--facility .booking-card-content {
    padding-block: 12px 14px;
}

.booking-card--facility .booking-card-title,
.booking-card--court .booking-card-title {
    font-size: 1rem;
}

.booking-search-bar {
    display: flex;
    max-width: 100%;
    overflow: hidden;
}

.booking-search-input {
    min-width: 0;
}

.booking-search-icon,
.booking-search-clear {
    flex: 0 0 auto;
}

.checkout-sheet-modal .modal-dialog,
.court-details-modal .modal-dialog {
    max-width: 100%;
    overflow: hidden;
}

.checkout-sheet-modal .modal-content,
.court-details-modal .modal-content {
    max-width: 100%;
}

.booking-summary-toolbar {
    inset-inline: 0;
    width: auto;
}

.booking-result-page {
    box-sizing: border-box;
    margin-inline: auto;
    max-width: 1080px;
    padding-inline: 0;
}

.booking-result-hero,
.booking-result-panel {
    border-radius: 22px;
    overflow: hidden;
}

.booking-result-panel dl div,
.booking-result-money div,
.booking-extra-item {
    align-items: flex-start;
}

.booking-result-panel dd,
.booking-result-money strong,
.booking-extra-item strong {
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    main.py-4 {
        overflow-x: clip;
    }

    main > .container {
        max-width: 100%;
        overflow-x: clip;
        padding-inline: 12px;
    }

    .booking-page {
        gap: 12px;
        overflow-x: clip;
        padding-bottom: calc(var(--booking-toolbar-height) + 22px);
    }

    body[data-booking-step="3"] .booking-page {
        padding-bottom: calc(var(--booking-toolbar-height) + 122px);
    }

    .booking-app-hero {
        min-height: 218px;
    }

    .booking-app-progress {
        padding: 10px 12px;
    }

    .booking-home-search {
        position: relative;
        z-index: 25;
    }

    .booking-search-bar {
        border-radius: 20px;
        min-height: 54px;
        padding: 7px 10px;
    }

    .booking-search-icon {
        border-radius: 14px;
        height: 40px;
        width: 40px;
    }

    .booking-sports-sticky {
        border-radius: 22px;
        box-shadow: 0 10px 26px rgba(16, 24, 39, 0.08);
        margin-inline: 0;
        padding: 10px 8px 8px;
        top: calc(var(--booking-header-height) + 4px);
    }

    .booking-sports-carousel {
        display: grid;
        gap: 6px;
        grid-template-columns: 34px minmax(0, 1fr) 34px;
    }

    .sports-scroll-btn {
        border-radius: 10px;
        min-height: 38px;
        width: 34px;
    }

    .booking-card--chip,
    .booking-sports-carousel .booking-card-strip .booking-card,
    .booking-sports-carousel .booking-card-strip .booking-card--chip {
        border-radius: 999px;
        min-height: 60px;
        min-width: 136px;
        padding: 8px 10px;
    }

    .booking-card--chip .booking-card-media,
    .booking-card--chip .booking-card-thumb {
        height: 44px;
        width: 44px;
    }

    .booking-card-grid {
        gap: 12px;
    }

    .booking-panel:not(.booking-sports-sticky) {
        border-radius: 22px;
        padding: 12px;
    }

    .booking-panel-head {
        margin-bottom: 2px;
    }

    .booking-panel-head p {
        font-size: 0.9rem;
        line-height: 1.65;
    }

    .booking-card {
        border-radius: 22px;
        box-shadow: 0 10px 24px rgba(16, 24, 39, 0.06);
    }

    .booking-card--facility .booking-card-media {
        aspect-ratio: 16 / 8.8;
        border-radius: 18px;
        margin: 8px 8px 0;
        max-height: 165px;
    }

    .booking-card--court .booking-card-media {
        aspect-ratio: 16 / 10;
        border-radius: 20px;
        margin: 8px 8px 0;
    }

    .booking-card--facility .booking-card-content,
    .booking-card--court .booking-card-content {
        gap: 7px;
        padding: 11px 13px 13px;
    }

    .booking-card-stats span,
    .booking-card-price {
        font-size: 0.76rem;
        padding: 5px 9px;
    }

    .booking-mobile-nextbar {
        max-width: calc(100vw - 20px);
        z-index: 1035;
    }

    .booking-summary-toolbar {
        border-radius: 22px 22px 0 0;
        gap: 10px;
        padding-inline: 12px;
    }

    .summary-action-btn {
        min-width: 0;
    }

    .checkout-sheet-modal .modal-dialog,
    .court-details-modal .modal-dialog {
        margin-inline: 0;
        width: 100%;
    }

    .checkout-sheet-modal .modal-content,
    .court-details-modal .modal-content,
    .customer-info-offcanvas {
        border-radius: 24px 24px 0 0;
        max-height: 88vh;
    }

    .checkout-sheet-modal .modal-body,
    .court-details-modal .modal-body {
        overflow-x: clip;
        padding: 14px;
    }

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

    .payment-method-card {
        min-height: 112px;
        padding: 12px;
    }

    .booking-result-page {
        gap: 14px;
        overflow-x: clip;
        padding-inline: 0;
        padding-bottom: 26px;
    }

    .booking-result-hero {
        display: grid;
        gap: 12px;
        grid-template-columns: minmax(0, 1fr);
        padding: 16px;
    }

    .booking-result-hero h1 {
        font-size: 1.45rem;
        line-height: 1.35;
    }

    .booking-result-status-card {
        border-radius: 16px;
    }

    .booking-result-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-result-actions .btn,
    .booking-result-actions form,
    .booking-result-actions form .btn {
        width: 100%;
    }

    .booking-result-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-result-panel {
        border-radius: 18px;
        padding: 16px;
    }

    .booking-result-panel dl div,
    .booking-result-money div,
    .booking-extra-item {
        display: grid;
        gap: 5px;
        grid-template-columns: minmax(0, 1fr);
        justify-items: stretch;
        text-align: start;
    }

    .booking-result-panel dd {
        text-align: start;
    }

    .booking-result-money .total {
        border-radius: 14px;
    }
}

/* Final booking intro overrides */
.booking-page .booking-app-hero,
.booking-app-progress,
.booking-app-progress-track,
.booking-app-progress-track span {
    display: none !important;
}

.booking-home-search {
    margin-top: 0 !important;
}

body.booking-intro-active {
    overflow: hidden;
}

body.booking-intro-active .booking-page,
body.booking-intro-active .booking-summary-toolbar,
body.booking-intro-active .booking-mobile-nextbar {
    opacity: 0;
    pointer-events: none;
}

/* Final featured cards override */
.booking-featured-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
    gap: 16px;
}

.booking-featured-head {
    border-bottom: 1px solid rgba(226, 232, 239, 0.82);
    padding-bottom: 10px;
}

.booking-card-grid--featured {
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.booking-card--featured {
    border: 1px solid rgba(218, 228, 242, 0.94);
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(16, 24, 39, 0.07);
    overflow: hidden;
}

.booking-card--featured:hover,
.booking-card--featured:focus {
    border-color: rgba(20, 94, 231, 0.34);
    box-shadow: 0 16px 36px rgba(20, 94, 231, 0.13);
    transform: translateY(-2px);
}

.booking-card--featured:active {
    transform: scale(0.99);
}

.booking-card--featured .featured-card-media {
    aspect-ratio: 16 / 9.4;
    border-radius: 18px;
    margin: 10px 10px 0;
    max-height: none;
    overflow: hidden;
}

.booking-card--featured .featured-card-thumb {
    aspect-ratio: 16 / 9.4;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

.booking-card--featured .featured-card-content {
    gap: 8px;
    padding: 12px 14px 14px;
}

.booking-card--featured .featured-card-title {
    color: #101827;
    font-size: 1.06rem;
    font-weight: 900;
    line-height: 1.45;
}

.booking-card--featured .featured-card-location {
    color: #6a7688;
    font-size: 0.9rem;
    font-weight: 600;
}

.booking-card--featured .featured-card-price {
    background: #eaf3ff;
    border: 1px solid rgba(20, 94, 231, 0.16);
    color: #0f55d8;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 6px 10px;
}

@media (max-width: 767.98px) {
    .booking-card-grid--featured {
        gap: 11px;
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-card--featured {
        border-radius: 21px;
    }

    .booking-card--featured .featured-card-media {
        aspect-ratio: 16 / 8.7;
        border-radius: 16px;
        margin: 8px 8px 0;
    }

    .booking-card--featured .featured-card-thumb {
        aspect-ratio: 16 / 8.7;
    }

    .booking-card--featured .featured-card-content {
        gap: 7px;
        padding: 10px 12px 12px;
    }
}

/* Compact booking header search */
.navbar-shell.has-booking-search {
    align-items: center;
}

.navbar-shell.has-booking-search .navbar-brand {
    flex: 0 0 auto;
    font-size: 1rem;
    max-width: 122px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.booking-header-search {
    flex: 1 1 220px;
    margin: 0 !important;
    min-width: 0;
    order: 3;
    padding: 0;
    position: relative;
    z-index: 1;
}

.navbar-shell.has-booking-search .navbar-collapse {
    order: 4;
}

.booking-header-search .booking-search-bar {
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
    min-height: 44px;
    padding: 5px 7px;
}

.booking-header-search .booking-search-input {
    font-size: 0.9rem;
    min-width: 0;
    padding-inline: 8px;
}

.booking-header-search .booking-search-icon,
.booking-header-search .booking-search-clear {
    border-radius: 999px;
    height: 34px;
    min-width: 34px;
    width: 34px;
}

/* Balanced fixed quick actions */
.booking-summary-toolbar {
    align-items: center;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.booking-summary-toolbar .summary-action-btn,
.booking-summary-toolbar .summary-action-btn-primary {
    align-items: center;
    aspect-ratio: auto;
    background: linear-gradient(135deg, var(--app-primary, #1268f3), #2b8cff);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.28);
    color: #fff;
    display: inline-flex;
    height: 52px;
    justify-content: center;
    min-height: 52px;
    min-width: 0;
    padding: 0;
    width: 100%;
}

.booking-summary-toolbar .summary-action-btn:hover,
.booking-summary-toolbar .summary-action-btn:focus,
.booking-summary-toolbar .summary-action-btn-primary:hover,
.booking-summary-toolbar .summary-action-btn-primary:focus {
    background: linear-gradient(135deg, #0b5ed7, #247cff);
    box-shadow: 0 12px 26px rgba(13, 110, 253, 0.32);
    outline: 0;
    transform: translateY(-1px);
}

.booking-summary-toolbar .summary-action-icon {
    align-items: center;
    display: inline-flex;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.booking-summary-toolbar .summary-action-icon svg {
    display: block;
    height: 22px;
    width: 22px;
}

@media (max-width: 767.98px) {
    .navbar-shell.has-booking-search {
        column-gap: 8px;
        row-gap: 8px;
    }

    .navbar-shell.has-booking-search .navbar-toggler {
        height: 42px;
        order: 1;
        width: 42px;
    }

    .navbar-shell.has-booking-search .navbar-brand {
        font-size: 0.98rem;
        max-width: 98px;
        order: 2;
    }

    .booking-header-search {
        flex-basis: 0;
        order: 3;
    }

    .booking-header-search .booking-search-bar {
        min-height: 42px;
        padding: 4px 6px;
    }

    .booking-header-search .booking-search-input {
        font-size: 0.82rem;
    }

    .booking-header-search .booking-search-icon,
    .booking-header-search .booking-search-clear {
        height: 32px;
        min-width: 32px;
        width: 32px;
    }

    .booking-summary-toolbar {
        gap: 10px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding-inline: 12px;
    }

    .booking-summary-toolbar .summary-action-btn,
    .booking-summary-toolbar .summary-action-btn-primary {
        height: 52px;
        min-height: 52px;
    }
}

@media (max-width: 380px) {
    .navbar-shell.has-booking-search .navbar-brand {
        max-width: 84px;
    }

    .booking-header-search .booking-search-input::placeholder {
        color: transparent;
    }
}

/* Final override: edge-to-edge sports rail without arrows */
@media (max-width: 767.98px) {
    main.py-4:has(.booking-page--customer) {
        padding-top: 0 !important;
    }

    main.py-4:has(.booking-page--customer) > .container {
        padding-top: 0 !important;
    }

    .booking-page {
        gap: 0 !important;
    }

    .booking-sports-sticky {
        border-inline: 0 !important;
        border-radius: 0 !important;
        align-items: stretch !important;
        display: block !important;
        margin: 0 calc(50% - 50vw) 10px !important;
        min-height: 0 !important;
        padding: 0 14px 0 !important;
        top: var(--booking-header-height) !important;
        width: 100vw !important;
    }

    .booking-sports-carousel {
        display: block !important;
    }

    .booking-sports-carousel .sports-scroll-btn,
    .booking-sports-sticky .sports-scroll-btn {
        display: none !important;
    }

    .booking-sports-carousel .booking-card-strip {
        gap: 8px !important;
        overflow-x: auto;
        padding: 0 !important;
        scroll-padding-inline: 14px;
    }

    .booking-sports-carousel .booking-card-strip .booking-card,
    .booking-sports-carousel .booking-card-strip .booking-card--chip {
        flex-basis: clamp(112px, 30vw, 132px) !important;
        min-width: clamp(112px, 30vw, 132px) !important;
    }

    .booking-featured-panel {
        margin-top: 0 !important;
    }
}

/* Desktop polish: keep the sports selector as a compact horizontal RTL rail. */
@media (min-width: 768px) {
    .booking-sports-sticky.navbar {
        align-items: stretch;
        display: block;
        min-height: 0;
    }

    .booking-sports-sticky {
        border-radius: 0 0 24px 24px;
        margin: 0 calc(50% - 50vw) 34px;
        padding: 14px max(24px, calc((100vw - 1320px) / 2));
        width: 100vw;
    }

    .booking-sports-carousel {
        align-items: center;
        direction: rtl;
        display: flex;
        gap: 12px;
        justify-content: center;
        margin: 0 !important;
        width: 100%;
    }

    .booking-sports-carousel .booking-card-strip {
        direction: rtl;
        display: flex;
        flex: 0 1 auto;
        flex-wrap: nowrap;
        gap: 12px;
        justify-content: flex-start;
        max-width: min(980px, calc(100vw - 160px));
        min-height: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 4px 8px;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .booking-sports-carousel .booking-card-strip .booking-card,
    .booking-sports-carousel .booking-card-strip .booking-card--chip {
        flex: 0 0 clamp(142px, 12vw, 176px);
        min-height: 58px;
        min-width: clamp(142px, 12vw, 176px);
        width: auto !important;
    }

    .booking-sports-sticky .booking-card--chip .booking-card-media,
    .booking-sports-sticky .booking-card--chip .booking-card-thumb {
        flex-basis: 38px;
        height: 38px;
        width: 38px;
    }

    .booking-sports-sticky .sports-scroll-btn {
        align-self: center;
        height: 40px;
        min-height: 40px;
        min-width: 40px;
        width: 40px;
    }
}

/* Final sports rail polish: lighter chips that still keep the existing JS hooks. */
.booking-sports-sticky .booking-card-strip {
    gap: 6px;
}

.booking-sports-sticky .booking-sports-carousel {
    margin: 0 !important;
}

.booking-sports-sticky .booking-card--chip,
.booking-sports-carousel .booking-card-strip .booking-card--chip {
    background: rgba(255, 255, 255, 0.88);
    border-color: transparent !important;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.035);
    flex-basis: clamp(102px, 18vw, 138px);
    gap: 7px;
    min-height: 48px;
    min-width: 102px;
    padding: 6px 8px;
    position: relative;
}

.booking-sports-sticky .booking-card--chip:hover,
.booking-sports-sticky .booking-card--chip:focus {
    border-color: transparent !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
    transform: translateY(-1px);
}

.booking-sports-sticky .booking-card--chip.selected {
    background: rgba(238, 246, 255, 0.95);
    border-color: transparent !important;
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.11);
    outline: 0;
}

.booking-sports-sticky .booking-card--chip.selected::after {
    font-size: 0.68rem;
    height: 20px;
    inset-inline-end: 6px;
    top: 6px;
    width: 20px;
}

.booking-sports-sticky .booking-card--chip .booking-card-media,
.booking-sports-sticky .booking-card--chip .booking-card-thumb {
    flex-basis: 30px;
    height: 30px;
    width: 30px;
}

.booking-sports-sticky .booking-card--chip .booking-card-thumb {
    border-radius: 999px;
}

.booking-sports-sticky .booking-card--chip .booking-card-title {
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.25;
}

@media (max-width: 767.98px) {
    .booking-sports-carousel {
        align-items: center;
        display: grid !important;
        gap: 5px;
        grid-template-columns: 28px minmax(0, 1fr) 28px;
    }

    .booking-sports-carousel .sports-scroll-btn,
    .booking-sports-sticky .sports-scroll-btn {
        display: inline-flex !important;
        height: 32px;
        min-height: 32px;
        min-width: 28px;
        width: 28px;
    }

    .booking-sports-carousel .booking-card-strip {
        gap: 6px !important;
    }

    .booking-sports-carousel .booking-card-strip .booking-card,
    .booking-sports-carousel .booking-card-strip .booking-card--chip {
        flex-basis: clamp(92px, 25vw, 112px) !important;
        min-height: 46px !important;
        min-width: clamp(92px, 25vw, 112px) !important;
        padding: 6px 7px !important;
    }

    .booking-sports-sticky .booking-card--chip .booking-card-media,
    .booking-sports-sticky .booking-card--chip .booking-card-thumb {
        flex-basis: 28px;
        height: 28px;
        width: 28px;
    }

    .booking-sports-sticky .booking-card--chip .booking-card-title {
        font-size: 0.72rem;
    }
}

@media (min-width: 768px) {
    .booking-sports-carousel .booking-card-strip .booking-card,
    .booking-sports-carousel .booking-card-strip .booking-card--chip {
        flex: 0 0 clamp(108px, 9vw, 138px);
        min-height: 48px;
        min-width: clamp(108px, 9vw, 138px);
    }
}

/* Final facility cards polish: app-like branch cards without changing selection logic. */
#facilityOptions.booking-card-grid {
    gap: 14px;
}

#facilityOptions .booking-card--facility {
    background: #fff;
    border: 1px solid rgba(226, 232, 239, 0.9);
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(16, 24, 39, 0.075);
    overflow: hidden;
    padding: 0;
    text-align: start;
}

#facilityOptions .booking-card--facility:hover,
#facilityOptions .booking-card--facility:focus {
    border-color: rgba(18, 104, 243, 0.22);
    box-shadow: 0 18px 38px rgba(16, 24, 39, 0.1);
    outline: 0;
    transform: translateY(-1px);
}

#facilityOptions .booking-card--facility.selected {
    background: linear-gradient(180deg, #ffffff 0%, rgba(241, 247, 255, 0.96) 100%);
    border-color: rgba(18, 104, 243, 0.24);
    box-shadow: 0 18px 40px rgba(18, 104, 243, 0.14);
    outline: 0;
}

#facilityOptions .booking-card--facility .booking-card-media {
    aspect-ratio: 16 / 9;
    background: #e8eef6;
    border-radius: 20px;
    margin: 10px 10px 0;
    max-height: 180px;
    overflow: hidden;
    width: auto;
}

#facilityOptions .booking-card--facility .booking-card-thumb {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

#facilityOptions .booking-card--facility .booking-card-content {
    gap: 8px;
    padding: 12px 15px 15px;
}

#facilityOptions .booking-card--facility .booking-card-toprow {
    align-items: flex-start;
    gap: 10px;
}

#facilityOptions .booking-card--facility .booking-card-title {
    color: #162236;
    flex: 1 1 auto;
    font-size: 1.13rem;
    font-weight: 900;
    line-height: 1.35;
}

#facilityOptions .booking-card--facility .booking-card-price {
    background: #eef6ff;
    border: 1px solid rgba(18, 104, 243, 0.18);
    color: #0d5ed7;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 6px 10px;
}

#facilityOptions .booking-card--facility .booking-card-subtitle {
    color: #718096;
    font-size: 0.92rem;
    font-weight: 600;
}

#facilityOptions .booking-card--facility .booking-card-meta {
    color: #5f6f86;
    font-size: 0.9rem;
    font-weight: 800;
}

#facilityOptions .booking-card--facility .booking-card-stats {
    gap: 8px;
    justify-content: flex-start;
    margin-top: 2px;
}

#facilityOptions .booking-card--facility .booking-card-stats span {
    background: rgba(230, 247, 241, 0.95);
    border: 1px solid rgba(25, 135, 84, 0.12);
    color: #157347;
    font-size: 0.82rem;
    font-weight: 900;
    padding: 7px 11px;
}

@media (max-width: 767.98px) {
    #facilityOptions.booking-card-grid {
        gap: 12px;
    }

    #facilityOptions .booking-card--facility {
        border-radius: 22px;
    }

    #facilityOptions .booking-card--facility .booking-card-media {
        border-radius: 18px;
        margin: 9px 9px 0;
        max-height: 172px;
    }

    #facilityOptions .booking-card--facility .booking-card-content {
        padding: 11px 13px 14px;
    }

    #facilityOptions .booking-card--facility .booking-card-title {
        font-size: 1.08rem;
    }
}

/* Facility cards overlay polish: branch name lives on the image, footer stays compact. */
#facilityOptions .booking-card--facility {
    border-color: transparent;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(16, 24, 39, 0.07);
}

#facilityOptions .booking-card--facility:hover,
#facilityOptions .booking-card--facility:focus {
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(16, 24, 39, 0.1);
}

#facilityOptions .booking-card--facility.selected {
    background: #fff;
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(18, 104, 243, 0.1), 0 16px 34px rgba(18, 104, 243, 0.13);
}

#facilityOptions .booking-card--facility .booking-card-media {
    aspect-ratio: 16 / 8.6;
    border-radius: 18px;
    margin: 8px 8px 0;
    max-height: 168px;
    position: relative;
}

#facilityOptions .booking-card--facility .booking-card-media::after {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 34%, rgba(15, 23, 42, 0.78) 100%);
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

#facilityOptions .booking-card--facility .booking-card-placeholder {
    background:
        linear-gradient(135deg, rgba(18, 104, 243, 0.18), rgba(25, 135, 84, 0.16)),
        #e8eef6;
    display: block;
    height: 100%;
    width: 100%;
}

#facilityOptions .booking-card--facility .booking-card-overlay {
    bottom: 0;
    color: #fff;
    align-items: flex-end;
    display: flex;
    gap: 10px;
    inset-inline: 0;
    justify-content: space-between;
    padding: 16px 14px 13px;
    position: absolute;
    text-align: start;
    z-index: 1;
}

#facilityOptions .booking-card--facility .booking-card-overlay-identity {
    display: grid;
    gap: 2px;
    min-width: 0;
}

#facilityOptions .booking-card--facility .booking-card-overlay .booking-card-title {
    color: #fff;
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.28;
    text-shadow: 0 1px 10px rgba(15, 23, 42, 0.42);
}

#facilityOptions .booking-card--facility .booking-card-overlay .booking-card-subtitle {
    color: rgba(255, 255, 255, 0.86);
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 1px 8px rgba(15, 23, 42, 0.36);
}

#facilityOptions .booking-card--facility .booking-card-overlay .booking-card-subtitle::before {
    content: none;
}

#facilityOptions .booking-card--facility .booking-card-rating {
    align-items: flex-end;
    color: rgba(255, 255, 255, 0.92);
    display: grid;
    flex: 0 0 auto;
    gap: 2px;
    justify-items: end;
    line-height: 1;
    text-shadow: 0 1px 8px rgba(15, 23, 42, 0.42);
}

#facilityOptions .booking-card--facility .booking-card-rating-stars {
    direction: ltr;
    display: inline-flex;
    gap: 1px;
}

#facilityOptions .booking-card--facility .booking-card-rating-stars span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
}

#facilityOptions .booking-card--facility .booking-card-rating-stars span.is-filled {
    color: #ffd84d;
}

#facilityOptions .booking-card--facility .booking-card-rating-value {
    font-size: 0.78rem;
    font-weight: 900;
}

#facilityOptions .booking-card--facility .booking-card-rating small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.68rem;
    font-weight: 700;
}

#facilityOptions .booking-card--facility .booking-card-facility-footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    padding: 10px 12px 12px;
}

#facilityOptions .booking-card--facility .booking-card-facility-footer .booking-card-type,
#facilityOptions .booking-card--facility .booking-card-facility-footer .booking-card-price,
#facilityOptions .booking-card--facility .booking-card-facility-footer .booking-card-meta {
    border-radius: 999px;
    flex: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    padding: 8px 11px;
}

#facilityOptions .booking-card--facility .booking-card-facility-footer .booking-card-type {
    background: #f8e9e6;
    color: #6c332c;
}

#facilityOptions .booking-card--facility .booking-card-facility-footer .booking-card-price {
    background: #eef6ff;
    border: 0;
    color: #0d5ed7;
}

#facilityOptions .booking-card--facility .booking-card-facility-footer .booking-card-meta {
    background: rgba(230, 247, 241, 0.95);
    color: #157347;
}

@media (max-width: 767.98px) {
    #facilityOptions .booking-card--facility .booking-card-media {
        aspect-ratio: 16 / 8.8;
        border-radius: 17px;
        max-height: 158px;
    }

    #facilityOptions .booking-card--facility .booking-card-overlay {
        gap: 8px;
        padding: 15px 13px 12px;
    }

    #facilityOptions .booking-card--facility .booking-card-overlay .booking-card-title {
        font-size: 1.02rem;
    }

    #facilityOptions .booking-card--facility .booking-card-rating-stars span {
        font-size: 0.78rem;
    }

    #facilityOptions .booking-card--facility .booking-card-rating small {
        font-size: 0.64rem;
    }

    #facilityOptions .booking-card--facility .booking-card-facility-footer {
        padding: 9px 11px 11px;
    }
}

/* Booking header search: collapsed icon by default, expands smoothly left-to-right. */
.booking-header-search {
    --booking-search-size: 34px;
    block-size: var(--booking-search-size);
    flex: 0 0 var(--booking-search-size);
    inline-size: var(--booking-search-size);
    max-block-size: var(--booking-search-size);
    max-inline-size: min(360px, 48vw);
    transition: flex-basis 0.24s ease, inline-size 0.24s ease;
}

.booking-header-search.is-expanded {
    block-size: var(--booking-search-size);
    flex-basis: min(360px, 48vw);
    inline-size: min(360px, 48vw);
    max-block-size: var(--booking-search-size);
}

.booking-header-search .booking-search-bar {
    align-items: center;
    block-size: var(--booking-search-size);
    box-sizing: border-box;
    direction: ltr;
    display: grid;
    grid-template-columns: var(--booking-search-size) minmax(0, 1fr) var(--booking-search-size);
    grid-template-rows: var(--booking-search-size);
    inline-size: 100%;
    max-block-size: var(--booking-search-size);
    max-inline-size: 100%;
    min-height: var(--booking-search-size);
    overflow: hidden;
    padding: 0;
    transform-origin: left center;
    transition: grid-template-columns 0.24s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.booking-header-search .booking-search-toggle,
.booking-header-search .booking-search-clear {
    align-items: center;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    height: var(--booking-search-size);
    justify-content: center;
    line-height: 1;
    min-height: var(--booking-search-size);
    min-width: var(--booking-search-size);
    padding: 0;
    width: var(--booking-search-size);
}

.booking-header-search .booking-search-toggle:focus-visible,
.booking-header-search .booking-search-clear:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.16);
    outline: 0;
}

.booking-header-search .booking-search-input {
    block-size: var(--booking-search-size);
    direction: rtl;
    line-height: var(--booking-search-size);
    min-height: 0;
    opacity: 1;
    padding-block: 0;
    transform: translateX(0);
    transition: opacity 0.18s ease, transform 0.24s ease, inline-size 0.24s ease;
}

.booking-header-search .booking-search-clear {
    block-size: var(--booking-search-size);
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.18s ease, transform 0.24s ease, visibility 0.18s ease;
    visibility: visible;
}

.booking-header-search.is-collapsed .booking-search-bar,
.booking-header-search .booking-search-bar.is-collapsed {
    block-size: var(--booking-search-size);
    grid-template-columns: var(--booking-search-size) 0 0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    min-height: var(--booking-search-size);
    padding: 0;
}

.booking-header-search.is-collapsed .booking-search-toggle,
.booking-header-search .booking-search-bar.is-collapsed .booking-search-toggle {
    height: var(--booking-search-size);
    min-height: var(--booking-search-size);
    min-width: var(--booking-search-size);
    width: var(--booking-search-size);
}

.booking-header-search.is-collapsed .booking-search-input,
.booking-header-search .booking-search-bar.is-collapsed .booking-search-input,
.booking-header-search.is-collapsed .booking-search-clear,
.booking-header-search .booking-search-bar.is-collapsed .booking-search-clear {
    inline-size: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-12px);
    visibility: hidden;
}

@media (max-width: 767.98px) {
    .booking-header-search {
        --booking-search-size: 32px;
        flex: 0 0 var(--booking-search-size);
        inline-size: var(--booking-search-size);
        max-inline-size: min(235px, calc(100vw - 168px));
    }

    .booking-header-search.is-expanded {
        flex-basis: min(235px, calc(100vw - 168px));
        inline-size: min(235px, calc(100vw - 168px));
    }

    .booking-header-search .booking-search-bar {
        grid-template-columns: var(--booking-search-size) minmax(0, 1fr) var(--booking-search-size);
        min-height: var(--booking-search-size);
    }

    .booking-header-search.is-collapsed .booking-search-bar,
    .booking-header-search .booking-search-bar.is-collapsed {
        grid-template-columns: var(--booking-search-size) 0 0;
    }
}

/* Header menu: match search control size and drop the existing nav panel from top. */
.navbar-shell.has-booking-search {
    --booking-header-control-size: 34px;
    position: relative;
}

.navbar-shell.has-booking-search .navbar-toggler {
    align-items: center;
    border-radius: 10px;
    display: inline-flex;
    flex: 0 0 var(--booking-header-control-size);
    height: var(--booking-header-control-size);
    justify-content: center;
    line-height: 1;
    min-height: var(--booking-header-control-size);
    min-width: var(--booking-header-control-size);
    padding: 0;
    width: var(--booking-header-control-size);
}

.navbar-shell.has-booking-search .navbar-toggler-icon {
    background-size: 18px 18px;
    height: 18px;
    width: 18px;
}

.navbar-shell.has-booking-search .booking-header-view-toggle {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 10px;
    color: #0d6efd;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 var(--booking-header-control-size);
    height: var(--booking-header-control-size);
    justify-content: center;
    line-height: 1;
    min-height: var(--booking-header-control-size);
    min-width: var(--booking-header-control-size);
    order: 3;
    padding: 0;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    width: var(--booking-header-control-size);
}

.navbar-shell.has-booking-search .booking-header-view-toggle svg {
    display: block;
    height: 18px;
    width: 18px;
}

.navbar-shell.has-booking-search .booking-header-view-toggle:hover,
.navbar-shell.has-booking-search .booking-header-view-toggle:focus,
.navbar-shell.has-booking-search .booking-header-view-toggle.is-active {
    background: #eef6ff;
    border-color: rgba(13, 110, 253, 0.28);
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.12);
    outline: 0;
}

.navbar-shell.has-booking-search .booking-header-view-toggle:active {
    transform: scale(0.97);
}

.navbar-shell.has-booking-search .booking-header-search {
    --booking-search-size: var(--booking-header-control-size);
    order: 4;
}

.navbar-shell.has-booking-search .navbar-collapse {
    order: 5;
}

.navbar-expand-lg .navbar-shell.has-booking-search .navbar-toggler {
    display: inline-flex;
}

.navbar-shell.has-booking-search #mainNav.navbar-collapse {
    background: #fff;
    border: 1px solid rgba(226, 232, 239, 0.95);
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16);
    display: block !important;
    inset-inline: 12px;
    opacity: 0;
    overflow: hidden;
    padding: 14px;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 8px);
    transform: translateY(-14px);
    transition: transform 0.24s ease, opacity 0.2s ease, visibility 0.2s ease;
    visibility: hidden;
    z-index: 1060;
}

.navbar-shell.has-booking-search #mainNav.navbar-collapse.show,
.navbar-shell.has-booking-search #mainNav.navbar-collapse.collapsing {
    height: auto !important;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.navbar-shell.has-booking-search #mainNav .navbar-nav {
    display: grid;
    gap: 6px;
    margin: 0 0 12px !important;
}

.navbar-shell.has-booking-search #mainNav .nav-link {
    border-radius: 10px;
    padding: 8px 10px;
}

.navbar-shell.has-booking-search #mainNav .d-flex {
    align-items: stretch !important;
    display: grid !important;
    gap: 8px !important;
}

@media (max-width: 767.98px) {
    .navbar-shell.has-booking-search {
        --booking-header-control-size: 32px;
    }

    .navbar-shell.has-booking-search .navbar-toggler {
        height: var(--booking-header-control-size);
        min-height: var(--booking-header-control-size);
        width: var(--booking-header-control-size);
    }

    .navbar-shell.has-booking-search .navbar-toggler-icon {
        background-size: 17px 17px;
        height: 17px;
        width: 17px;
    }

    .navbar-shell.has-booking-search .booking-header-view-toggle svg {
        height: 17px;
        width: 17px;
    }

    .navbar-shell.has-booking-search .booking-header-search {
        max-inline-size: min(205px, calc(100vw - 208px));
    }

    .navbar-shell.has-booking-search .booking-header-search.is-expanded {
        flex-basis: min(205px, calc(100vw - 208px));
        inline-size: min(205px, calc(100vw - 208px));
    }
}

/* Final bottom toolbar polish: icons only, no filled blue button backgrounds. */
body {
    --booking-toolbar-height: 58px;
}

.booking-summary-toolbar {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 0;
    padding: 6px max(14px, calc((100vw - 1140px) / 2));
}

.booking-summary-toolbar .summary-action-btn,
.booking-summary-toolbar .summary-action-btn-primary {
    align-items: center;
    background: transparent !important;
    border: 0;
    border-radius: 14px;
    box-shadow: none !important;
    color: var(--app-primary, #1268f3) !important;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    margin: 0;
    min-height: 44px;
    min-width: 0;
    padding: 0;
    transform: none;
    width: 100%;
}

.booking-summary-toolbar .summary-action-btn-primary {
    background: rgba(18, 104, 243, 0.07) !important;
}

.booking-summary-toolbar .summary-action-btn:hover,
.booking-summary-toolbar .summary-action-btn:focus,
.booking-summary-toolbar .summary-action-btn-primary:hover,
.booking-summary-toolbar .summary-action-btn-primary:focus {
    background: rgba(18, 104, 243, 0.1) !important;
    box-shadow: none !important;
    color: var(--app-primary, #1268f3) !important;
    outline: 0;
    transform: none;
}

.booking-summary-toolbar .summary-action-btn:active,
.booking-summary-toolbar .summary-action-btn-primary:active {
    background: rgba(18, 104, 243, 0.14) !important;
}

.booking-summary-toolbar .summary-action-icon {
    height: 24px;
    width: 24px;
}

.booking-summary-toolbar .summary-action-icon svg {
    height: 22px;
    width: 22px;
}

@media (max-width: 767.98px) {
    body {
        --booking-toolbar-height: 56px;
    }

    .booking-summary-toolbar {
        gap: 6px;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        padding: 5px 10px calc(5px + env(safe-area-inset-bottom));
    }

    .booking-summary-toolbar .summary-action-btn,
    .booking-summary-toolbar .summary-action-btn-primary {
        height: 42px;
        min-height: 42px;
    }
}

.featured-courts-sheet-modal .modal-body {
    background:
        linear-gradient(180deg, #f7fbff 0%, #ffffff 46%),
        #fff;
}

.featured-courts-sheet-modal .booking-card-grid--featured-modal {
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.featured-courts-sheet-modal .booking-card--featured {
    width: 100%;
}

.review-page {
    background: linear-gradient(180deg, #eef5ff 0%, #f8fafc 48%, #fff 100%);
    min-height: 100vh;
    padding: 20px 12px 36px;
}

.review-shell {
    margin: 0 auto;
    max-width: 560px;
}

.review-card,
.review-state-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(207, 222, 241, 0.95);
    border-radius: 24px;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.review-state-card {
    padding: 34px 24px;
    text-align: center;
}

.review-state-card h1 {
    color: #111827;
    font-size: 1.45rem;
    font-weight: 800;
    margin: 12px 0 8px;
}

.review-state-card p {
    color: #64748b;
    margin: 0 auto 20px;
    max-width: 36rem;
}

.review-state-icon {
    align-items: center;
    background: #fee2e2;
    border-radius: 999px;
    color: #b91c1c;
    display: inline-flex;
    font-size: 1.4rem;
    font-weight: 800;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.review-state-icon--success {
    background: #dcfce7;
    color: #15803d;
}

.review-hero {
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    position: relative;
}

.review-hero img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.review-hero::after {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.78));
    content: "";
    inset: 0;
    position: absolute;
}

.review-hero-overlay {
    bottom: 0;
    color: #fff;
    padding: 18px;
    position: absolute;
    z-index: 1;
}

.review-hero-overlay span {
    color: #bae6fd;
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.review-hero-overlay h1 {
    font-size: 1.45rem;
    font-weight: 900;
    margin: 0;
}

.review-hero-overlay p {
    margin: 4px 0 0;
    opacity: 0.9;
}

.review-booking-meta,
.review-form {
    padding: 18px;
}

.review-booking-meta {
    border-bottom: 1px solid #e5edf7;
    color: #475569;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.review-form {
    display: grid;
    gap: 18px;
}

.review-field,
.review-detail-field,
.review-check {
    background: #f8fbff;
    border: 1px solid #dbe8f7;
    border-radius: 18px;
    padding: 14px;
}

.review-label,
.review-detail-field span {
    color: #334155;
    display: block;
    font-weight: 800;
    margin-bottom: 10px;
}

.review-stars {
    direction: ltr;
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.review-stars input {
    position: absolute;
    opacity: 0;
}

.review-stars label {
    color: #cbd5e1;
    cursor: pointer;
    font-size: 2.1rem;
    line-height: 1;
    transition: color 0.18s ease, transform 0.18s ease;
}

.review-stars label:hover,
.review-stars label:hover ~ label,
.review-stars input:checked ~ label {
    color: #f59e0b;
}

.review-stars label:active {
    transform: scale(0.94);
}

.review-detail-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-detail-field select,
.review-field textarea {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: #111827;
    width: 100%;
}

.review-detail-field select {
    height: 42px;
    padding-inline: 10px;
}

.review-field textarea {
    min-height: 116px;
    padding: 12px;
    resize: vertical;
}

.review-check {
    align-items: center;
    display: flex;
    gap: 10px;
    margin: 0;
}

.review-submit,
.review-action {
    border-radius: 14px;
    font-weight: 800;
    min-height: 46px;
}

.admin-review-comment {
    max-width: 260px;
    white-space: normal;
}

.admin-stars {
    color: #f59e0b;
    letter-spacing: 1px;
}

.admin-switch-box {
    align-items: center;
    background: #f8fbff;
    border: 1px solid #dbe8f7;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 10px;
    min-height: 52px;
    padding: 12px 14px;
}

.admin-switch-box input {
    accent-color: #0d6efd;
    height: 18px;
    width: 18px;
}

.booking-result-actions {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    justify-content: center;
    overflow-x: clip;
}

.booking-result-action-icons {
    --booking-result-action-size: 40px;
    align-items: center;
    display: grid;
    flex: 0 0 auto;
    grid-auto-columns: var(--booking-result-action-size);
    grid-auto-flow: column;
    gap: 8px;
    justify-content: center;
    max-width: 100%;
}

.booking-result-action-icons > a,
.booking-result-action-icons form {
    block-size: var(--booking-result-action-size);
    display: inline-flex;
    inline-size: var(--booking-result-action-size);
    line-height: 0;
    margin: 0;
    min-block-size: 0;
    min-inline-size: 0;
}

.booking-result-icon-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #d6e4f5;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    box-sizing: border-box;
    color: #0d6efd;
    display: inline-flex;
    font: inherit;
    height: var(--booking-result-action-size);
    justify-content: center;
    line-height: 1;
    min-height: 0;
    min-width: 0;
    padding: 0;
    text-decoration: none;
    transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
    vertical-align: top;
    width: var(--booking-result-action-size);
}

.booking-result-icon-btn svg {
    display: block;
    height: 20px;
    width: 20px;
}

.booking-result-icon-btn:hover,
.booking-result-icon-btn:focus {
    background: #eef6ff;
    border-color: #9cc7ff;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.14);
    color: #0b5ed7;
    outline: 0;
    transform: translateY(-1px);
}

.booking-result-icon-btn:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.18);
}

.booking-result-icon-btn--whatsapp {
    color: #168a55;
}

.booking-result-icon-btn--whatsapp:hover,
.booking-result-icon-btn--whatsapp:focus {
    background: #eefaf4;
    border-color: #9fdbc0;
    color: #107a49;
}

@media (max-width: 767.98px) {
    .booking-result-actions {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        overflow-x: clip;
    }

    .booking-result-action-icons {
        --booking-result-action-size: 38px;
        gap: 6px;
        justify-content: center;
        max-width: 100%;
        width: min-content;
    }

    .booking-result-icon-btn svg {
        height: 19px;
        width: 19px;
    }
}

@media (max-width: 575.98px) {
    .review-page {
        padding: 12px 8px 28px;
    }

    .review-card,
    .review-state-card {
        border-radius: 20px;
    }

    .review-detail-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .review-stars label {
        font-size: 1.9rem;
    }
}

@media (max-width: 767.98px) {
    .featured-courts-sheet-modal .modal-dialog {
        height: 100dvh;
        margin: 0;
        max-width: 100%;
        width: 100%;
    }

    .featured-courts-sheet-modal .modal-content {
        border-radius: 0;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        height: 100dvh;
        max-height: 100dvh;
        overflow: hidden;
    }

    .featured-courts-sheet-modal .modal-header {
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(226, 232, 239, 0.95);
        padding: calc(16px + env(safe-area-inset-top)) 18px 14px;
    }

    .featured-courts-sheet-modal .modal-body {
        min-height: 0;
        overflow-y: auto;
        padding: 16px 14px calc(24px + env(safe-area-inset-bottom));
    }

    .featured-courts-sheet-modal .booking-card-grid--featured-modal {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Featured courts app-style cards */
.booking-featured-panel {
    gap: 12px;
}

.booking-featured-head {
    border-bottom: 0;
    padding-bottom: 0;
}

.booking-featured-head h2 {
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.35;
    margin: 0;
}

.booking-card-grid--featured {
    gap: 14px;
}

.booking-card--featured {
    background: #fff;
    border: 1px solid rgba(218, 228, 242, 0.82);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    overflow: hidden;
    padding: 0;
    text-align: start;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.booking-card--featured:hover,
.booking-card--featured:focus {
    border-color: rgba(13, 110, 253, 0.28);
    box-shadow: 0 16px 34px rgba(13, 110, 253, 0.12);
    transform: translateY(-2px);
}

.booking-card--featured:active {
    transform: scale(0.99);
}

.booking-card--featured .featured-card-media {
    aspect-ratio: 16 / 9.1;
    background: linear-gradient(135deg, #dce9fb, #f4f8ff);
    border-radius: 18px 18px 0 0;
    margin: 0;
    max-height: none !important;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.booking-card--featured .featured-card-thumb {
    aspect-ratio: 16 / 9.1;
    display: block;
    height: 100%;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    transition: transform 260ms ease;
    width: 100%;
}

.booking-card--featured:hover .featured-card-thumb,
.booking-card--featured:focus .featured-card-thumb {
    transform: scale(1.025);
}

.booking-card--featured .featured-card-placeholder {
    align-items: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 34%),
        linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(22, 163, 74, 0.16)),
        #eef5ff;
    color: #0d6efd;
    display: flex;
    font-weight: 900;
    height: 100%;
    justify-content: center;
    min-height: 0;
    width: 100%;
}

.featured-card-image-gradient {
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02) 25%, rgba(15, 23, 42, 0.72) 100%);
    display: flex;
    gap: 10px;
    inset: 0;
    justify-content: space-between;
    padding: 46px 14px 12px;
    position: absolute;
}

.featured-card-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.featured-card-facility {
    color: #fff;
    display: -webkit-box;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.35;
    overflow: hidden;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.32);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.featured-card-address {
    color: rgba(255, 255, 255, 0.82);
    display: -webkit-box;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    overflow: hidden;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.booking-card--featured .featured-card-rating--overlay {
    align-items: center;
    align-self: flex-end;
    background: rgba(15, 23, 42, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 900;
    gap: 4px;
    max-width: 48%;
    padding: 5px 8px;
}

.booking-card--featured .featured-card-rating--overlay .booking-card-rating-stars {
    color: #fbbf24;
    display: inline-flex;
    gap: 1px;
    line-height: 1;
}

.booking-card--featured .featured-card-rating--overlay .booking-card-rating-value {
    color: #fff;
}

.booking-card--featured .featured-card-rating--overlay small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
}

.booking-card--featured .featured-card-content {
    padding: 11px 12px 12px !important;
}

.featured-card-footer {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    margin: 0;
}

.featured-card-pill {
    align-items: center;
    background: #f5f8fc;
    border: 1px solid rgba(203, 213, 225, 0.82);
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    min-height: 30px;
    padding: 7px 10px;
    white-space: nowrap;
}

.featured-card-price {
    background: #eaf3ff;
    border-color: rgba(13, 110, 253, 0.18);
    color: #0d55d9;
}

.featured-card-count {
    background: #ecfdf5;
    border-color: rgba(16, 185, 129, 0.16);
    color: #047857;
}

.featured-card-environment {
    background: #fff7ed;
    border-color: rgba(249, 115, 22, 0.18);
    color: #9a3412;
}

.featured-card-compact-body {
    display: none;
}

@media (max-width: 767.98px) {
    .booking-featured-panel {
        gap: 10px;
        padding: 12px;
    }

    .booking-card-grid--featured {
        gap: 12px;
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-card--featured {
        border-radius: 18px;
    }

    .booking-card--featured .featured-card-media,
    .booking-card--featured .featured-card-thumb {
        aspect-ratio: 16 / 8.6;
    }

    .featured-card-image-gradient {
        padding: 40px 12px 11px;
    }

    .featured-card-facility {
        font-size: 0.98rem;
    }

    .booking-card--featured .featured-card-rating--overlay {
        font-size: 0.68rem;
        max-width: 50%;
        padding: 5px 7px;
    }

    .featured-card-pill {
        font-size: 0.72rem;
        min-height: 28px;
        padding: 6px 9px;
    }
}

.booking-featured-panel,
.booking-card-grid--featured {
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.booking-card-grid--featured.featured-view-compact {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.booking-card-grid--featured.featured-view-compact .booking-card--featured {
    align-items: stretch;
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 112px;
}

.booking-card-grid--featured.featured-view-compact .booking-card--featured .featured-card-media {
    aspect-ratio: auto;
    border-radius: 0 18px 18px 0;
    height: 100%;
    min-height: 112px;
}

.booking-card-grid--featured.featured-view-compact .booking-card--featured .featured-card-thumb {
    aspect-ratio: auto;
}

.booking-card-grid--featured.featured-view-compact .featured-card-image-gradient {
    align-items: flex-end;
    display: flex;
    padding: 28px 9px 8px;
}

.booking-card-grid--featured.featured-view-compact .featured-card-copy {
    gap: 1px;
}

.booking-card-grid--featured.featured-view-compact .featured-card-facility {
    font-size: 0.82rem;
    line-height: 1.25;
    -webkit-line-clamp: 2;
}

.booking-card-grid--featured.featured-view-compact .featured-card-address {
    font-size: 0.68rem;
}

.booking-card-grid--featured.featured-view-compact .featured-card-rating--overlay {
    inset-block-start: 8px;
    inset-inline-start: 8px;
    max-width: calc(100% - 16px);
    padding: 4px 6px;
    position: absolute;
}

.booking-card-grid--featured.featured-view-compact .featured-card-rating--overlay small {
    display: none;
}

.booking-card-grid--featured.featured-view-compact .featured-card-content {
    align-content: center;
    display: grid;
    padding: 10px 11px !important;
}

.booking-card-grid--featured.featured-view-compact .featured-card-footer {
    align-content: center;
    display: grid;
    gap: 7px;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
}

.booking-card-grid--featured.featured-view-compact .featured-card-pill {
    border-radius: 12px;
    font-size: 0.72rem;
    justify-content: center;
    min-height: 28px;
    overflow: hidden;
    padding: 6px 8px;
    text-overflow: ellipsis;
    width: 100%;
}

@media (max-width: 767.98px) {
    .booking-card-grid--featured.featured-view-compact {
        gap: 10px;
        grid-template-columns: minmax(0, 1fr);
    }

    .booking-card-grid--featured.featured-view-compact .booking-card--featured {
        grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
        min-height: 104px;
    }

    .booking-card-grid--featured.featured-view-compact .booking-card--featured .featured-card-media {
        min-height: 104px;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-image-gradient {
        padding: 24px 8px 8px;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-facility {
        font-size: 0.78rem;
    }
}

/* Compact featured courts view: horizontal app-card with image on the right. */
.booking-card-grid--featured.featured-view-compact {
    grid-template-columns: minmax(0, 1fr) !important;
}

.booking-card-grid--featured.featured-view-compact .booking-card--featured {
    align-items: stretch;
    direction: rtl;
    display: flex;
    flex-direction: row;
    min-height: 124px;
    overflow: hidden;
}

.booking-card-grid--featured.featured-view-compact .booking-card--featured .featured-card-media {
    aspect-ratio: auto;
    border-radius: 0 18px 18px 0;
    flex: 0 0 clamp(120px, 32%, 158px);
    height: auto;
    margin: 0;
    min-height: 124px;
}

.booking-card-grid--featured.featured-view-compact .booking-card--featured .featured-card-thumb {
    aspect-ratio: auto;
    height: 100%;
}

.booking-card-grid--featured.featured-view-compact .featured-card-image-gradient {
    display: none;
}

.booking-card-grid--featured.featured-view-compact .featured-card-content {
    align-content: stretch;
    display: grid;
    flex: 1 1 auto;
    gap: 10px;
    grid-template-rows: minmax(0, 1fr) auto;
    min-width: 0;
    padding: 13px 14px 12px !important;
}

.booking-card-grid--featured.featured-view-compact .featured-card-compact-body {
    align-content: start;
    display: grid;
    gap: 7px;
    justify-items: start;
    min-width: 0;
    text-align: start;
}

.booking-card-grid--featured.featured-view-compact .featured-card-compact-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.booking-card-grid--featured.featured-view-compact .featured-card-compact-title {
    color: #0f172a;
    display: -webkit-box;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.32;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.booking-card-grid--featured.featured-view-compact .featured-card-compact-address {
    color: #64748b;
    display: -webkit-box;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.booking-card-grid--featured.featured-view-compact .featured-card-rating--compact {
    align-items: center;
    background: #fff8e8;
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 999px;
    color: #915c00;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    gap: 4px;
    justify-self: start;
    line-height: 1;
    padding: 5px 8px;
}

.booking-card-grid--featured.featured-view-compact .featured-card-rating--compact .booking-card-rating-stars {
    color: #f59e0b;
    display: inline-flex;
    gap: 1px;
}

.booking-card-grid--featured.featured-view-compact .featured-card-rating--compact small {
    color: #9a6a00;
    font-size: 0.66rem;
    font-weight: 800;
}

.booking-card-grid--featured.featured-view-compact .featured-card-footer {
    align-items: center;
    align-self: end;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
}

.booking-card-grid--featured.featured-view-compact .featured-card-pill {
    border-radius: 999px;
    font-size: 0.7rem;
    min-height: 27px;
    padding: 6px 8px;
    width: auto;
}

@media (max-width: 767.98px) {
    .booking-card-grid--featured.featured-view-compact .booking-card--featured {
        min-height: 116px;
    }

    .booking-card-grid--featured.featured-view-compact .booking-card--featured .featured-card-media {
        flex-basis: clamp(116px, 36vw, 138px);
        min-height: 116px;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-content {
        gap: 8px;
        padding: 11px 12px 10px !important;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-compact-title {
        font-size: 0.92rem;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-compact-address {
        font-size: 0.74rem;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-rating--compact {
        font-size: 0.66rem;
        padding: 4px 7px;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-rating--compact small {
        display: none;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-pill {
        font-size: 0.66rem;
        min-height: 25px;
        padding: 5px 7px;
    }
}

@media (max-width: 380px) {
    .booking-card-grid--featured.featured-view-compact .booking-card--featured .featured-card-media {
        flex-basis: 108px;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-content {
        padding-inline: 10px !important;
    }
}

/* Final compact featured-card order: court title, facility, address, rating on image. */
.booking-card-grid--featured.featured-view-compact .booking-card--featured {
    background: #fff;
    border-color: rgba(218, 228, 242, 0.82);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.065);
    direction: rtl;
    display: flex;
    flex-direction: row;
    min-height: 126px;
    overflow: hidden;
}

.booking-card-grid--featured.featured-view-compact .booking-card--featured .featured-card-media {
    aspect-ratio: auto;
    border-radius: 0 18px 18px 0;
    flex: 0 0 clamp(126px, 34%, 164px);
    height: auto;
    margin: 0;
    min-height: 126px;
    position: relative;
}

.booking-card-grid--featured.featured-view-compact .booking-card--featured .featured-card-thumb,
.booking-card-grid--featured.featured-view-compact .booking-card--featured .featured-card-placeholder {
    aspect-ratio: auto;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.booking-card-grid--featured.featured-view-compact .featured-card-image-gradient {
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 42%, rgba(15, 23, 42, 0.72) 100%);
    display: flex !important;
    inset: 0;
    justify-content: flex-start;
    padding: 10px;
    position: absolute;
}

.booking-card-grid--featured.featured-view-compact .featured-card-image-gradient--no-rating {
    display: none !important;
}

.booking-card-grid--featured.featured-view-compact .featured-card-copy {
    display: none;
}

.booking-card-grid--featured.featured-view-compact .featured-card-rating--overlay {
    align-items: center;
    align-self: flex-end;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 900;
    gap: 4px;
    line-height: 1;
    max-width: 100%;
    padding: 5px 7px;
    position: static;
}

.booking-card-grid--featured.featured-view-compact .featured-card-rating--overlay .booking-card-rating-stars {
    color: #fbbf24;
    display: inline-flex;
    gap: 1px;
}

.booking-card-grid--featured.featured-view-compact .featured-card-rating--overlay small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.62rem;
    font-weight: 800;
}

.booking-card-grid--featured.featured-view-compact .featured-card-content {
    align-content: stretch;
    display: grid;
    flex: 1 1 auto;
    gap: 9px;
    grid-template-rows: minmax(0, 1fr) auto;
    min-width: 0;
    padding: 12px 13px 11px !important;
}

.booking-card-grid--featured.featured-view-compact .featured-card-compact-body {
    align-content: start;
    display: grid;
    gap: 0;
    min-width: 0;
    text-align: start;
}

.booking-card-grid--featured.featured-view-compact .featured-card-compact-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.booking-card-grid--featured.featured-view-compact .featured-card-compact-title {
    color: #0f172a;
    display: -webkit-box;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.28;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.booking-card-grid--featured.featured-view-compact .featured-card-compact-facility {
    color: #475569;
    display: -webkit-box;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.booking-card-grid--featured.featured-view-compact .featured-card-compact-address {
    color: #7a8799;
    display: -webkit-box;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.35;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.booking-card-grid--featured.featured-view-compact .featured-card-footer {
    align-items: center;
    align-self: end;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    margin: 0;
    min-width: 0;
}

.booking-card-grid--featured.featured-view-compact .featured-card-pill {
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 900;
    line-height: 1;
    min-height: 26px;
    padding: 6px 8px;
    width: auto;
}

@media (max-width: 767.98px) {
    .booking-card-grid--featured.featured-view-compact .booking-card--featured {
        min-height: 116px;
    }

    .booking-card-grid--featured.featured-view-compact .booking-card--featured .featured-card-media {
        flex-basis: clamp(112px, 36vw, 138px);
        min-height: 116px;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-content {
        gap: 7px;
        padding: 10px 11px 9px !important;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-compact-title {
        font-size: 0.92rem;
        line-height: 1.26;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-compact-facility {
        font-size: 0.76rem;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-compact-address {
        font-size: 0.7rem;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-rating--overlay {
        font-size: 0.62rem;
        padding: 4px 6px;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-rating--overlay small {
        display: none;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-pill {
        font-size: 0.64rem;
        min-height: 24px;
        padding: 5px 7px;
    }
}

@media (max-width: 380px) {
    .booking-card-grid--featured.featured-view-compact .booking-card--featured .featured-card-media {
        flex-basis: 106px;
    }

    .booking-card-grid--featured.featured-view-compact .featured-card-content {
        padding-inline: 9px !important;
    }
}

/* Facility cards view toggle and compact branch layout. */
.facility-view-toolbar {
    display: flex;
    justify-content: flex-start;
    margin: 0 0 10px;
}

.facility-view-toggle-btn {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
    color: #0d6efd;
    cursor: pointer;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    padding: 0;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    width: 36px;
}

.facility-view-toggle-btn svg {
    display: block;
    height: 18px;
    width: 18px;
}

.facility-view-toggle-btn:hover,
.facility-view-toggle-btn:focus,
.facility-view-toggle-btn.is-active {
    background: #eef6ff;
    border-color: rgba(13, 110, 253, 0.28);
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.12);
    outline: 0;
}

.facility-view-toggle-btn:active {
    transform: scale(0.97);
}

#facilityOptions .facility-card-compact-body {
    display: none;
}

#facilityOptions.facility-view-compact {
    grid-template-columns: minmax(0, 1fr);
}

#facilityOptions.facility-view-compact .booking-card--facility {
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(218, 228, 242, 0.84);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.065);
    direction: rtl;
    display: flex;
    flex-direction: row;
    min-height: 126px;
    overflow: hidden;
    padding: 0;
}

#facilityOptions.facility-view-compact .booking-card--facility.selected {
    border-color: rgba(13, 110, 253, 0.35);
    box-shadow: 0 14px 30px rgba(13, 110, 253, 0.13);
}

#facilityOptions.facility-view-compact .booking-card--facility .booking-card-media {
    aspect-ratio: auto;
    border-radius: 0 18px 18px 0;
    flex: 0 0 clamp(126px, 34%, 164px);
    height: auto;
    margin: 0;
    min-height: 126px;
    overflow: hidden;
    position: relative;
}

#facilityOptions.facility-view-compact .booking-card--facility .booking-card-thumb,
#facilityOptions.facility-view-compact .booking-card--facility .booking-card-placeholder {
    aspect-ratio: auto;
    display: block;
    height: 100%;
    max-height: none;
    object-fit: cover;
    width: 100%;
}

#facilityOptions.facility-view-compact .booking-card--facility .booking-card-media::after {
    display: none;
}

#facilityOptions.facility-view-compact .booking-card--facility .booking-card-overlay {
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 42%, rgba(15, 23, 42, 0.72) 100%);
    display: flex;
    inset: 0;
    justify-content: flex-start;
    padding: 10px;
    position: absolute;
}

#facilityOptions.facility-view-compact .booking-card--facility .booking-card-overlay--no-rating {
    display: none;
}

#facilityOptions.facility-view-compact .booking-card--facility .booking-card-overlay-identity {
    display: none;
}

#facilityOptions.facility-view-compact .booking-card--facility .booking-card-rating {
    align-items: center;
    align-self: flex-end;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 900;
    gap: 4px;
    line-height: 1;
    max-width: 100%;
    padding: 5px 7px;
    position: static;
}

#facilityOptions.facility-view-compact .booking-card--facility .booking-card-rating-stars {
    color: #fbbf24;
    display: inline-flex;
    gap: 1px;
}

#facilityOptions.facility-view-compact .booking-card--facility .booking-card-rating small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.62rem;
    font-weight: 800;
}

#facilityOptions.facility-view-compact .booking-card--facility .booking-card-facility-footer {
    align-content: space-between;
    align-items: flex-start;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: flex-start;
    min-width: 0;
    padding: 12px 13px 11px;
}

#facilityOptions.facility-view-compact .facility-card-compact-body {
    align-content: start;
    display: grid;
    flex: 1 0 100%;
    gap: 2px;
    min-width: 0;
    text-align: start;
}

#facilityOptions.facility-view-compact .facility-card-compact-title {
    color: #0f172a;
    display: -webkit-box;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.28;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#facilityOptions.facility-view-compact .facility-card-compact-subtitle {
    color: #64748b;
    display: -webkit-box;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

#facilityOptions.facility-view-compact .booking-card--facility .booking-card-type,
#facilityOptions.facility-view-compact .booking-card--facility .booking-card-price,
#facilityOptions.facility-view-compact .booking-card--facility .booking-card-meta {
    align-self: end;
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 900;
    line-height: 1;
    min-height: 26px;
    padding: 6px 8px;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .facility-view-toolbar {
        margin-bottom: 8px;
        padding-inline: 2px;
    }

    #facilityOptions.facility-view-compact .booking-card--facility {
        min-height: 116px;
    }

    #facilityOptions.facility-view-compact .booking-card--facility .booking-card-media {
        flex-basis: clamp(112px, 36vw, 138px);
        min-height: 116px;
    }

    #facilityOptions.facility-view-compact .booking-card--facility .booking-card-facility-footer {
        gap: 7px;
        padding: 10px 11px 9px;
    }

    #facilityOptions.facility-view-compact .facility-card-compact-title {
        font-size: 0.92rem;
        line-height: 1.26;
    }

    #facilityOptions.facility-view-compact .facility-card-compact-subtitle {
        font-size: 0.7rem;
    }

    #facilityOptions.facility-view-compact .booking-card--facility .booking-card-rating {
        font-size: 0.62rem;
        padding: 4px 6px;
    }

    #facilityOptions.facility-view-compact .booking-card--facility .booking-card-rating small {
        display: none;
    }

    #facilityOptions.facility-view-compact .booking-card--facility .booking-card-type,
    #facilityOptions.facility-view-compact .booking-card--facility .booking-card-price,
    #facilityOptions.facility-view-compact .booking-card--facility .booking-card-meta {
        font-size: 0.64rem;
        min-height: 24px;
        padding: 5px 7px;
    }
}

@media (max-width: 380px) {
    #facilityOptions.facility-view-compact .booking-card--facility .booking-card-media {
        flex-basis: 106px;
    }

    #facilityOptions.facility-view-compact .booking-card--facility .booking-card-facility-footer {
        padding-inline: 9px;
    }
}

/* Featured courts close action */
.booking-featured-head {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.booking-featured-head h2 {
    min-width: 0;
}

.booking-featured-head-actions {
    align-items: center;
    display: inline-flex;
    flex: 0 0 auto;
    gap: 8px;
}

.booking-featured-action-btn {
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(203, 213, 225, 0.86);
    border-radius: 999px;
    color: #0d6efd;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    height: 34px;
    justify-content: center;
    padding: 0;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    width: 34px;
}

.booking-featured-close-btn {
    color: #475569;
}

.booking-featured-action-btn svg {
    height: 17px;
    width: 17px;
}

.booking-featured-view-toggle-btn svg {
    height: 18px;
    width: 18px;
}

.booking-featured-action-btn:hover,
.booking-featured-action-btn:focus-visible,
.booking-featured-action-btn.is-active {
    background: #eef6ff;
    border-color: rgba(13, 110, 253, 0.36);
    color: #0d6efd;
    outline: 0;
}

.booking-featured-action-btn:active {
    transform: scale(0.96);
}

@media (max-width: 420px) {
    .booking-featured-action-btn {
        height: 32px;
        width: 32px;
    }

    .booking-featured-head-actions {
        gap: 6px;
    }
}

.admin-reports-page {
    display: grid;
    gap: 1rem;
}

.admin-reports-hero .card-body,
.admin-report-output .card-body,
.admin-reports-filter .card-body {
    padding: 1.4rem;
}

.admin-reports-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.admin-reports-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.admin-report-print-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-report-filter-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.admin-report-filter-summary span {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1e3a8a;
    border-radius: 999px;
    padding: .35rem .65rem;
    font-size: .875rem;
}

.admin-report-summary-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1rem;
}

.admin-report-summary-card {
    border: 1px solid #dbeafe;
    background: #f8fbff;
    border-radius: .75rem;
    padding: .85rem;
}

.admin-report-summary-card div {
    color: #64748b;
    font-size: .875rem;
    margin-bottom: .25rem;
}

.admin-report-summary-card strong {
    color: #1d4ed8;
    font-size: 1rem;
}

.admin-report-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: .85rem;
}

.admin-report-table {
    min-width: 980px;
}

.admin-report-table thead th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 800;
    white-space: nowrap;
}

.admin-report-table td,
.admin-report-table th {
    padding: .75rem;
    border-color: #e2e8f0;
    vertical-align: middle;
}

.admin-report-empty {
    border: 1px dashed #cbd5e1;
    border-radius: .85rem;
    padding: 2rem;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
}

@media (max-width: 991.98px) {
    .admin-reports-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-report-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .admin-reports-filter-grid,
    .admin-report-summary-grid {
        grid-template-columns: 1fr;
    }

    .admin-report-print-header {
        display: grid;
    }
}

@media print {
    .admin-reports-page .admin-menu,
    .admin-reports-page .admin-reports-hero,
    .admin-reports-page .admin-reports-filter,
    .site-header,
    footer {
        display: none !important;
    }

    .admin-reports-page,
    #adminReportPrintArea {
        display: block !important;
    }

    #adminReportPrintArea {
        box-shadow: none !important;
        border: 0 !important;
        width: 100% !important;
    }

    #adminReportPrintArea .card-body {
        padding: 0 !important;
    }

    .admin-report-table-wrap {
        overflow: visible !important;
        border: 0 !important;
    }

    .admin-report-table {
        min-width: 0 !important;
        width: 100% !important;
        font-size: 9px !important;
    }
}
