.modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: none;
}

.modal.is-open {
    display: flex;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal__container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: #fff;
    border-radius: 20px;
    padding: 24px;
    width: 600px;
    max-height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 1001;
}

.modal__header {
    display: flex;
    justify-content: space-between;
}

.modal__title {
    font-size: 24px;
    line-height: 28px;
    font-weight: 700;
    color: var(--text-black);
}

.modal__close {
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    cursor: pointer;
    height: fit-content;
}

.modal__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal__content-about{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal__content-info{
    display: flex;
    gap: 16px;
    font-size: 16px;
    line-height: 24px;
}

.modal__content-info span{
    color: var(--text-black);
    width: 100%;
    max-width: 160px;
}

.modal__content-info p{
    color: var(--default-gray);
    font-weight: 400;
}

.modal__footer{
    display: flex;
    align-items: center;
    gap: 64px;
}

.modal__btn {
    width: fit-content;
    height: 48px;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    line-height: 24px;
    border-radius: 12px;
}

.modal__footer .button_ui_background_blue {
    width: 100%;
    max-width: 200px;
}

#downloadAbout{
    margin-top: 40px;
}

.modal__footer-about{
    gap: 24px;
    align-items: end;
}

.modal__footer-about_button{
    max-width: 151px !important;
}

.modal-container-files{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-container-files-item{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-container-files-item-text{
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 32px;
    font-weight: 600;
    color: var(--text-black);
}

@media (max-width: 600px) {
    .modal__container {
        border-radius: 0px;
        height: 100%;
        width: 100%;
        padding: 16px;
    }
    .modal-container-files-item-text{
        font-size: 16px;
        line-height: 24px;
    }
    #downloadAbout{
        margin-top: 0px;
    }
    .modal__title {
        font-size: 20px;
        line-height: 32px;
        font-weight: 600;
    }
    .modal__footer{
        gap: 0px;
        justify-content: space-between;
    }
    .modal__footer button {
        width: 100%;
        max-width: 100% !important;
    }
    .modal__content-about{
        gap: 12px;
    }
    .modal__footer-about{
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .modal__content-info{
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

}