body.prescription-retention-modal-open {
    overflow: hidden;
}

.prescription-retention-modal {
    align-items: center;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, 0.42);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 16px;
    position: fixed;
    z-index: 1100;
}

.prescription-retention-modal--open {
    display: flex;
}

.prescription-retention-modal__dialog {
    background: var(--bg-primary);
    border-radius: 16px;
    box-sizing: border-box;
    color: var(--prescription-retention-modal-text-color);
    max-height: calc(100vh - 32px);
    max-width: 532px;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    width: 100%;
}

.prescription-retention-modal__close {
    background: transparent;
    border: 0;
    cursor: pointer;
    height: 32px;
    padding: 8px;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 32px;
}

.prescription-retention-modal__close span::before,
.prescription-retention-modal__close span::after {
    background: var(--myracolors-border-1);
    content: "";
    height: 2px;
    left: 7px;
    position: absolute;
    top: 15px;
    width: 18px;
}

.prescription-retention-modal__close span::before {
    transform: rotate(45deg);
}

.prescription-retention-modal__close span::after {
    transform: rotate(-45deg);
}

.prescription-retention-modal__title {
    color: var(--prescription-retention-modal-text-color);
    font-family: var(--myralis-font-family);
    font-size: 24px;
    font-weight: 500;
    line-height: 24px;
    margin: 0 0 0 15px;
    padding-right: 32px;
}

.prescription-retention-modal__information {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 52px;
}

.prescription-retention-modal__item {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 0 15px 0 0;
}

.prescription-retention-modal__item p {
    color: var(--prescription-retention-modal-text-color);
    font-family: var(--myralis-font-family-secondary);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin: 0;
}

.prescription-retention-modal__item strong {
    font-weight: 700;
}

.prescription-retention-modal__icon {
    align-items: center;
    border-radius: 50%;
    display: flex;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.prescription-retention-modal__icon img {
    height: 24px;
    width: 24px;
}

.prescription-retention-modal__icon--prescription {
    background: rgba(242, 76, 127, 0.12);
}

.prescription-retention-modal__icon--approval {
    background: rgba(159, 255, 136, 0.12);
}

.prescription-retention-modal__icon--phone {
    background: #e0edff;
}

.button-base.button-primary.prescription-retention-modal__continue {
    background: var(--myracolors-buy-btn-cart);
    border-color: var(--myracolors-buy-btn-cart);
    border-radius: 8px;
    color: var(--white);
    display: block;
    font-family: var(--myralis-font-family);
    font-size: 14px;
    font-weight: 500;
    height: 36px;
    line-height: 20px;
    margin: 24px auto 0;
    min-width: 120px;
    padding: 8px 20px;
}

.button-base.button-primary.prescription-retention-modal__continue:hover,
.button-base.button-primary.prescription-retention-modal__continue:focus {
    background: var(--myracolors-buy-btn-cart);
    border-color: var(--myracolors-buy-btn-cart);
    color: var(--white);
    filter: brightness(0.88);
}

@media (max-width: 600px) {
    .prescription-retention-modal {
        padding: 12px;
    }

    .prescription-retention-modal__dialog {
        padding: 12px 24px 24px 16px;
    }

    .prescription-retention-modal__close {
        right: 12px;
        top: 8px;
    }

    .prescription-retention-modal__title {
        font-size: 20px;
        line-height: 24px;
        margin-top: 24px;
        padding: 0 24px;
        text-align: center;
    }

    .prescription-retention-modal__information {
        gap: 24px;
        margin-top: 24px;
    }

    .prescription-retention-modal__item {
        align-items: start;
        gap: 12px;
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .prescription-retention-modal__icon {
        height: 42px;
        width: 42px;
    }

    .prescription-retention-modal__item p {
        font-size: 14px;
        line-height: 20px;
        text-align: justify;
    }

    .button-base.button-primary.prescription-retention-modal__continue {
        height: 36px;
        margin-top: 24px;
        min-width: 120px;
    }
}

@media (max-width: 380px) {
    .prescription-retention-modal__title {
        font-size: 20px;
        line-height: 24px;
    }

    .prescription-retention-modal__item {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .prescription-retention-modal__icon {
        height: 40px;
        width: 40px;
    }
}
