.files_links {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 10px;
}

.files_links .file-list__item-img {
    display: flex;
    flex-direction: column;
    /* background-color: red; */
    border: solid 1px #00000047;
    padding: 10px;
    width: 150px;
    text-align: center;
}

.files_links .file-list__item-img a {
    color: gray;
    font-weight: 600;
}

.files_links .file-list__item-img a:hover {
    color: #2b6996;
}

.files_links .file-list__item-img img {
    width: 100%;
    height: 70px;
    object-fit: contain;
    /* margin-right: 30px; */
}

.files_links > div {
    margin-right: 10px;
}

/* Основные стили для модального окна */
.modal-feed {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Затемнение фона */
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
    text-decoration: none;
}
span.close-modal {
    justify-content: center;
    margin: auto;
}

.modal-content h2 {
    text-align: center;
}


.modal-content form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content form input, .modal-content form textarea {
    width: 100%;
    border-radius: 6px;
}

.modal-content form input[type="submit"] {
    width: 50%;
    color: gray;
    background-color: var(--base-blue);
    border: unset;
}

.modal-content form input[type="submit"]:hover {
    background-color: gray;
    color: white;
}

.modal .modal-mask {
    background-color: #313131e6;

}