.algys-modal__wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    overflow-y: auto;
    padding: 60px 0;
    z-index: 15;
    overflow-x: hidden;
}

.algys-modal__background {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    background-color: #5656562d;
    z-index: 10;
}

.algys-modal__content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.algys-modal {
    border-radius: 32px;
    width: 960px;
    height: fit-content;
    padding: 48px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-sizing: border-box;
    position: relative;
}

.algys-modal__title {
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
}

.algys-modal__image {
    width: 100%;
}

.algys-modal__description {
    font-size: 18px;
}

.algys-modal__description h4 {
    font-weight: 700;
}

.algys-modal__description ul {
    list-style-position: inside;
    list-style-type: disc;
}

.close-btn {
    position: absolute;
    width: 100%;
    top: -35px;
    left: 500px;
    display: flex;
    justify-content: center;
}

.close-btn span {
    border-radius: 100%;
    padding: 12px;
    background-color: #fff;
    cursor: pointer;
}

@media (max-width: 767px) {
    .algys-modal__wrap {
        padding: 0;
        display: block;
        justify-content: none;
        align-items: none;
    }

    .algys-modal {
        border-radius: 0;
        padding: 64px 48px 32px;
    }

    .algys-modal__title {
        text-align: start;
    }

    .close-btn {
        top: 15px;  /* Adjust for mobile */
        left: 0;
        z-index: 20;
        justify-content: flex-end;
        padding-right: 16px;
    }

    .close-btn span {
        background-color: none;
    }
}
