@use '~@epam/assets/scss/promo/colors' as *;
@use '~@epam/assets/scss/promo/fonts' as *;

.row {
    margin: 18px 0;
    align-items: stretch;
    border: 1px solid $gray40;
    overflow: hidden;
    background: white;

    .input {
        padding: 0;
        border-color: transparent;
        margin-left: -7px;

        :global(.uui-input) {
            font-family: $font-sans-semibold;
            font-size: 16px;
        }

        &:hover {
            border-color: $gray40;
        }

        &:global(.uui-focus) {
            border-color: $blue;
        }
    }

    &:global(.uui-focus) {
        border-color: $blue;
    }
}

.imgBox {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: $white;
    fill: $gray60;

    &:first-of-type {
        border-right: 1px solid $gray40;
    }

    .doc-color {
        fill: #2B579A;
    }

    .xls-color {
        fill: #217346;
    }

    .pdf-color {
        fill: #FA0F01;
    }
}

.linkWrapper {
    padding: 0 24px 0 12px;
    width: 100%;
    height: 100%;
    justify-content: center;

    svg {
        width: 27px;
        height: 27px;
        fill: $gray60;
    }

    &:hover svg {
        fill: $gray70;
    }
}

.info {
    padding: 12px;
}

.link {
    padding: 3px 0 3px 6px;
    display: block;
    font-family: $font-sans;
    line-height: 18px;
    font-size: 12px;
    color: $blue;
}

.size-label {
    color: $gray60;
    line-height: 18px;
    font-size: 12px;
    font-family: $font-sans;
}

.file-name {
    font-family: $font-sans-semibold;
    font-size: 16px;
    line-height: 24px;
    color: $gray80;
    overflow: hidden;
    text-overflow: ellipsis;
}
