/* PACE Booking — aligned with landing page glass-card aesthetic */
.pace-booking {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', system-ui, sans-serif;
    color: #f5f5f7;
    background: rgba(29, 29, 31, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 28px;
}
@media (min-width: 640px) { .pace-booking { padding: 40px; } }

.pace-booking h3 {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.pace-booking label {
    display: block;
    margin: 14px 0 6px;
    font-size: 14px;
    color: #d5d5d7;
    font-weight: 500;
}

.pace-booking input[type=text],
.pace-booking input[type=email],
.pace-booking input[type=tel],
.pace-booking input[type=date],
.pace-booking textarea,
.pace-booking select {
    width: 100%;
    padding: 12px 14px;
    background-color: rgba(0, 0, 0, 0.35);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s, background-color 0.15s;
}
.pace-booking input:focus,
.pace-booking textarea:focus,
.pace-booking select:focus {
    outline: none;
    border-color: #e85d4e;
    background-color: rgba(0, 0, 0, 0.5);
}
.pace-booking textarea { resize: vertical; min-height: 80px; }

/* Custom styled select (country dropdown) */
.pace-booking select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    padding-right: 40px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%23a1a1a6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
}
.pace-booking select:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background-color: rgba(0, 0, 0, 0.45);
}
.pace-booking select:focus {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%23e85d4e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.pace-booking select option {
    background: #1d1d1f;
    color: #fff;
}

/* Country field narrower than address */
.pace-booking #pb-country {
    max-width: 200px;
}

/* Invoice toggle + fields */
.pb-invoice-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px !important;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    font-weight: 500;
    color: #e5e5e7;
    transition: background 0.15s, border-color 0.15s;
}
.pb-invoice-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.25);
}
.pb-invoice-toggle input[type=checkbox] {
    width: auto;
    accent-color: #e85d4e;
    margin: 0;
}
.pb-invoice-fields {
    margin-top: 6px;
    padding: 16px 18px 4px;
    border: 1px solid rgba(232, 93, 78, 0.3);
    border-radius: 12px;
    background: rgba(232, 93, 78, 0.05);
}
.pb-hint {
    font-style: normal;
    color: #8a8a8f;
    font-size: 12px;
    font-weight: 400;
}

/* Treatment grid (legacy single-column) */
.pb-treatments {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .pb-treatments { grid-template-columns: 1fr 1fr; } }

/* Split columns: horse left, rider right */
.pb-treatments-split {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr;
}
@media (min-width: 720px) {
    .pb-treatments-split { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.pb-col {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
}
.pb-col-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
}
.pb-col-sub {
    margin: 2px 0 14px;
    font-size: 13px;
    color: #a1a1a6;
}
.pb-col-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pb-insurance-note {
    margin: 18px 0 0;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(232, 93, 78, 0.3);
    background: rgba(232, 93, 78, 0.08);
    font-size: 13px;
    color: #e5e5e7;
    text-align: center;
    line-height: 1.5;
}

.pb-treatment {
    text-align: left;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.pb-treatment:hover {
    background: rgba(232, 93, 78, 0.12);
    border-color: rgba(232, 93, 78, 0.6);
    transform: translateY(-1px);
}
.pb-treatment.is-active {
    background: rgba(232, 93, 78, 0.2);
    border-color: #e85d4e;
}
.pb-t-title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.pb-t-meta { font-size: 13px; color: #a1a1a6; }

/* Radio blocks */
.pb-step-location p { color: #d5d5d7; line-height: 1.8; }
.pb-step-location input[type=radio] { margin-right: 6px; accent-color: #e85d4e; }

/* Navigation buttons */
.pb-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 24px;
}

.pb-btn, .pb-next, .pb-back, .pb-primary {
    padding: 11px 22px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s;
}
.pb-btn:hover, .pb-next:hover, .pb-back:hover {
    background: rgba(255, 255, 255, 0.12);
}
.pb-primary {
    background: #e85d4e;
    border-color: #e85d4e;
    color: #fff;
    padding: 13px 28px;
}
.pb-primary:hover { background: #d94c3d; border-color: #d94c3d; }
.pb-btn[disabled], .pb-next[disabled], button[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Slots */
.pb-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.pb-slot {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s;
}
.pb-slot:hover { background: rgba(232, 93, 78, 0.15); border-color: rgba(232, 93, 78, 0.6); }
.pb-slot.is-active { background: #e85d4e; border-color: #e85d4e; }

/* Price preview + summary */
.pb-price-preview {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #e5e5e7;
    line-height: 1.6;
    min-height: 1px;
}
.pb-price-preview:empty { display: none; }

.pb-summary {
    margin: 18px 0;
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    font-size: 14px;
    line-height: 1.7;
}
.pb-summary strong { color: #fff; }

.pb-error {
    color: #ff8577;
    font-size: 14px;
    margin-top: 10px;
    min-height: 1.2em;
}

/* Hide empty states */
.pb-step[hidden] { display: none; }

/* Custom date input for dark theme */
.pace-booking input[type=date] {
    color-scheme: dark;
    max-width: 240px;
}

/* Custom calendar */
.pb-calendar {
    margin: 12px 0 20px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    max-width: 420px;
}
.pb-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.pb-cal-label {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-transform: capitalize;
}
.pb-cal-nav {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
}
.pb-cal-nav:hover { background: rgba(255, 255, 255, 0.12); }
.pb-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
    margin-bottom: 6px;
}
.pb-cal-weekdays span {
    font-size: 11px;
    color: #a1a1a6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 4px 0;
}
.pb-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.pb-cal-cell {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    background: transparent;
    border: 1px solid transparent;
    color: #4a4a4f;
    font-family: inherit;
    padding: 0;
    cursor: default;
}
.pb-cal-empty { background: transparent; }
.pb-cal-cell.is-disabled {
    color: rgba(255, 255, 255, 0.18);
    cursor: not-allowed;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(255, 255, 255, 0.15);
}
.pb-cal-cell.is-available {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.pb-cal-cell.is-available:hover {
    background: rgba(232, 93, 78, 0.2);
    border-color: rgba(232, 93, 78, 0.6);
    transform: translateY(-1px);
}
.pb-cal-cell.is-today {
    outline: 1px solid rgba(232, 93, 78, 0.4);
    outline-offset: -2px;
}
.pb-cal-cell.is-selected {
    background: #e85d4e;
    border-color: #e85d4e;
    color: #fff;
}
.pb-cal-status {
    margin: 10px 0 0;
    font-size: 12px;
    color: #a1a1a6;
    min-height: 1em;
}
