/*!
 * Jodit Editor (https://xdsoft.net/jodit/)
 * Released under MIT see LICENSE.txt in the project root for license information.
 * Copyright (c) 2013-2024 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
 */

@import (reference) '../../styles/variables';

.jodit-drag-and-drop__file-box,
.jodit_uploadfile_button {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: 25px 0;
	border: dashed 1px var(--color-gray);
	margin: var(--padding-default) 0;
	text-align: center;

	&:hover {
		background-color: var(--color-background-button-hover);
	}

	input {
		position: absolute;
		padding: 0;
		margin: 0;
		cursor: pointer;
		font-size: 400px;
		inset: 0;
		opacity: 0;
	}
}

@media (max-width: @screen-sm) {
	.jodit-drag-and-drop__file-box {
		width: auto;
		min-width: var(--width-input-min);
		max-width: 100%;
	}
}

.jodit_drag_hover {
	//background-color: var(--color-background-gray-hover);
}
