/* ==========================================================================
   BOOKING & WORKSHOPS GLASS WIDGET (Resn / Pioneer Monochromatic Glass)
   ========================================================================== */

:root {
            --glass-bg: rgba(8, 12, 16, 0.32);
            --glass-blur: 24px;
            --glass-border: rgba(255, 255, 255, 0.12);
            --glass-border-specular: rgba(255, 255, 255, 0.26);
            --mono-active-bg: rgba(255, 255, 255, 0.12);
            --mono-active-border: rgba(255, 255, 255, 0.40);
        }

        .booking-modal-overlay, .booking-modal-overlay * {
            box-sizing: border-box;
        }

        /* OVERLAY MODALU REZERWACJI I WARSZTATÓW */
.booking-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: clamp(20px, 4vw, 70px);
    padding-left: clamp(20px, 31vw, 600px);
    background: rgba(3, 8, 6, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #fff;
    box-sizing: border-box;
}

.booking-modal-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.booking-close-btn {
    position: absolute;
    top: 36px;
    right: clamp(24px, 4vw, 50px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 60;
}

.booking-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.08);
}

        /* -------------------------------------------------------------
           POJEDYNCZA SZKLANA TAFLA (MONOCHROMATYCZNA, 28-32% PRZEZROCZYSTOŚCI)
           ------------------------------------------------------------- */
        .glass-booking-surface {
            width: 100%;
            max-width: 960px;
            height: 720px;
            background: var(--glass-bg);
            backdrop-filter: blur(var(--glass-blur)) saturate(150%);
            -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
            
            border: 1px solid var(--glass-border);
            border-top: 1px solid var(--glass-border-specular);
            border-left: 1px solid var(--glass-border-specular);
            border-radius: 20px;
            
            box-shadow: 
                0 30px 80px rgba(0, 0, 0, 0.65),
                inset 0 1px 1px rgba(255, 255, 255, 0.20);
            
            display: flex;
            flex-direction: column;
            overflow: hidden;
            position: relative;
            animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px) scale(0.99);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        /* -------------------------------------------------------------
           SELEKTOR 3 TYPÓW SPOTKAŃ (MINIMALISTYCZNY, MONOCHROMATYCZNY)
           ------------------------------------------------------------- */
        .event-type-selector {
            display: flex;
            align-items: stretch;
            gap: 8px;
            padding: 16px 20px 12px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(0, 0, 0, 0.22);
            flex-shrink: 0;
        }

        .event-type-btn {
            flex: 1;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 10px 14px;
            color: rgba(255, 255, 255, 0.65);
            cursor: pointer;
            font-family: inherit;
            text-align: left;
            transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .event-type-btn:hover {
            background: rgba(255, 255, 255, 0.06);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.18);
        }

        .event-type-btn.active {
            background: var(--mono-active-bg);
            border-color: var(--mono-active-border);
            color: #fff;
            box-shadow: 
                0 4px 18px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
        }

        .event-name {
            font-size: 13px;
            font-weight: 600;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .event-badge {
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            padding: 2px 7px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.55);
            transition: all 0.18s ease;
        }

        .event-type-btn.active .event-badge {
            background: #ffffff;
            color: #080c10;
        }

        .event-meta {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.45);
            transition: color 0.18s ease;
        }

        .event-type-btn.active .event-meta {
            color: rgba(255, 255, 255, 0.80);
        }

        /* -------------------------------------------------------------
           WIDOK 1: MENTORING (LISTOPAD: WYKUPIONE / POZOSTAŁE: NIEOTWARTE)
           ------------------------------------------------------------- */
        .mentoring-container {
            flex: 1;
            display: grid;
            grid-template-columns: 240px 1fr 220px;
            overflow: hidden;
            animation: fadeIn 0.25s ease;
        }

        .mentoring-container.hidden {
            display: none;
        }

        /* Kolumna 1: Informacje o mentoringu & lista oczekujących */
        .mentoring-info-col {
            padding: 24px 20px;
            border-right: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            flex-direction: column;
            gap: 16px;
            background: rgba(0, 0, 0, 0.10);
        }

        .host-profile {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .host-avatar {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.25);
            object-fit: cover;
        }

        .host-name {
            font-size: 13px;
            font-weight: 600;
            color: #ffffff;
        }

        .host-sub {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.5);
        }

        .mentoring-title-box h2 {
            font-size: 16px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 4px;
        }

        .mentoring-specs {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 11.5px;
            color: rgba(255, 255, 255, 0.6);
        }

        .status-sold-banner {
            padding: 10px 12px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .status-sold-title {
            font-size: 10.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: rgba(255, 255, 255, 0.85);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .status-sold-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #ffffff;
            opacity: 0.7;
        }

        .status-sold-desc {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.45);
            line-height: 1.4;
        }

        /* Lista rezerwowa */
        .waitlist-box {
            margin-top: auto;
            display: flex;
            flex-direction: column;
            gap: 8px;
            padding-top: 14px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .waitlist-label {
            font-size: 10.5px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.6);
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .waitlist-input {
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 8px;
            padding: 8px 10px;
            font-size: 12px;
            color: #fff;
            outline: none;
            font-family: inherit;
        }

        .waitlist-input:focus {
            border-color: rgba(255, 255, 255, 0.35);
        }

        .waitlist-btn {
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.25);
            color: #ffffff;
            border-radius: 8px;
            padding: 8px;
            font-size: 11px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.18s ease;
        }

        .waitlist-btn:hover {
            background: #ffffff;
            color: #080c10;
        }

        .waitlist-textarea {
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 8px;
            padding: 8px 10px;
            font-size: 11.5px;
            color: #fff;
            outline: none;
            font-family: inherit;
            resize: none;
            line-height: 1.4;
            transition: border-color 0.18s ease;
        }

        .waitlist-textarea:focus {
            border-color: rgba(255, 255, 255, 0.35);
        }

        .waitlist-textarea::placeholder {
            color: rgba(255, 255, 255, 0.30);
        }

        .waitlist-success-msg {
            display: none;
            font-size: 11px;
            color: rgba(255, 255, 255, 0.85);
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 8px;
            padding: 10px;
            line-height: 1.4;
            text-align: center;
            animation: fadeIn 0.25s ease;
        }

        /* Kolumna 2: Kalendarz siatka miesięczna */
        .mentoring-calendar-col {
            padding: 24px 28px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .calendar-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .calendar-month-title {
            font-size: 14px;
            font-weight: 600;
            color: #ffffff;
            text-transform: capitalize;
        }

        .calendar-nav-btns {
            display: flex;
            gap: 4px;
        }

        .cal-nav-btn {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #fff;
            border-radius: 6px;
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 12px;
            transition: background 0.18s ease;
        }

        .cal-nav-btn:hover:not(:disabled) {
            background: rgba(255, 255, 255, 0.12);
        }

        .cal-nav-btn:disabled {
            opacity: 0.25;
            cursor: not-allowed;
        }

        .calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            text-align: center;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.06em;
            color: rgba(255, 255, 255, 0.40);
            padding-bottom: 6px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 6px;
        }

        .cal-day-cell {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 500;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid transparent;
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all 0.15s ease;
            position: relative;
        }

        .cal-day-cell.weekend {
            color: rgba(255, 255, 255, 0.20);
            cursor: not-allowed;
            background: transparent;
        }

        .cal-day-cell:not(.weekend):hover {
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.20);
        }

        .cal-day-cell.active {
            background: #ffffff;
            color: #080c10;
            font-weight: 700;
            box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
        }

        .cal-day-cell.has-sold-dot::after {
            content: '';
            position: absolute;
            bottom: 4px;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.35);
        }

        .cal-day-cell.active::after {
            background: #080c10;
        }

        /* Kolumna 3: Sloty godzinowe */
        .mentoring-slots-col {
            padding: 24px 20px;
            border-left: 1px solid rgba(255, 255, 255, 0.08);
            display: flex;
            flex-direction: column;
            gap: 14px;
            background: rgba(0, 0, 0, 0.10);
        }

        .slots-col-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .slots-selected-date {
            font-size: 13px;
            font-weight: 600;
            color: #ffffff;
        }

        .slots-clock-format {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.4);
            font-weight: 600;
        }

        .slots-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        /* Styl slotu – przekreślony / wykupiony */
        .slot-item-booked {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 12px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 8px;
            cursor: not-allowed;
            user-select: none;
        }

        .slot-time-text {
            font-size: 13px;
            font-weight: 600;
            text-decoration: line-through;
            color: rgba(255, 255, 255, 0.38);
            letter-spacing: 0.02em;
        }

        .slot-badge-sold {
            font-size: 9.5px;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            padding: 2px 6px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.06);
            color: rgba(255, 255, 255, 0.45);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }

        /* Widok nieotwartego miesiąca (Grudzień i kolejne) */
        .slots-unopened-view {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 14px 0;
        }

        .slots-unopened-badge {
            align-self: flex-start;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            padding: 3px 8px;
            border-radius: 4px;
            background: rgba(255, 255, 255, 0.08);
            color: rgba(255, 255, 255, 0.65);
        }

        .slots-unopened-text {
            font-size: 11.5px;
            color: rgba(255, 255, 255, 0.48);
            line-height: 1.5;
        }

        .slots-note {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.38);
            line-height: 1.4;
            margin-top: 4px;
        }

        /* -------------------------------------------------------------
           WIDOK 2: WARSZTATY AI (CYKL 6 SPOTKAŃ, FORMULARZ "REZERWUJ")
           ------------------------------------------------------------- */
        .workshop-container {
            flex: 1;
            display: none;
            overflow-y: auto;
            padding: 28px 32px;
            animation: fadeIn 0.25s ease;
        }

        .workshop-container.visible {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .workshop-group-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            padding-bottom: 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

        .workshop-group-pills {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .workshop-section-title {
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: rgba(255, 255, 255, 0.45);
        }

        .workshop-group-pill {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255, 255, 255, 0.10);
            border: 1px solid rgba(255, 255, 255, 0.35);
            border-radius: 9999px;
            padding: 6px 14px;
            color: #ffffff;
            font-size: 12px;
            font-weight: 600;
        }

        .workshop-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #ffffff;
            box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
        }

        .workshop-status-tag {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.55);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            font-weight: 600;
        }

        .workshop-grid {
            display: grid;
            grid-template-columns: 1.15fr 1fr;
            gap: 32px;
            align-items: start;
        }

        .workshop-schedule-col {
            display: flex;
            flex-direction: column;
            gap: 14px;
        }

        .schedule-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .schedule-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 14px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 10px;
            font-size: 12.5px;
            color: rgba(255, 255, 255, 0.85);
        }

        .schedule-item:first-child {
            background: rgba(255, 255, 255, 0.07);
            border-color: rgba(255, 255, 255, 0.18);
            color: #ffffff;
        }

        .schedule-date {
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .schedule-num {
            font-size: 10px;
            color: rgba(255, 255, 255, 0.4);
            font-weight: 700;
        }

        .schedule-time {
            color: rgba(255, 255, 255, 0.55);
            font-size: 11.5px;
        }

        .workshop-note {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.4);
            line-height: 1.5;
            margin-top: 4px;
        }

        .workshop-form-col {
            display: flex;
            flex-direction: column;
            gap: 14px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            padding: 20px;
            position: relative;
        }

        .workshop-form {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .form-label {
            font-size: 11px;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.7);
        }

        .form-input {
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 8px;
            padding: 10px 12px;
            font-size: 13px;
            color: #ffffff;
            font-family: inherit;
            outline: none;
            transition: border-color 0.18s ease, background 0.18s ease;
        }

        .form-input:focus {
            border-color: rgba(255, 255, 255, 0.45);
            background: rgba(255, 255, 255, 0.08);
        }

        .form-input::placeholder {
            color: rgba(255, 255, 255, 0.25);
        }

        .btn-submit-workshop {
            width: 100%;
            margin-top: 6px;
            padding: 12px 16px;
            background: #ffffff;
            color: #080c10;
            border: none;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 700;
            font-family: inherit;
            cursor: pointer;
            transition: background 0.18s ease, transform 0.1s ease;
        }

        .btn-submit-workshop:hover:not(:disabled) {
            background: rgba(255, 255, 255, 0.90);
            transform: translateY(-1px);
        }

        .btn-submit-workshop:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .form-disclaimer {
            font-size: 11px;
            color: rgba(255, 255, 255, 0.48);
            line-height: 1.4;
            text-align: center;
        }

        /* Baner sukcesu po rezerwacji */
        .reservation-success-box {
            display: none;
            flex-direction: column;
            gap: 10px;
            text-align: center;
            padding: 24px 16px;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.20);
            border-radius: 12px;
            animation: fadeIn 0.3s ease;
        }

        .success-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #ffffff;
            color: #080c10;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            font-weight: 700;
            margin: 0 auto;
        }

        .success-title {
            font-size: 14px;
            font-weight: 700;
            color: #ffffff;
        }

        .success-desc {
            font-size: 12px;
            color: rgba(255, 255, 255, 0.70);
            line-height: 1.5;
        }

        @media (max-width: 900px) {
            .booking-modal-overlay {
                padding: 16px 10px;
                justify-content: center;
                background: rgba(3, 8, 6, 0.75);
            }
            .glass-booking-surface {
                height: 94vh;
                border-radius: 16px;
            }
            .event-type-selector {
                flex-direction: column;
                gap: 6px;
                padding: 12px;
            }
            .mentoring-container {
                grid-template-columns: 1fr;
                overflow-y: auto;
            }
            .mentoring-info-col, .mentoring-slots-col {
                border: none;
            }
            .workshop-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .workshop-container {
                padding: 16px;
            }
        }
