/* Upload area styling */
.upload-area {
	border: 2px dashed #0d6efd;
	background: white;
	cursor: pointer;
	transition: all 0.3s ease;
	min-height: 200px;
}

.upload-area:hover {
	border-color: #0a58ca;
	background: #f8f9fa;
}

body.drag-over .upload-area {
	border-color: #0a58ca;
	background: #e7f1ff;
}

body.drag-over::before {
	content: "Drop images here";
	position: fixed;
	top: 1rem;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	border: 2px dashed #1976d2;
	font-size: 2rem;
	color: #1976d2;
	z-index: 1000;
	background: #fffd;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	font-weight: bold;
}

/* Cropper container styling */
.cropper-wrapper {
	position: relative;
	width: 100%;
	min-height: 400px;
	max-height: 600px;
	background: #f8f9fa;
	border-radius: 0.375rem;
	overflow: hidden;
}

#crop-image {
	max-width: 100%;
	display: block;
}

/* Visual dropdown for shapes */
.dropdown-menu-visual {
	width: 600px !important;
	max-height: none !important;
}



.max-height-100 {
	max-height: 100%;
}

.max-width-100 {
	max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.dropdown-menu-visual {
		width: 400px !important;
	}
}

@media (max-width: 576px) {
	.dropdown-menu-visual {
		width: 300px !important;
	}
}

/* Format choice in the download modal: the description goes white with the selected button */
.btn-check:checked + .btn .text-muted {
	color: inherit !important;
}
