.file-upload {
    display: block;
    overflow: hidden;
    position: relative;
    height: 60px;
}

.file-upload:before, .file-upload input, .file-upload label {
    cursor: pointer !important;
}

.file-upload__input {
    display: block !important;
    right: 1px;
    top: 1px;
    height: 60px;
    opacity: 0;
    width: 100%;
    background: none;
    position: absolute;
    overflow: hidden;
    z-index: 2;
}

.file-upload__filename {
    display: block;
    color: currentColor;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-upload:before {
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background: var(--color-blue, #CCC) 0 0 no-repeat padding-box;
    border: 1px solid var(--color-blue, #CCC);
    color: rgb(0, 0, 0);
    width: 54px;
    height: 54px;
    border-radius: 5px;
    line-height: 54px;
    content: '...';
    display: block;
    position: absolute;
    z-index: 1;
    top: 2px;
    right: 2px;
}

.file-upload:hover:before, .file-upload:focus:before {
    color: #333333;
    background-color: #e6e6e6;
    text-decoration: none;
    background-position: 0 -15px;
    transition: background-position 0.2s ease-out;
}

.file-upload_drop {
    border-radius: 5px;
    border: 2px dashed currentColor;
    width: 100%;
    text-align: center;
    color: currentColor;
    background: transparent;
    height: auto;
    display: flex;
    flex-direction: column;
    min-height: 60px;
    padding: 5px;
    justify-content: center;

    &:hover {
        border-color: var(--color-blue, #CCC);
    }

    &:before {
        display: none;
    }
}

.file-upload_drop.file-upload_selected {
    background: var(--color-blue, #CCC);
    border-color: var(--color-dark-blue, #222);
    color: var(--color-dark-blue, #222);;
}
