/* ============================================
   Studio Raya — Universal Booking System
   Monochrome. Minimal. Professional.
   
   CUSTOMIZATION:
   - Change --accent to match client brand
   - Swap logo in assets/logo.png
   ============================================ */

:root {
    /* --- BRAND (change per client) --- */
    --accent: #800020;
    --accent-hover: #da053a;
    --accent-text: #fff;

    /* --- MONOCHROME SCALE (do not change) --- */
    --bg: #fafafa;
    --bg-card: #fff;
    --bg-input: #fff;
    --border: #e0e0e0;
    --border-light: #ebebeb;
    --text: #111;
    --text-secondary: #555;
    --text-muted: #999;
    --success: #2a7d3f;
    --success-bg: #eef7f0;
    --error: #c03;
    --error-bg: #fef0f0;
    --warning: #b58a00;
    --warning-bg: #fdf8e8;
    --radius: 6px;
}

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
    font-size: 15px;
    min-height: 100vh;
}

::selection { background: var(--accent); color: var(--accent-text); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }

/* --- HEADER --- */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}
.header-back svg { width: 16px; height: 16px; }

.header-logo {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* --- FOOTER --- */
.page-footer {
    padding: 32px 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: opacity 0.15s;
}
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }

.btn-primary {
    background: var(--accent);
    color: var(--accent-text);
}
.btn-primary:not(:disabled):hover { opacity: 0.85; }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-sm { padding: 8px 16px; font-size: 13px; }

/* --- FORM ELEMENTS --- */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-group .optional {
    color: var(--text-muted);
    font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-input);
    color: var(--text);
    transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.form-group input::placeholder { color: var(--text-muted); }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ============================================
   HOME / LANDING PAGE
   ============================================ */
.home-page {
    min-height: 100vh;
    background: var(--bg);
}

/* Logo */
.home-logo-wrap {
    padding: 28px 24px 0;
    display: flex;
    justify-content: center;
}
.home-logo-img { height: 44px; }
.home-logo-text {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.03em;
}

/* Hero Slider */
/* .home-slider {
    position: relative;
    margin-top: 20px;
    overflow: hidden;
    height: 280px;
    background: var(--border-light);
    user-select: none;
} */
.home-slider {
    position: relative;
    margin: 20px auto;   /* tukar dari margin-top sahaja */
    overflow: hidden;
    height: 280px;
    background: var(--border-light);
    user-select: none;
    max-width: 1200px;   /* optional – supaya tak terlalu lebar */
    width: 100%;
}

@media (min-width: 640px) {
    .home-slider {
        height: 460px;
        width: calc(100% - 48px);
        max-width: 960px;
        border-radius: var(--radius);
    }
}
.home-slider-track {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.home-slider-slide {
    flex: 0 0 100%;
    min-width: 100%;
}
.home-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-slider-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ebebeb;
    color: var(--text-muted);
    font-size: 13px;
}
.home-slider-placeholder svg { width: 32px; height: 32px; opacity: 0.25; }
.home-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.82);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
    transition: background 0.15s;
    z-index: 2;
}
.home-slider-btn:hover { background: #fff; }
.home-slider-btn svg { width: 16px; height: 16px; }
.home-slider-prev { left: 12px; }
.home-slider-next { right: 12px; }
.home-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}
.home-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.home-slider-dot.active { background: #fff; transform: scale(1.4); }

/* Location link */
.home-map-wrap {
    padding: 18px 24px 0;
    display: flex;
    justify-content: center;
}
.home-map-btn {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 7px 14px;
    transition: color 0.15s, border-color 0.15s;
    max-width: 100%;
    line-height: 1.4;
    text-align: left;
}
.home-map-btn:hover { color: var(--text); border-color: var(--text-secondary); }
.home-map-btn svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 1px; }

/* About section */
.home-about {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 24px 56px;
}
.home-about-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 36px;
}

/* Highlights */
.home-highlights {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
}
.home-highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-card);
}
.home-highlight:last-child { border-bottom: none; }
.home-highlight-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}
.home-highlight-icon svg { width: 20px; height: 20px; }
.home-highlight-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 2px;
}
.home-highlight-body strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.home-highlight-body span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Tagline */
.home-tagline {
    font-size: 17px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.65;
    color: var(--text-secondary);
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
    text-align: center;
}

/* CTA */
.home-cta-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    justify-content: center;
}

/* ============================================
   THEMES PAGE
   ============================================ */
.themes-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.themes-hero {
    text-align: center;
    margin-bottom: 48px;
}
.themes-hero .section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.themes-hero h1 {
    font-size: 28px;
    margin-bottom: 8px;
}
.themes-hero p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.theme-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    overflow: hidden;
}

.theme-card-image {
    aspect-ratio: 4/3;
    background: var(--bg);
    overflow: hidden;
}
.theme-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.theme-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
    background: var(--bg);
}

.theme-card-body { padding: 20px; }
.theme-card-number {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.theme-card-name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}
.theme-card-price {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}
.theme-card-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

.theme-card-details {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}
.theme-card-details li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
}
.theme-card-details li::before {
    content: '·';
    position: absolute;
    left: 0;
    font-weight: 700;
}
.theme-card-details li.note {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}
.theme-card-details li.note::before { content: none; }

.theme-card .btn { width: 100%; }

/* Theme slider */
.theme-slider {
    position: relative;
    width: 100%;
    height: 100%;
}
.theme-slider-track {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    width: 100%;
    height: 100%;
}
.theme-slider-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}
.theme-slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.theme-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}
.theme-slider-btn svg { width: 16px; height: 16px; }
.theme-slider:hover .theme-slider-btn { opacity: 1; }
.theme-slider-prev { left: 8px; }
.theme-slider-next { right: 8px; }
.theme-slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.theme-slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: background 0.2s;
}
.theme-slider-dot.active { background: #fff; }

/* ============================================
   BOOKING PAGE
   ============================================ */
.booking-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}

.booking-theme-header {
    margin-bottom: 32px;
}
.booking-theme-header h1 {
    font-size: 24px;
    margin-bottom: 4px;
}
.theme-price-display {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Steps */
.booking-steps {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.step {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg);
    border-right: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.step:last-child { border-right: none; }
.step.active { background: var(--bg-card); color: var(--text); }
.step.completed { background: var(--bg-card); color: var(--text-muted); }
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 12px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-secondary);
}
.step.active .step-num { background: var(--accent); color: var(--accent-text); }
.step.completed .step-num { background: var(--success); color: #fff; }

/* Booking sections */
.booking-section { display: none; }
.booking-section.active { display: block; }

.booking-section-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}
.booking-section-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Date grid */
.date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-bottom: 32px;
}
.date-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 4px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s;
}
.date-btn:hover { border-color: var(--text-muted); }
.date-btn.selected { border-color: var(--accent); background: var(--accent); color: var(--accent-text); }
.date-btn .day-name { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.date-btn .day-num { font-size: 18px; font-weight: 600; line-height: 1.2; }
.date-btn .day-month { font-size: 11px; color: var(--text-muted); }
.date-btn.selected .day-name,
.date-btn.selected .day-month { color: var(--accent-text); opacity: 0.7; }

/* Time slots */
.timeslot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-bottom: 32px;
}
.timeslot-btn {
    padding: 10px 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s;
}
.timeslot-btn:hover:not(:disabled) { border-color: var(--text-muted); }
.timeslot-btn.selected { border-color: var(--accent); background: var(--accent); color: var(--accent-text); }
.timeslot-btn.unavailable {
    background: var(--bg);
    color: var(--text-muted);
    text-decoration: line-through;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Pax */
.pax-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}
.pax-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.pax-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: none;
    font-size: 18px;
    cursor: pointer;
    font-family: inherit;
    color: var(--text);
}
.pax-value {
    width: 48px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pax-info { font-size: 13px; color: var(--text-muted); }

.pax-extra-note {
    font-size: 13px;
    color: var(--warning);
    margin-bottom: 24px;
    display: none;
}
.pax-extra-note.visible { display: block; }

/* Booking nav */
.booking-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* Summary */
.booking-summary {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 32px;
    background: var(--bg-card);
}
.summary-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
}
.summary-row .label { color: var(--text-secondary); }
.summary-row .value { font-weight: 500; text-align: right; }
.summary-divider { height: 1px; background: var(--border); margin: 12px 0; }
.summary-total .label { font-weight: 600; color: var(--text); }
.summary-total .value { font-size: 16px; font-weight: 600; }

/* Payment options */
.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 8px;
}
.payment-option {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s;
}
.payment-option:hover { border-color: var(--text-muted); }
.payment-option.selected { border-color: var(--accent); }
.payment-option-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.payment-option-amount {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}
.payment-option-note {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   SUCCESS / ERROR PAGE
   ============================================ */
.result-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}
.result-container {
    width: 100%;
    max-width: 480px;
    text-align: center;
}
.result-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.result-icon.success { background: var(--success-bg); }
.result-icon.success svg { stroke: var(--success); }
.result-icon.error { background: var(--error-bg); }
.result-icon.error svg { stroke: var(--error); }
.result-icon svg { width: 24px; height: 24px; }

.result-container h1 { font-size: 24px; margin-bottom: 8px; }
.result-ref {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.result-details {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
    background: var(--bg-card);
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(250, 250, 250, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
}
.loading-overlay.active { display: flex; }
.loader {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 13px; color: var(--text-muted); }

/* ============================================
   ADMIN
   ============================================ */
.admin-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}
.admin-title {
    font-size: 24px;
    margin-bottom: 24px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}
.stat-card {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.stat-value { font-size: 24px; font-weight: 600; }

/* Admin tabs */
.admin-tabs {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}
.admin-tab {
    flex: 1;
    padding: 10px 12px;
    text-align: center;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    background: var(--bg);
    border: none;
    border-right: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
}
.admin-tab:last-child { border-right: none; }
.admin-tab.active { background: var(--bg-card); color: var(--text); }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

/* Admin table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.admin-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    font-weight: 500;
    white-space: nowrap;
}
.admin-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.status-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 3px;
}
.status-paid { background: var(--success-bg); color: var(--success); }
.status-pending { background: var(--warning-bg); color: var(--warning); }
.status-failed, .status-cancelled { background: var(--error-bg); color: var(--error); }

/* Admin forms */
.admin-form-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.admin-form-row .form-group { margin-bottom: 0; flex: 1; min-width: 140px; }
.admin-form-row .btn { height: 40px; white-space: nowrap; }

/* Date chips */
.date-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.date-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.remove-date {
    color: var(--error);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

/* Admin theme editor */
.theme-editor {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    background: var(--bg-card);
}
.theme-editor-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}
.theme-inactive { opacity: 0.55; }

/* Admin theme images */
.theme-images-grid {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.theme-image-item {
    position: relative;
    width: 100px;
    height: 75px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.theme-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.theme-image-delete {
    position: absolute;
    top: 4px;
    right: 4px;
}
.theme-image-delete button {
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-image-delete button:hover { background: var(--error); }

/* Admin login */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}
.login-box {
    width: 100%;
    max-width: 360px;
}
.login-box h1 {
    font-size: 24px;
    margin-bottom: 8px;
    text-align: center;
}
.login-box p {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}
.login-error {
    font-size: 13px;
    color: var(--error);
    padding: 10px;
    background: var(--error-bg);
    border-radius: var(--radius);
    margin-bottom: 16px;
    text-align: center;
}

/* ============================================
   STUDIO SECTIONS (themes page)
   ============================================ */
.studio-section {
    margin-bottom: 56px;
}
.studio-section:last-child {
    margin-bottom: 0;
}
.studio-section-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--text);
}
.studio-section-title {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.studio-section-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* Theme card action buttons */
.theme-card-actions {
    display: flex;
    gap: 8px;
}
.theme-card-actions .btn {
    flex: 1;
}

/* ============================================
   RICH FOOTER
   ============================================ */
.footer-rich {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 48px 24px 24px;
    font-size: 13px;
    color: var(--text-secondary);
}
.footer-rich-inner {
    max-width: 960px;
    margin: 0 auto 32px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
}
.footer-brand-name {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 4px;
}
.footer-brand-tagline {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-contact-list li a {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--text-secondary);
    line-height: 1.4;
    transition: color 0.15s;
}
.footer-contact-list li a:hover { color: var(--text); }
.footer-contact-list li a svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 1px;
    stroke: currentColor;
}
.footer-social-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 14px;
}
.footer-social-links {
    display: flex;
    gap: 10px;
}
.footer-social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: border-color 0.15s, color 0.15s;
}
.footer-social-links a:hover {
    border-color: var(--accent);
    color: var(--text);
}
.footer-social-links svg { width: 18px; height: 18px; }
.footer-copyright {
    max-width: 960px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .payment-options { grid-template-columns: 1fr; }
    .booking-steps { font-size: 12px; }
    .step { padding: 10px 4px; }
    .themes-grid { grid-template-columns: 1fr; }
    .date-grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
    .timeslot-grid { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .admin-form-row { flex-direction: column; }
    .footer-rich-inner { grid-template-columns: 1fr; gap: 32px; }
}
