/* ZipScheduler Frontend Styles - Version 2.0.0 - Clean Minimal */

:root {
    --jrb-primary: var(--zipscheduler-primary, #2F7800);
    --jrb-secondary: var(--zipscheduler-secondary, #232323);
    --jrb-btn-text: var(--zipscheduler-btn-text, #FFFFFF);
    --jrb-bg: #f7f7f7;
    --jrb-white: #FFFFFF;
    --jrb-border: #e0e0e0;
    --jrb-danger: #d63638;
    --jrb-muted: #6c757d;
    --jrb-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --jrb-radius: 8px;
    --jrb-shadow: 0 1px 3px rgba(0,0,0,0.08);
    --jrb-shadow-hover: 0 4px 12px rgba(0,0,0,0.12);
}

/* Base */
.jrb-booking-container,
.jrb-single-step-booking,
.jrb-confirmation-container,
.jrb-zip-search-card,
.jrb-ac-widget,
.jrb-bl-widget,
.jrb-ps-widget,
.jrb-pf-widget {
    font-family: var(--jrb-font);
    line-height: 1.5;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

/* Form Container */
.jrb-form-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 24px;
    background: var(--jrb-white);
    border-radius: var(--jrb-radius);
    box-shadow: var(--jrb-shadow);
}

.jrb-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.jrb-form-col {
    flex: 1;
}

.jrb-form-col input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--jrb-border);
    border-radius: 6px;
    font-size: 15px;
}

.jrb-form-note {
    text-align: center;
    color: #666;
    font-size: 13px;
    margin-top: 8px;
}

/* Availability Checker Widget */
.jrb-ac-widget {
    max-width: 720px;
    margin: 32px auto;
    padding: 0 16px;
}

.jrb-ac-card {
    background: var(--jrb-white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    border: 1px solid #eef0f2;
    padding: 32px 28px 24px;
    text-align: center;
}

.jrb-ac-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    border-radius: 10px;
    background: #ecfdf5;
    color: var(--jrb-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.jrb-ac-title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: var(--jrb-primary);
    letter-spacing: -0.02em;
}

.jrb-ac-subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.jrb-ac-form {
    text-align: left;
    margin-bottom: 20px;
}

.jrb-ac-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}

.jrb-ac-required {
    color: #dc2626;
}

.jrb-ac-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    margin-bottom: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.18em;
    font-family: var(--jrb-font);
    color: #111827;
    background: #fff;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.jrb-ac-input:focus {
    outline: none;
    border-color: var(--jrb-primary);
    box-shadow: 0 0 0 3px rgba(47, 120, 0, 0.12);
}

.jrb-ac-input.is-available {
    background: #f0fdf4;
    border-color: var(--jrb-primary);
}

.jrb-ac-input.is-unavailable {
    background: #fef2f2;
    border-color: #fca5a5;
}

.jrb-ac-submit {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: var(--jrb-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--jrb-font);
    cursor: pointer;
    transition: filter 0.15s;
}

.jrb-ac-submit:hover:not(:disabled) {
    filter: brightness(0.92);
}

.jrb-ac-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.jrb-ac-result {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
}

.jrb-ac-result--success,
.jrb-ac-result--error {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.jrb-ac-result--success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.jrb-ac-result--error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.jrb-ac-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    color: var(--jrb-primary);
    flex-shrink: 0;
}

.jrb-ac-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    line-height: 1;
}

/* CSS icons — avoids broken unicode in PHP/JS source files */
.jrb-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.jrb-icon--check {
    width: 1em;
    height: 1em;
}

.jrb-icon--check::before {
    content: "";
    display: block;
    width: 0.35em;
    height: 0.6em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-0.05em, -0.1em);
}

.jrb-icon--close {
    width: 1em;
    height: 1em;
}

.jrb-icon--close::before,
.jrb-icon--close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.75em;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}

.jrb-icon--close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.jrb-icon--close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.jrb-ss-zip-confirmed-icon,
.jrb-ms-zip-confirmed-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(47, 120, 0, 0.12);
    color: var(--jrb-primary);
    flex-shrink: 0;
}

.jrb-ss-zip-confirmed-icon::before,
.jrb-ms-zip-confirmed-icon::before {
    content: "";
    display: block;
    width: 8px;
    height: 14px;
    border-right: 2.5px solid currentColor;
    border-bottom: 2.5px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
}

.jrb-ac-result-link {
    font-weight: 700;
    text-decoration: underline;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
}

.jrb-ac-result--success .jrb-ac-result-link {
    color: var(--jrb-primary);
}

.jrb-ac-result--error .jrb-ac-result-link--notify {
    color: #dc2626;
}

.jrb-ac-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.jrb-ac-feature {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}

.jrb-ac-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    color: var(--jrb-primary);
    flex-shrink: 0;
}

.jrb-ac-feature-icon::before {
    content: "";
    display: block;
    width: 5px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
}

@media (max-width: 480px) {
    .jrb-ac-card {
        padding: 24px 18px 20px;
    }

    .jrb-ac-title {
        font-size: 22px;
    }

    .jrb-ac-features {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
}

/* Booking Lookup Widget */
.jrb-bl-widget {
    max-width: 720px;
    margin: 32px auto;
    padding: 0 16px;
}

.jrb-bl-card {
    background: var(--jrb-white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    border: 1px solid #eef0f2;
    padding: 32px 28px 24px;
    text-align: center;
}

.jrb-bl-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    border-radius: 10px;
    background: #ecfdf5;
    color: var(--jrb-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.jrb-bl-title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    color: var(--jrb-primary);
    letter-spacing: -0.02em;
}

.jrb-bl-subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
}

.jrb-bl-form {
    text-align: left;
    margin-bottom: 0;
}

.jrb-bl-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.jrb-bl-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    margin-bottom: 8px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.06em;
    color: #111827;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.jrb-bl-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.jrb-bl-input:focus {
    outline: none;
    border-color: var(--jrb-primary);
    box-shadow: 0 0 0 3px rgba(47, 120, 0, 0.12);
}

.jrb-bl-hint {
    margin: 0 0 16px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
}

.jrb-bl-hint strong {
    color: #64748b;
    font-weight: 700;
}

.jrb-bl-submit {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    border: none;
    border-radius: 999px;
    background: var(--jrb-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--jrb-font);
    cursor: pointer;
    transition: filter 0.15s;
}

.jrb-bl-submit:hover {
    filter: brightness(0.92);
}

.jrb-bl-footer {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.jrb-bl-footer-text {
    margin: 0 0 6px;
    font-size: 13px;
    color: #94a3b8;
}

.jrb-bl-footer-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--jrb-primary);
    text-decoration: none;
}

.jrb-bl-footer-link:hover {
    text-decoration: underline;
    color: var(--jrb-primary);
}

.jrb-bl-hint-booking {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    font-size: 13px;
    color: #166534;
    line-height: 1.5;
}

.jrb-bl-sent-note {
    margin: 0 0 20px;
    font-size: 13px;
    color: #64748b;
}

.jrb-bl-badge--sent {
    background: #eff6ff;
    color: #2563eb;
}

.jrb-bl-submit--outline {
    background: #fff;
    color: #1e293b;
    border: 1px solid #d1d5db;
}

.jrb-bl-submit--outline:hover {
    background: #f8fafc;
}

.jrb-bl-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 0;
    font-size: 14px;
    color: #64748b;
}

.jrb-bl-filters {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(200px, 1.6fr) minmax(140px, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    text-align: left;
}

.jrb-bl-filter label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.jrb-bl-filter-input {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--jrb-font);
}

.jrb-bl-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    text-align: left;
}

.jrb-bl-booking-card {
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
}

.jrb-bl-booking-card--highlight {
    border-color: var(--jrb-primary);
    box-shadow: 0 0 0 2px rgba(47, 120, 0, 0.15);
    background: #f7fef2;
}

.jrb-bl-booking-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.jrb-bl-booking-id {
    font-weight: 700;
    color: var(--jrb-primary);
    letter-spacing: 0.03em;
}

.jrb-bl-status {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #475569;
}

.jrb-bl-status--confirmed,
.jrb-bl-status--active {
    background: #dcfce7;
    color: #166534;
}

.jrb-bl-status--pending {
    background: #fef3c7;
    color: #92400e;
}

.jrb-bl-status--cancelled,
.jrb-bl-status--expired {
    background: #fee2e2;
    color: #991b1b;
}

.jrb-bl-status--completed {
    background: #e0e7ff;
    color: #3730a3;
}

.jrb-bl-booking-service {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.jrb-bl-booking-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
}

.jrb-bl-booking-price {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
}

.jrb-bl-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--jrb-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.jrb-bl-view-btn:hover {
    filter: brightness(0.92);
    color: #fff;
}

.jrb-bl-no-results {
    margin: 0 0 16px;
    font-size: 14px;
    color: #64748b;
}

@media (max-width: 640px) {
    .jrb-bl-filters {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .jrb-bl-card {
        padding: 24px 18px 20px;
    }

    .jrb-bl-title {
        font-size: 22px;
    }
}

/* Payment Success Page */
.jrb-ps-widget {
    max-width: 480px;
    margin: 32px auto;
    padding: 0 16px;
}

.jrb-ps-card {
    background: var(--jrb-white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    border: 1px solid #eef0f2;
    padding: 36px 28px 28px;
    text-align: center;
}

.jrb-ps-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border: 2px solid var(--jrb-primary);
    border-radius: 50%;
}

.jrb-ps-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--jrb-primary);
    color: #fff;
}

.jrb-ps-icon-wrap--neutral {
    border-color: #cbd5e1;
}

.jrb-ps-icon--neutral {
    background: #f1f5f9;
    color: #64748b;
}

.jrb-ps-title--neutral {
    color: #334155;
}

.jrb-ps-title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: var(--jrb-primary);
    letter-spacing: -0.02em;
}

.jrb-ps-desc {
    margin: 0 0 24px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
}

.jrb-ps-ref {
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafafa;
}

.jrb-ps-ref-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #94a3b8;
}

.jrb-ps-ref-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--jrb-primary);
    letter-spacing: 0.04em;
}

.jrb-ps-spinner {
    width: 22px;
    height: 22px;
    margin: 0 auto;
}

.jrb-ps-details {
    margin-bottom: 16px;
    padding: 4px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    text-align: left;
}

.jrb-ps-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #eef0f2;
    font-size: 14px;
}

.jrb-ps-detail-row:last-child {
    border-bottom: none;
}

.jrb-ps-detail-label {
    color: #64748b;
    flex-shrink: 0;
}

.jrb-ps-detail-value {
    color: #111827;
    font-weight: 500;
    text-align: right;
}

.jrb-ps-detail-value--accent {
    color: var(--jrb-primary);
    font-weight: 700;
}

.jrb-ps-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 0;
    font-size: 13px;
    color: #64748b;
}

.jrb-ps-error {
    margin: 12px 0;
    font-size: 13px;
    color: #991b1b;
    text-align: center;
}

.jrb-ps-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 20px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.jrb-ps-email-icon {
    font-size: 15px;
    line-height: 1;
}

.jrb-ps-email strong {
    color: #334155;
}

.jrb-ps-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jrb-ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--jrb-font);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: filter 0.15s, background 0.15s, border-color 0.15s;
}

.jrb-ps-btn--primary {
    background: var(--jrb-primary);
    border-color: var(--jrb-primary);
    color: #fff;
}

.jrb-ps-btn--primary:hover {
    filter: brightness(0.92);
    color: #fff;
}

.jrb-ps-btn--outline {
    background: #fff;
    border-color: #d1d5db;
    color: #1e293b;
}

.jrb-ps-btn--outline:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #9ca3af;
}

.jrb-ps-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .jrb-ps-card {
        padding: 28px 18px 22px;
    }

    .jrb-ps-title {
        font-size: 24px;
    }
}

/* Payment Failed / Cancelled Page */
.jrb-pf-widget {
    max-width: 480px;
    margin: 32px auto;
    padding: 0 16px;
}

.jrb-pf-card {
    background: var(--jrb-white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    border: 1px solid #eef0f2;
    padding: 36px 28px 28px;
    text-align: center;
}

.jrb-pf-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border: 2px solid #dc2626;
    border-radius: 50%;
}

.jrb-pf-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
}

.jrb-pf-icon-wrap--neutral {
    border-color: #cbd5e1;
}

.jrb-pf-icon--neutral {
    background: #f1f5f9;
    color: #64748b;
}

.jrb-pf-title--neutral {
    color: #334155;
}

.jrb-pf-title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: #dc2626;
    letter-spacing: -0.02em;
}

.jrb-pf-desc {
    margin: 0 0 24px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
}

.jrb-pf-ref {
    margin-bottom: 16px;
    padding: 14px 16px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff;
}

.jrb-pf-ref-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #94a3b8;
}

.jrb-pf-ref-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #dc2626;
    letter-spacing: 0.04em;
}

.jrb-pf-spinner {
    width: 22px;
    height: 22px;
    margin: 0 auto;
    border-top-color: #dc2626;
}

.jrb-pf-hold-box {
    margin-bottom: 20px;
    padding: 18px 16px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
}

.jrb-pf-hold-box--expired {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.jrb-pf-hold-box--expired .jrb-pf-countdown,
.jrb-pf-hold-box--expired .jrb-pf-hold-label {
    color: #94a3b8;
}

.jrb-pf-hold-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #dc2626;
}

.jrb-pf-countdown {
    font-size: 40px;
    font-weight: 700;
    color: #dc2626;
    letter-spacing: 0.06em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.jrb-pf-appointment {
    margin-top: 10px;
    font-size: 13px;
    color: #64748b;
}

.jrb-pf-cancelled-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    font-size: 14px;
    color: #166534;
}

.jrb-pf-cancelled-notice p {
    margin: 0;
}

.jrb-pf-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.jrb-pf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--jrb-font);
    cursor: pointer;
    border: 1px solid transparent;
    transition: filter 0.15s, background 0.15s;
}

.jrb-pf-btn--primary {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.jrb-pf-btn--primary:hover:not(:disabled) {
    filter: brightness(0.92);
}

.jrb-pf-btn--secondary {
    background: #fff5f5;
    border-color: #fecaca;
    color: #dc2626;
}

.jrb-pf-btn--secondary:hover:not(:disabled) {
    background: #fee2e2;
}

.jrb-pf-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.jrb-pf-support {
    margin: 0;
    font-size: 13px;
    color: #94a3b8;
}

.jrb-pf-support-link {
    font-weight: 700;
    color: var(--jrb-primary);
    text-decoration: underline;
}

.jrb-pf-support-link:hover {
    color: var(--jrb-primary);
}

@media (max-width: 480px) {
    .jrb-pf-card {
        padding: 28px 18px 22px;
    }

    .jrb-pf-title {
        font-size: 24px;
    }

    .jrb-pf-countdown {
        font-size: 34px;
    }
}

/* Buttons — custom “app” look (not default WP / generic gray bars) */
.jrb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-family: var(--jrb-font);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.1);
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.15s ease;
}

.jrb-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.14);
}

.jrb-btn:active {
    transform: translateY(0);
}

.jrb-btn-primary {
    background: linear-gradient(145deg, #1a5c00, var(--jrb-primary));
    color: var(--jrb-btn-text);
    width: 100%;
}

.jrb-btn-primary:hover {
    filter: brightness(1.05);
}

.jrb-btn-secondary {
    background: #f1f5f9;
    color: #0f172a;
    box-shadow: inset 0 0 0 1px #e2e8f0, 0 2px 8px rgba(15, 23, 42, 0.06);
}

.jrb-btn-secondary:hover {
    background: #e2e8f0;
}

.jrb-btn-danger {
    background: linear-gradient(145deg, #b91c1c, #ef4444);
    color: var(--jrb-white);
}

.jrb-btn-danger:hover {
    filter: brightness(1.05);
}

/* Confirmation + toolbar variants */
.jrb-btn-pdf {
    background: linear-gradient(145deg, #0f172a, #334155);
    color: #f8fafc;
}

.jrb-btn-edit {
    background: linear-gradient(145deg, #14532d, #2f7800);
    color: #fff;
}

.jrb-btn-cancel {
    background: #fff5f5;
    color: #991b1b;
    box-shadow: inset 0 0 0 1px #fecaca, 0 2px 10px rgba(185, 28, 28, 0.08);
}

.jrb-btn-cancel:hover {
    background: #fee2e2;
    filter: none;
}

.jrb-btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

.jrb-btn-disabled,
.jrb-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}

/* Booking Container */
.jrb-booking-container {
    max-width: 720px;
    margin: 32px auto;
    padding: 0;
}

/* Single Step Booking */
.jrb-single-step-booking {
    max-width: 720px;
    margin: 32px auto;
}

/* Progress Bar */
.jrb-progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    padding: 0 16px;
}

.jrb-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.jrb-progress-step span {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.jrb-progress-step.active span,
.jrb-progress-step.completed span {
    color: var(--jrb-primary);
}

.jrb-progress-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    background: #eee;
    color: #999;
}

.jrb-progress-step.active .jrb-progress-circle {
    background: var(--jrb-primary);
    color: var(--jrb-btn-text);
}

.jrb-progress-step.completed .jrb-progress-circle {
    background: var(--jrb-primary);
    color: var(--jrb-btn-text);
}

.jrb-progress-line {
    flex: 1;
    height: 2px;
    background: #eee;
    margin: 0 12px;
    margin-bottom: 20px;
}

/* Form Sections (Single Step) */
.jrb-form-section {
    background: var(--jrb-white);
    border-radius: var(--jrb-radius);
    box-shadow: var(--jrb-shadow);
    padding: 24px;
    margin-bottom: 16px;
}

.jrb-form-section.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.jrb-section-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--jrb-secondary);
    margin: 0 0 16px;
}

.jrb-section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--jrb-primary);
    color: var(--jrb-btn-text);
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
}

.jrb-section-content {
    margin-top: 0;
}

/* Accordion (kept for compatibility) */
.jrb-accordion {
    border-radius: var(--jrb-radius);
    overflow: hidden;
}

.jrb-accordion-item {
    background: var(--jrb-white);
    box-shadow: var(--jrb-shadow);
    margin-bottom: 8px;
    border-radius: var(--jrb-radius);
    overflow: hidden;
}

.jrb-accordion-item:last-child {
    margin-bottom: 0;
}

.jrb-accordion-item.locked .jrb-accordion-header {
    opacity: 0.5;
    cursor: not-allowed;
}

.jrb-accordion-header {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    background: var(--jrb-white);
    transition: background 0.2s ease;
    user-select: none;
}

.jrb-accordion-header:hover {
    background: #fafafa;
}

.jrb-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eee;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-right: 14px;
    flex-shrink: 0;
}

.jrb-accordion-item.active .jrb-step-number,
.jrb-accordion-item.completed .jrb-step-number {
    background: var(--jrb-primary);
    color: var(--jrb-btn-text);
}

.jrb-accordion-item.locked .jrb-step-number {
    background: #eee;
    color: #bbb;
}

.jrb-step-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--jrb-secondary);
}

.jrb-accordion-item.locked .jrb-step-title {
    color: #bbb;
}

.jrb-step-status {
    margin-left: auto;
    font-size: 14px;
    color: #999;
}

.jrb-accordion-item.completed .jrb-step-status::after {
    content: "";
    display: inline-block;
    width: 8px;
    height: 14px;
    border-right: 2.5px solid var(--jrb-primary);
    border-bottom: 2.5px solid var(--jrb-primary);
    transform: rotate(45deg) translate(-1px, -1px);
}

.jrb-accordion-content {
    display: none;
    padding: 20px 24px 24px;
    background: var(--jrb-white);
}

.jrb-accordion-item.active .jrb-accordion-content {
    display: block;
}

/* Form Groups */
.jrb-form-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--jrb-secondary);
    margin: 0 0 14px;
}

.jrb-form-group {
    margin-bottom: 14px;
}

.jrb-form-group:last-child {
    margin-bottom: 0;
}

.jrb-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #444;
    font-size: 14px;
}

.jrb-form-group input,
.jrb-form-group select,
.jrb-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--jrb-border);
    border-radius: 6px;
    font-size: 15px;
    font-family: var(--jrb-font);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    background: var(--jrb-white);
}

.jrb-form-group input:focus,
.jrb-form-group select:focus,
.jrb-form-group textarea:focus {
    outline: none;
    border-color: var(--jrb-primary);
    box-shadow: 0 0 0 3px rgba(47, 120, 0, 0.1);
}

.jrb-form-group input[readonly] {
    background: #f5f5f5;
    color: #666;
}

.jrb-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.jrb-form-row-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
}

/* Radio & Checkbox */
.jrb-radio-group {
    display: flex;
    gap: 16px;
}

.jrb-radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    cursor: pointer;
}

/* Custom fields: radio group (clean UI) */
.jrb-custom-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.jrb-custom-radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border: 1px solid var(--jrb-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    user-select: none;
}

.jrb-custom-radio-option:hover {
    border-color: rgba(47, 120, 0, 0.45);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.jrb-custom-radio-option input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--jrb-primary);
    flex: 0 0 auto;
}

.jrb-custom-radio-label {
    font-size: 14px;
    color: #222;
    line-height: 1.35;
}

.jrb-custom-radio-option.is-selected,
.jrb-custom-radio-option:has(input[type="radio"]:checked) {
    border-color: var(--jrb-primary);
    box-shadow: 0 0 0 3px rgba(47, 120, 0, 0.10);
}

.jrb-custom-radio-option input[type="radio"]:disabled,
.jrb-custom-radio-option input[type="radio"]:disabled + .jrb-custom-radio-label {
    cursor: not-allowed;
    opacity: 0.55;
}

.jrb-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    line-height: 1.4;
}

.jrb-checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
}

/* Services */
.jrb-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.jrb-service-card {
    background: var(--jrb-white);
    border: 1px solid var(--jrb-border);
    border-radius: var(--jrb-radius);
    padding: 16px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    text-align: center;
}

.jrb-service-card:hover {
    box-shadow: var(--jrb-shadow-hover);
}

.jrb-service-card.selected {
    border-color: var(--jrb-primary);
    box-shadow: 0 0 0 2px var(--jrb-primary);
}

.jrb-service-card .service-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--jrb-secondary);
    margin-bottom: 6px;
}

.jrb-service-card .service-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--jrb-primary);
}

/* Payment Methods */
.jrb-payment-box {
    margin-top: 16px;
}

.jrb-payment-box h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--jrb-secondary);
}

.jrb-payment-methods {
    display: flex;
    gap: 12px;
}

.payment-option {
    flex: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--jrb-border);
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff;
}

.payment-option:hover {
    border-color: var(--jrb-primary);
    background: #f9fff5;
}

.payment-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--jrb-primary);
    flex-shrink: 0;
}

.payment-option.selected,
.payment-option:has(input:checked) {
    border-color: var(--jrb-primary);
    background: #f0f9eb;
    box-shadow: 0 0 0 3px rgba(47, 120, 0, 0.15);
}

.payment-content,
.payment-details {
    flex: 1;
}

.payment-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--jrb-secondary);
    margin-bottom: 4px;
}

.payment-desc {
    font-size: 13px;
    color: #666;
}

/* Promo Code */
.jrb-promo-section {
    margin-top: 16px;
}

.jrb-promo-box {
    margin-top: 10px;
}

.promo-input-row {
    display: flex;
    gap: 8px;
}

.promo-input-row input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--jrb-border);
    border-radius: 6px;
    font-size: 14px;
}

/* Discount Display */
.jrb-discount-box {
    background: #f0f9e8;
    border-radius: 6px;
    padding: 14px;
    margin-top: 12px;
}

/* Coupon / discount receipt */
.jrb-discount-receipt {
    margin-top: 16px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--jrb-primary) 22%, #fff);
    background: linear-gradient(180deg, #ffffff 0%, #f8fcf5 100%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(47, 120, 0, 0.08);
    animation: jrb-discount-receipt-in 0.35s ease-out;
}

@keyframes jrb-discount-receipt-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jrb-discount-receipt__banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--jrb-primary) 92%, #000) 0%, var(--jrb-primary) 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.jrb-discount-receipt__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    flex-shrink: 0;
}

.jrb-discount-receipt__banner-text {
    line-height: 1.35;
}

.jrb-discount-receipt__body {
    padding: 14px 16px 16px;
}

.jrb-discount-receipt__rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.jrb-discount-receipt__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    font-size: 14px;
    color: #4b5563;
}

.jrb-discount-receipt__row + .jrb-discount-receipt__row {
    border-top: 1px dashed #e5e7eb;
}

.jrb-discount-receipt__label {
    font-weight: 500;
    color: #6b7280;
}

.jrb-discount-receipt__value {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: #111827;
    text-align: right;
    white-space: nowrap;
}

.jrb-discount-receipt__row--discount .jrb-discount-receipt__value--discount {
    color: #15803d;
    font-weight: 700;
}

.jrb-discount-receipt__row--total {
    margin-top: 4px;
    padding-top: 14px;
    border-top: 2px solid color-mix(in srgb, var(--jrb-primary) 18%, #fff) !important;
}

.jrb-discount-receipt__row--total .jrb-discount-receipt__label {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

.jrb-discount-receipt__value--total {
    font-size: 18px;
    font-weight: 800;
    color: var(--jrb-primary);
    letter-spacing: -0.02em;
}

.discount-header {
    font-weight: 600;
    color: var(--jrb-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.price-breakdown .price-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 14px;
}

.price-breakdown .price-row.total {
    font-weight: 600;
    border-top: 1px solid var(--jrb-border);
    padding-top: 8px;
    margin-top: 4px;
}

/* Selected Box */
.jrb-selected-box {
    background: #f0f9e8;
    border-radius: 6px;
    padding: 14px;
    margin: 12px 0;
}

.selected-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.selected-icon {
    color: var(--jrb-primary);
    font-weight: bold;
    font-size: 16px;
}

.selected-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--jrb-secondary);
}

.selected-details {
    font-size: 14px;
    color: #444;
}

.detail-item {
    display: flex;
    gap: 8px;
    padding: 2px 0;
}

.detail-label {
    font-weight: 500;
    color: #666;
}

/* ZIP Input Row */
.jrb-zip-input-row {
    display: flex;
    gap: 10px;
}

.jrb-zip-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--jrb-border);
    border-radius: 6px;
    font-size: 15px;
}

.jrb-zip-input:focus {
    outline: none;
    border-color: var(--jrb-primary);
    box-shadow: 0 0 0 3px rgba(47, 120, 0, 0.1);
}

/* Result Box */
.jrb-result-box {
    margin-top: 12px;
}

.success-message {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--jrb-primary);
    font-weight: 500;
    font-size: 14px;
}

.error-message {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #991b1b;
    font-weight: 500;
    font-size: 14px;
}

/* DateTime */
.jrb-datetime-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}

.jrb-datetime-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-bottom: 5px;
}

.jrb-datetime-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--jrb-border);
    border-radius: 6px;
    font-size: 15px;
    font-family: var(--jrb-font);
    box-sizing: border-box;
}

.jrb-datetime-input:focus {
    outline: none;
    border-color: var(--jrb-primary);
    box-shadow: 0 0 0 3px rgba(47, 120, 0, 0.1);
}

.jrb-slot-info {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.jrb-info-note {
    font-size: 13px;
    color: #888;
    margin-top: 12px;
    text-align: center;
}

/* Map */
.jrb-map-container {
    border-radius: 6px;
    overflow: hidden;
    margin: 10px 0;
}

.jrb-map {
    height: 250px;
    width: 100%;
}

.jrb-input-with-icon {
    display: flex;
    gap: 8px;
}

.jrb-input-with-icon input {
    flex: 1;
}

.jrb-icon-btn {
    padding: 10px 14px;
    border: 1px solid var(--jrb-border);
    border-radius: 6px;
    background: var(--jrb-white);
    cursor: pointer;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
}

.jrb-icon-btn:hover {
    background: #f5f5f5;
}

/* Consent */
.jrb-consent-box {
    padding: 14px;
    background: #fafafa;
    border-radius: 6px;
    margin-top: 12px;
}

.consent-note {
    font-size: 12px;
    color: #888;
    margin: 6px 0 0 26px;
}

.required-star {
    color: var(--jrb-danger);
}

/* Section Description */
.section-description {
    font-size: 14px;
    color: #666;
    margin: -8px 0 14px;
}

/* Confirmation Page */
.jrb-confirmation-container {
    max-width: 820px;
    margin: 32px auto;
    padding: 0 16px;
}

.jrb-confirmation-card {
    background: var(--jrb-white);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    border: 1px solid #e8e8e8;
}

.jrb-conf-loading {
    padding: 48px 24px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.jrb-conf-header {
    background: var(--jrb-primary);
    color: #fff;
    text-align: center;
    padding: 32px 24px 28px;
}

.jrb-conf-header--cancelled {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 50%, #7f1d1d 100%);
    padding-top: 36px;
}

.jrb-conf-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: #fff;
}

.jrb-conf-header-icon svg {
    display: block;
}

.jrb-conf-panel--cancelled {
    background: #fef2f2;
    border-color: #fecaca;
}

.jrb-conf-panel--cancelled .jrb-conf-panel-title {
    color: #b91c1c;
}

.jrb-conf-panel--refund {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.jrb-conf-row-value--struck,
.jrb-conf-value--struck {
    text-decoration: line-through;
    color: #9ca3af !important;
    font-weight: 500 !important;
}

.jrb-conf-row-value--refund,
.jrb-conf-value--refund {
    color: var(--jrb-primary) !important;
    font-weight: 700 !important;
    font-size: 16px;
}

.jrb-conf-cancelled-footer {
    padding: 8px 20px 24px;
    text-align: center;
}

.jrb-conf-cancelled-note {
    margin: 0 0 16px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.jrb-conf-cancelled-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.jrb-conf-cancelled-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--jrb-font);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.jrb-conf-cancelled-btn--primary {
    background: var(--jrb-primary);
    border-color: var(--jrb-primary);
    color: #fff;
}

.jrb-conf-cancelled-btn--primary:hover {
    filter: brightness(0.92);
    color: #fff;
}

.jrb-conf-cancelled-btn--outline {
    background: #fff;
    border-color: #d1d5db;
    color: #374151;
}

.jrb-conf-cancelled-btn--outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

/* Cancel confirmation modal */
.jrb-cancel-modal {

    align-items: center;
    justify-content: center;
    padding: 24px;
}

.jrb-cancel-modal-backdrop {
    position: absolute;
    inset: 0;
}

.jrb-cancel-modal-dialog {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px 24px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.jrb-cancel-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fef3c7;
    color: #d97706;
}

.jrb-cancel-modal-title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.02em;
}

.jrb-cancel-modal-desc {
    margin: 0 0 12px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
}

.jrb-cancel-modal-desc strong {
    color: #334155;
    font-weight: 600;
}

.jrb-cancel-modal-refund {
    margin: 0 0 22px;
    font-size: 14px;
    font-weight: 700;
    color: var(--jrb-primary);
    line-height: 1.45;
}

.jrb-cancel-modal-actions {
    display: flex;
    gap: 10px;
}

.jrb-cancel-btn {
    flex: 1;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--jrb-font);
    cursor: pointer;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s;
}

.jrb-cancel-btn--keep {
    background: #fff;
    border-color: #d1d5db;
    color: #374151;
}

.jrb-cancel-btn--keep:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #9ca3af;
}

.jrb-cancel-btn--confirm {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.jrb-cancel-btn--confirm:hover:not(:disabled) {
    background: #b91c1c;
    border-color: #b91c1c;
}

.jrb-cancel-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.jrb-conf-header--completed {
    background: #1e40af;
}

.jrb-conf-header h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.jrb-conf-header-subtitle {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.45;
}

.jrb-conf-id-badge {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.jrb-conf-arrival-success {
    text-align: center;
}

.jrb-conf-ref-card {
    margin: 20px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}

.jrb-conf-ref-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.jrb-conf-id-badge--large {
    display: inline-block;
    margin-bottom: 10px;
    padding: 10px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: var(--jrb-primary);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.jrb-conf-ref-note {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.jrb-conf-arrival-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 20px 12px;
}

.jrb-conf-arrival-verify-note {
    margin: 0 20px 20px;
    font-size: 13px;
    color: #64748b;
}

.jrb-conf-check {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 28px;
    line-height: 56px;
    font-weight: 700;
}

.jrb-conf-action-btn--primary {
    background: var(--jrb-primary);
    border-color: var(--jrb-primary);
    color: #fff;
}

.jrb-conf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px;
}

.jrb-conf-panel {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 18px;
    background: #fff;
}

.jrb-conf-panel--highlight {
    background: #fffbeb;
    border-color: #fde68a;
}

.jrb-conf-panel--wide {
    grid-column: 1 / -1;
}

.jrb-conf-panel-title {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}

.jrb-conf-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}

.jrb-conf-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.jrb-conf-row-label {
    color: #6b7280;
    flex-shrink: 0;
}

.jrb-conf-row-value {
    color: #111827;
    text-align: right;
    font-weight: 500;
}

.jrb-conf-row-value--accent {
    color: var(--jrb-primary);
    font-weight: 600;
}

.jrb-conf-row-value--discount {
    color: #dc2626;
    font-weight: 600;
}

.jrb-conf-row-value--total {
    color: var(--jrb-primary);
    font-size: 18px;
    font-weight: 700;
}

.jrb-conf-row-value--paid {
    color: #059669;
    font-weight: 600;
}

.jrb-conf-row-value--balance {
    color: #b45309;
    font-size: 17px;
    font-weight: 700;
}

.jrb-conf-status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #ecfdf5;
    color: #047857;
}

.jrb-conf-status--cancelled {
    background: #fef2f2;
    color: #b91c1c;
}

.jrb-conf-status--completed {
    background: #eff6ff;
    color: #1d4ed8;
}

.jrb-conf-next-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.jrb-conf-next-list li {
    position: relative;
    padding: 0 0 10px 22px;
    font-size: 13px;
    color: #374151;
    line-height: 1.45;
}

.jrb-conf-next-list li:last-child {
    padding-bottom: 0;
}

.jrb-conf-next-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
}

.jrb-confirmation-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0 20px 20px;
}

.jrb-conf-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--jrb-font);
    cursor: pointer;
    text-align: center;
    border: 1px solid transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.jrb-conf-action-btn--outline {
    background: #fff;
    border-color: #d1d5db;
    color: #374151;
    box-shadow: none;
}

.jrb-conf-action-btn--outline:hover:not(:disabled) {
    background: #f9fafb;
    border-color: #9ca3af;
}

.jrb-conf-action-btn--danger {
    background: #fff5f5;
    border-color: #fecaca;
    color: #991b1b;
    box-shadow: none;
}

.jrb-conf-action-btn--danger:hover:not(:disabled) {
    background: #fee2e2;
}

.jrb-conf-action-btn--primary {
    background: #1e293b;
    border-color: #1e293b;
    color: #fff;
    box-shadow: none;
}

.jrb-conf-action-btn--primary:hover:not(:disabled) {
    background: #0f172a;
}

.jrb-conf-action-btn:disabled,
.jrb-conf-action-btn.jrb-btn-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.jrb-booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#jrb-booking-info .booking-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

#jrb-booking-info .booking-label {
    font-weight: 500;
    width: 120px;
    color: #666;
}

#jrb-booking-info .booking-value {
    flex: 1;
    color: #333;
}

.jrb-field-error-msg {
    margin: 6px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--jrb-danger);
    clear: both;
}

.jrb-field-error-msg--block {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff5f5;
    border: 1px solid #fecaca;
}

#jrb-services-section.jrb-services-section--error {
    outline: 2px solid var(--jrb-danger, #dc3545);
    outline-offset: 4px;
    border-radius: 8px;
}

.jrb-input-error,
.jrb-form-group input.jrb-input-error,
.jrb-form-group select.jrb-input-error,
.jrb-form-group textarea.jrb-input-error {
    border-color: var(--jrb-danger) !important;
    box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.12) !important;
}

.jrb-form-group--error label,
.jrb-field--error label {
    color: #991b1b;
}

.jrb-ms-field.jrb-field--error input,
.jrb-ms-field.jrb-field--error select,
.jrb-ms-field.jrb-field--error textarea,
.jrb-ss-field.jrb-field--error input,
.jrb-ss-field.jrb-field--error select,
.jrb-ss-field.jrb-field--error textarea {
    border-color: var(--jrb-danger) !important;
    box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.12) !important;
}

.jrb-ms-consent-box.jrb-field--error,
.jrb-ss-consent-box.jrb-field--error {
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fff5f5;
    padding: 10px 12px;
}

/* FAQ Section */
.jrb-faq-section {
    background: var(--jrb-white);
    padding: 24px;
    border-radius: var(--jrb-radius);
    box-shadow: var(--jrb-shadow);
    margin-top: 24px;
}

.jrb-faq-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--jrb-secondary);
    margin: 0 0 16px;
}

.jrb-faq-accordion {
    margin-top: 0;
}

.jrb-faq-accordion .jrb-faq-item {
    border: 1px solid #e8e8e8;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 0;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jrb-faq-accordion .jrb-faq-item:last-child {
    margin-bottom: 0;
}

.jrb-faq-accordion .jrb-faq-item.active {
    border-color: rgba(47, 120, 0, 0.35);
    box-shadow: 0 2px 8px rgba(47, 120, 0, 0.08);
}

.jrb-faq-accordion .jrb-faq-question {
    background: #f9fafb;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: background 0.2s ease;
    font-weight: 600;
    font-size: 15px;
    color: var(--jrb-secondary);
    user-select: none;
}

.jrb-faq-accordion .jrb-faq-question:hover {
    background: #f1f5f9;
}

.jrb-faq-accordion .jrb-faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.jrb-faq-accordion .jrb-faq-icon::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--jrb-primary);
    border-bottom: 2px solid var(--jrb-primary);
    transform: rotate(45deg);
    margin-top: -3px;
}

.jrb-faq-accordion .jrb-faq-item.active .jrb-faq-icon {
    transform: rotate(180deg);
}

.jrb-faq-accordion .jrb-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #646970;
    line-height: 1.6;
    font-size: 14px;
}

.jrb-faq-accordion .jrb-faq-item.active .jrb-faq-answer {
    padding: 0 20px 16px;
    max-height: 500px;
}

/* Verification form on confirmation page */
.jrb-verification-prompt {
    padding: 24px;
}

.jrb-verify-form {
    margin-top: 20px;
}

.jrb-verify-form .jrb-form-group {
    margin-bottom: 16px;
}

.jrb-verify-form label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--jrb-secondary);
    margin-bottom: 6px;
}

.jrb-verify-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--jrb-border);
    border-radius: 6px;
    font-size: 15px;
    font-family: var(--jrb-font);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jrb-verify-input:focus {
    outline: none;
    border-color: var(--jrb-primary);
    box-shadow: 0 0 0 3px rgba(47, 120, 0, 0.1);
}

.jrb-verify-hint {
    font-size: 13px;
    color: #666;
    margin: 0 0 16px;
}

.jrb-verify-form .jrb-btn-primary {
    width: 100%;
    justify-content: center;
}

/* Modal */
.jrb-modal {
    position: fixed !important;
    z-index: 10000 !important;
    left: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: auto;
    
}

/* Ensure SweetAlert prompts appear above our modal overlay */
.swal2-container {
    z-index: 100000 !important;
}

.jrb-modal-content {
    background-color: var(--jrb-white);
    margin: 0;
    padding: 28px;
    border-radius: var(--jrb-radius);
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    max-height: calc(100vh - 48px);
    overflow: auto;
}

.jrb-modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.jrb-modal-close:hover {
    color: #333;
}

.jrb-modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Messages */
.jrb-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    text-align: center;
    font-size: 14px;
}

.jrb-message-success {
    background: #f0f9e8;
    color: var(--jrb-primary);
}

.jrb-message-error {
    background: #fef2f2;
    color: var(--jrb-danger);
}

/* Spinner */
.jrb-spinner {
    border: 3px solid #f0f0f0;
    border-top: 3px solid var(--jrb-primary);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: jrb-spin 0.8s linear infinite;
    margin: 16px auto;
}

@keyframes jrb-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading Container */
.jrb-loading-container {
    text-align: center;
    padding: 24px;
    color: #888;
    font-size: 14px;
}

/* Postcode Label */
.jrb-postcode-label {
    font-size: 14px;
    font-weight: 500;
    color: #444;
    margin-bottom: 5px;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .jrb-booking-container,
    .jrb-single-step-booking {
        margin: 16px auto;
        padding: 0 12px;
    }

    .jrb-form-section {
        padding: 18px 16px;
    }

    .jrb-accordion-header {
        padding: 14px 16px;
    }

    .jrb-accordion-content {
        padding: 16px;
    }

    .jrb-form-row,
    .jrb-form-row-2,
    .jrb-form-row-3 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .jrb-datetime-container {
        grid-template-columns: 1fr;
    }

    .jrb-conf-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 16px;
    }

    .jrb-confirmation-actions {
        grid-template-columns: 1fr 1fr;
        padding: 0 16px 16px;
    }

    .jrb-conf-cancelled-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .jrb-conf-cancelled-actions .jrb-conf-cancelled-btn {
        width: 100%;
        min-width: 0;
    }

    .jrb-cancel-modal-actions {
        flex-direction: column;
    }

    .jrb-conf-cancelled-btn {
        width: 100%;
    }

    .jrb-conf-header h1 {
        font-size: 24px;
    }

    .jrb-booking-actions {
        flex-direction: column;
    }

    .jrb-services-grid {
        grid-template-columns: 1fr;
    }

    .jrb-payment-methods {
        flex-direction: column;
    }

    .jrb-zip-input-row {
        flex-direction: column;
    }

    /* Touch targets */
    .jrb-btn,
    .jrb-form-group input,
    .jrb-form-group select,
    .jrb-form-group textarea,
    .jrb-datetime-input {
        min-height: 44px;
    }

    .jrb-step-title {
        font-size: 15px;
    }

    .jrb-progress-step span {
        font-size: 11px;
    }

    .jrb-progress-circle {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .jrb-form-section {
        padding: 16px 14px;
    }

    .promo-input-row {
        flex-direction: column;
    }

    .jrb-confirmation-actions {
        grid-template-columns: 1fr;
    }
}

@media print {
    .jrb-confirmation-actions,
    .jrb-faq-section,
    .jrb-modal,
    #jrb-edit-modal {
        display: none !important;
    }

    .jrb-confirmation-container {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .jrb-confirmation-card {
        box-shadow: none;
        border: none;
    }
}

/* Appointment waitlist */
.jrb-waitlist-panel {
    margin-top: 20px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--jrb-primary) 20%, #fff);
    background: linear-gradient(180deg, #fff 0%, #f8faf5 100%);
    box-shadow: 0 4px 16px rgba(47, 120, 0, 0.08);
}

.jrb-waitlist-panel__title {
    display: block;
    font-size: 16px;
    color: #111827;
    margin-bottom: 4px;
}

.jrb-waitlist-panel__subtitle {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.45;
}

.jrb-waitlist-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}

.jrb-waitlist-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.jrb-waitlist-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--jrb-border);
    border-radius: 8px;
    font-size: 14px;
}

.jrb-waitlist-field--full {
    grid-column: 1 / -1;
}

.jrb-waitlist-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 18px;
    border: none;
    border-radius: 999px;
    background: var(--jrb-primary);
    color: var(--jrb-btn-text, #fff);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.jrb-waitlist-submit:hover {
    filter: brightness(1.05);
}

.jrb-waitlist-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.jrb-waitlist-message {
    margin-top: 12px;
    font-size: 14px;
}

.jrb-waitlist-message--success {
    padding: 10px 14px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.jrb-waitlist-message--error {
    padding: 10px 14px;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

@media (max-width: 600px) {
    .jrb-waitlist-form__grid {
        grid-template-columns: 1fr;
    }
}
