/* Champs de fichiers et leurs prévisualisations */
input[type="file"] {
    display: none;
}

.custom-file-label {
    display: block;
    width: 100%;
    padding: calc(.5rem - .5px);
    border: 2px solid var(--dark-white);
    border-radius: 4px;
    cursor: pointer;
    background-color: var(--off-white);
    text-align: center;
    color: var(--light-grey);
}

.custom-file-label:hover {
    background-color: var(--dark-off-white);
}

.file-preview {
    display: none;
    flex-direction: row;
    cursor: pointer;
    background-color: var(--red);
    color: var(--white);
    border: none;
    align-items: center;
    justify-content: space-around;
    border-radius: 30px;
    width: 100%;
	height: 38px;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
}

.file-preview:hover {
    background-color: var(--dark-red);
}

.file-name-preview p {
    color: var(--white);
}

.file-image {
	height: 20px;
	width: 20px;
}

.file-cancel {
	color: var(--white);
	border: none;
	cursor: pointer;
	background: url('assets/svg/rubbish.svg');
}

.input-error {
    border: 2px solid var(--blue);
}