.sleep-study {
    display: flex;
    row-gap: 30px;
    flex-direction: column;
}

/* Progress Bar */
.sleep-study .sleep-study__step-indicator {
    display: flex;
    row-gap: 10px;
    flex-direction: column;
}

.sleep-study .sleep-study__step-label {
    margin-bottom: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sleep-study .sleep-study__step-current {
    color: #0099AA;
}

.sleep-study .sleep-study__progress-bar {
    position: relative;
    width: 100%;
    height: 8px;
    border-radius: 8px;
    background-color: #F7F8F8;   
}

.sleep-study .sleep-study__progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    border-radius: 8px;
    background-color: #0099AA;
}

.sleep-study .step {
    display: flex;
    row-gap: 30px;
    flex-direction: column;
}

.sleep-study .step__header {
    display: flex;
    row-gap: 15px;
    flex-direction: column;
}

.sleep-study .sleep-study__icon {
    width: 64px;
    height: 64px;
}

.sleep-study .sleep-study__title {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.3;
    text-align: center;
    color: #0099AA;
}

.sleep-study .sleep-study__subtitle {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    color: #000000;
}

.sleep-study .sleep-study__learn-more {
    font-weight: 600;
    color: #0099AA;
}

/* Step 1 */
.sleep-study .study-tabs {
    margin-bottom: 10px;
    display: flex;
    gap: 4px;
    flex-direction: row;
}

.sleep-study .study-tabs__tab {
    padding: 20px;
    display: flex;
    column-gap: 10px;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #EDEDED;
    color: #0099AA;
    background-color: #F7F8F8;
}

.sleep-study .study-tabs__tab:hover {
    color: #0099AA;
    border-color: #EDEDED;
    background-color: #F7F8F8;
}

.sleep-study .study-tabs__tab.study-tabs__tab--active {
    color: #ffffff;
    border-color: #0099AA;
    background-color: #0099AA;
}

.sleep-study .study-tabs__tab.study-tabs__tab--active svg path {
    fill: #ffffff;
}

.sleep-study .study-tabs__tab.study-tabs__tab--active svg path[stroke] {
    stroke: #ffffff;
}

.sleep-study .study-options {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
}

.sleep-study .study-options--hidden {
    display: none;
}

.sleep-study [data-panel="lab"].study-options {
    grid-template-columns: repeat(2, 1fr);
}

.sleep-study .study-option {
    position: relative;
    padding: 20px;
    display: flex;
    row-gap: 5px;
    cursor: pointer;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
    border: 1px solid #EDEDED;
    background-color: #F7F8F8;
    transition: all .2s ease-in-out;
}

.sleep-study .study-option--selectable:hover {
    border-color: #0099AA;
    box-shadow: 0 2px 8px rgba(10, 168, 158, 0.15);
}

.sleep-study .study-option--selected {
    border-color: #0099AA;
}

.sleep-study .study-option__check {
    width: 24px;
    height: 24px;
}

.sleep-study .study-option--selected .study-option__check svg rect,
.sleep-study .study-option--selected .study-option__check svg path {
    stroke: #0099AA;
}

.sleep-study .study-option__title {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    color: #000000;
}

.sleep-study .study-option__description {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    color: #00000066;
}

/* Step 2 */
.sleep-study .location-filters {
    padding: 20px;
    display: flex;
    gap: 10px;
    flex-direction: row;
    border-radius: 15px 15px 0 0;
    border: 1px solid #EDEDED;
}

.sleep-study .location-filters__search-wrapper,
.sleep-study .location-filters__select-wrapper {
    position: relative;
    flex: 1;
}

.sleep-study .location-filters__select,
.sleep-study .location-filters__search-input {
    padding: 12px 58px 12px 12px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    border-radius: 5px;
    border: 1px solid #EDEDED;
    background-color: #FFFFFF;
}

.sleep-study .location-filters__search-btn,
.sleep-study .location-filters__select-icon {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
}   

.sleep-study .location-filters__search-btn {
    padding: 0;
    border: none;
    border-radius: unset;
    background-color: transparent;
}

.sleep-study .location-picker {
    display: flex;
    width: 100%;
    overflow: hidden;
    flex-direction: row;
    border-style: solid;
    border-color: #EDEDED;
    border-width: 0 1px 1px 1px;
     border-radius: 0 0 15px 15px;
}

.sleep-study .location-picker__list {
    width: 33%;
    max-height: 430px;
    overflow-y: auto;
}

.sleep-study .location-card {
    padding: 20px;
    display: flex;
    row-gap: 5px;
    flex-direction: column;
    background-color: #ffffff;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.sleep-study .location-card:hover {
    background-color: #EDEDED;
}

.sleep-study .location-card:not(:last-child) {
    border-bottom: 1px solid #EDEDED;
}

.sleep-study .location-card.location-card--selected {
    border-color: #0099AA;
    background-color: #0099AA;
}

.sleep-study .location-card--selected .location-card__badge,
.sleep-study .location-card--selected .location-card__name,
.sleep-study .location-card--selected .location-card__address,
.sleep-study .location-card--selected .location-card__hours,
.sleep-study .location-card--selected .location-card__hours svg path {
    color: #ffffff;
    fill: #ffffff;
}

.sleep-study .location-card__badge {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0099AA;
}

.sleep-study .location-card__name {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    color: #000000;
}

.sleep-study .location-card__address {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #000000;
}

.sleep-study .location-card__hours {
    margin: 0;
    display: flex;
    column-gap: 10px;
    flex-direction: row;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #000000;
}

.sleep-study .location-card__hours svg {
    flex-shrink: 0;
}

.sleep-study .location-picker__map {
    width: 67%;
    min-height: 430px;
}

.sleep-study .location-picker__map-placeholder {
    height: 100%;
}

/* Step 3 */
.sleep-study .booking-options {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

.sleep-study .booking-options__card {
    padding: 20px;
    display: flex;
    gap: 20px;
    cursor: pointer;
    align-items: start;
    border-radius: 15px;
    border: 1px solid #EDEDED;
    background-color: #FFFFFF;
    transition: all .2s ease-in-out;
}

.sleep-study .booking-options__card:hover {
    border-color: #0099AA;
    box-shadow: 0 2px 8px rgba(10, 168, 158, 0.15);
}

.sleep-study .booking-options__card.booking-options__card--selected {
    background-color: #0099AA;
}

.sleep-study .booking-options__card.booking-options__card--disabled {
    pointer-events: none;
    background-color: #F7F8F8;
}

.sleep-study .booking-options__card--selected .booking-options__title,
.sleep-study .booking-options__card--selected .booking-options__subtitle,
    .sleep-study .booking-options__card--selected .booking-options__icon svg path {
    color: #ffffff;
    fill: #ffffff;
}

.sleep-study .booking-options__card--disabled .booking-options__title,
.sleep-study .booking-options__card--disabled .booking-options__subtitle,
    .sleep-study .booking-options__card--disabled .booking-options__icon svg path {
    color: #D1D0D0;
    fill: #D1D0D0;
}

.sleep-study .booking-options__title {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    color: #0099AA;
}

.sleep-study .booking-options__subtitle {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
}

/* Step 4 */
.sleep-study .final-view {
    display: flex;
    row-gap: 30px;
    flex-direction: column;
}

/* Call to Book  */
.sleep-study .final-view__body {
    display: flex;
    row-gap: 30px;
    align-items: center;
    flex-direction: column;
}

.sleep-study .contact-pill {
    padding: 5px;
    display: flex;
    align-items: center;
    border-radius: 100px;
    border: 2px solid #0099AA;
}

.sleep-study .contact-pill__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0099AA;
}

.sleep-study .contact-pill__icon svg {
    width: 32px;
    height: 32px;
}

.sleep-study .contact-pill__text {
    padding-inline: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.3;
    color: #0099AA;
}

.sleep-study .final-view__hours {
    display: flex;
    column-gap: 10px;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #000000;
}

/* Email */
.sleep-study .contact-pill.contact-pill--email {
    padding: 8px 32px;
    gap: 10px;
    width: max-content;
    max-width: 100%;
}

.sleep-study .contact-pill.contact-pill--email svg {
    flex-shrink: 0;
}

.sleep-study .contact-pill--email .contact-pill__text {
    padding: 0;
    display: block;
    word-break: break-all;
    font-weight: 400;
    font-size: 32px;
    line-height: 1.3;
}

/* Request callback */
.sleep-study .callback-form {
    display: flex;
    width: 100%;
    row-gap: 15px;
    flex-direction: column;
}

.sleep-study .callback-form__row {
    display: flex;
    gap: 15px;
    flex-direction: row;
}

.sleep-study .callback-form__group {
    flex: 1;
}

.sleep-study .callback-form__label {
    margin-bottom: 4px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
}

.sleep-study .callback-form__label .required {
    color: #0099AA;
}

.sleep-study .callback-form__group input,
.sleep-study .callback-form__group select,
.sleep-study .callback-form__group textarea {
    padding: 12px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    border-radius: 5px;
    border: 1px solid #EDEDED;
    background-color: #ffffff;
}

/* Step 5 */
.sleep-study .step-5__header {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.sleep-study .booking-summary {
    margin-inline: auto;
    max-width: 634px;
    border-radius: 4px;
    border: 1px solid #EDEDED;
}

.sleep-study .booking-summary__row {
    display: flex;
    justify-content: space-between;
    background-color: #F7F8F8;
}

.sleep-study .booking-summary__row:not(:last-child) {
    border-bottom: 1px solid #EDEDED;
}

.sleep-study .booking-summary__label {
    padding: 10px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    min-width: 164px;
}

.sleep-study .booking-summary__value {
    padding: 10px;
}

.sleep-study .booking-summary__value-type {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: #000000;
    letter-spacing: 0.05em;
}

.sleep-study .booking-summary__value-type strong {
    font-weight: 600;
    color: #0099AA;
}

.sleep-study .booking-summary__value-location {
    display: block;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.3;
    text-align: right;
    color: #00000066;
}

.sleep-study .booking-summary__value-location strong {
    font-weight: 600;
    font-size: 16px;
    color: #000000;
}

.sleep-study .booking-summary__value-booking {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: #000000;
}

.sleep-study .booking-summary__value-phone {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: #0099AA;
}

.sleep-study .booking-summary__value-date {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
}

.sleep-study .step-5__actions {
    display: flex;
    row-gap: 30px;
    align-items: center;
    flex-direction: column;
}

.sleep-study .help-pill {
    padding: 8px 16px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    border-radius: 100px;
    border: 2px solid #000000;
}

.sleep-study .help-pill__phone {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: #0099AA;
}

.sleep-study .sleep-study__btn--done {
    border-color: #0099AA;
    background-color: #0099AA;
}

.sleep-study .sleep-study__btn--done:hover {
    border-color: #000000;
}

/* Actions */
.sleep-study .sleep-study__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
}

.sleep-study .sleep-study__btn {
    display: flex;
    column-gap: 10px;
    align-items: center;
    flex-direction: row;
}

.sleep-study .sleep-study__btn--prev {
    color: #000000;
    border-color: #000000;
    background-color: #ffffff;
}

.sleep-study .sleep-study__btn--prev:hover svg rect,
.sleep-study .sleep-study__btn--prev:hover svg path {
    stroke: #fff;
}

.sleep-study .sleep-study__btn--next {
    margin-left: auto;
    border-color: #0099AA;
    background-color: #0099AA;
}

.sleep-study .sleep-study__btn--next:hover {
    border-color: #000000;
}

@media (max-width: 991px) {
    /* Step 2 */
    .sleep-study .location-picker {
        flex-direction: column;
    }

    .sleep-study .location-picker__list {
        width: 100%;
        max-height: 280px;
    }

    .sleep-study .location-card:last-child {
        border-radius: unset;
    }

    .sleep-study .location-picker__map {
        width: 100%;
        border-radius: 0 0 15px 15px;
    }
}

@media (max-width: 767px) {
    .sleep-study .sleep-study__title {
        font-size: 28px;
    }

    .sleep-study .sleep-study__subtitle {
        font-size: 14px;
    }

    /* Step 1 */
    .sleep-study .study-tabs {
        flex-direction: column;
    }

    .sleep-study .study-options,
    .sleep-study [data-panel="lab"].study-options {
        grid-template-columns: 1fr;
    }

    .sleep-study .study-option__check {
        align-self: end;
    }

    /* Step 2 */
    .sleep-study .location-filters {
        flex-direction: column;
    }

    /* Step 3 */
    .sleep-study .booking-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 477px) {
    /* Step 4 */
    .sleep-study .callback-form__row {
        flex-direction: column;
    }
    
    .sleep-study .contact-pill__text {
        padding-inline: 10px;
        font-size: 28px;
    }

    .sleep-study .contact-pill--email .contact-pill__text {
        font-size: 18px;
        line-height: 1.2;
    }

    /* Step 5 */
    .sleep-study .booking-summary__row {
        flex-direction: column;
    }

    .sleep-study .booking-summary__value-location {
        text-align: left;
    }
}