#files-block {
    padding-top: 30px;
    background: white;
    border-top: 1px solid #95989e22;
}
#files-block .wrapper {
    max-width: 1580px;
    padding: 0px 15px;
    margin-left: auto;
    margin-right: auto;
    gap: 25px;
}
#files-block .files {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px 30px;
    margin-top: 25px;
}
#files-block .file-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 15px 40px 15px 0px;
    transition: 0.3s;
    border-bottom:1px solid #95989e22;
    position: relative;
}
#files-block .file-item:hover {
    border-color: #789fb5;
}
#files-block .file-item.inactive {
    display: none;
}
#files-block .file-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#files-block .file-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
#files-block .file-name {
    font-weight: 500;
    font-size: 20px;
    line-height: 170%;
    color: #272725;
}
#files-block .icon {
    position: absolute;
    width: 24px;
    height: 24px;
    top: 20px;
    right: 0;
}
#files-block .input-wrapper {
    width: 100%;
    max-width: 600px;
    border: 1px solid #272725;
    border-radius: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 11px 50px 11px 30px;
}
#files-block input {
    width: 100%;
    border: unset;
    outline: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 170%;
    color: #95989e;
}
#files-block input::placeholder {
    font-weight: 500;
    font-size: 16px;
    line-height: 170%;
    color: #95989e;
}

@media (max-width: 1200px) {
    #files-block .file-name {
        font-size: 16px;
    }
    #files-block .file-item {
        padding: 10px 30px 10px 0px;
        gap: 10px;
    }
    #files-block .icon {
        top: 15px;
    }
}

@media (max-width: 996px) {
    #files-block .files {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    #files-block .file-name {
        font-size: 12px;
    }
    #files-block .icon {
        top: 12px;
    }
}