/* ================================================================
   BOOKINGS — Premium Frontend Design System
   ================================================================ */

:root {
    --bk-primary: #2563eb;
    --bk-primary-hover: #1d4ed8;
    --bk-primary-light: #eff6ff;
    --bk-success: #10b981;
    --bk-success-light: #d1fae5;
    --bk-warning: #f59e0b;
    --bk-warning-light: #fef3c7;
    --bk-danger: #ef4444;
    --bk-muted: #9ca3af;
    --bk-bg: #ffffff;
    --bk-bg-subtle: #f8fafc;
    --bk-border: #e2e8f0;
    --bk-text: #1e293b;
    --bk-text-muted: #64748b;
    --bk-radius: 12px;
    --bk-radius-sm: 8px;
    --bk-radius-xs: 6px;
    --bk-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --bk-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --bk-shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --bk-font: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
    --bk-transition: 150ms ease;
}

#bookings-app {
    font-family: var(--bk-font);
    color: var(--bk-text);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Test mode banner */
.bk-test-banner {
    background: var(--bk-warning-light);
    color: #92400e;
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--bk-radius-sm);
    margin-bottom: 16px;
    border: 1px solid #fcd34d;
}

#bookings-app *, #bookings-app *::before, #bookings-app *::after {
    box-sizing: border-box;
}

/* ── LAYOUT ───────────────────────────────────────────────── */

.bk-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

.bk-panel-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bk-panel-right {
    position: sticky;
    top: 20px;
}

/* ── SECTIONS ─────────────────────────────────────────────── */

.bk-section {
    background: var(--bk-bg);
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius);
    padding: 20px;
}

.bk-section-label {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bk-text-muted);
    margin-bottom: 12px;
}

/* ── SERVICE CHIPS ────────────────────────────────────────── */

.bk-service-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bk-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid var(--bk-border);
    border-radius: 100px;
    background: var(--bk-bg);
    font-size: 16px;
    font-weight: 500;
    color: var(--bk-text);
    cursor: pointer;
    transition: all var(--bk-transition);
    white-space: nowrap;
}

.bk-chip:hover {
    border-color: var(--bk-primary);
    background: var(--bk-primary-light);
}

.bk-chip.active {
    border-color: var(--bk-primary);
    background: var(--bk-primary);
    color: #fff;
}

.bk-chip.active .bk-chip-dot {
    background: #fff !important;
}

.bk-chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── CALENDAR ─────────────────────────────────────────────── */

.bk-calendar-wrap .flatpickr-calendar {
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    font-family: var(--bk-font) !important;
    font-size: 16px !important;
}

/* Hide Flatpickr's default month header entirely */
.bk-calendar-wrap .flatpickr-months {
    display: none !important;
}

/* Custom month/year header */
.bk-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.bk-calendar-nav-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bk-border);
    border-radius: 50%;
    background: var(--bk-bg);
    color: var(--bk-text);
    cursor: pointer;
    font-size: 18px;
    transition: all var(--bk-transition);
    padding: 0;
    line-height: 1;
}

.bk-calendar-nav-btn:hover {
    background: var(--bk-primary-light);
    border-color: var(--bk-primary);
    color: var(--bk-primary);
}

.bk-calendar-nav-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--bk-text);
}

.bk-calendar-wrap span.flatpickr-weekday {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--bk-text-muted) !important;
}

.bk-calendar-wrap .flatpickr-innerContainer {
    width: 100%;
}

.bk-calendar-wrap .flatpickr-rContainer {
    width: 100%;
}

.bk-calendar-wrap .flatpickr-days {
    width: 100% !important;
}

.bk-calendar-wrap .dayContainer {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

.bk-calendar-wrap .flatpickr-day {
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    height: 48px;
    line-height: 48px;
    max-width: none;
    flex-basis: 14.285%;
}

.bk-calendar-wrap .flatpickr-day.selected,
.bk-calendar-wrap .flatpickr-day.selected:hover {
    background: var(--bk-primary) !important;
    border-color: var(--bk-primary) !important;
    color: #fff !important;
}

.bk-calendar-wrap .flatpickr-day.today {
    border-color: var(--bk-primary) !important;
    color: var(--bk-primary) !important;
    font-weight: 700;
    background: transparent !important;
}

.bk-calendar-wrap .flatpickr-day:hover {
    background: var(--bk-primary-light);
    border-color: var(--bk-primary-light);
    color: var(--bk-text);
}

/* Shimmer loading on calendar dates */
.bk-calendar-wrap.bk-loading .flatpickr-day:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay) {
    position: relative;
    overflow: hidden;
}

.bk-calendar-wrap.bk-loading .flatpickr-day:not(.flatpickr-disabled)::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bk-border);
    animation: bk-shimmer-pulse 1.2s ease-in-out infinite;
}

@keyframes bk-shimmer-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Availability dots */
.bk-day-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
}

.bk-day-dot-available {
    background: var(--bk-success);
}

.bk-day-dot-limited {
    background: var(--bk-warning);
}

.bk-day-closed {
    color: var(--bk-muted) !important;
    text-decoration: line-through;
    pointer-events: none;
}

.bk-day-full {
    color: var(--bk-muted) !important;
}

/* Legend */
.bk-calendar-legend {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--bk-border);
}

.bk-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--bk-text-muted);
}

.bk-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.bk-dot-available { background: var(--bk-success); }
.bk-dot-limited { background: var(--bk-warning); }
.bk-dot-full { background: var(--bk-muted); }

/* ── TIME HELPER TEXT ──────────────────────────────────────── */

.bk-time-helper {
    font-size: 15px;
    color: var(--bk-text-muted);
    margin-bottom: 12px;
    font-style: italic;
}
.bk-time-helper.bk-helper-warn {
    color: var(--bk-error, #dc2626);
    font-style: normal;
    font-weight: 500;
}

/* ── TIME PILLS ───────────────────────────────────────────── */

.bk-time-group {
    margin-bottom: 16px;
}

.bk-time-group:last-child {
    margin-bottom: 0;
}

.bk-time-group-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bk-text-muted);
    margin-bottom: 8px;
}

.bk-time-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bk-pill {
    position: relative;
    min-width: 72px;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    border: 2px solid var(--bk-border);
    border-radius: var(--bk-radius-xs);
    background: var(--bk-bg);
    font-size: 16px;
    font-weight: 500;
    color: var(--bk-text);
    cursor: pointer;
    transition: all var(--bk-transition);
    user-select: none;
}

.bk-pill:hover:not(.bk-pill-disabled) {
    border-color: var(--bk-primary);
    background: var(--bk-primary);
    color: #fff;
}

/* Start pill */
.bk-pill.bk-pill-start {
    border-color: var(--bk-primary);
    background: var(--bk-primary);
    color: #fff;
}

/* End pill */
.bk-pill.bk-pill-end {
    border-color: var(--bk-primary);
    background: var(--bk-primary);
    color: #fff;
}

/* Range between start and end */
.bk-pill.bk-pill-range {
    border-color: var(--bk-primary);
    background: var(--bk-primary-light);
    color: var(--bk-primary);
}

/* Disabled / full */
.bk-pill.bk-pill-disabled {
    border-color: var(--bk-border);
    background: var(--bk-bg-subtle);
    color: var(--bk-muted);
    cursor: not-allowed;
}

.bk-pill-badge {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    margin-top: 1px;
}

.bk-pill.bk-pill-disabled .bk-pill-badge {
    color: var(--bk-muted);
}

.bk-pill:not(.bk-pill-disabled) .bk-pill-badge {
    color: var(--bk-text-muted);
}

.bk-pill.bk-pill-start .bk-pill-badge,
.bk-pill.bk-pill-end .bk-pill-badge,
.bk-pill.bk-pill-range .bk-pill-badge {
    color: inherit;
    opacity: 0.8;
}

/* ── OFF-HOURS PILLS ─────────────────────────────────────── */

.bk-pill.bk-pill-offhours {
    border-style: dashed;
    opacity: 0.75;
}

.bk-pill.bk-pill-offhours:hover:not(.bk-pill-disabled) {
    opacity: 1;
}

.bk-pills-divider {
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    color: var(--bk-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 0 4px;
    border-top: 1px dashed var(--bk-border);
    margin-top: 6px;
}

.bk-pills-divider:first-child {
    border-top: none;
    margin-top: 0;
}

/* ── SELECTION INFO ───────────────────────────────────────── */

.bk-time-selection-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    margin-top: 16px;
    background: var(--bk-primary-light);
    border: 1px solid #bfdbfe;
    border-radius: var(--bk-radius-sm);
}

.bk-selection-range {
    font-size: 17px;
    font-weight: 600;
    color: var(--bk-primary);
}

.bk-selection-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--bk-text);
}

/* ── EXTRAS / ADD-ONS ─────────────────────────────────────── */

.bk-extras-section {
    margin-top: 16px;
    padding: 16px;
    background: var(--bk-bg-subtle);
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius-sm);
}

.bk-extras-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--bk-text);
    margin-bottom: 12px;
}

.bk-extras-label span {
    font-weight: 400;
    color: var(--bk-text-muted);
}

.bk-extras-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bk-extra-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bk-bg);
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius-xs);
    transition: border-color var(--bk-transition);
}

.bk-extra-item.bk-extra-checked {
    border-color: var(--bk-primary);
    background: var(--bk-primary-light);
}

.bk-extra-item input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--bk-primary);
    flex-shrink: 0;
    cursor: pointer;
}

.bk-extra-info {
    flex: 1;
    min-width: 0;
}

.bk-extra-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--bk-text);
}

.bk-extra-desc {
    font-size: 13px;
    color: var(--bk-text-muted);
    margin-top: 2px;
}

.bk-extra-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--bk-text);
    white-space: nowrap;
    flex-shrink: 0;
}

.bk-extra-price-unit {
    font-size: 12px;
    font-weight: 400;
    color: var(--bk-text-muted);
}

.bk-extra-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.bk-extra-qty button {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius-xs);
    background: var(--bk-bg);
    font-size: 16px;
    font-weight: 600;
    color: var(--bk-text);
    cursor: pointer;
    transition: all var(--bk-transition);
}

.bk-extra-qty button:hover {
    background: var(--bk-border);
}

.bk-extra-qty-val {
    font-size: 15px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

/* Addon line items in schedule sidebar */
.bk-schedule-item-addons {
    margin-top: 4px;
}

.bk-schedule-item-addon {
    font-size: 13px;
    color: var(--bk-text-muted);
    padding-left: 2px;
}

.bk-schedule-item-addon::before {
    content: '+ ';
}

/* ── ADD TO SCHEDULE BUTTON ───────────────────────────────── */

.bk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--bk-font);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--bk-radius-sm);
    cursor: pointer;
    transition: all var(--bk-transition);
    white-space: nowrap;
}

.bk-btn-add {
    width: 100%;
    padding: 14px;
    margin-top: 16px;
    background: var(--bk-text);
    color: #fff;
    font-size: 17px;
}

.bk-btn-add:hover {
    background: #0f172a;
}

.bk-btn-add svg {
    flex-shrink: 0;
}

.bk-btn-primary {
    padding: 14px 24px;
    background: var(--bk-primary);
    color: #fff;
    font-size: 17px;
    width: 100%;
}

.bk-btn-primary:hover:not(:disabled) {
    background: var(--bk-primary-hover);
}

.bk-btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.bk-btn-full {
    width: 100%;
}

.bk-btn-sm {
    padding: 10px 20px;
    font-size: 15px;
}

/* ── SIDEBAR CARDS ────────────────────────────────────────── */

.bk-panel-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bk-card {
    background: var(--bk-bg);
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius);
    overflow: hidden;
}

.bk-card-header {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bk-text);
    border-bottom: 1px solid var(--bk-border);
    background: var(--bk-bg-subtle);
}

.bk-card-body {
    padding: 16px 20px;
}

.bk-card-subheader {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bk-text-muted);
    margin-top: 18px;
    margin-bottom: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--bk-border);
}

.bk-schedule-empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--bk-text-muted);
}

.bk-schedule-empty svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.bk-schedule-empty p {
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
}

/* Schedule items */
.bk-schedule-items {
    padding: 0;
}

.bk-schedule-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bk-border);
    animation: bk-slide-in 200ms ease;
}

.bk-schedule-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

@keyframes bk-slide-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.bk-schedule-item-info {
    flex: 1;
}

.bk-schedule-item-date {
    font-size: 16px;
    font-weight: 600;
    color: var(--bk-text);
}

.bk-schedule-item-time {
    font-size: 15px;
    color: var(--bk-text-muted);
    margin-top: 2px;
}

.bk-schedule-item-price {
    font-size: 15px;
    color: var(--bk-text-muted);
    margin-top: 2px;
}

.bk-schedule-item-remove {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--bk-muted);
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1;
    transition: all var(--bk-transition);
    flex-shrink: 0;
    margin-left: 8px;
    padding: 0;
}

.bk-schedule-item-remove:hover {
    background: #fee2e2;
    color: var(--bk-danger);
}

/* Payment Details card */
.bk-payment-field {
    margin-bottom: 10px;
}

.bk-payment-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--bk-text);
    margin-bottom: 3px;
}

.bk-payment-field input,
.bk-payment-field textarea {
    width: 100%;
    padding: 8px 10px !important;
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius-xs);
    font-size: 14px;
    font-family: var(--bk-font);
    color: var(--bk-text);
    background: var(--bk-bg);
    box-sizing: border-box;
}

.bk-payment-field input:focus,
.bk-payment-field textarea:focus {
    outline: none;
    border-color: var(--bk-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

/* Terms checkbox — grid layout */
.bk-terms-check {
    display: grid !important;
    grid-template-columns: 18px 1fr !important;
    gap: 8px;
    font-size: 13px;
    color: var(--bk-text-muted);
    line-height: 1.5;
    margin-top: 14px;
    margin-bottom: 16px;
}

label.bk-terms-check {
    cursor: pointer;
}

.bk-terms-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 1px 0 0 0;
    accent-color: var(--bk-primary);
    cursor: pointer;
}

.bk-terms-check > span {
    color: var(--bk-text-muted);
}

.bk-terms-check a {
    color: var(--bk-primary);
    text-decoration: none;
}

.bk-terms-check a:hover {
    text-decoration: underline;
}

/* Footer / totals */
.bk-schedule-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--bk-border);
}

.bk-voucher-row {
    margin-bottom: 14px;
}

.bk-voucher-input {
    display: flex;
    gap: 6px;
}

.bk-voucher-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius-xs);
    font-size: 15px;
    font-family: var(--bk-font);
    color: var(--bk-text);
    background: var(--bk-bg);
}

.bk-voucher-input input:focus {
    outline: none;
    border-color: var(--bk-primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.bk-voucher-input button {
    padding: 8px 14px;
    background: var(--bk-bg-subtle);
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius-xs);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--bk-font);
    color: var(--bk-text);
    cursor: pointer;
    transition: all var(--bk-transition);
}

.bk-voucher-input button:hover {
    background: var(--bk-border);
}

.bk-msg { font-size: 14px; margin-top: 4px; }
.bk-msg-success { color: var(--bk-success); }
.bk-msg-error { color: var(--bk-danger); }

.bk-totals {
    margin-bottom: 14px;
}

.bk-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    padding: 4px 0;
    color: var(--bk-text-muted);
}

.bk-discount-row {
    color: var(--bk-success);
}

.bk-total-final {
    padding-top: 10px;
    margin-top: 6px;
    border-top: 2px solid var(--bk-border);
    font-size: 18px;
    font-weight: 700;
    color: var(--bk-text);
}

.bk-downpayment-row {
    padding-top: 8px;
    margin-top: 4px;
    border-top: 1px solid var(--bk-border);
    font-weight: 600;
    color: var(--bk-text);
}

.bk-balance-row {
    color: var(--bk-text-muted);
    font-size: 14px;
}

.bk-error {
    background: #fef2f2;
    color: var(--bk-danger);
    border: 1px solid #fca5a5;
    border-radius: var(--bk-radius-xs);
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 16px;
}

/* ── LOADING ──────────────────────────────────────────────── */

.bk-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
}

.bk-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--bk-border);
    border-top-color: var(--bk-primary);
    border-radius: 50%;
    animation: bk-spin 0.7s linear infinite;
}

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

.bk-loading-overlay p {
    margin-top: 16px;
    font-size: 17px;
    color: var(--bk-text-muted);
}

/* ── MOBILE BOTTOM BAR ────────────────────────────────────── */

.bk-mobile-bar {
    display: none;
}

@media (min-width: 841px) {
    .bk-mobile-bar {
        display: none !important;
    }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 840px) {
    .bk-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .bk-panel-right {
        position: static;
        display: none;
    }

    /* Show mobile bottom bar instead */
    .bk-mobile-bar {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        padding: 12px 16px;
        background: var(--bk-bg);
        border-top: 1px solid var(--bk-border);
        box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
        align-items: center;
        justify-content: space-between;
    }

    .bk-mobile-bar-info {
        display: flex;
        flex-direction: column;
        font-size: 13px;
    }

    .bk-mobile-bar-info span:first-child {
        font-weight: 600;
        color: var(--bk-text);
    }

    .bk-mobile-bar-info span:last-child {
        font-size: 12px;
        color: var(--bk-text-muted);
    }

    .bk-section {
        padding: 16px;
    }

    .bk-pill {
        min-width: 64px;
        height: 40px;
        font-size: 13px;
    }

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

    .bk-checkout-panel {
        margin: 12px;
    }

    /* Add padding at bottom for sticky bar */
    #bookings-app {
        padding-bottom: 80px;
    }
}

/* ── CONFIRMATION PAGE ──────────────────────────────────── */

.bk-confirmation {
    max-width: 540px;
    margin: 40px auto;
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: var(--bk-radius);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.bk-confirmation-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.bk-confirmation-success .bk-confirmation-icon { color: var(--bk-success); }
.bk-confirmation-pending .bk-confirmation-icon { color: var(--bk-warning); }
.bk-confirmation-failure .bk-confirmation-icon { color: var(--bk-danger); }
.bk-confirmation-cancelled .bk-confirmation-icon { color: var(--bk-success); }

.bk-confirmation h2 {
    font-size: 22px;
    margin: 0 0 8px;
    color: var(--bk-text);
}

.bk-confirmation > p {
    font-size: 16px;
    color: var(--bk-text-muted);
    margin: 0 0 24px;
}

.bk-confirmation-details {
    text-align: left;
    border: 1px solid var(--bk-border);
    border-radius: var(--bk-radius-xs);
    overflow: hidden;
}

.bk-confirmation-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 15px;
    border-bottom: 1px solid #f3f4f6;
}

.bk-confirmation-row:last-child {
    border-bottom: none;
}

.bk-confirmation-row:nth-child(odd) {
    background: #f9fafb;
}

.bk-confirmation-total {
    border-top: 2px solid var(--bk-border);
    font-size: 16px;
}

.bk-confirmation-ref {
    font-size: 14px;
    color: var(--bk-text-muted);
}
