.kerp-booking, .kerp-booking-history, .kerp-booking-receipt {
    --kerp-booking-primary: #6576ff;
    --kerp-booking-primary-soft: rgba(101, 118, 255, .09);
    --kerp-booking-success: #1ee0ac;
    --kerp-booking-danger: #e85347;
    --kerp-booking-text: #253246;
    --kerp-booking-muted: #8094ae;
    --kerp-booking-border: #e2e8f0;
    --kerp-booking-surface: #fff;
    --kerp-booking-bg: #f6f8fb;
    font-family: inherit;
    color: var(--kerp-booking-text);
}

.kerp-booking {
    position: relative;
    max-width: 1100px;
    margin: 40px auto;
    border: 1px solid var(--kerp-booking-border);
    border-radius: 22px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(31, 43, 58, .08);
}

.kerp-booking.is-loading:after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .62);
    backdrop-filter: blur(1px);
}

.kerp-booking__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--kerp-booking-surface);
    border-bottom: 1px solid var(--kerp-booking-border);
}

.kerp-booking__step {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 18px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--kerp-booking-muted);
    cursor: default;
}

.kerp-booking__step span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
    font-weight: 700;
}

.kerp-booking__step strong {
    font-size: 13px;
}

.kerp-booking__step.is-active {
    color: var(--kerp-booking-primary);
}

.kerp-booking__step.is-active span {
    color: #fff;
    background: var(--kerp-booking-primary);
}

.kerp-booking__step.is-done span {
    color: #fff;
    background: var(--kerp-booking-success);
}

.kerp-booking__panel {
    display: none;
    padding: 28px;
}

.kerp-booking__panel.is-active {
    display: block;
}

.kerp-booking__panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.kerp-booking__panel-head h3 {
    margin: 4px 0 0;
    font-size: 22px;
}

.kerp-booking__panel-head p {
    margin: 8px 0 0;
    color: var(--kerp-booking-muted);
    font-size: 13px;
}

.kerp-booking__eyebrow {
    color: var(--kerp-booking-primary);
    font-size: 11px;
    font-weight: 700;
}

.kerp-booking__notice {
    margin: 18px 28px 0;
    padding: 11px 14px;
    border-radius: 10px;
    background: var(--kerp-booking-primary-soft);
    color: var(--kerp-booking-primary);
    font-size: 13px;
}

.kerp-booking__notice.is-error {
    background: rgba(232, 83, 71, .09);
    color: var(--kerp-booking-danger);
}

.kerp-booking__notice.is-success {
    background: rgba(30, 224, 172, .1);
    color: #128a6b;
}

.kerp-booking__filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.kerp-booking__field {
    display: flex;
    flex-direction: column;
    margin: 0;
    position: relative;
}

.kerp-booking__field > span {
    font-size: 13px;
    font-weight: 650;
    position: absolute;
    top: -13px;
    padding: 0 10px;
    right: 13px;
    background: #fff;
}

.kerp-booking__field > small {
    color: var(--kerp-booking-muted);
    font-size: 10px;
    line-height: 1.7;
}

.kerp-booking__field input, .kerp-booking__field select, .kerp-booking__field textarea {
    width: 100%;
    min-height: 47px;
    border: 1px solid var(--kerp-booking-border);
    border-radius: 10px;
    background: var(--kerp-booking-surface);
    padding: 5px 22px;
    color: var(--kerp-booking-text);
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    height: 0;
    font-size: 15px;
}

.kerp-booking__filters select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 42px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236576ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    background-size: 14px 14px;
    cursor: pointer;
    line-height: 20px;
}

.kerp-booking__filters select:hover {
    background-color: #fbfcff;
}

.kerp-booking__filters select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236576ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m18 15-6-6-6 6'/%3E%3C/svg%3E");
}

.kerp-booking__filters select::-ms-expand {
    display: none;
}

.kerp-booking__field textarea {
    min-height: 110px;
    resize: vertical;
}

.kerp-booking__field input:focus, .kerp-booking__field select:focus, .kerp-booking__field textarea:focus {
    border-color: var(--kerp-booking-primary);
    box-shadow: 0 0 0 3px var(--kerp-booking-primary-soft);
}

.kerp-booking__services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.kerp-booking-service {
    width: 100%;
    appearance: none;
    border: 1px solid var(--kerp-booking-border);
    border-radius: 14px;
    background: var(--kerp-booking-surface);
    padding: 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    text-align: start;
    color: inherit;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.kerp-booking-service:hover {
    transform: translateY(-1px);
    border-color: rgba(101, 118, 255, .45);
    box-shadow: 0 8px 24px rgba(31, 43, 58, .07);
}

.kerp-booking-service.is-selected {
    border-color: var(--kerp-booking-primary);
    box-shadow: 0 0 0 3px var(--kerp-booking-primary-soft);
}

.kerp-booking-service__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--kerp-booking-primary-soft);
    color: var(--kerp-booking-primary);
    font-size: 18px;
}

.kerp-booking-service__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kerp-booking-service__body strong {
    font-size: 14px;
}

.kerp-booking-service__body small {
    color: var(--kerp-booking-muted);
    font-size: 11px;
    line-height: 1.7;
}

.kerp-booking-service__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    white-space: nowrap;
}

.kerp-booking-service__meta small {
    color: var(--kerp-booking-muted);
    font-size: 10px;
}

.kerp-booking-service__meta strong {
    color: var(--kerp-booking-success);
    font-size: 13px;
}

.kerp-booking__empty-services {
    grid-column: 1 / -1;
    padding: 36px;
    border: 1px dashed var(--kerp-booking-border);
    border-radius: 14px;
    color: var(--kerp-booking-muted);
    text-align: center;
}

.kerp-booking__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--kerp-booking-border);
}

.kerp-booking__next, .kerp-booking__submit, .kerp-booking__back, .kerp-booking-receipt__pay, .kerp-booking-history__empty a, .kerp-booking-history-card__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

.kerp-booking__next, .kerp-booking__submit, .kerp-booking-receipt__pay, .kerp-booking-history__empty a, .kerp-booking-history-card__actions a {
    background: var(--kerp-booking-primary);
    color: #fff;
}

.kerp-booking__next:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.kerp-booking__back {
    border-color: var(--kerp-booking-border);
    background: var(--kerp-booking-surface);
    color: var(--kerp-booking-muted);
}

.kerp-booking-calendar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
    gap: 18px;
    min-width: 0;
}

.kerp-booking-calendar__main, .kerp-booking-calendar__slots {
    border: 1px solid var(--kerp-booking-border);
    border-radius: 16px;
    background: var(--kerp-booking-surface);
    padding: 16px;
    min-width: 0;
}

.kerp-booking-calendar__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.kerp-booking-calendar__nav button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--kerp-booking-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 21px;
    line-height: 1;
}

.kerp-booking-calendar__weekdays, .kerp-booking-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
    min-width: 0;
}

.kerp-booking-calendar__weekdays > *,
.kerp-booking-calendar__days > * {
    min-width: 0;
}

.kerp-booking-calendar__weekdays {
    margin-bottom: 7px;
}

.kerp-booking-calendar__weekdays span {
    padding: 6px 2px;
    color: var(--kerp-booking-muted);
    font-size: 9px;
    text-align: center;
}

.kerp-booking-calendar__day {
    min-height: 52px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: #f4f6f9;
    color: #a5b0bf;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: not-allowed;
}

.kerp-booking-calendar__day.has-slots {
    background: rgba(30, 224, 172, .08);
    color: var(--kerp-booking-text);
    cursor: pointer;
}

.kerp-booking-calendar__day.has-slots:after {
    content: "";
    width: 18px;
    height: 3px;
    border-radius: 3px;
    background: var(--kerp-booking-success);
}

.kerp-booking-calendar__day.is-today {
    border-color: var(--kerp-booking-primary);
}

.kerp-booking-calendar__day.is-selected {
    background: var(--kerp-booking-primary);
    color: #fff;
}

.kerp-booking-calendar__day.is-selected:after {
    background: #fff;
}

.kerp-booking-calendar__day small {
    font-size: 8px;
}

.kerp-booking-calendar__slots-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--kerp-booking-border);
}

.kerp-booking-calendar__slots-head span {
    color: var(--kerp-booking-primary);
    font-size: 11px;
}

.kerp-booking-calendar__slot-groups {
    max-height: 390px;
    overflow: auto;
    padding-top: 12px;
}

.kerp-booking-calendar__placeholder {
    padding: 30px 10px;
    color: var(--kerp-booking-muted);
    text-align: center;
    font-size: 12px;
}

.kerp-booking-slot-group + .kerp-booking-slot-group {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--kerp-booking-border);
}

.kerp-booking-slot-group__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.kerp-booking-slot-group__head strong {
    font-size: 12px;
}

.kerp-booking-slot-group__head small {
    color: var(--kerp-booking-muted);
    font-size: 9px;
}

.kerp-booking-slot-group__slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.kerp-booking-slot {
    min-height: 48px;
    border: 1px solid var(--kerp-booking-border);
    border-radius: 8px;
    background: #f7f9fb;
    color: var(--kerp-booking-text);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.kerp-booking-slot strong {
    font-size: 12px;
}

.kerp-booking-slot small {
    color: var(--kerp-booking-muted);
    font-size: 8px;
}

.kerp-booking-slot:hover, .kerp-booking-slot.is-selected {
    border-color: var(--kerp-booking-primary);
    background: var(--kerp-booking-primary-soft);
    color: var(--kerp-booking-primary);
}

.kerp-booking__form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 20px;
}

.kerp-booking__field.is-full {
    grid-column: 1 / -1;
}

.kerp-booking__radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kerp-booking__radio-group label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.kerp-booking-custom-field--check {
    width: 22px !important;
    min-height: 22px !important;
}

.kerp-booking-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.kerp-booking-summary > div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 82px;
    padding: 14px 16px;
    border: 1px solid var(--kerp-booking-border);
    border-radius: 10px;
    background: var(--kerp-booking-surface);
}

.kerp-booking-summary > div:nth-child(1),
.kerp-booking-summary > div:nth-child(2) {
    grid-column: span 2;
}

.kerp-booking-summary > div:nth-child(7),
.kerp-booking-summary > div:nth-child(8) {
    grid-column: span 2;
}

.kerp-booking-summary span {
    color: var(--kerp-booking-muted);
    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;
}

.kerp-booking-summary strong {
    color: var(--kerp-booking-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}

.kerp-booking-summary__price,
.kerp-booking-summary__payable {
    min-height: 90px !important;
}

.kerp-booking-summary__price {
    background: #f8f9fc !important;
}

.kerp-booking-summary__price strong {
    font-size: 17px;
}

.kerp-booking-summary__payable {
    border-color: rgba(30, 224, 172, .35) !important;
    background: rgba(30, 224, 172, .06) !important;
}

.kerp-booking-summary__payable span {
    color: #16a57a;
}

.kerp-booking-summary__payable strong {
    color: var(--kerp-booking-success);
    font-size: 19px;
    font-weight: 800;
}

.kerp-booking-gateways {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--kerp-booking-border);
}

.kerp-booking-gateways h4 {
    margin: 0 0 12px;
    color: var(--kerp-booking-text);
    font-size: 14px;
    font-weight: 700;
}

.kerp-booking-gateway {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.kerp-booking-gateway + .kerp-booking-gateway {
    margin-top: 8px;
}

.kerp-booking-gateway > input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.kerp-booking-gateway > span {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 70px;
    padding: 13px 48px 13px 16px;
    border: 1px solid var(--kerp-booking-border);
    border-radius: 10px;
    background: var(--kerp-booking-surface);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.kerp-booking-gateway > span::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    width: 18px;
    height: 18px;
    border: 1.5px solid #b7c2d0;
    border-radius: 50%;
    background: #fff;
    transform: translateY(-50%);
    transition: .2s ease;
}

.kerp-booking-gateway > span::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 21px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--kerp-booking-primary);
    opacity: 0;
    transform: translateY(-50%) scale(.5);
    transition: .2s ease;
}

.kerp-booking-gateway:hover > span {
    border-color: rgba(var(--bs-primary-rgb, 101, 118, 255), .45);
    background: #fbfcff;
}

.kerp-booking-gateway > input[type="radio"]:checked + span {
    border-color: var(--kerp-booking-primary);
    background: var(--kerp-booking-primary-soft);
    box-shadow: 0 0 0 1px var(--kerp-booking-primary);
}

.kerp-booking-gateway > input[type="radio"]:checked + span::before {
    border-color: var(--kerp-booking-primary);
}

.kerp-booking-gateway > input[type="radio"]:checked + span::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.kerp-booking-gateway strong {
    color: var(--kerp-booking-text);
    font-size: 13px;
    font-weight: 700;
}

.kerp-booking-gateway small {
    max-width: 650px;
    color: var(--kerp-booking-muted);
    font-size: 10px;
    line-height: 1.8;
}

.kerp-booking-gateways__empty {
    padding: 14px;
    border: 1px solid rgba(232, 83, 71, .2);
    border-radius: 9px;
    background: rgba(232, 83, 71, .05);
    color: var(--kerp-booking-danger);
    font-size: 11px;
}

@media (max-width: 767px) {
    .kerp-booking-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .kerp-booking-summary > div:nth-child(1),
    .kerp-booking-summary > div:nth-child(2),
    .kerp-booking-summary > div:nth-child(7),
    .kerp-booking-summary > div:nth-child(8) {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .kerp-booking-summary {
        grid-template-columns: 1fr;
    }
    
    .kerp-booking-summary > div {
        min-height: 70px;
    }
}

.kerp-booking-history, .kerp-booking-receipt {
    max-width: 980px;
    margin: 0 auto;
}

.kerp-booking-history {
    width: 100%;
    color: #253246;
    font-size: 15px;
    line-height: 1.8;
}

.kerp-booking-history__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.kerp-booking-history__head span {
    display: block;
    margin-bottom: 3px;
    color: #6576ff;
    font-size: 14px;
    font-weight: 600;
}

.kerp-booking-history__head h3 {
    margin: 0;
    color: #1f2d3d;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

.kerp-booking-history__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kerp-booking-history-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid #dfe5ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(31, 45, 61, .06);
}

.kerp-booking-history-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf1f7;
}

.kerp-booking-history-card__heading {
    min-width: 0;
}

.kerp-booking-history-card__number {
    margin-bottom: 5px;
    color: #8094ae;
    font-size: 13px;
    font-weight: 500;
}

.kerp-booking-history-card__heading h4 {
    margin: 0;
    color: #1f2d3d;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
}

.kerp-booking-history-card__badges {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}

.kerp-booking-status,
.kerp-booking-payment-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.kerp-booking-status {
    background: #eef0ff;
    color: #6576ff;
}

.kerp-booking-payment-status.is-paid {
    background: #e8f7ef;
    color: #1c8c55;
}

.kerp-booking-payment-status.is-pending {
    background: #fff3df;
    color: #c57b0a;
}

.kerp-booking-payment-status.is-neutral {
    background: #f1f3f5;
    color: #526484;
}

.kerp-booking-history-card__primary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding-top: 20px;
}

.kerp-booking-history-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 92px;
    padding: 14px 16px;
    border: 1px solid #edf1f7;
    border-radius: 12px;
    background: #f7f9fc;
}

.kerp-booking-history-info > span {
    display: block;
    margin-bottom: 5px;
    color: #8094ae;
    font-size: 13px;
    font-weight: 500;
}

.kerp-booking-history-info > strong {
    display: block;
    color: #253246;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

.kerp-booking-history-info--price strong {
    color: #364a63;
    font-size: 16px;
}

.kerp-booking-history-card__details {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 30px;
    margin-top: 20px;
    padding: 18px 4px;
    border-top: 1px dashed #dfe5ef;
}

.kerp-booking-history-detail {
    min-width: 0;
}

.kerp-booking-history-detail > span {
    display: block;
    margin-bottom: 3px;
    color: #8094ae;
    font-size: 13px;
}

.kerp-booking-history-detail > strong {
    display: block;
    color: #364a63;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

.kerp-booking-history-detail > strong small {
    margin-right: 5px;
    color: #8094ae;
    font-size: 12px;
    font-weight: 500;
}

.kerp-booking-history-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 4px;
    padding: 16px;
    border: 1px solid #ffe3b3;
    border-radius: 12px;
    background: #fffaf1;
}

.kerp-booking-history-card__actions > div {
    display: flex;
    flex-direction: column;
}

.kerp-booking-history-card__actions > div strong {
    color: #8a5700;
    font-size: 14px;
    font-weight: 700;
}

.kerp-booking-history-card__actions > div span {
    margin-top: 2px;
    color: #9d7739;
    font-size: 13px;
}

.kerp-booking-history-card__pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 9px 20px;
    border-radius: 9px;
    background: #6576ff;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .15s ease, transform .15s ease;
}

.kerp-booking-history-card__pay:hover {
    background: #5365e8;
    color: #fff;
    transform: translateY(-1px);
}

.kerp-booking-history__empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border: 1px solid #dfe5ef;
    border-radius: 14px;
    background: #fff;
    color: #526484;
    font-size: 15px;
}

.kerp-booking-history__empty strong {
    color: #364a63;
    font-size: 15px;
    font-weight: 600;
}

.kerp-booking-history__empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 7px 18px;
    border-radius: 8px;
    background: #6576ff;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 991px) {
    .kerp-booking-history-card__primary,
    .kerp-booking-history-card__details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .kerp-booking-history {
        font-size: 14px;
    }
    
    .kerp-booking-history-card {
        padding: 18px;
        border-radius: 14px;
    }
    
    .kerp-booking-history-card__header {
        flex-direction: column;
        gap: 12px;
    }
    
    .kerp-booking-history-card__badges {
        justify-content: flex-start;
    }
    
    .kerp-booking-history-card__primary,
    .kerp-booking-history-card__details {
        grid-template-columns: 1fr;
    }
    
    .kerp-booking-history-info {
        min-height: auto;
    }
    
    .kerp-booking-history-card__actions,
    .kerp-booking-history__empty {
        flex-direction: column;
        align-items: stretch;
    }
    
    .kerp-booking-history-card__pay,
    .kerp-booking-history__empty a {
        width: 100%;
    }
    
    .kerp-booking-history__head h3 {
        font-size: 21px;
    }
}

.kerp-booking-receipt {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 38px;
    overflow: hidden;
    border: 1px solid var(--kerp-booking-border);
    border-radius: 20px;
    background: var(--kerp-booking-surface);
    box-shadow: 0 18px 55px rgba(31, 43, 58, .07);
    text-align: center;
}

.kerp-booking-receipt::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--kerp-booking-success);
}

.kerp-booking-receipt__mark {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.kerp-booking-receipt__mark span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(30, 224, 172, .11);
    color: var(--kerp-booking-success);
    font-size: 27px;
    font-weight: 700;
}

.kerp-booking-receipt__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--kerp-booking-primary-soft);
    color: var(--kerp-booking-primary);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.7;
}

.kerp-booking-receipt h2 {
    margin: 0;
    color: var(--kerp-booking-text);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.7;
}

.kerp-booking-receipt > p {
    max-width: 520px;
    margin: 5px auto 28px;
    color: var(--kerp-booking-muted);
    font-size: 12px;
    line-height: 2;
}

.kerp-booking-receipt__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: right;
}

.kerp-booking-receipt__grid > div {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    min-height: 84px;
    padding: 14px 16px;
    border: 1px solid var(--kerp-booking-border);
    border-radius: 11px;
    background: #fbfcfe;
    transition: border-color .2s ease, background-color .2s ease;
}

.kerp-booking-receipt__grid > div:hover {
    border-color: rgba(var(--bs-primary-rgb, 101, 118, 255), .25);
    background: #fff;
}

.kerp-booking-receipt__grid span,
.kerp-booking-receipt__location span {
    color: var(--kerp-booking-muted);
    font-size: 9px;
    font-weight: 500;
    line-height: 1.5;
}

.kerp-booking-receipt__grid strong {
    color: var(--kerp-booking-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
}

.kerp-booking-receipt__grid > div:last-child {
    border-color: rgba(30, 224, 172, .25);
    background: rgba(30, 224, 172, .055);
}

.kerp-booking-receipt__grid > div:last-child strong {
    color: var(--kerp-booking-success);
    font-size: 15px;
}

.kerp-booking-receipt__location {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding: 14px 16px;
    border: 1px dashed var(--kerp-booking-border);
    border-radius: 11px;
    background: var(--kerp-booking-bg);
    text-align: right;
}

.kerp-booking-receipt__location strong {
    color: var(--kerp-booking-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;
}

.kerp-booking-receipt__pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 44px;
    margin-top: 22px;
    padding: 8px 24px;
    border-radius: 8px;
    background: var(--kerp-booking-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s ease, transform .2s ease;
}

.kerp-booking-receipt__pay:hover {
    color: #fff;
    opacity: .92;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .kerp-booking-receipt {
        padding: 28px 18px;
        border-radius: 16px;
    }
    
    .kerp-booking-receipt h2 {
        font-size: 19px;
    }
    
    .kerp-booking-receipt__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .kerp-booking-receipt__grid > div {
        min-height: 76px;
    }
}

@media (max-width: 480px) {
    .kerp-booking-receipt {
        padding: 24px 14px;
    }
    
    .kerp-booking-receipt__grid {
        grid-template-columns: 1fr;
    }
    
    .kerp-booking-receipt__grid > div {
        min-height: auto;
        padding: 12px 14px;
    }
}

@media (max-width: 850px) {
    .kerp-booking__filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .kerp-booking-calendar {
        grid-template-columns: 1fr;
    }
    
    .kerp-booking-history-card__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .kerp-booking {
        border-radius: 14px;
    }
    
    .kerp-booking__steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .kerp-booking__step {
        padding: 12px 4px;
        flex-direction: column;
        gap: 4px;
    }
    
    .kerp-booking__step strong {
        font-size: 11px;
    }
    
    .kerp-booking__step span {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .kerp-booking__panel {
        padding: 18px 12px;
    }
    
    .kerp-booking__notice {
        margin: 12px 12px 0;
    }
    
    .kerp-booking__filters, .kerp-booking__services, .kerp-booking__form-grid, .kerp-booking-summary, .kerp-booking-receipt__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .kerp-booking-service {
        grid-template-columns: auto 1fr;
    }
    
    .kerp-booking-service__meta {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .kerp-booking-slot-group__slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kerp-booking-history-card__meta {
        grid-template-columns: 1fr 1fr;
    }
    
    .kerp-booking__footer {
        position: sticky;
        bottom: 0;
        z-index: 5;
        margin-inline: -12px;
        margin-bottom: -18px;
        padding: 12px;
        background: rgba(246, 248, 251, .96);
    }
}

.kerp-booking__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e9f2;
}

.kerp-booking__panel-heading {
    min-width: 0;
}

.kerp-booking__step-label {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--bs-primary, #6576ff);
    font-size: 11px;
    font-weight: 700;
}

.kerp-booking__panel-heading h3 {
    margin: 0;
    color: #25324b;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}

.kerp-booking__panel-heading p {
    margin: 5px 0 0;
    color: #8094ae;
    font-size: 12px;
    line-height: 1.8;
}

.kerp-booking__selection-summary {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 240px;
    padding: 10px 12px;
    border: 1px solid #e5e9f2;
    border-radius: 10px;
    background: #f8f9fc;
}

.kerp-booking__selection-summary-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(var(--bs-primary-rgb, 101, 118, 255), .08);
    color: var(--bs-primary, #6576ff);
    font-size: 18px;
}

.kerp-booking__selection-summary-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.kerp-booking__selection-summary-content > span {
    margin-bottom: 2px;
    color: #8094ae;
    font-size: 10px;
    line-height: 1;
}

.kerp-booking__selection-summary-content > span.kerp-booking__selected-date {
    font-size: 11px;
    margin-top: 2px;
}

.kerp-booking__selected-service {
    display: block;
    overflow: hidden;
    color: #364a63;
    font-size: 17px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.8;
}

.kerp-booking__change-service {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 7px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--bs-primary, #6576ff);
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

.kerp-booking__change-service:hover {
    background: rgba(var(--bs-primary-rgb, 101, 118, 255), .08);
}

.kerp-booking__change-service .icon {
    font-size: 13px;
}

@media (max-width: 767px) {
    .kerp-booking__panel-head {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }
    
    .kerp-booking__selection-summary {
        width: 100%;
        min-width: 0;
    }
}

.kerp-booking__radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kerp-booking__radio-group > label {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.kerp-booking__radio-group input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.kerp-booking__radio-group label > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    min-height: 42px;
    padding: 8px 18px;
    border: 1px solid #dbdfea;
    border-radius: 8px;
    background: #fff;
    color: #526484;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.kerp-booking__radio-group label:hover > span {
    border-color: var(--bs-primary, #6576ff);
    color: var(--bs-primary, #6576ff);
}

.kerp-booking__radio-group input[type="radio"]:checked + span {
    border-color: var(--bs-primary, #6576ff);
    background: rgba(var(--bs-primary-rgb, 101, 118, 255), .08);
    color: var(--bs-primary, #6576ff);
    font-weight: 600;
    box-shadow: 0 0 0 1px var(--bs-primary, #6576ff);
}

.kerp-booking__radio-group input[type="radio"]:focus-visible + span {
    outline: 2px solid rgba(var(--bs-primary-rgb, 101, 118, 255), .25);
    outline-offset: 2px;
}

.kerp-booking__radio-group input[type="radio"].is-invalid + span {
    border-color: #e85347;
    background: rgba(232, 83, 71, .05);
    color: #e85347;
}

.kerp-booking__field:has(.kerp-booking__radio-group) > span {
    position: static;
}

.kerp-booking__field:has(.kerp-booking__radio-group) {
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.kerp-booking__terms {
    grid-column: 1 / -1;
    padding: 18px 20px;
    border: 1px solid var(--bs-border-color, #e5e9f2);
    border-radius: 12px;
    background: var(--bs-light, #f7f9fc);
}

.kerp-booking__terms-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    cursor: pointer;
}

.kerp-booking__terms-check > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.kerp-booking__terms-checkmark {
    display: flex;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    border: 1.5px solid #b7c2d0;
    border-radius: 6px;
    background: #fff;
    transition: .2s ease;
}

.kerp-booking__terms-checkmark .icon {
    font-size: 13px;
    color: #fff;
    opacity: 0;
    transform: scale(.6);
    transition: .2s ease;
}

.kerp-booking__terms-check > input:checked + .kerp-booking__terms-checkmark {
    border-color: var(--kerp-booking-primary);
    background: var(--kerp-booking-primary);
}

.kerp-booking__terms-check > input:checked + .kerp-booking__terms-checkmark .icon {
    opacity: 1;
    transform: scale(1);
}

.kerp-booking__terms-check > input:focus-visible + .kerp-booking__terms-checkmark {
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), .12);
}

.kerp-booking__terms-label {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    color: var(--bs-body-color);
}

.kerp-booking__terms-details {
    margin-top: 10px;
}

.kerp-booking__terms-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: max-content;
    padding: 5px 9px;
    border-radius: 6px;
    color: var(--kerp-booking-primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: .2s ease;
}

.kerp-booking__terms-toggle::-webkit-details-marker {
    display: none;
}

.kerp-booking__terms-toggle:hover {
    background: rgba(var(--bs-primary-rgb), .08);
}

.kerp-booking__terms-toggle .icon {
    font-size: 15px;
}

.kerp-booking__terms-arrow {
    transition: transform .2s ease;
}

.kerp-booking__terms-details[open] .kerp-booking__terms-arrow {
    transform: rotate(180deg);
}

.kerp-booking__terms-content {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--bs-border-color, #e5e9f2);
    font-size: 13px;
    line-height: 2;
    color: var(--bs-secondary-color, #526484);
}

.kerp-booking__terms-content > :first-child {
    margin-top: 0;
}

.kerp-booking__terms-content > :last-child {
    margin-bottom: 0;
}

.kerp-booking-service-description {
    margin: 18px 0 22px;
    padding: 16px 20px;
    background: #f8f9fc;
    border: 1px solid #e5e9f2;
    border-radius: 12px;
    color: #364a63;
    font-size: 13px;
    line-height: 2;
}

.kerp-booking-service-description > :first-child {
    margin-top: 0;
}

.kerp-booking-service-description > :last-child {
    margin-bottom: 0;
}

.kerp-booking-service-description p {
    margin: 0 0 8px;
}

.kerp-booking-service-description ul,
.kerp-booking-service-description ol {
    margin: 0;
    padding: 0 20px 0 0;
}

.kerp-booking-service-description li {
    position: relative;
    margin: 3px 0;
    padding-right: 4px;
}

.kerp-booking-service-description li::marker {
    color: var(--bs-primary);
    font-size: 0.85em;
}

.kerp-booking-service-description strong {
    color: #1f2d3d;
    font-weight: 600;
}

.kerp-booking-service-description a {
    color: var(--bs-primary);
    text-decoration: none;
}

.kerp-booking-service-description a:hover {
    text-decoration: underline;
}

.kerp-booking-service-description blockquote {
    margin: 12px 0;
    padding: 8px 14px;
    border-right: 3px solid var(--bs-primary);
    background: #fff;
    border-radius: 6px;
}

.kerp-booking-service-description .ql-align-center {
    text-align: center;
}

.kerp-booking-service-description .ql-align-left {
    text-align: left;
}

.kerp-booking-service-description .ql-align-right {
    text-align: right;
}

.kerp-booking-service-description .ql-align-justify {
    text-align: justify;
}

@media (max-width: 767px) {
    .kerp-booking-service-description {
        margin: 14px 0 18px;
        padding: 13px 15px;
        border-radius: 10px;
        font-size: 12px;
        line-height: 1.9;
    }
    
    .kerp-booking-service-description ul,
    .kerp-booking-service-description ol {
        padding-right: 18px;
    }
}