.uploadInput {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    cursor: pointer;
    left: 0;
    top: 0;
}

.uploadInput::file-selector-button {
    background-color: transparent;
    color: red;
    position: absolute;
    width: 100%;
    height: 100%;
}

.uploadBox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    font-size: 12px;
    color: #696767;
    text-align: center;
    top: 0;
    right: 0;
    padding: 10px;
}

.otherFile {
    text-overflow: ellipsis;

    /* Needed to make it work */
    overflow: hidden;
    white-space: nowrap;
}

.uploadBox img {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: 10px;
    object-fit: contain;
}

.uploadBox svg {
    font-size: 25px;
    margin-bottom: 2px;
}


.otherFile {
    font-size: 11px;
}

.otherFile svg {
    margin-bottom: 5px;
}

.uploadFile {
    position: relative;
    min-width: 120px;
    min-height: 100px;
    border: 2px dotted #bbbbbb;
    border-radius: 10px;
    cursor: pointer;
    margin: 5px;
}

.overlayDelete {
    display: none;
}

.uploadFile:hover .overlayDelete {
    background-color: #00000094;
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.errorText {
    color: var(--red);
}

.image {
    max-width: auto;
    max-height: auto;
    position: relative !important;
}