.pdfextreme-tool {
	box-sizing: border-box;
	width: 100%;
}

.pdfextreme-tool [hidden] {
	display: none !important;
}

.pdfextreme-tool *,
.pdfextreme-tool *::before,
.pdfextreme-tool *::after {
	box-sizing: inherit;
}

.pdfextreme-dropzone {
	align-items: center;
	background: #ffffff;
	border: 1px dashed #697588;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	min-height: 190px;
	padding: 24px;
	text-align: center;
	transition: background-color 160ms ease, border-color 160ms ease;
}

.pdfextreme-dropzone.is-dragging {
	background: #edf8f7;
	border-color: #0e8a88;
	outline: 2px solid rgba(14, 138, 136, 0.2);
	outline-offset: 3px;
}

.pdfextreme-file-input {
	height: 1px;
	opacity: 0;
	position: absolute;
	width: 1px;
}

.pdfextreme-dropzone-text,
.pdfextreme-field-help,
.pdfextreme-selection-summary,
.pdfextreme-status {
	margin: 0;
}

.pdfextreme-dropzone-text {
	color: #566174;
}

.pdfextreme-remove-workspace {
	display: grid;
	gap: 10px;
	margin-top: 18px;
}

.pdfextreme-selected-file {
	align-items: center;
	background: #ffffff;
	border: 1px solid #cbd3dc;
	border-radius: 6px;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	padding: 12px 14px;
}

.pdfextreme-selected-file-details {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.pdfextreme-selected-file-details strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pdfextreme-selected-file-details span {
	color: #697588;
	font-size: 13px;
}

.pdfextreme-remove-file {
	background: #ffffff;
	border: 1px solid #aeb8c4;
	border-radius: 4px;
	color: #8f3327;
	cursor: pointer;
	flex: 0 0 auto;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	min-height: 36px;
	padding: 7px 10px;
}

.pdfextreme-remove-file:hover {
	border-color: #c94332;
}

.pdfextreme-field-label {
	font-weight: 700;
	margin-top: 8px;
}

.pdfextreme-range-input {
	background: #ffffff;
	border: 1px solid #8b95a5;
	border-radius: 4px;
	color: #16213a;
	font: inherit;
	min-height: 48px;
	padding: 10px 12px;
	width: 100%;
}

.pdfextreme-range-input:focus {
	border-color: #0e8a88;
	box-shadow: 0 0 0 2px rgba(14, 138, 136, 0.2);
	outline: 0;
}

.pdfextreme-range-input[aria-invalid="true"] {
	border-color: #c94332;
	box-shadow: 0 0 0 2px rgba(201, 67, 50, 0.14);
}

.pdfextreme-field-help {
	color: #566174;
	font-size: 14px;
}

.pdfextreme-selection-summary {
	color: #176361;
	font-size: 14px;
	font-weight: 700;
	min-height: 21px;
}

.pdfextreme-selection-summary[data-state="invalid"],
.pdfextreme-selection-summary[data-state="all"] {
	color: #8f3327;
}

.pdfextreme-progress {
	margin-top: 18px;
}

.pdfextreme-progress-label {
	display: flex;
	font-size: 13px;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 7px;
}

.pdfextreme-progress-track {
	background: #dfe5e9;
	border-radius: 4px;
	height: 8px;
	overflow: hidden;
}

.pdfextreme-progress-track span {
	background: #0e8a88;
	display: block;
	height: 100%;
	transition: width 180ms ease;
	width: 0;
}

.pdfextreme-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.pdfextreme-button {
	align-items: center;
	background: #ffffff;
	border: 1px solid currentColor;
	border-radius: 4px;
	color: #16213a;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	justify-content: center;
	line-height: 1.2;
	min-height: 42px;
	padding: 10px 16px;
	text-decoration: none;
}

.pdfextreme-button-primary {
	background: #f45d48;
	border-color: #f45d48;
	color: #ffffff;
}

.pdfextreme-button-secondary {
	background: #16213a;
	border-color: #16213a;
	color: #ffffff;
}

.pdfextreme-button-download {
	background: #0e8a88;
	border-color: #0e8a88;
	color: #ffffff;
}

.pdfextreme-button-ghost {
	background: transparent;
}

.pdfextreme-button[disabled],
.pdfextreme-remove-file[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
}

.pdfextreme-button:focus-visible,
.pdfextreme-remove-file:focus-visible {
	outline: 2px solid #0e8a88;
	outline-offset: 2px;
}

.pdfextreme-status {
	border-left: 3px solid transparent;
	color: #566174;
	margin-top: 12px;
	min-height: 24px;
	padding: 2px 0 2px 9px;
}

.pdfextreme-status[data-state="success"] {
	border-left-color: #0e8a88;
	color: #176361;
}

.pdfextreme-status[data-state="error"] {
	border-left-color: #c94332;
	color: #8f3327;
}

@media (max-width: 640px) {
	.pdfextreme-dropzone {
		min-height: 170px;
		padding: 20px 16px;
	}

	.pdfextreme-selected-file {
		align-items: stretch;
		flex-direction: column;
	}

	.pdfextreme-remove-file,
	.pdfextreme-actions,
	.pdfextreme-button {
		width: 100%;
	}
}
