/* Spaces / Studios public pages — dedicated stylesheet (index + show) */

.spaces-index-page .page-header {
    background: linear-gradient(135deg, #5b5bf0 0%, #8b5cf6 55%, #0891b2 100%);
    color: #fff;
}

.spaces-index-page .page-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.spaces-index-page .page-subtitle {
    font-size: 1.1rem;
    opacity: 0.92;
}

/* ---- Space type visual language ---- */
/* Sound studio: indigo · Video studio: amber · Co-working: mint */
.space-type-badge {
    background: #5b5bf0;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
}

.space-card.space-badge--sound .space-type-badge,
.space-badge-pill--sound {
    background: #5b5bf0;
}

.space-card.space-badge--video .space-type-badge,
.space-badge-pill--video {
    background: #f59e0b;
    color: #1f2937;
}

.space-card.space-badge--coworking .space-type-badge,
.space-badge-pill--coworking {
    background: #059669;
}

.space-card.space-badge--default .space-type-badge,
.space-badge-pill--default {
    background: #6b7280;
}

/* Colored top accent bar so cards are scannable at a glance */
.space-card {
    border-top: 4px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.space-card.space-badge--sound {
    border-top-color: #5b5bf0;
}

.space-card.space-badge--video {
    border-top-color: #f59e0b;
}

.space-card.space-badge--coworking {
    border-top-color: #059669;
}

.space-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14) !important;
}

/* ---- Filter sidebar ---- */
.spaces-filter-card {
    border-radius: 14px;
}

.spaces-filter-card .form-label {
    font-size: 0.85rem;
    color: #374151;
}

.spaces-filter-toggle {
    display: none;
}

@media (max-width: 991.98px) {
    .spaces-filter-toggle {
        display: inline-flex;
    }
}

/* ---- Type quick-filter chips (mobile-friendly, above the fold) ---- */
.space-type-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.space-type-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.space-type-chip:hover {
    border-color: #c7ccf7;
    color: #111827;
}

.space-type-chip.is-active {
    color: #fff;
    border-color: transparent;
}

.space-type-chip.is-active.chip--sound { background: #5b5bf0; }
.space-type-chip.is-active.chip--video { background: #f59e0b; color: #1f2937; }
.space-type-chip.is-active.chip--coworking { background: #059669; }
.space-type-chip.is-active.chip--all { background: #111827; }

/* ---- Show page ---- */
.space-gallery {
    background: #fff;
}

.space-booking-sticky .space-price {
    font-size: 1.9rem;
    font-weight: 800;
    color: #111827;
}

.space-quick-fact {
    background: #f8f9fc;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
}

.space-package-card {
    border-radius: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.space-package-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
}

.space-package-card.is-featured {
    border-color: #5b5bf0 !important;
    box-shadow: 0 0 0 1px rgba(91, 91, 240, 0.15);
}

/* Empty-state / no-results */
.spaces-index-page .empty-state {
    padding: 3rem 1rem;
}
