/* ========================================
   Request a Demo — Form Layout
======================================== */

.coachmila-form_request-a-demo {
    border: none;
    padding: 0;
}

/* ========================================
   Progress Tracker
======================================== */

.coachmila-form-rad .webform-progress {
    position: absolute;
    top: -126px;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background-color: var(--color-white-main);
}

.coachmila-form-rad .progress-tracker {
    max-width: 1232px;
    margin: 0 auto;
    padding-top: 32px;
}

/* Progress steps */

.coachmila-form-rad .progress-step:last-child {
    flex-grow: 1;
}

.coachmila-form-rad .progress-step .progress-marker {
    position: relative;
    padding-top: 20px;
}

.coachmila-form-rad .progress-step .progress-marker::before {
    display: none;
}

/* Progress connecting lines */

.coachmila-form-rad .webform-progress-tracker .progress-step .progress-marker::after {
    position: absolute;
    top: 17px;
    right: unset;
    height: 3px;
    background-color: #DBDFE780;
}

.coachmila-form-rad .webform-progress-tracker .progress-step.is-active .progress-marker::after,
.coachmila-form-rad .webform-progress-tracker .progress-step.is-complete .progress-marker::after {
    background-color: var(--color-black);
}

.coachmila-form-rad .webform-progress-tracker .progress-step:last-of-type .progress-marker::after {
    display: block;
}

/* Progress labels */

.coachmila-form-rad .webform-progress-tracker .progress-step .progress-text,
.coachmila-form-rad .webform-progress-tracker .progress-step.is-active .progress-title {
    padding: 0;

    color: var(--color-black);
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    text-align: left;
}


/* ========================================
   Form Card
======================================== */

.coachmila-form-rad__card {
    position: relative;

    max-width: 846px;
    margin: 126px auto 56px;
    padding: 30px 48px;

    border: 1px solid var(--color-neutral-200, #E5E5E5);
    border-radius: 4px;
    background-color: var(--color-white-main);
}

.coachmila-form-rad__card_iframe {
    margin-top: 56px;

    .coachmila-form-rad__heading {
        margin-bottom: 0;
    }

    .coachmila-form-rad__footer {
        margin-top: 0;
    }

    .coachmila-form-rad__iframe p {
        margin-bottom: 0;
    }
}


/* ========================================
   Form Header — Step Information
======================================== */

.coachmila-form-rad__top {
    display: flex;
    align-items: center;
    gap: 16px;

    margin-bottom: 26px;

    p {
        margin-bottom: 0;
    }
}

/* Step number badge */

.coachmila-form-rad__step-box.form-item {
    display: flex;
    align-items: center;
    column-gap: 6px;

    margin: 0;
    padding: 12px;

    border-radius: 2px;
    background-color: var(--color-light-green);

    color: var(--color-forest-green);
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
}

.coachmila-form-rad__step-box::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;

    background: url('../../images/icons/coachmila-form-rad-icons.svg') no-repeat 0 0;
    background-size: auto 16px;
}

/* Step name */

.coachmila-form-rad__step-name.form-item,
.coachmila-form-rad__step-name .field--name-field-book-status-label {
    margin: 0;

    color: var(--color-forest-green);
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
}


/* ========================================
   Form Header — Title & Description
======================================== */

.coachmila-form-rad__heading {
    margin-bottom: 46px;
    position: relative;
}

.coachmila-form-rad__heading_confirm {
    margin-bottom: 30px;
}

.coachmila-form-rad__heading_confirm::before {
    content: "";
    display: block;
    width: 16px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--color-forest-green, #164B07);
    mask: url("../../images/icons/check.svg") no-repeat center;
    -webkit-mask: url("../../images/icons/check.svg") no-repeat center;
    background-size: 10px auto;
    position: absolute;
    right: 3px;
    top: 6px;
}
.coachmila-form-rad__heading_confirm::after {
    content: "";
    display: block;
    width: 23.3px;
    height: 23.3px;
    border-radius: 50%;
    border: 1.5px solid var(--color-forest-green, #164B07);
    position: absolute;
    right: 0;
    top: 0;
}

.coachmila-form-rad__heading h1,
.coachmila-form-rad__heading h2 {
    margin: 0;

    color: var(--color-black);
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;

    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 10px;
}

.coachmila-form-rad__heading p {
    margin-bottom: 8px;

    color: var(--color-neutral-700);
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
}


/* ========================================
   Form Fields — Checkbox
======================================== */

.form-item-i-agree-that-coachmila-may-contact-me-to-arrange-this-call.form-item {
    margin-block: 30px;
}


/* ========================================
   Form Actions — Navigation Buttons
======================================== */

.coachmila-form_request-a-demo .form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coachmila-form.coachmila-form_request-a-demo {
    .form-actions {
        margin: 0;
        float: unset;
    }
}


/* ========================================
   Event Information
======================================== */

.coachmila-form-rad__event {
    display: flex;
    flex-direction: column;
    gap: 4px;

    .coachmila-form-rad__title {
        margin-bottom: 0;

        color: var(--color-black);
        font-weight: 600;
        font-size: 16px;
        line-height: 154%;
    }

    .coachmila-form-rad__text {
        margin-bottom: 0;

        color: var(--color-neutral-600);
        font-weight: 500;
        font-size: 12px;
        line-height: 140%;
    }

    p {
        margin: 0;
    }
}


/* ========================================
   Form Footer — Dark Information Bar
======================================== */

.coachmila-form-rad__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 23px;

    margin-top: 40px;
    padding: 15px 24px;

    background-color: var(--color-black);

    color: #F2F2F2;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;

    .form-item,
    p {
        margin: 0;
    }
}

/* Footer inner content */

.coachmila-form-rad__wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========================================
   Booking Information Block
======================================== */
.booking-info {
    border: 1px solid var(--color-neutral-200, #E5E5E5);
    padding: 24px;
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    row-gap: 16px;

    margin-bottom: 24px;
}

.booking-info__time {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.booking-info__date {
    color: var(--color-black);
    font-weight: 600;
    font-size: 20px;
    line-height: 128%;
    letter-spacing: 0%;
}

.booking-info__data {
    display: flex;
    align-items: center;
    gap: 12px;

    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-neutral-200, #E5E5E5);
}

.booking-info__timezone {
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;

    color: var(--color-neutral-500);
}

.booking-info__data-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-info__data-icon {
    width: 36px;
    height: 36px;
    background-color: var(--color-light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;
    color: var(--color-forest-green);
    flex-shrink: 0;
}

.booking-info__host-name {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;

    color: var(--color-black);

    span {
        color: var(--color-neutral-500);
    }
}

.booking-info__host-subtitile {
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0%;
    color: var(--color-neutral-700);
}

.booking-info__action {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-info__action-label {
    font-weight: 500;
    font-style: Medium;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: 0%;

    color: var(--color-neutral-500);
}

.booking-info__btns {
    display: flex;
    gap: 8px;
}

.prepare-to-call {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin-bottom: 24px;
    border-bottom: 1px solid var(--color-neutral-200, #E5E5E5);

    .field--name-field-book-prepare-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 24px;


        .field__item {
            font-weight: 500;
            font-size: 14px;
            line-height: 140%;
            letter-spacing: 0%;
            color: var(--color-neutral-700);

            padding-left: 24px;
            position: relative;
        }

        .field__item::before {
            content: "";
            position: absolute;
            width: 8px;
            height: 8px;
            background: var(--color-black);
            transform: rotate(45deg);
            left: 0px;
            top: 50%;
            margin-top: -4px;
        }
    }
}

.prepare-to-call__txt {
    color: var(--color-black);

    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    letter-spacing: 0%;
}

.cancel-booking {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.cancel-booking__info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cancel-booking__label {
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: 0%;
    color: var(--color-neutral-500);
}


.coachmila-form_request-a-demo .webform-type-date,
.coachmila-form_request-a-demo .webform-type-webform-time,
.coachmila-form-rad__event {
    display: none;
}

.coachmila-form-rad__your-details {
    padding: 8px 16px;
    background-color: var(--color-light-green);
    border-radius: 4px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    .form-wrapper {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    label {
        font-weight: 600;
        font-size: 14px;
        line-height: 140%;
        letter-spacing: 0%;
        color: var(--color-black);

        padding: 0;
        margin: 0;
    }

    .form-item {
        font-weight: 500;
        font-size: 14px;
        line-height: 140%;
        letter-spacing: 0%;
        color: var(--color-neutral-700);
        margin: 0;
    }

    p:last-of-type {
        margin-bottom: 0;
    }

    input[type="submit"].webform-button--previous {
        border-radius: 4px;
        padding: 6px 8px;
        background: transparent;
        color: var(--color-black);
        position: relative;

        font-weight: 500;
        font-size: 16px;
        line-height: 100%;
        letter-spacing: 0%;

        border: none;
    }

    input[type="submit"].webform-button--previous:hover {
        background-color: var(--color-neutral-100);
        box-shadow: none;
    }

    input[type="submit"].webform-button--previous:focus,
    input[type="submit"].webform-button--previous:active {
        color: var(--color-black);
        background: transparent;
        text-decoration: underline;
    }
}


@media (max-width: 1199.98px) {
    .coachmila-form-rad .webform-progress-tracker .progress-step .progress-text {
        padding-inline: 10px;
    }

    .coachmila-form-rad__footer {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .coachmila-form-rad__your-details {
        .form-wrapper {
            flex-direction: column;
            align-items: flex-start;
        }
    }
}


@media (max-width: 767.98px) {
    .coachmila-form-rad__card,
    .booking-info {
        padding: 20px;
    }

    .coachmila-form-rad__heading h2 {
        line-height: 150%;
    }

    .coachmila-form-rad__heading {
        margin-bottom: 30px;
    }

    .coachmila-form-rad__footer {
        padding: 15px;
    }

    .coachmila-form-rad__wrap {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .coachmila-form-rad__step-box.form-item {
        flex-direction: row;
    }

    .booking-info__data {
        flex-direction: column;
        align-items: flex-start;
    }

    
}

@media (max-width: 599.98px) {
    .coachmila-form-rad__card,
    .booking-info {
        padding: 16px;
    }

    .webform-progress-tracker .progress-text {
        display: block;
    }

    .coachmila-form-rad .webform-progress-tracker .progress-step .progress-text, 
    .coachmila-form-rad .webform-progress-tracker .progress-step.is-active .progress-title {
        font-size: 12px;
        display: block;
    }

    .booking-info__btns {
        flex-direction: column;
    }

    .booking-info__btn a,
    .booking-info__btn button {
        width: 100%;
    }

    .cancel-booking {
        flex-direction: column;
    }

    .cancel-booking__info {
        flex-direction: column;
    }

    .coachmila-form-rad__heading_confirm::before,
    .coachmila-form-rad__heading_confirm::after {
        display: none;
    }
}