.booking-service-template {
    color: #25313c;
    font-size: 13.2px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 760px;
    width: 100%;
}

.booking-service-template__intro {
    margin-bottom: 22px;
}

.booking-service-template__intro-text {
    font-size: 14.3px;
    margin: 0;
    white-space: pre-line;
}

.booking-service-template__section-title {
    color: #18212a;
    font-size: 12.1px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 11px;
    text-transform: uppercase;
}

.booking-service-template__picks-grid {
    display: grid;
    gap: 19px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-service-template__pick {
    min-width: 0;
    text-align: center;
}

.booking-service-template__pick-icon {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    font-size: 20.9px;
    height: 51px;
    justify-content: center;
    margin-bottom: 13px;
    width: 51px;
}

.booking-service-template__pick--primary .booking-service-template__pick-icon { background: #e1ecff; color: #325ba8; }
.booking-service-template__pick--success .booking-service-template__pick-icon { background: #dff4ef; color: #276d61; }
.booking-service-template__pick--info .booking-service-template__pick-icon { background: #dff3f7; color: #286979; }
.booking-service-template__pick--warning .booking-service-template__pick-icon { background: #fff0df; color: #a06022; }
.booking-service-template__pick--danger .booking-service-template__pick-icon { background: #fde6df; color: #9a4c3b; }
.booking-service-template__pick--secondary .booking-service-template__pick-icon { background: #e7edf0; color: #52636d; }

.booking-service-template__pick-title {
    color: #18212a;
    font-size: 14.3px;
    font-weight: 750;
    line-height: 1.3;
    margin: 0 0 5px;
    overflow-wrap: anywhere;
}

.booking-service-template__pick-text {
    color: #4b5966;
    font-size: 12.1px;
    line-height: 1.5;
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.booking-service-template__separator {
    border: 0;
    border-top: 1px solid #d8dee4;
    margin: 27px 0 22px;
    opacity: 1;
}

.booking-service-template__bullet-list {
    display: grid;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.booking-service-template__bullet {
    color: #34414d;
    padding-left: 21px;
    position: relative;
}

.booking-service-template__bullet::before {
    align-items: center;
    background: none;
    color: #047b58;
    content: "\2713";
    display: flex;
    font-size: 12px;
    font-weight: 800;
    height: 14px;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 2px;
    width: 14px;
}

.booking-service-template__cta {
    align-items: flex-start;
    background: #fffdf7;
    border: 1px solid #f0d68c;
    border-radius: 6px;
    display: flex;
    gap: 13px;
    margin-top: 26px;
    padding: 14px 16px;
}

.booking-service-template__cta-icon {
    align-self: center;
    color: #e6aa19;
    flex: 0 0 auto;
    font-size: 22px;
    line-height: 1;
}

.booking-service-template__cta-content {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 13px;
    justify-content: space-between;
    min-width: 0;
}

.booking-service-template__cta-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.booking-service-template__cta-heading {
    color: #18212a;
    font-size: 14.3px;
    line-height: 1.4;
    margin: 0;
    overflow-wrap: anywhere;
}

.booking-service-template__cta-subtext {
    color: #68727c;
    font-size: 12.1px;
    line-height: 1.5;
    margin: 2px 0 0;
    overflow-wrap: anywhere;
}

.booking-service-template__cta-button {
    align-items: center;
    background: transparent;
    border: 1px solid #d5a126;
    border-radius: 50%;
    color: #72500a;
    display: inline-flex;
    flex: 0 0 auto;
    font: inherit;
    font-size: 13.2px;
    height: 34px;
    justify-content: center;
    padding: 0;
    width: 34px;
}

.booking-service-template__cta-button:hover,
.booking-service-template__cta-button:focus-visible {
    background: #fff2c9;
    border-color: #bd8710;
    color: #5f4105;
}

.booking-service-template__cta[hidden] {
    display: none;
}

.booking-service-template__inline-details {
    color: #4b5966;
    font-size: 14.3px;
    line-height: 1.7;
    margin-top: 18px;
    white-space: pre-line;
}

.booking-service-template__inline-details > :last-child {
    margin-bottom: 0;
}

.booking-service-template-popup {
    align-items: center;
    background: rgba(24, 33, 42, 0.62);
    bottom: 0;
    display: none;
    justify-content: center;
    left: 0;
    padding: 16px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1095;
}

.booking-service-template-popup.is-open {
    display: flex;
}

.booking-service-template-popup__panel {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
    color: #25313c;
    max-height: min(544px, calc(100vh - 32px));
    max-width: 620px;
    overflow-y: auto;
    padding: 22px;
    position: relative;
    width: 100%;
}

.booking-service-template-popup__close {
    align-items: center;
    background: #f1f3f5;
    border: 0;
    border-radius: 50%;
    color: #34414d;
    display: flex;
    font-size: 19.8px;
    height: 27px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 13px;
    top: 13px;
    width: 27px;
}

.booking-service-template-popup__title {
    color: #18212a;
    font-size: 18.7px;
    margin: 0 34px 11px 0;
}

.booking-service-template-popup__body {
    color: #4b5966;
    font-size: 14.3px;
    line-height: 1.7;
    white-space: pre-line;
}

.booking-service-template-popup__body img,
.booking-service-template__inline-details img,
.booking-service-template-editor .note-editable img {
    border-radius: 4px;
    display: block;
    height: auto;
    margin: 10px 0;
    max-width: 100%;
}

.booking-service-template-editor__layout {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1.45fr) minmax(384px, 1.4fr);
}

.booking-service-template-editor__form {
    min-width: 0;
}

.booking-service-template-editor__section {
    border-bottom: 1px solid #e1e5e9;
    padding: 4px 0 24px;
}

.booking-service-template-editor__section + .booking-service-template-editor__section {
    padding-top: 24px;
}

.booking-service-template-editor__section--last {
    border-bottom: 0;
    padding-bottom: 0;
}

.booking-service-template-editor__section-heading {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.booking-service-template-editor__section-heading h6 {
    font-size: 15px;
    margin: 0;
}

.booking-service-template-editor__section-heading small {
    color: #6b7280;
    display: block;
    margin-top: 2px;
}

.booking-service-template-editor__step {
    align-items: center;
    background: #25313c;
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 700;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.booking-service-template-editor__pick {
    border: 1px solid #d8dee4;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 14px;
}

.booking-service-template-editor__pick-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.booking-service-template-editor__selected-icon {
    align-items: center;
    background: #f1f3f5;
    border-radius: 50%;
    display: flex;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.booking-service-template-editor__controls-row {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    margin-bottom: 12px;
}

.booking-service-template-editor__icon-dropdown {
    flex: 1 1 220px;
    min-width: 180px;
}

.booking-service-template-editor__icon-dropdown > .form-label {
    display: block;
}

.booking-service-template-editor__color-chooser {
    flex: 0 0 auto;
}

.booking-service-template-editor__icon-toggle {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: space-between;
    width: 100%;
}

.booking-service-template-editor__icon-toggle .booking-service-template-editor__icon-name {
    flex: 1 1 auto;
    text-align: left;
}

.booking-service-template-editor__icon-menu {
    max-width: 100%;
    padding: 12px;
    width: 360px;
}

.booking-service-template-editor__icon-grid {
    display: grid;
    gap: 4px;
    grid-template-columns: repeat(6, 1fr);
    margin-top: 8px;
    max-height: 190px;
    overflow-y: auto;
    padding: 2px;
}

.booking-service-template-editor__icon-option {
    align-items: center;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid #d8dee4;
    border-radius: 5px;
    color: #4b5966;
    display: flex;
    font-size: 20px;
    justify-content: center;
    min-width: 0;
}

.booking-service-template-editor__icon-option:hover,
.booking-service-template-editor__icon-option.is-selected {
    background: #e7f3ff;
    border-color: #0c83ff;
    color: #096bd1;
}

.booking-service-template-editor__palette {
    display: flex;
    gap: 8px;
    min-height: 31px;
}

.booking-service-template-editor__color-option {
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #c8d0d7;
    height: 25px;
    width: 25px;
}

.booking-service-template-editor__color-option.is-selected {
    box-shadow: 0 0 0 2px #25313c;
}

.booking-service-template-editor__color-option--primary { background: #b8d9ff; }
.booking-service-template-editor__color-option--success { background: #b6ddcf; }
.booking-service-template-editor__color-option--info { background: #b4dde2; }
.booking-service-template-editor__color-option--warning { background: #f9d1ba; }
.booking-service-template-editor__color-option--danger { background: #f4bebe; }
.booking-service-template-editor__color-option--secondary { background: #bed1da; }

.booking-service-template-editor__bullets {
    display: grid;
    gap: 7px;
    margin: 10px 0;
}

.booking-service-template-editor__bullet-row {
    align-items: center;
    display: grid;
    gap: 7px;
    grid-template-columns: 18px minmax(0, 1fr) 34px;
}

.booking-service-template-editor__bullet-row > i {
    color: #9aa4ad;
    text-align: center;
}

.booking-service-template-editor .note-editor.note-frame {
    border-color: #ced4da;
    margin-bottom: 0;
}

.booking-service-template-editor .note-editor .note-toolbar {
    background: #f6f7f8;
    padding: 6px;
}

.booking-service-template-editor .note-editor .note-editable {
    min-height: 300px;
}

.booking-service-template-editor__preview-column {
    align-self: start;
    background: #f4f6f8;
    border: 1px solid #d8dee4;
    border-radius: 8px;
    max-height: calc(100vh - 210px);
    overflow-y: auto;
    padding: 16px;
    position: sticky;
    top: 0;
}

.booking-service-template-editor__preview-heading {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.booking-service-template-editor__preview-heading span {
    font-size: 14px;
    font-weight: 700;
}

.booking-service-template-editor__preview-heading small {
    color: #6b7280;
}

.booking-service-template-editor__preview {
    background: #fff;
    border: 1px solid #e1e5e9;
    min-height: 300px;
    padding: 22px;
}

.booking-service-template-editor__preview .booking-service-template {
    font-size: 13.2px;
}

@media (max-width: 991.98px) {
    .booking-service-template-editor__layout {
        grid-template-columns: 1fr;
    }

    .booking-service-template-editor__preview-column {
        max-height: none;
        position: static;
    }
}

@media (max-width: 575.98px) {
    .booking-service-template__picks-grid {
        grid-template-columns: 1fr;
    }

    .booking-service-template__cta {
        align-items: flex-start;
    }

    .booking-service-template__cta-content {
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .booking-service-template-popup {
        align-items: flex-end;
        padding: 0;
    }

    .booking-service-template-popup__panel {
        border-radius: 6px 6px 0 0;
        max-height: 86vh;
        padding: 19px 16px;
    }

    .booking-service-template-editor__icon-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .booking-service-template-editor__controls-row {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .booking-service-template-editor__icon-dropdown {
        flex-basis: auto;
    }
}