/**
 * Tobalt Modal - Multi-Step Booking Flow
 * Professional 3-step booking process
 *
 * Author: Tobalt — https://tobalt.lt
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --modal-primary: #1e40af;
    --modal-primary-hover: #1e3a8a;
    --modal-text: #1e293b;
    --modal-text-secondary: #64748b;
    --modal-border: #e2e8f0;
    --modal-bg: #ffffff;
    --modal-success: #059669;
    --modal-error: #dc2626;
}

/* ============================================
   BASE MODAL
   ============================================ */
.tobalt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tobalt-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    animation: tobaltFadeIn 200ms ease;
}

.tobalt-modal-content {
    position: relative;
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--modal-bg);
    border-radius: 12px;
    overflow: hidden;
    animation: tobaltSlideUp 300ms ease;
    display: flex;
    flex-direction: column;
}

/* ============================================
   MODAL HEADER
   ============================================ */
.tobalt-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--modal-border);
    background: #f8fafc;
}

.tobalt-modal-header-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--modal-text);
    margin: 0;
}

.tobalt-modal-close {
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 150ms ease;
}

.tobalt-modal-close:hover {
    background: var(--modal-border);
}

.tobalt-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--modal-text-secondary);
}

/* ============================================
   STEP INDICATOR
   ============================================ */
.tobalt-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid var(--modal-border);
}

.tobalt-step-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tobalt-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    background: var(--modal-border);
    color: var(--modal-text-secondary);
    transition: all 200ms ease;
}

.tobalt-step-item.active .tobalt-step-number {
    background: var(--modal-primary);
    color: white;
}

.tobalt-step-item.completed .tobalt-step-number {
    background: var(--modal-success);
    color: white;
}

.tobalt-step-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--modal-text-secondary);
    display: none;
}

.tobalt-step-item.active .tobalt-step-label {
    color: var(--modal-text);
}

.tobalt-step-divider {
    width: 32px;
    height: 2px;
    background: var(--modal-border);
    border-radius: 1px;
}

.tobalt-step-item.completed + .tobalt-step-divider {
    background: var(--modal-success);
}

/* ============================================
   MODAL BODY
   ============================================ */
.tobalt-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.tobalt-step-content {
    display: none;
    padding: 24px;
}

.tobalt-step-content.active {
    display: block;
}

/* ============================================
   STEP 1: HALL DETAILS
   ============================================ */
.tobalt-hall-hero {
    position: relative;
    height: 240px;
    margin: -24px -24px 24px -24px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tobalt-hall-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tobalt-hall-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.tobalt-hall-hero-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.tobalt-hall-hero-price {
    margin-top: 8px;
    font-size: 18px;
    color: rgba(255,255,255,0.9);
}

.tobalt-hall-hero-price strong {
    color: white;
}

.tobalt-hall-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.tobalt-stat-item {
    text-align: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.tobalt-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--modal-primary);
}

.tobalt-stat-label {
    font-size: 13px;
    color: var(--modal-text-secondary);
    margin-top: 4px;
}

.tobalt-hall-description {
    margin-bottom: 24px;
}

.tobalt-hall-description h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--modal-text-secondary);
    margin: 0 0 12px 0;
}

.tobalt-hall-description p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--modal-text);
    margin: 0;
}

.tobalt-hall-features {
    margin-bottom: 24px;
}

.tobalt-hall-features h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--modal-text-secondary);
    margin: 0 0 12px 0;
}

.tobalt-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tobalt-feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--modal-primary);
    background: #eff6ff;
    border-radius: 20px;
}

.tobalt-feature-badge svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   STEP 2: CALENDAR & TIME
   ============================================ */
.tobalt-calendar-container {
    margin-bottom: 24px;
}

.tobalt-date-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.tobalt-date-picker-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--modal-text);
    margin: 0;
}

.tobalt-date-nav {
    display: flex;
    gap: 8px;
}

.tobalt-date-nav button {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--modal-border);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 150ms ease;
}

.tobalt-date-nav button:hover {
    background: #f8fafc;
    border-color: var(--modal-primary);
}

.tobalt-date-nav button svg {
    width: 16px;
    height: 16px;
    stroke: var(--modal-text);
}

.tobalt-mini-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 24px;
}

.tobalt-mini-calendar-header {
    font-size: 12px;
    font-weight: 600;
    color: var(--modal-text-secondary);
    text-align: center;
    padding: 8px 0;
}

.tobalt-mini-calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 150ms ease;
    position: relative;
    border: 2px solid transparent;
    color: var(--modal-text);
}

.tobalt-mini-calendar-day:hover:not(.disabled):not(.other-month):not(.selected) {
    background: #eff6ff;
    border-color: var(--modal-primary);
}

.tobalt-mini-calendar-day.other-month {
    color: #cbd5e1;
    cursor: default;
}

.tobalt-mini-calendar-day.today {
    font-weight: 700;
    color: var(--modal-primary);
    background: #eff6ff;
}

.tobalt-mini-calendar-day.selected {
    background: var(--modal-primary);
    border-color: var(--modal-primary);
    color: white;
    font-weight: 700;
}

.tobalt-mini-calendar-day.has-availability::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #059669;
    border-radius: 50%;
}

.tobalt-mini-calendar-day.selected.has-availability::after {
    background: white;
}

.tobalt-mini-calendar-day.disabled {
    color: #e2e8f0;
    cursor: not-allowed;
    background: transparent;
    border-color: transparent;
}

.tobalt-time-slots-section h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--modal-text-secondary);
    margin: 0 0 12px 0;
}

.tobalt-time-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.tobalt-time-slot-btn {
    padding: 14px 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    border: 2px solid var(--modal-border);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 150ms ease;
    color: var(--modal-text);
}

.tobalt-time-slot-btn small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--modal-text-secondary);
    margin-top: 4px;
}

/* Available - hover */
.tobalt-time-slot-btn:hover:not(.disabled):not(.booked):not(.selected) {
    border-color: var(--modal-primary);
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 64, 175, 0.15);
}

/* Selected state - green for clarity */
.tobalt-time-slot-btn.selected {
    border-color: #059669;
    background: #059669;
    color: white;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.tobalt-time-slot-btn.selected small {
    color: rgba(255, 255, 255, 0.9);
}

.tobalt-time-slot-btn.selected:hover {
    background: #047857;
    border-color: #047857;
}

/* Booked/unavailable - clearly disabled */
.tobalt-time-slot-btn.booked {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    text-decoration: line-through;
}

.tobalt-time-slot-btn.booked small {
    color: #94a3b8;
    text-decoration: none;
}

.tobalt-time-slot-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.tobalt-selected-summary {
    margin-top: 24px;
    padding: 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
}

.tobalt-selected-summary h4 {
    font-size: 14px;
    font-weight: 600;
    color: #166534;
    margin: 0 0 8px 0;
}

.tobalt-selected-summary p {
    font-size: 15px;
    color: #15803d;
    margin: 0;
}

.tobalt-selected-summary .tobalt-total-price {
    font-size: 20px;
    font-weight: 700;
    color: #166534;
    margin-top: 8px;
}

/* ============================================
   STEP 3: BOOKING FORM
   ============================================ */
.tobalt-booking-summary {
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 24px;
}

.tobalt-booking-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.tobalt-booking-summary-row:not(:last-child) {
    border-bottom: 1px solid var(--modal-border);
}

.tobalt-booking-summary-label {
    color: var(--modal-text-secondary);
}

.tobalt-booking-summary-value {
    font-weight: 600;
    color: var(--modal-text);
}

.tobalt-booking-summary-total {
    font-size: 18px;
    padding-top: 12px;
}

.tobalt-booking-summary-total .tobalt-booking-summary-value {
    color: var(--modal-primary);
}

.tobalt-form-section {
    margin-bottom: 24px;
}

.tobalt-form-section h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--modal-text-secondary);
    margin: 0 0 16px 0;
}

.tobalt-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tobalt-form-field {
    margin-bottom: 16px;
}

.tobalt-form-field label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--modal-text);
    margin-bottom: 6px;
}

.tobalt-form-field label .required {
    color: var(--modal-error);
}

.tobalt-form-field input,
.tobalt-form-field textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid var(--modal-border);
    border-radius: 8px;
    background: white;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.tobalt-form-field input:focus,
.tobalt-form-field textarea:focus {
    outline: none;
    border-color: var(--modal-primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.tobalt-form-field textarea {
    min-height: 80px;
    resize: vertical;
}

.tobalt-checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tobalt-checkbox-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.tobalt-checkbox-field label {
    font-size: 14px;
    color: var(--modal-text);
    margin: 0;
    cursor: pointer;
}

/* Form validation errors */
.tobalt-form-field.has-error input,
.tobalt-form-field.has-error textarea {
    border-color: var(--modal-error);
    background: #fef2f2;
}

.tobalt-form-field.has-error label {
    color: var(--modal-error);
}

.tobalt-checkbox-field.has-error {
    padding: 8px 12px;
    background: #fef2f2;
    border-radius: 6px;
}

.tobalt-checkbox-field.has-error label {
    color: var(--modal-error);
}

/* ============================================
   STEP 3: CONTACT FORM
   ============================================ */
.tobalt-form-header {
    text-align: center;
    margin-bottom: 24px;
}

.tobalt-form-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--modal-text);
    margin: 0 0 8px 0;
}

.tobalt-form-header p {
    font-size: 15px;
    color: var(--modal-text-secondary);
    margin: 0;
}

.tobalt-contact-form .tobalt-form-field {
    margin-bottom: 20px;
}

.tobalt-contact-form input,
.tobalt-contact-form textarea {
    font-size: 16px;
}

/* ============================================
   STEP 4: CONFIRMATION
   ============================================ */
.tobalt-confirmation-header {
    text-align: center;
    margin-bottom: 24px;
}

.tobalt-confirmation-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--modal-text);
    margin: 0 0 8px 0;
}

.tobalt-confirmation-header p {
    font-size: 15px;
    color: var(--modal-text-secondary);
    margin: 0;
}

.tobalt-confirmation-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.tobalt-confirmation-section {
    padding: 16px 0;
    border-bottom: 1px solid var(--modal-border);
}

.tobalt-confirmation-section:last-of-type {
    border-bottom: none;
}

.tobalt-confirmation-section h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--modal-text-secondary);
    margin: 0 0 8px 0;
}

.tobalt-confirmation-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--modal-text);
}

.tobalt-confirmation-slots {
    font-size: 14px;
    color: var(--modal-text-secondary);
    margin-top: 4px;
}

.tobalt-confirmation-note {
    font-size: 14px;
    color: var(--modal-text-secondary);
    font-style: italic;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--modal-border);
}

.tobalt-confirmation-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    margin-top: 8px;
    border-top: 2px solid var(--modal-border);
}

.tobalt-confirmation-total span {
    font-size: 16px;
    color: var(--modal-text-secondary);
}

.tobalt-confirmation-total strong {
    font-size: 24px;
    font-weight: 700;
    color: var(--modal-primary);
}

/* ============================================
   MODAL FOOTER
   ============================================ */
.tobalt-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid var(--modal-border);
    background: #f8fafc;
}

.tobalt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 150ms ease;
    border: none;
}

.tobalt-btn-secondary {
    background: white;
    color: var(--modal-text);
    border: 1px solid var(--modal-border);
}

.tobalt-btn-secondary:hover {
    background: #f8fafc;
    border-color: var(--modal-text-secondary);
}

.tobalt-btn-primary {
    background: var(--modal-primary);
    color: white;
}

.tobalt-btn-primary:hover {
    background: var(--modal-primary-hover);
}

.tobalt-btn-primary:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.tobalt-btn svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   SUCCESS STATE
   ============================================ */
.tobalt-success-state {
    text-align: center;
    padding: 48px 24px;
}

.tobalt-success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: #d1fae5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tobalt-success-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--modal-success);
}

.tobalt-success-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--modal-text);
    margin: 0 0 12px 0;
}

.tobalt-success-message {
    font-size: 15px;
    color: var(--modal-text-secondary);
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.tobalt-success-details {
    text-align: left;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 24px;
}

/* ============================================
   LOADING STATE
   ============================================ */
.tobalt-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    color: var(--modal-text-secondary);
}

.tobalt-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--modal-border);
    border-top-color: var(--modal-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

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

/* ============================================
   ERROR STATE
   ============================================ */
.tobalt-error-message {
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    font-size: 14px;
    margin-bottom: 16px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes tobaltFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes tobaltSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 640px) {
    .tobalt-step-label {
        display: block;
    }
}

@media (max-width: 640px) {
    .tobalt-modal-content {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
        margin: 0;
    }

    .tobalt-modal-close {
        top: 12px;
        right: 12px;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .tobalt-modal-body {
        padding-bottom: 100px; /* Space for fixed footer */
        -webkit-overflow-scrolling: touch;
    }

    .tobalt-modal-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--modal-border);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        z-index: 10;
    }

    .tobalt-modal-footer .tobalt-btn {
        width: 100%;
        justify-content: center;
        min-height: 48px; /* Touch-friendly size */
    }

    .tobalt-hall-hero {
        height: 180px;
    }

    .tobalt-hall-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .tobalt-stat-item {
        padding: 12px 8px;
    }

    .tobalt-stat-value {
        font-size: 18px;
    }

    .tobalt-time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .tobalt-time-slot {
        min-height: 48px; /* Touch-friendly */
        font-size: 14px;
    }

    .tobalt-form-row {
        grid-template-columns: 1fr;
    }

    .tobalt-form-field input,
    .tobalt-form-field select,
    .tobalt-form-field textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        min-height: 48px;
    }

    .tobalt-stepper {
        padding: 12px 16px;
    }

    .tobalt-step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .tobalt-calendar-day {
        min-height: 44px;
        font-size: 14px;
    }

    .tobalt-checkbox-field label {
        padding: 12px 0;
    }

    .tobalt-checkbox-field input[type="checkbox"] {
        width: 22px;
        height: 22px;
    }
}

/* Body lock when modal open */
body.tobalt-modal-open {
    overflow: hidden;
}

/* ============================================
   IMAGE SLIDER
   ============================================ */
.tobalt-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.tobalt-slider-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.tobalt-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 300ms ease;
}

.tobalt-slide.active {
    opacity: 1;
}

.tobalt-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tobalt-slider-prev,
.tobalt-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 150ms ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tobalt-slider-prev:hover,
.tobalt-slider-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tobalt-slider-prev {
    left: 12px;
}

.tobalt-slider-next {
    right: 12px;
}

.tobalt-slider-prev svg,
.tobalt-slider-next svg {
    width: 20px;
    height: 20px;
    stroke: var(--modal-text);
}

.tobalt-slider-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.tobalt-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 150ms ease;
}

.tobalt-slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.tobalt-slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Single image fallback */
.tobalt-hall-hero-image {
    width: 100%;
    height: 100%;
}

.tobalt-hall-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   CONTACTS SECTION
   ============================================ */
.tobalt-hall-contacts {
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--modal-border);
}

.tobalt-hall-contacts h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--modal-text-secondary);
    margin: 0 0 16px 0;
}

.tobalt-contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
}

.tobalt-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--modal-text);
}

.tobalt-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke: var(--modal-primary);
    margin-top: 2px;
}

.tobalt-contact-item a {
    color: var(--modal-primary);
    text-decoration: none;
}

.tobalt-contact-item a:hover {
    text-decoration: underline;
}

.tobalt-contact-item.tobalt-contact-hours {
    grid-column: 1 / -1;
}

.tobalt-contact-item.tobalt-contact-hours span {
    line-height: 1.6;
}

.tobalt-contact-notes {
    margin-top: 16px;
    padding: 12px 16px;
    background: #f0f9ff;
    border-left: 3px solid var(--modal-primary);
    border-radius: 4px;
    font-size: 14px;
    color: var(--modal-text);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .tobalt-contacts-grid {
        grid-template-columns: 1fr;
    }

    .tobalt-slider-prev,
    .tobalt-slider-next {
        width: 36px;
        height: 36px;
    }

    .tobalt-slider-prev {
        left: 8px;
    }

    .tobalt-slider-next {
        right: 8px;
    }

    .tobalt-slider-dots {
        bottom: 50px;
    }
}

/* ============================================
   EQUIPMENT SELECTION (Step 3)
   ============================================ */
.tobalt-equipment-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--modal-border);
}

.tobalt-equipment-section h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--modal-text-secondary);
    margin: 0 0 8px 0;
}

.tobalt-equipment-section .description {
    font-size: 14px;
    color: var(--modal-text-secondary);
    margin: 0 0 16px 0;
}

.tobalt-equipment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tobalt-equipment-item {
    background: #f8fafc;
    border: 1px solid var(--modal-border);
    border-radius: 8px;
    padding: 12px 16px;
    transition: all 150ms ease;
}

.tobalt-equipment-item:has(input:checked) {
    background: #eff6ff;
    border-color: var(--modal-primary);
}

.tobalt-equipment-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.tobalt-equipment-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    accent-color: var(--modal-primary);
}

.tobalt-equipment-info {
    flex: 1;
    min-width: 0;
}

.tobalt-equipment-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--modal-text);
}

.tobalt-equipment-desc {
    display: block;
    font-size: 13px;
    color: var(--modal-text-secondary);
    margin-top: 2px;
}

.tobalt-equipment-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--modal-primary);
    white-space: nowrap;
}

.tobalt-equipment-qty-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--modal-border);
}

.tobalt-equipment-qty-wrap label {
    font-size: 13px;
    color: var(--modal-text-secondary);
    margin: 0;
}

.tobalt-equipment-qty-wrap select {
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid var(--modal-border);
    border-radius: 6px;
    background: white;
}

/* Equipment in confirmation (Step 4) */
.tobalt-confirmation-equipment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: var(--modal-text);
}

.tobalt-confirmation-equipment-item:not(:last-child) {
    border-bottom: 1px dashed var(--modal-border);
}

.tobalt-confirmation-price-breakdown {
    padding: 12px 0;
    border-top: 1px solid var(--modal-border);
}

.tobalt-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: var(--modal-text-secondary);
}

@media (max-width: 640px) {
    .tobalt-equipment-label {
        flex-wrap: wrap;
    }

    .tobalt-equipment-price {
        width: 100%;
        margin-top: 8px;
        padding-left: 32px;
    }
}

/* ============================================
   FLOOR PLAN SECTION
   ============================================ */
.tobalt-floor-plan-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--modal-border);
}

.tobalt-floor-plan-section h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--modal-text-secondary);
    margin: 0 0 16px 0;
}

.tobalt-floor-plan-thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--modal-border);
    transition: all 150ms ease;
}

.tobalt-floor-plan-thumbnail:hover {
    border-color: var(--modal-primary);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
}

.tobalt-floor-plan-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.tobalt-floor-plan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 64, 175, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 200ms ease;
}

.tobalt-floor-plan-thumbnail:hover .tobalt-floor-plan-overlay {
    opacity: 1;
}

.tobalt-floor-plan-overlay svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.tobalt-floor-plan-overlay span {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.tobalt-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tobalt-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    animation: tobaltFadeIn 200ms ease;
}

.tobalt-lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    animation: tobaltSlideUp 300ms ease;
}

.tobalt-lightbox-content img {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.tobalt-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 150ms ease;
}

.tobalt-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.tobalt-lightbox-close svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

@media (max-width: 640px) {
    .tobalt-lightbox-close {
        top: -45px;
        right: 50%;
        transform: translateX(50%);
    }
}
