/* _content/WebControls/SeatPicker/SeatPickerControl.razor.rz.scp.css */
/* ── Screen-reader-only utility ─────────────────────────────────────────── */
.sp-sr-only[b-75f0c99z26] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Root ───────────────────────────────────────────────────────────────── */
.sp-root[b-75f0c99z26] {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;

/* ── SVG transition (overview ↔ full-plan via SMIL viewBox animation) ───── */
.sp-svg {
    transition: none;
}

/* Overview SVG fills the viewport exactly like the full-plan SVG */
.sp-svg--overview[b-75f0c99z26] {
    width: 100%;
    height: 100%;
}

@keyframes sp-fade-out-b-75f0c99z26 {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes sp-fade-in-b-75f0c99z26 {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.sp-svg--fade-out[b-75f0c99z26] {
    animation: sp-fade-out-b-75f0c99z26 0.35s ease forwards;
}

.sp-svg--fade-in[b-75f0c99z26] {
    animation: sp-fade-in-b-75f0c99z26 0.35s ease forwards;
}

/* ── Overview back button ────────────────────────────────────────────────── */
.sp-map-outer[b-75f0c99z26] {
    position: relative;
}

.sp-overview-btn[b-75f0c99z26] {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #37474f;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: background 0.15s, box-shadow 0.15s;
}

.sp-overview-btn:hover[b-75f0c99z26],
.sp-overview-btn:focus-visible[b-75f0c99z26] {
    background: rgba(255,255,255,1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.22);
    outline: 2px solid #1565c0;
    outline-offset: 2px;
}

.sp-overview-btn-icon[b-75f0c99z26] {
    font-size: 1rem;
    line-height: 1;
}
    position: relative;
    font-family: sans-serif;[b-75f0c99z26]
}

.sp-loading[b-75f0c99z26],
.sp-error[b-75f0c99z26] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 32px;
}

/* ── Two-column layout (desktop) ────────────────────────────────────────── */
.sp-layout[b-75f0c99z26] {
    display: flex;
    flex: 1;
    min-height: 0;
    gap: 12px;
    overflow: hidden;
}

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.sp-sidebar[b-75f0c99z26] {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    padding: 8px 4px 8px 0;
}

/* ── Guidance banner ────────────────────────────────────────────────────── */
.sp-guidance-banner[b-75f0c99z26] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #e8f5e9;
    border-radius: 6px;
    padding: 8px 10px;
    flex-shrink: 0;
}

.sp-guidance-icon[b-75f0c99z26] {
    color: #2e7d32;
    margin-top: 1px;
    flex-shrink: 0;
}

/* ── Recommendation filter badge ────────────────────────────────────────── */
.sp-rec-filter-badge[b-75f0c99z26] {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 4px;
}

.sp-rec-filter-clear[b-75f0c99z26] {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.75rem;
    color: #1976d2;
    padding: 0 2px;
    text-decoration: underline;
}

.sp-rec-filter-clear:hover[b-75f0c99z26] {
    color: #0d47a1;
}

/* ── Recommendation cards ───────────────────────────────────────────────── */
.sp-rec-list[b-75f0c99z26] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-rec-card[b-75f0c99z26] {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 12px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.sp-rec-card--selected[b-75f0c99z26] {
    border-color: #1565c0;
    box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.2);
}

.sp-rec-card-header[b-75f0c99z26] {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.sp-rec-price-swatch[b-75f0c99z26] {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 3px;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.sp-rec-card-info[b-75f0c99z26] {
    flex: 1;
    min-width: 0;
}

.sp-rec-card-price[b-75f0c99z26] {
    text-align: right;
    flex-shrink: 0;
}

.sp-rec-rv-warning[b-75f0c99z26] {
    display: flex;
    align-items: center;
    color: #e65100;
    margin-bottom: 4px;
    font-size: 0.75rem;
}

/* ── Pick-own toggle ────────────────────────────────────────────────────── */
.sp-pickown-toggle[b-75f0c99z26] {
    padding: 4px 0;
    flex-shrink: 0;
}

/* ── Selection tray ─────────────────────────────────────────────────────── */
.sp-tray[b-75f0c99z26] {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 12px;
    flex-shrink: 0;
}

.sp-tray-chips[b-75f0c99z26] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin-bottom: 8px;
}

.sp-tray-footer[b-75f0c99z26] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

/* ── Map outer container ────────────────────────────────────────────────── */
.sp-map-outer[b-75f0c99z26] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* ── Map viewport ───────────────────────────────────────────────────────── */
.sp-map-viewport[b-75f0c99z26] {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
    background: #fafafa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    outline: none;
}

.sp-map-viewport:focus-visible[b-75f0c99z26] {
    outline: 3px solid #1565c0;
    outline-offset: 2px;
}

/* ── SVG ────────────────────────────────────────────────────────────────── */
.sp-svg[b-75f0c99z26] {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.05s linear;
    will-change: transform;
}

/* ── Zoom controls overlay ──────────────────────────────────────────────── */
.sp-zoom-controls[b-75f0c99z26] {
    position: absolute;
    bottom: 48px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}

    .sp-zoom-controls button[b-75f0c99z26] {
        min-width: 44px !important;
        min-height: 44px !important;
        width: 44px;
        height: 44px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    }

/* ── Legend ─────────────────────────────────────────────────────────────── */
.sp-legend[b-75f0c99z26] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    background: #f5f5f5;
    border-radius: 0 0 6px 6px;
    padding: 6px 10px;
    flex-shrink: 0;
}

.sp-legend-item[b-75f0c99z26] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sp-legend-swatch[b-75f0c99z26] {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    display: inline-block;
}

.sp-legend-swatch--recommended[b-75f0c99z26] {
    background: #b3e5fc;
    border: 2.5px solid #f57f17;
}

.sp-legend-swatch--restricted[b-75f0c99z26] {
    background: repeating-linear-gradient(
        45deg,
        #b0bec5,
        #b0bec5 2px,
        #eceff1 2px,
        #eceff1 5px
    );
    border-color: rgba(0, 0, 0, 0.15);
}

.sp-legend-swatch--unavailable[b-75f0c99z26] {
    background: #e0e0e0;
    opacity: 0.5;
}

.sp-legend-swatch--selected[b-75f0c99z26] {
    background: #1565c0;
}

/* ── Confirmation overlay ───────────────────────────────────────────────── */
.sp-confirm-overlay[b-75f0c99z26] {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 16px;
}

.sp-confirm-panel[b-75f0c99z26] {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
    max-height: 90vh;
    overflow-y: auto;
}

.sp-confirm-table[b-75f0c99z26] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.sp-confirm-row[b-75f0c99z26] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sp-confirm-total[b-75f0c99z26] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0 16px;
    border-top: 2px solid #e0e0e0;
    margin-top: 4px;
}

.sp-confirm-actions[b-75f0c99z26] {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* ── Responsive: stack on mobile ────────────────────────────────────────── */
@@media (max-width: 767px) {
    .sp-layout[b-75f0c99z26] {
        flex-direction: column;
    }

    .sp-sidebar[b-75f0c99z26] {
        width: 100%;
        max-height: 40vh;
        overflow-y: auto;
        padding: 8px 0 0;
    }

    .sp-map-outer[b-75f0c99z26] {
        min-height: 320px;
    }

    .sp-zoom-controls[b-75f0c99z26] {
        bottom: 52px;
        right: 6px;
    }

    .sp-confirm-panel[b-75f0c99z26] {
        padding: 16px;
    }
}
