.app-global-file-drop {
	position: fixed;
	inset: 0;
	z-index: 3000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(17, 24, 39, 0.42);
	backdrop-filter: blur(2px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.18s ease, visibility 0.18s ease;
}

.app-global-file-drop.is-active {
	opacity: 1;
	visibility: visible;
}

.app-global-file-drop__panel {
	min-width: 280px;
	max-width: min(520px, calc(100vw - 48px));
	padding: 28px 32px;
	text-align: center;
	color: #ffffff;
}

.app-global-file-drop__title {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.15;
	color: #ffffff;
}

.app-global-file-drop__icon {
	display: block;
	margin-bottom: 18px;
	color: #ffffff;
	font-size: clamp(96px, 12vw, 176px);
	line-height: 1;
}

.app-global-file-drop--ready .app-global-file-drop__panel {
	color: #ffffff;
}

.document-widget__count {
	flex: 0 0 auto;
}

.app-global-color-modal__swatch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding: 12px;
	border: 1px solid var(--bs-black-20);
	border-radius: 10px;
	background: var(--bs-black-10);
}

.app-global-color-modal__swatch label { margin: 0; font-size: 13px; font-weight: 600; color: var(--bs-black-80); }
.app-global-color-modal__swatch input[type="color"] { width: 48px; height: 32px; padding: 0; border: 0; background: transparent; }

.app-document-preview-modal .modal-content {
	border-radius: 8px;
	overflow: hidden;
}

.app-document-preview-modal .modal-body {
	height: min(78vh, 920px);
	overflow: hidden;
	padding: 0;
	background: #eff1f2;
}

.app-document-preview-modal__frame-wrap {
	height: 100%;
	overflow: auto;
	padding: 24px;
}

.app-document-preview-modal iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 640px;
	border: 0;
	background: #fff;
	box-shadow: 0 2px 14px rgba(17, 19, 20, .08);
}

.app-document-preview-modal.is-technical .app-document-preview-modal__frame-wrap {
	overflow-y: auto;
	overflow-x: hidden;
}

.app-document-preview-modal.is-technical iframe {
	width: 210mm;
	min-width: 210mm;
	height: 297mm;
	min-height: 297mm;
	margin: 0 auto;
}

.app-file-upload-progress__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.app-file-upload-progress__summary {
	font-size: 0.95rem;
	font-weight: 600;
	color: #111827;
}

.app-file-upload-progress__file {
	margin-top: 6px;
	font-size: 0.92rem;
	color: #6b7280;
	word-break: break-word;
}

.app-file-upload-progress__details {
	font-size: 0.9rem;
	color: #4b5563;
	white-space: nowrap;
}

.app-file-upload-progress__state {
	margin-top: 12px;
	padding: 8px 12px;
	border-radius: 10px;
	background: var(--bs-black-10);
	color: var(--bs-black-60);
	font-size: 0.88rem;
	line-height: 1.35;
}
