/**
 * BWT Dropbox Connect Frontend CSS
 */

.bwt-dropbox-upload-container {
	margin: 15px 0;
	font-family: inherit;
}

.bwt-dropbox-dropzone {
	position: relative;
	border: 2px dashed #0061fe;
	border-radius: 8px;
	background: #f7f9fc;
	padding: 25px 20px;
	text-align: center;
	transition: all 0.25s ease-in-out;
	cursor: pointer;
}

.bwt-dropbox-dropzone:hover,
.bwt-dropbox-dropzone.bwt-dragover {
	background: #edf3fe;
	border-color: #004dc6;
	box-shadow: 0 4px 12px rgba(0, 97, 254, 0.12);
}

.bwt-dropbox-dropzone input[type="file"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}

.bwt-dropbox-dz-message {
	pointer-events: none;
}

.bwt-dropbox-dz-message .dashicons {
	font-size: 36px;
	width: 36px;
	height: 36px;
	color: #0061fe;
	margin-bottom: 8px;
}

.bwt-dropbox-dz-message p {
	margin: 5px 0;
	font-size: 15px;
	font-weight: 500;
	color: #1e1e1e;
}

.bwt-dropbox-file-limits {
	display: block;
	font-size: 12px;
	color: #666;
	margin-top: 4px;
}

.bwt-dropbox-selected-file {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #e6f4ea;
	color: #137333;
	padding: 10px 16px;
	border-radius: 6px;
	font-size: 14px;
	margin-top: 5px;
	pointer-events: auto;
}

.bwt-dropbox-selected-file .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: #137333;
	margin: 0;
}

.bwt-dropbox-remove-file {
	background: transparent;
	border: none;
	color: #c5221f;
	font-size: 18px;
	font-weight: bold;
	cursor: pointer;
	padding: 0 4px;
	line-height: 1;
	margin-left: 8px;
}

.bwt-dropbox-remove-file:hover {
	color: #900;
}

.bwt-dropbox-status {
	margin-top: 10px;
	font-size: 14px;
	font-weight: 500;
}

.bwt-dropbox-status.success {
	color: #137333;
}

.bwt-dropbox-status.error {
	color: #d93025;
}
