/* public/css/online-booking.css */

.booking-modal.booking-hidden {
    display: none;
}

.booking-hidden {
    display: none !important;
}

.booking-modal {
    align-items: center;
    display: flex;
    font-family: inherit;
    inset: 0;
    justify-content: center;
    padding: 22px;
    position: fixed;
    z-index: 9999;
}

.booking-modal__backdrop {
    backdrop-filter: blur(6px);
    background: rgba(24, 18, 30, .56);
    inset: 0;
    position: absolute;
}

.booking-modal__content {
    background: #fff;
    border: 1px solid rgba(240, 223, 232, .95);
    border-radius: 24px;
    box-shadow: 0 34px 88px rgba(33, 27, 45, .28);
    display: flex;
    flex-direction: column;
    max-height: min(92vh, 820px);
    max-width: 960px;
    opacity: 0;
    overflow: hidden;
    position: relative;
    transform: translateY(10px) scale(.985);
    transition: opacity .18s ease, transform .18s ease;
    width: min(100%, 960px);
}

.booking-modal:not(.booking-hidden) .booking-modal__content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.booking-modal__header {
    align-items: center;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 220, 232, .8), transparent 34%),
        linear-gradient(135deg, #fff7fa, #fff);
    border-bottom: 1px solid #f0dfe8;
    color: #211b2d;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    min-height: 64px;
    padding: 10px 16px;
}

.booking-modal__title {
    font-size: 18px;
    font-weight: 950;
    line-height: 1.25;
    text-align: center;
}

.booking-modal__back,
.booking-modal__close {
    align-items: center;
    background: #fff;
    border: 1px solid #f0dfe8;
    border-radius: 999px;
    color: #ed2f78;
    cursor: pointer;
    display: flex;
    font-size: 20px;
    font-weight: 900;
    height: 36px;
    justify-content: center;
    line-height: 1;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
    width: 36px;
}

.booking-modal__back:hover,
.booking-modal__close:hover {
    background: #ed2f78;
    border-color: #ed2f78;
    color: #fff;
    transform: translateY(-1px);
}

.booking-modal__body {
    background: linear-gradient(180deg, #fff, #fff8fb);
    overflow-y: auto;
    padding: 20px;
}

.booking-step.booking-hidden {
    display: none;
}

.booking-step {
    min-height: 0;
}

.booking-step-header {
    margin-bottom: 14px;
    position: relative;
}

.booking-step-header::before {
    border: 2px solid #ed2f78;
    border-radius: 999px;
    color: #ed2f78;
    content: "";
    height: 12px;
    left: 15px;
    position: absolute;
    top: 14px;
    width: 12px;
    z-index: 1;
}

.booking-step-header::after {
    background: #ed2f78;
    content: "";
    height: 7px;
    left: 27px;
    position: absolute;
    top: 27px;
    transform: rotate(-45deg);
    width: 2px;
    z-index: 1;
}

.booking-step-header input,
.booking-time-controls input[type="date"],
.booking-form-group input,
.booking-form-group textarea,
.booking-phone-row__number input,
.booking-phone-row__code select {
    background: #fff;
    border: 1px solid #eadfe8;
    border-radius: 12px;
    box-shadow: none;
    color: #211b2d;
    font: inherit;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
    width: 100%;
}

.booking-step-header input {
    min-height: 44px;
    padding: 0 14px 0 40px;
}

.booking-step-header input:focus,
.booking-time-controls input[type="date"]:focus,
.booking-form-group input:focus,
.booking-form-group textarea:focus,
.booking-phone-row__number input:focus,
.booking-phone-row__code select:focus {
    border-color: #ed2f78;
    box-shadow: 0 0 0 4px rgba(237, 47, 120, .1);
}

.booking-start-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-card {
    align-items: center;
    background: #fff;
    border: 1px solid #f0dfe8;
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(78, 45, 65, .08);
    color: #211b2d;
    cursor: pointer;
    display: grid;
    gap: 6px 14px;
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 108px;
    padding: 18px;
    position: relative;
    text-align: left;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.booking-card__icon {
    align-items: center;
    background: #fff0f6;
    border-radius: 999px;
    color: #ed2f78;
    display: flex;
    grid-row: 1 / 3;
    height: 48px;
    justify-content: center;
    position: relative;
    width: 48px;
}

.booking-card__icon::before,
.booking-card__icon::after {
    content: "";
    position: absolute;
}

.booking-card__icon--service::before {
    border: 2px solid #ed2f78;
    border-radius: 6px;
    height: 21px;
    width: 18px;
}

.booking-card__icon--service::after {
    background: #ed2f78;
    border-radius: 999px;
    box-shadow: 0 6px 0 #ed2f78, 0 12px 0 #ed2f78;
    height: 2px;
    left: 18px;
    top: 16px;
    width: 12px;
}

.booking-card__icon--employee::before {
    border: 2px solid #ed2f78;
    border-radius: 999px;
    height: 12px;
    top: 12px;
    width: 12px;
}

.booking-card__icon--employee::after {
    border: 2px solid #ed2f78;
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    height: 12px;
    top: 27px;
    width: 24px;
}

.booking-card::after {
    color: #ed2f78;
    content: "\203A";
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    position: absolute;
    right: 18px;
    top: 18px;
}

.booking-card:hover {
    border-color: #ffc7dc;
    box-shadow: 0 20px 52px rgba(78, 45, 65, .12);
    transform: translateY(-2px);
}

.booking-item__price {
    color: #5b5362;
    font-size: 13px;
    font-weight: 800;
    margin-top: 4px;
}

.booking-item__price--promo {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.booking-item__price--promo s {
    color: #a7a0ad;
    font-weight: 700;
}

.booking-item__price--promo b {
    color: #0f766e;
    font-weight: 950;
}

.booking-item__price--promo span {
    background: #e8f7f3;
    border-radius: 999px;
    color: #0f766e;
    font-size: 12px;
    line-height: 1.15;
    max-width: 100%;
    overflow: hidden;
    padding: 4px 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.booking-card__title {
    font-size: 16px;
    font-weight: 950;
    line-height: 1.25;
}

.booking-card__subtitle {
    color: #655b72;
    font-size: 13px;
    line-height: 1.4;
}

.booking-list {
    display: grid;
    gap: 10px;
}

.booking-list h4,
.booking-list__group-title {
    color: #211b2d;
    font-size: 14px;
    font-weight: 950;
    margin: 12px 0 2px;
}

.booking-item {
    align-items: center;
    background: #fff;
    border: 1px solid #f0dfe8;
    border-radius: 14px;
    color: #211b2d;
    cursor: pointer;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 14px 16px;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.booking-item:hover {
    border-color: #ffc7dc;
    box-shadow: 0 14px 34px rgba(78, 45, 65, .08);
    transform: translateY(-1px);
}

.booking-item.booking-item--selected {
    background: #fff0f6;
    border-color: #ed2f78;
    box-shadow: 0 0 0 3px rgba(237, 47, 120, .11);
}

.booking-item__main {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.booking-item__title {
    font-size: 15px;
    font-weight: 950;
    line-height: 1.25;
}

.booking-item__subtitle,
.booking-item__meta {
    color: #655b72;
    font-size: 12px;
    line-height: 1.35;
}

.booking-item__meta {
    flex: 0 1 260px;
    text-align: right;
}

.booking-empty {
    background: #fff;
    border: 1px dashed #f0bfd3;
    border-radius: 14px;
    color: #655b72;
    padding: 18px;
    text-align: center;
}

.booking-slots .booking-empty {
    grid-column: 1 / -1;
}

.booking-time-controls {
    align-items: center;
    background: #fff;
    border: 1px solid #f0dfe8;
    border-radius: 14px;
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px 16px;
}

.booking-time-controls label {
    align-items: center;
    color: #655b72;
    display: flex;
    font-size: 13px;
    font-weight: 850;
    gap: 10px;
    width: 100%;
}

.booking-time-controls input[type="date"] {
    min-height: 42px;
    padding: 0 12px;
}

.booking-slots {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    margin-top: 12px;
}

.booking-slot-btn {
    background: #fff;
    border: 1px solid #f0dfe8;
    border-radius: 12px;
    color: #211b2d;
    cursor: pointer;
    font-size: 14px;
    font-weight: 850;
    min-height: 42px;
    padding: 0 10px;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
}

.booking-slot-btn:hover {
    border-color: #ffc7dc;
    transform: translateY(-1px);
}

.booking-slot-btn.booking-slot-btn--selected {
    background: #ed2f78;
    border-color: #ed2f78;
    box-shadow: 0 12px 26px rgba(237, 47, 120, .2);
    color: #fff;
}

.booking-summary,
.booking-contact-card,
.booking-success__card,
.booking-terms-summary {
    background: #fff;
    border: 1px solid #f0dfe8;
    border-radius: 16px;
    box-shadow: 0 16px 42px rgba(78, 45, 65, .06);
}

.booking-summary,
.booking-terms-summary {
    display: grid;
    gap: 8px;
    margin-bottom: 14px;
    padding: 14px 16px;
}

.booking-summary--context {
    background: #fffafd;
    box-shadow: none;
    margin-bottom: 12px;
    padding: 12px 14px;
}

.booking-terms-summary--final {
    margin-bottom: 14px;
}

.booking-summary-row {
    align-items: start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.booking-summary-row span:first-child {
    color: #655b72;
    flex: 0 0 42%;
    font-size: 13px;
}

.booking-summary-row span:last-child {
    color: #211b2d;
    font-size: 13px;
    font-weight: 850;
    text-align: right;
}

.booking-contact-card {
    margin-bottom: 12px;
    padding: 18px;
}

.booking-contact-card__title,
.booking-step-title {
    color: #211b2d;
    font-size: 17px;
    font-weight: 950;
    line-height: 1.25;
    margin: 0 0 12px;
}

.booking-contact-card__hint {
    color: #655b72;
    font-size: 13px;
    line-height: 1.4;
    margin: -6px 0 14px;
}

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

.booking-contact-details {
    border-top: 1px solid #f0dfe8;
    margin-top: 14px;
    padding-top: 14px;
}

.booking-contact-details__head {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 10px;
}

.booking-contact-details__head strong {
    color: #211b2d;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.25;
}

.booking-contact-details__head span {
    color: #655b72;
    font-size: 12px;
    line-height: 1.35;
    text-align: right;
}

.booking-form-group {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.booking-form-group label {
    color: #655b72;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.25;
}

.booking-form-group input,
.booking-form-group textarea,
.booking-phone-row__number input,
.booking-phone-row__code select {
    min-height: 44px;
    padding: 0 12px;
}

.booking-form-group textarea {
    line-height: 1.45;
    min-height: 88px;
    padding: 12px;
    resize: vertical;
}

.booking-auth-panel {
    background: #fff;
    border: 1px solid #eadfe8;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(78, 45, 65, .05);
    margin: 0 0 12px;
    padding: 12px;
}

.booking-auth-choice {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 12px;
}

.booking-auth-choice__option {
    background: #fff;
    border: 1px solid #eadfe8;
    border-radius: 12px;
    color: #211b2d;
    cursor: pointer;
    min-height: 76px;
    padding: 12px;
    text-align: left;
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.booking-auth-choice__option strong {
    display: block;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.2;
    margin-bottom: 4px;
}

.booking-auth-choice__option span {
    color: #655b72;
    display: block;
    font-size: 12px;
    line-height: 1.3;
}

.booking-auth-choice__option.is-active {
    background: #fff0f6;
    border-color: #ed2f78;
    box-shadow: 0 0 0 3px rgba(237, 47, 120, .09);
}

.booking-auth-choice__option:disabled {
    cursor: default;
    opacity: .72;
}

.booking-auth-panel__head {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
}

.booking-auth-panel__profile {
    align-items: center;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.booking-auth-panel__head {
    position: relative;
}

.booking-auth-panel__head > div,
.booking-auth-panel__profile > div {
    min-width: 0;
    padding-left: 34px;
    position: relative;
}

.booking-auth-panel__head > div::before,
.booking-auth-panel__profile > div::before {
    align-items: center;
    background: #fff0f6;
    border-radius: 999px;
    color: #ed2f78;
    content: "@";
    display: flex;
    font-size: 14px;
    font-weight: 950;
    height: 24px;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 1px;
    width: 24px;
}

.booking-auth-panel__profile > div::before {
    background: #ecfdf3;
    color: #067647;
    content: "✓";
}

.booking-auth-panel__head strong,
.booking-auth-panel__profile strong {
    color: #211b2d;
    display: block;
    font-size: 14px;
    font-weight: 950;
    line-height: 1.25;
}

.booking-auth-panel__head span,
.booking-auth-panel__profile span {
    color: #655b72;
    display: block;
    font-size: 12px;
    line-height: 1.35;
    margin-top: 3px;
    overflow-wrap: anywhere;
}

.booking-auth-panel__send,
.booking-auth-panel__verify {
    min-width: 124px;
    white-space: nowrap;
}

.booking-auth-notice {
    background: #fff8e6;
    border: 1px solid #ffd98a;
    border-radius: 12px;
    color: #5f4300;
    margin: 10px 0 12px;
    padding: 12px 14px;
}

.booking-auth-notice strong {
    display: block;
    font-size: 13px;
    font-weight: 950;
    margin-bottom: 3px;
}

.booking-auth-notice span {
    display: block;
    font-size: 12px;
    line-height: 1.35;
}

.booking-auth-panel__code {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 10px;
}

.booking-auth-panel__code input {
    background: #fff;
    border: 1px solid #eadfe8;
    border-radius: 12px;
    color: #211b2d;
    font: inherit;
    min-height: 44px;
    outline: none;
    padding: 0 12px;
    transition: border-color .16s ease, box-shadow .16s ease;
    width: 100%;
}

.booking-auth-panel__code input:focus {
    border-color: #ed2f78;
    box-shadow: 0 0 0 4px rgba(237, 47, 120, .1);
}

.booking-auth-legal {
    align-items: flex-start;
    color: #655b72;
    display: flex;
    font-size: 12px;
    gap: 8px;
    line-height: 1.4;
    margin-top: 10px;
}

.booking-auth-legal input {
    accent-color: #ed2f78;
    flex: 0 0 auto;
    height: 16px;
    margin-top: 1px;
    width: 16px;
}

.booking-auth-legal a {
    color: #ed2f78;
    font-weight: 850;
}

.booking-auth-panel .booking-message {
    margin: 10px 0 0;
}

.booking-auth-panel .booking-message:empty {
    display: none;
}

.booking-auth-panel__profile {
    background: #f7fffb;
    border: 1px solid #ccefdc;
    border-radius: 12px;
    padding: 10px 12px;
}

.booking-auth-panel__profile .booking-inline-link {
    background: #fff;
    border: 1px solid #f0dfe8;
    border-radius: 999px;
    color: #ed2f78;
    font-size: 12px;
    font-weight: 950;
    min-height: 34px;
    padding: 0 12px;
    text-decoration: none;
    white-space: nowrap;
}

.booking-next-step-note {
    align-items: flex-start;
    background: #fff8fb;
    border: 1px dashed #efcddd;
    border-radius: 12px;
    color: #655b72;
    display: flex;
    font-size: 12px;
    gap: 8px;
    line-height: 1.4;
    margin: 8px 0 10px;
    padding: 10px 12px;
}

.booking-next-step-note::before {
    color: #ed2f78;
    content: "i";
    flex: 0 0 auto;
    font-weight: 950;
}

.booking-phone-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.booking-phone-row__code {
    flex: 0 0 112px;
}

.booking-phone-row__number {
    flex: 1 1 auto;
}

.booking-promotions-card {
    background: #fff;
    border: 1px solid #f0d7e3;
    border-radius: 14px;
    margin: 12px 0;
    padding: 12px;
}

.booking-promotions-card__title {
    color: #372234;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 8px;
}

.booking-promotions-card__list {
    display: grid;
    gap: 8px;
}

.booking-promotion-option {
    align-items: flex-start;
    background: #fff7fb;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    display: grid;
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 10px;
}

.booking-promotion-option--selected {
    border-color: #ed2f78;
    box-shadow: 0 10px 24px rgba(237, 47, 120, .12);
}

.booking-promotion-option input {
    margin-top: 3px;
}

.booking-promotion-option__title {
    color: #372234;
    font-size: 14px;
    font-weight: 900;
}

.booking-promotion-option__meta,
.booking-promotion-option__description {
    color: #75667d;
    font-size: 12px;
    line-height: 1.35;
    margin-top: 3px;
}

.booking-summary-row--discount span:last-child {
    color: #0f9f61;
    font-weight: 900;
}

.booking-summary-row--total {
    border-top: 1px solid #f0dfe8;
    margin-top: 4px;
    padding-top: 8px;
}

.booking-summary-row--total span {
    color: #211b2d !important;
    font-size: 15px !important;
    font-weight: 950 !important;
}

.booking-certificate-card {
    background: #fff;
    border: 1px solid #ead6f8;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(87, 54, 129, .06);
    margin: 12px 0;
    padding: 14px;
}

.booking-certificate-card__title {
    color: #372234;
    font-size: 14px;
    font-weight: 950;
    margin-bottom: 4px;
}

.booking-certificate-card__hint {
    color: #75667d;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 12px;
}

.booking-certificate-card__grid {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1.3fr) minmax(120px, .7fr);
}

.booking-certificate-card__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.booking-certificate-card__actions .booking-btn {
    min-height: 40px;
}

.booking-btn-secondary {
    background: #fff;
    border: 1px solid #eadfe8;
    color: #211b2d;
}

.booking-btn-secondary:hover {
    background: #fff0f6;
    color: #ed2f78;
}

.booking-promo-row {
    align-items: end;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.booking-promo-apply,
.booking-btn,
.booking-btn-primary,
.booking-confirm-btn,
.booking-success__btn {
    align-items: center;
    background: #ed2f78;
    border: 0;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 14px;
    font-weight: 950;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.booking-promo-apply:hover,
.booking-btn:hover,
.booking-btn-primary:hover,
.booking-confirm-btn:hover,
.booking-success__btn:hover {
    background: #d8246a;
    box-shadow: 0 14px 30px rgba(237, 47, 120, .22);
    transform: translateY(-1px);
}

.booking-btn.booking-btn-secondary:hover {
    background: #fff0f6;
    box-shadow: none;
    color: #ed2f78;
}

.booking-btn[disabled],
.booking-btn-primary[disabled],
.booking-confirm-btn[disabled],
.booking-success__btn[disabled] {
    cursor: default;
    opacity: .65;
    transform: none;
}

.booking-confirm-btn {
    margin-top: 4px;
    width: 100%;
}

.booking-message {
    color: #655b72;
    font-size: 13px;
    margin: 8px 0;
}

.booking-message--error {
    background: #fff0f0;
    border: 1px solid #ffd1d1;
    border-radius: 12px;
    color: #b42318;
    padding: 10px 12px;
}

.booking-message--success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    color: #067647;
    padding: 10px 12px;
}

.booking-terms-text {
    background: #fff8fb;
    border: 1px solid #f0dfe8;
    border-radius: 14px;
    color: #655b72;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 12px;
    padding: 14px 16px;
}

.booking-terms-text ul {
    margin: 0;
    padding-left: 18px;
}

.booking-terms-text li {
    margin-bottom: 5px;
}

.booking-terms-comment {
    margin: 14px 0 12px;
}

.booking-terms-agree {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #f0dfe8;
    border-radius: 14px;
    color: #655b72;
    display: flex;
    font-size: 13px;
    gap: 10px;
    line-height: 1.45;
    margin-bottom: 12px;
    padding: 14px 16px;
}

.booking-terms-agree input[type="checkbox"] {
    accent-color: #ed2f78;
    flex: 0 0 auto;
    height: 18px;
    margin-top: 2px;
    width: 18px;
}

.booking-terms-agree a {
    color: #ed2f78;
    font-weight: 850;
}

.booking-consent-status {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    color: #067647;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 12px;
    padding: 12px 14px;
}

.booking-inline-link {
    background: transparent;
    border: 0;
    color: #ed2f78;
    cursor: pointer;
    font: inherit;
    font-weight: 850;
    padding: 0;
    text-decoration: underline;
}

.booking-terms-agree--marketing {
    margin-bottom: 8px;
}

.booking-marketing-consent__document {
    background: #fff;
    border: 1px solid #f0dfe8;
    border-radius: 14px;
    color: #655b72;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 12px;
    max-height: 220px;
    overflow-y: auto;
    padding: 14px 16px;
}

.booking-marketing-consent__document > :first-child {
    margin-top: 0;
}

.booking-marketing-consent__document > :last-child {
    margin-bottom: 0;
}

.booking-footer {
    margin-top: 8px;
}

.booking-success {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 4px 6px;
    text-align: center;
}

.booking-success__icon {
    align-items: center;
    background: #ed2f78;
    border-radius: 999px;
    box-shadow: 0 16px 34px rgba(237, 47, 120, .24);
    color: #fff;
    display: flex;
    font-size: 28px;
    font-weight: 950;
    height: 58px;
    justify-content: center;
    width: 58px;
}

.booking-success__title {
    color: #211b2d;
    font-size: 22px;
    font-weight: 950;
}

.booking-success__subtitle {
    color: #655b72;
    font-size: 14px;
    line-height: 1.45;
    max-width: 440px;
}

.booking-success__card {
    max-width: 460px;
    padding: 14px 16px;
    width: 100%;
}

.booking-success__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 4px;
}

.booking-success__btn {
    min-width: 140px;
}

.booking-success__btn--secondary {
    background: #fff;
    border: 1px solid #f0dfe8;
    color: #211b2d;
}

.booking-success__btn--secondary:hover {
    background: #fff0f6;
    color: #ed2f78;
}

.booking-success__hint {
    color: #655b72;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .booking-modal {
        align-items: stretch;
        justify-content: stretch;
        padding: 0;
    }

    .booking-modal__content {
        border: 0;
        border-radius: 0;
        max-height: 100vh;
        max-width: none;
        width: 100%;
    }

    .booking-modal__header {
        min-height: 60px;
        padding: 10px 12px;
    }

    .booking-modal__body {
        padding: 14px;
    }

    .booking-start-grid,
    .booking-contact-grid,
    .booking-certificate-card__grid,
    .booking-auth-choice {
        grid-template-columns: 1fr;
    }

    .booking-contact-details__head {
        align-items: flex-start;
        display: grid;
    }

    .booking-contact-details__head span {
        text-align: left;
    }

    .booking-card {
        min-height: 94px;
        padding: 16px;
    }

    .booking-item {
        align-items: flex-start;
        display: grid;
    }

    .booking-item__meta {
        flex: none;
        text-align: left;
    }

    .booking-time-controls,
    .booking-time-controls label,
    .booking-phone-row,
    .booking-auth-panel__head,
    .booking-auth-panel__profile,
    .booking-auth-panel__code,
    .booking-summary-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .booking-auth-panel__send,
    .booking-auth-panel__verify {
        width: 100%;
    }

    .booking-summary-row span:first-child {
        flex: none;
    }

    .booking-summary-row span:last-child {
        text-align: left;
    }

    .booking-slots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .booking-success__actions,
    .booking-success__btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .booking-slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
