/* ============================================
   STAIRZ BOOKING - WordPress Override
   Version: 1.0

   Overrides booking.css to match stairz.nl
   site design (2026 rebrand).
   Scoped to .stairz-booking-wrap to avoid
   conflicts with WordPress themes.
   ============================================ */

/* --- Reset: undo booking.css body/global styles --- */
.stairz-booking-wrap,
.stairz-booking-wrap *,
.stairz-booking-wrap *::before,
.stairz-booking-wrap *::after {
    box-sizing: border-box;
}

/* Prevent booking.css * reset from leaking */
.stairz-booking-wrap {
    all: initial;
    display: block;
    font-family: "montserrat", "Helvetica Neue", Helvetica, "Arial Black", Arial, sans-serif;
    color: #313131;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
}

/* --- Container: no shadow, seamless in page --- */
.stairz-booking-wrap .booking-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

/* --- Header: lighter, no dark bg, matches site --- */
.stairz-booking-wrap .booking-header {
    background: #ffffff;
    padding: 32px 32px 24px;
    text-align: center;
    color: #313131;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.stairz-booking-wrap .booking-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #E88719;
}

/* Hide the STAIRZ logo - WordPress site already has it */
.stairz-booking-wrap .brand-logo,
.stairz-booking-wrap .brand-sub {
    display: none;
}

.stairz-booking-wrap .booking-header h1 {
    font-family: "degular", "montserrat", "Helvetica Neue", Helvetica, "Arial Black", Arial, sans-serif;
    font-size: 32px;
    margin-top: 0;
    font-weight: 300;
    line-height: 1.3;
    color: #313131;
}

.stairz-booking-wrap .booking-header h1 .accent {
    color: #E88719;
    font-style: italic;
}

.stairz-booking-wrap .booking-header p {
    font-family: "degular", "montserrat", "Helvetica Neue", Helvetica, "Arial Black", Arial, sans-serif;
    font-size: 18px;
    font-style: italic;
    opacity: 0.6;
    margin-top: 10px;
    font-weight: 300;
    color: #313131;
}

/* --- Progress bar --- */
.stairz-booking-wrap .booking-progress {
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 28px;
}

.stairz-booking-wrap .step-circle {
    width: 32px;
    height: 32px;
    font-size: 13px;
    font-weight: 700;
    background: #f0f0f0;
    color: #aaa;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.stairz-booking-wrap .progress-step.active .step-circle {
    background: #E88719;
    color: #fff;
    border-color: #E88719;
    box-shadow: 0 2px 10px rgba(232, 135, 25, 0.3);
}

.stairz-booking-wrap .progress-step.completed .step-circle {
    background: #E88719;
    color: #fff;
    border-color: #E88719;
}

.stairz-booking-wrap .progress-step.active .step-label {
    color: #E88719;
    font-weight: 700;
}

.stairz-booking-wrap .progress-step.completed .step-label {
    color: #313131;
}

.stairz-booking-wrap .progress-line.completed {
    background: #E88719;
}

/* --- Step content --- */
.stairz-booking-wrap .booking-step {
    padding: 32px;
}

.stairz-booking-wrap .step-title {
    font-family: "degular", "montserrat", "Helvetica Neue", Helvetica, "Arial Black", Arial, sans-serif;
    font-size: 22px;
    font-weight: 300;
    color: #313131;
    margin-bottom: 24px;
}

/* --- Type cards --- */
.stairz-booking-wrap .type-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 28px 24px;
    transition: all 0.25s ease;
}

.stairz-booking-wrap .type-card::before {
    width: 3px;
    border-radius: 0;
}

.stairz-booking-wrap .type-card:hover {
    border-color: #E88719;
    box-shadow: 0 4px 20px rgba(232, 135, 25, 0.1);
    transform: translateY(-2px);
}

.stairz-booking-wrap .type-card.selected {
    border-color: #E88719;
    background: #FFF8F0;
}

.stairz-booking-wrap .type-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #313131;
}

.stairz-booking-wrap .type-card p {
    font-size: 14px;
    color: #888;
}

/* --- Form inputs: match stairz.nl forms --- */
.stairz-booking-wrap .form-group label {
    font-weight: 600;
    color: #313131;
    font-size: 14px;
    margin-bottom: 6px;
}

.stairz-booking-wrap .form-group input,
.stairz-booking-wrap .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fafafa;
    color: #313131;
    transition: all 0.2s ease;
}

.stairz-booking-wrap .form-group input:focus,
.stairz-booking-wrap .form-group textarea:focus {
    outline: none;
    border-color: #E88719;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(232, 135, 25, 0.08);
}

/* --- Trap & termijn cards --- */
.stairz-booking-wrap .trap-card,
.stairz-booking-wrap .termijn-card {
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    transition: all 0.2s ease;
}

.stairz-booking-wrap .trap-card:hover,
.stairz-booking-wrap .termijn-card:hover {
    border-color: #E88719;
    background: #FFF8F0;
}

.stairz-booking-wrap .trap-card.selected,
.stairz-booking-wrap .termijn-card.selected {
    border-color: #E88719;
    background: #FFF8F0;
    color: #E88719;
}

/* --- Interesse circles --- */
.stairz-booking-wrap .interesse-circle {
    width: 76px;
    height: 76px;
    border: 2px solid #e0e0e0;
    background: #fafafa;
}

.stairz-booking-wrap .interesse-checkbox:hover .interesse-circle {
    border-color: #E88719;
    background: #FFF8F0;
}

.stairz-booking-wrap .interesse-checkbox input:checked ~ .interesse-circle {
    background: #E88719;
    border-color: #E88719;
    color: #fff;
    box-shadow: 0 4px 16px rgba(232, 135, 25, 0.3);
}

/* --- Calendar --- */
.stairz-booking-wrap .calendar-nav {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.stairz-booking-wrap .calendar-nav:hover {
    border-color: #E88719;
    color: #E88719;
    background: #FFF8F0;
}

.stairz-booking-wrap .calendar-day {
    border-radius: 8px;
}

.stairz-booking-wrap .calendar-day.available {
    background: #fafafa;
    border-radius: 8px;
}

.stairz-booking-wrap .calendar-day.available:hover {
    border-color: #E88719;
    background: #FFF8F0;
    color: #E88719;
}

.stairz-booking-wrap .calendar-day.selected {
    background: #E88719;
    color: #fff;
    border-color: #E88719;
}

/* --- Time slots --- */
.stairz-booking-wrap .timeslot-btn {
    border-radius: 9999px;
    border: 1px solid #e0e0e0;
    padding: 14px 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.stairz-booking-wrap .timeslot-btn:hover {
    border-color: #E88719;
    background: #FFF8F0;
    color: #E88719;
}

.stairz-booking-wrap .timeslot-btn.selected {
    background: #E88719;
    color: #fff;
    border-color: #E88719;
    box-shadow: 0 2px 10px rgba(232, 135, 25, 0.25);
}

/* --- Summary --- */
.stairz-booking-wrap .summary-card {
    background: #fafafa;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

/* --- Buttons: match stairz.nl pill buttons --- */
.stairz-booking-wrap .btn-primary {
    padding: 14px 28px;
    background: #32373c;
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: none;
    letter-spacing: 0;
    font-family: inherit;
}

.stairz-booking-wrap .btn-primary:hover {
    background: #E88719;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 135, 25, 0.3);
}

.stairz-booking-wrap .btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.stairz-booking-wrap .btn-secondary {
    padding: 14px 28px;
    background: #fff;
    color: #313131;
    border: 1px solid #ddd;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.stairz-booking-wrap .btn-secondary:hover {
    border-color: #313131;
    background: #fafafa;
}

/* --- Photo upload --- */
.stairz-booking-wrap .photo-upload-zone {
    border-radius: 12px;
    border: 2px dashed #ddd;
    background: #fafafa;
}

.stairz-booking-wrap .photo-upload-zone:hover {
    border-color: #E88719;
    background: #FFF8F0;
    color: #E88719;
}

.stairz-booking-wrap .photo-thumbnail {
    border-radius: 8px;
}

/* --- Success state --- */
.stairz-booking-wrap .success-details {
    background: #FFF8F0;
    border: 1px solid #f0d8b0;
    border-radius: 12px;
}

.stairz-booking-wrap .success-message {
    color: #666;
}

/* --- Footer: minimal inside widget --- */
.stairz-booking-wrap .booking-footer {
    background: #fafafa;
    color: #aaa;
    font-size: 12px;
    padding: 16px 32px;
    border-top: 1px solid #f0f0f0;
}

/* --- Navigation --- */
.stairz-booking-wrap .booking-nav {
    padding: 0 32px 28px;
}

/* --- Client found notice --- */
.stairz-booking-wrap .client-found-notice {
    background: #FFF8F0;
    border: 1px solid #f0d8b0;
    border-radius: 8px;
    color: #8B5E2F;
}

/* --- Address status --- */
.stairz-booking-wrap .address-status.found {
    background: #FFF8F0;
    border: 1px solid #f0d8b0;
    border-radius: 6px;
    color: #8B5E2F;
}

/* --- Error banner --- */
.stairz-booking-wrap .error-banner {
    border-radius: 8px;
}

/* --- Spinner --- */
.stairz-booking-wrap .spinner {
    border-top-color: #E88719;
}

/* --- Responsive --- */
@media (min-width: 480px) {
    .stairz-booking-wrap .type-cards {
        flex-direction: row;
    }

    .stairz-booking-wrap .type-card {
        flex: 1;
    }

    .stairz-booking-wrap .timeslots-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 600px) {
    .stairz-booking-wrap .booking-step {
        padding: 36px 40px;
    }

    .stairz-booking-wrap .booking-nav {
        padding: 0 40px 32px;
    }

    .stairz-booking-wrap .booking-header h1 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .stairz-booking-wrap .booking-step {
        padding: 24px 20px;
    }

    .stairz-booking-wrap .booking-nav {
        padding: 0 20px 20px;
    }

    .stairz-booking-wrap .booking-header h1 {
        font-size: 24px;
    }

    .stairz-booking-wrap .interesse-checkboxes {
        gap: 16px;
    }

    .stairz-booking-wrap .interesse-circle {
        width: 64px;
        height: 64px;
    }
}
