/* ── MonsterPadel Simple Booking ── */

.mp-sb-wrap {
    background: #D6F5F5;
    color: #000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 52px 48px 40px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ── Header / Toggle switch ── */
.mp-sb-header { text-align: center; margin-bottom: 40px; }

.mp-sb-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 14px;
}
.mp-sb-toggle-label {
    font-size: 18px;
    font-weight: 700;
    color: #7ab8b8;
    cursor: pointer;
    user-select: none;
    transition: color .15s;
    letter-spacing: .2px;
}
.mp-sb-toggle-label.active { color: #000; }

/* The pill switch */
.mp-sb-switch {
    position: relative;
    width: 58px;
    height: 30px;
    background: #9dd8d8;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background .2s;
    outline: none;
}
.mp-sb-switch:focus-visible { box-shadow: 0 0 0 3px rgba(0,0,0,.25); }
.mp-sb-switch[aria-checked="true"] { background: #000; }
.mp-sb-switch-knob {
    position: absolute;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    top: 4px;
    left: 4px;
    transition: transform .2s;
    pointer-events: none;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.mp-sb-switch[aria-checked="true"] .mp-sb-switch-knob { transform: translateX(28px); }

.mp-sb-price-hint { margin: 0 0 10px; font-size: 15px; color: #2a7070; letter-spacing: .3px; }

/* ── Credit hint (under summary bar) ── */
.mp-sb-credit-hint {
    margin-top: 10px;
    font-size: 12px;
    color: #1a6a4a;
    text-align: right;
    letter-spacing: .2px;
}

/* ── Date row ── */
.mp-sb-dates {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 32px;
    scrollbar-width: thin;
    scrollbar-color: #9dd8d8 transparent;
}
.mp-sb-date-btn {
    background: #fff;
    border: 1.5px solid #9dd8d8;
    color: #000;
    padding: 16px 14px 14px;
    cursor: pointer;
    text-align: center;
    min-width: 78px;
    flex-shrink: 0;
    border-radius: 4px;
    transition: all .12s;
    font-family: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.mp-sb-date-btn .day-name { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #9dd8d8; display: block; }
.mp-sb-date-btn .day-num  { font-size: 28px; font-weight: 700; display: block; line-height: 1.1; margin: 4px 0 3px; color: #9dd8d8; }
.mp-sb-date-btn .month    { font-size: 11px; color: #7ab8b8; display: block; }
.mp-sb-date-btn:hover     { border-color: #9dd8d8; background: #1a1a1a !important; }
.mp-sb-date-btn.active    { background: #9dd8d8 !important; border-color: #000; }
.mp-sb-date-btn.active .day-name { color: #000; }
.mp-sb-date-btn.active .day-num  { color: #000; }
.mp-sb-date-btn.active .month    { color: #2a7070; }

/* ── Slot grid ── */
.mp-sb-slots-wrap { min-height: 120px; }
.mp-sb-empty-msg {
    text-align: center;
    color: #5a9a9a;
    padding: 48px 0;
    font-size: 15px;
    letter-spacing: .3px;
}
.mp-sb-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.mp-sb-slot {
    background: #fff;
    border: 1.5px solid #b0e0e0;
    color: #000;
    padding: 20px 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 4px;
    transition: all .12s;
    user-select: none;
}
.mp-sb-slot:hover:not(.full) { border-color: #000; background: #c8eeee; }
.mp-sb-slot.selected          { background: #000; color: #D6F5F5; border-color: #000; }
.mp-sb-slot.full              { background: #e0ecec; border-color: #ccc; color: #999; cursor: not-allowed; }

.mp-sb-slot-time  { font-size: 20px; font-weight: 700; display: block; line-height: 1; }
.mp-sb-slot-end   { font-size: 12px; color: #2a7070; display: block; margin-top: 5px; }
.mp-sb-slot.selected .mp-sb-slot-end { color: #9dd8d8; }
.mp-sb-slot.full .mp-sb-slot-time,
.mp-sb-slot.full .mp-sb-slot-end { color: #bbb; }
.mp-sb-slot-full-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #aaa;
    margin-top: 6px;
    display: block;
}

/* ── Summary bar ── */
.mp-sb-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #000;
    color: #D6F5F5;
    padding: 22px 28px;
    margin-top: 28px;
    border-radius: 4px;
}
.mp-sb-summary-info { font-size: 15px; line-height: 1.6; }
.mp-sb-summary-info strong { font-size: 18px; display: block; }
.mp-sb-book-btn {
    background: #D6F5F5;
    color: #000;
    border: none;
    padding: 12px 28px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    font-family: inherit;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity .15s;
}
.mp-sb-book-btn:hover { opacity: .82; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .mp-sb-wrap { padding: 28px 18px 24px; }
    .mp-sb-toggle-label { font-size: 15px; }
    .mp-sb-slots { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
    .mp-sb-slot { padding: 16px 8px; }
    .mp-sb-slot-time { font-size: 17px; }
}
@media (max-width: 480px) {
    .mp-sb-wrap { padding: 20px 14px; }
    .mp-sb-summary { flex-direction: column; align-items: flex-start; }
    .mp-sb-book-btn { width: 100%; text-align: center; }
    .mp-sb-toggle-label { font-size: 13px; }
}
