.booknetic_appointment [data-step-id="oetbook_messenger"] {
    direction: rtl;
    box-sizing: border-box;
    min-height: 100%;
}

.booknetic_appointment [data-step-id="oetbook_messenger"] *,
.booknetic_appointment .oetbook-cm-information-reminder *,
.booknetic_appointment .oetbook-cm-confirmation-summary * {
    box-sizing: border-box;
}

.booknetic_appointment .oetbook-cm-content {
    display: block;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 8px 4px 28px;
    color: #25324a;
    font-family: inherit;
}

.booknetic_appointment .oetbook-cm-copy {
    display: block;
    margin: 0 0 22px;
    padding: 20px 22px;
    border: 1px solid #dce7f5;
    border-right: 4px solid #2f65d9;
    border-radius: 12px;
    background: #f7faff;
    color: #26344c;
    font-size: 14px;
    line-height: 2;
    text-align: right;
}

.booknetic_appointment .oetbook-cm-heading {
    display: block;
    margin: 0 0 10px;
    padding: 0;
    color: #173c77;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
}

.booknetic_appointment .oetbook-cm-copy p {
    display: block;
    margin: 0 0 10px;
    padding: 0;
    color: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}

.booknetic_appointment .oetbook-cm-copy p:last-child {
    margin-bottom: 0;
    font-weight: 700;
}

.booknetic_appointment .oetbook-cm-fieldset {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.booknetic_appointment .oetbook-cm-legend {
    display: block;
    width: 100%;
    margin: 0 0 12px;
    padding: 0;
    color: #1e2b42;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

.booknetic_appointment .oetbook-cm-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    margin: 0 0 16px;
}

.booknetic_appointment .oetbook-cm-option,
.booknetic_appointment .oetbook-cm-acknowledgement {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.booknetic_appointment .oetbook-cm-option > input,
.booknetic_appointment .oetbook-cm-acknowledgement > input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

.booknetic_appointment .oetbook-cm-option-content {
    display: flex;
    align-items: center;
    min-height: 66px;
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e1e7f0;
    border-radius: 12px;
    background: #ffffff;
    color: #26344c;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.booknetic_appointment .oetbook-cm-option:hover .oetbook-cm-option-content {
    border-color: #a9bde7;
}

.booknetic_appointment .oetbook-cm-option > input:focus-visible + .oetbook-cm-option-content {
    outline: 3px solid rgba(47, 101, 217, .25);
    outline-offset: 2px;
}

.booknetic_appointment .oetbook-cm-option > input:checked + .oetbook-cm-option-content {
    border-color: #2f65d9;
    background: #f4f7ff;
    box-shadow: 0 5px 16px rgba(47, 101, 217, .12);
}

.booknetic_appointment .oetbook-cm-option-icon {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 11px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.booknetic_appointment .oetbook-cm-option-icon--bale {
    background: #15a86f;
}

.booknetic_appointment .oetbook-cm-option-icon--telegram {
    background: #279bd7;
}

.booknetic_appointment .oetbook-cm-option-label {
    display: inline-block;
    flex: 1 1 auto;
    color: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

.booknetic_appointment .oetbook-cm-option-check {
    display: inline-block;
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 2px solid #bdc7d5;
    border-radius: 50%;
    background: #ffffff;
}

.booknetic_appointment .oetbook-cm-option > input:checked + .oetbook-cm-option-content .oetbook-cm-option-check {
    border-color: #2f65d9;
    background: #2f65d9;
}

.booknetic_appointment .oetbook-cm-option > input:checked + .oetbook-cm-option-content .oetbook-cm-option-check::after {
    display: block;
    position: absolute;
    top: 4px;
    right: 7px;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 0 2px 2px;
    content: '';
    transform: rotate(-45deg);
}

.booknetic_appointment .oetbook-cm-ack-content {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dce3ed;
    border-radius: 10px;
    background: #ffffff;
    color: #344158;
    font-size: 13px;
    line-height: 1.9;
}

.booknetic_appointment .oetbook-cm-checkbox {
    display: inline-block;
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 3px 0 0 10px;
    border: 2px solid #b9c3d1;
    border-radius: 5px;
    background: #ffffff;
}

.booknetic_appointment .oetbook-cm-acknowledgement > input:focus-visible + .oetbook-cm-ack-content {
    outline: 3px solid rgba(47, 101, 217, .25);
    outline-offset: 2px;
}

.booknetic_appointment .oetbook-cm-acknowledgement > input:checked + .oetbook-cm-ack-content .oetbook-cm-checkbox {
    border-color: #2f65d9;
    background: #2f65d9;
}

.booknetic_appointment .oetbook-cm-acknowledgement > input:checked + .oetbook-cm-ack-content .oetbook-cm-checkbox::after {
    display: block;
    position: absolute;
    top: 2px;
    right: 5px;
    width: 5px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 0 2px 2px;
    content: '';
    transform: rotate(-45deg);
}

.booknetic_appointment .oetbook-cm-error {
    display: none;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff0f1;
    color: #c5303e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.booknetic_appointment .oetbook-cm-has-error .oetbook-cm-error {
    display: block;
}

.booknetic_appointment .oetbook-cm-has-error .oetbook-cm-option-content,
.booknetic_appointment .oetbook-cm-has-error .oetbook-cm-ack-content {
    border-color: #df5b67;
}

.booknetic_appointment .oetbook-cm-information-reminder {
    display: block;
    width: 100%;
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #cfe0fb;
    border-radius: 9px;
    background: #f3f7ff;
    color: #234a86;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
    text-align: right;
}

.booknetic_appointment .oetbook-cm-confirmation-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 16px;
    padding: 13px 15px;
    border: 1px solid #d8e3f3;
    border-radius: 9px;
    background: #f7faff;
    color: #26344c;
    font-size: 14px;
    line-height: 1.7;
}

.booknetic_appointment .oetbook-cm-confirmation-label,
.booknetic_appointment .oetbook-cm-confirmation-summary strong {
    display: inline-block;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

.booknetic_appointment .oetbook-cm-confirmation-summary strong {
    color: #2f65d9;
    font-weight: 700;
}

@media (max-width: 640px) {
    .booknetic_appointment .oetbook-cm-content {
        padding: 2px 0 22px;
    }

    .booknetic_appointment .oetbook-cm-copy {
        padding: 16px;
        font-size: 13px;
        line-height: 1.9;
    }

    .booknetic_appointment .oetbook-cm-options {
        grid-template-columns: 1fr;
    }

    .booknetic_appointment .oetbook-cm-option-content {
        min-height: 60px;
    }
}
