/* IMAGE UPLOAD FORM */
/* upload */
.form-upload-label {
    width: 100%;
    min-height: 8rem;
    background-color: var(--white);
    color: var(--text);
    border-radius: var(--border-radius);

    /* border */
    border: 1px solid var(--border-color);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-size: 1.25rem;
    padding: 2rem;

    user-select: none;
    position: relative;
    text-align: center;
}

.form-upload-label:hover {
    cursor: pointer;
    background-color: var(--white);
}

.upload-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upload-content i, .upload-file-preview-image {
    border-style: solid;
    border-width: 1px;
    border-color: var(--text-light);
    border-radius: var(--border-radius);

    font-size: 3rem;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.upload-file-preview-image {
    max-width: 256px;
}

.form-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
}

.upload-label-instruction .special {
    font-weight: bold;
    color: var(--bootstrap-blue);
}

.upload-label-note {
    color: var(--text-light);
}

.upload-label-note.invalid {
    color: var(--bootstrap-blue);
}

.upload-default.hidden, .upload-file.hidden, .upload-current.hidden, .upload-label-note.hidden:not(.persistent) {
    display: none;
}