.row {
    margin: 18px 0;
    align-items: stretch;
    border: 1px solid var(--uui-control-border);
    overflow: hidden;
    background: var(--uui-surface-main);

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

        :global(.uui-input) {
            font-family: var(--uui-font);
            font-weight: 600;
            font-size: 16px;
        }

        &:hover {
            border-color: var(--uui-control-border);
        }

        &:global(.uui-focus) {
            border-color: var(--uui-primary-50);
        }
    }

    &:global(.uui-focus) {
        border-color: var(--uui-primary-50);
    }
}

.imgBox {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--uui-surface-main);
    fill: var(--uui-icon);

    &:first-of-type {
        border-right: 1px solid var(--uui-control-border);
    }

    .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: var(--uui-icon);
    }

    &:hover svg {
        fill: var(--uui-icon-hover);
    }
}

.info {
    padding: 12px;
}

.link {
    padding: 3px 0 3px 6px;
    display: block;
    font-family: var(--uui-font);
    line-height: 18px;
    font-size: 12px;
    color: var(--uui-link);
}

.size-label {
    color: var(--uui-text-tertiary);
    line-height: 18px;
    font-size: 12px;
    font-family: var(--uui-font);
}

.file-name {
    font-family: var(--uui-font);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: var(--uui-text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
}
