/* SchichtKunst Upload Master Pro 5.7.0 */

/* Gesamter Editor = eine weisse Karte */
.sk-upload-wrapper {
	background: #fff;
	border: 1px solid #e9e5de;
	border-radius: 10px;
	padding: 18px 20px 6px;
}

.sk-legal-box { margin: 0 0 4px; }
.sk-legal-body {
	border-left: 3px solid #c9a227;
	padding-left: 14px;
	transition: border-color .2s ease;
}
.sk-legal-box.is-ok .sk-legal-body { border-left-color: #5e7d4f; }

.sk-legal-status {
	font-size: .72em;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #a8892b;
	margin-bottom: 10px;
	transition: color .2s ease;
}
.sk-legal-status.is-ok { color: #5e7d4f; }

.sk-legal-box label {
	display: flex;
	align-items: flex-start;
	cursor: pointer;
	font-size: .86em;
	line-height: 1.55;
	color: #6b6b6b;
	margin: 0;
}
.sk-legal-box input[type="checkbox"] {
	margin-top: 3px;
	margin-right: 10px;
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	accent-color: #c9a227;
}
.sk-legal-hint {
	margin: 16px 0 0;
	font-size: .86em;
	font-weight: 700;
	line-height: 1.5;
	color: #6b6b6b;
}

.sk-editor-headline {
	margin: 16px 0 6px;
	font-size: .84em;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #7a7a7a;
}
.sk-size-line { margin: 0; font-size: .84em; color: #9a9a9a; }
.sk-size-label { font-size: inherit; color: inherit; }

.sk-divider {
	display: none;
	margin-top: 18px;
	border-top: 1px solid #efece6;
}
.sk-fields {
	margin-top: 16px;
	padding-top: 0;
	border-top: 0;
	transition: opacity .2s ease;
}

/* Sperrhinweis, solange die Einwilligung fehlt */
.sk-lock-note {
	display: none;
	align-items: flex-start;
	gap: 10px;
	margin-top: 16px;
	padding: 14px 16px;
	border: 1px dashed #ddd8cf;
	border-radius: 8px;
	background: #fbfaf7;
	font-size: .84em;
	line-height: 1.55;
	color: #8a8a8a;
}
.sk-lock-note strong { color: #6b6b6b; }
.sk-lock-icon { flex: 0 0 auto; font-size: 1em; line-height: 1.6; }

.sk-upload-wrapper.is-locked .sk-lock-note { display: flex; }
.sk-upload-wrapper.is-locked .sk-divider { display: none !important; }
.sk-upload-wrapper.is-locked .sk-fields {
	opacity: .45;
	pointer-events: none;
}
.sk-upload-wrapper.is-locked .sk-progress { opacity: .45; }

.sk-progress {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 14px;
	padding-top: 14px;
	border-top: 1px solid #efece6;
}
.sk-progress-text { font-size: .84em; color: #8a8a8a; white-space: nowrap; }
.sk-progress-bar {
	flex: 1;
	height: 3px;
	background: #ede9e2;
	border-radius: 999px;
	overflow: hidden;
}
.sk-progress-fill {
	display: block;
	height: 100%;
	width: 0;
	background: #5e7d4f;
	border-radius: 999px;
	transition: width .25s ease;
}

/* Artikelgruppe ohne eigenen Kasten - die Karte ist der Rahmen */
.sk-lampe-gruppe { margin: 0; padding: 0; border: 0; background: transparent; }
.sk-lampe-gruppe h4 { margin: 0 0 10px; font-size: .95em; font-weight: 700; }

.sk-crop-item-wrap { margin-bottom: 4px; }

.sk-dropzone {
	position: relative;
	border: 0;
	padding: 0;
	background: transparent;
	text-align: left;
	transition: all .2s ease;
}
.sk-crop-item-wrap > label {
	display: block;
	font-weight: 700;
	font-size: .95em;
	margin-bottom: 10px;
	color: #333;
}
.sk-crop-item-wrap input[type="file"] {
	display: block;
	width: 100%;
	margin-bottom: 0;
	padding: 12px;
	border: 1px dashed #ddd8cf;
	border-radius: 8px;
	background: #fbfaf7;
	transition: all .2s ease;
}
.sk-dropzone.sk-dnd-aktiv input[type="file"] { border-color: #5e7d4f; background: #f0f7ed; }
.sk-dnd-hinweis {
	display: block;
	margin-top: 10px;
	font-size: .82em;
	color: #9a9a9a;
	text-align: center;
}

.sk-ok-btn {
	display: none;
	margin: 16px auto 0;
	background: #5e7d4f;
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	width: 100%;
	max-width: 340px;
	box-shadow: 0 4px 14px rgba(94,125,79,.3);
	transition: all .2s ease;
}
.sk-ok-btn:hover:not(:disabled) { background: #4b663e; transform: translateY(-1px); }
.sk-ok-btn:disabled {
	background: #a5bfa1 !important;
	opacity: .6;
	cursor: not-allowed !important;
	box-shadow: none !important;
}

.sk-reset-btn {
	display: none;
	margin: 8px auto 0;
	background: transparent;
	color: #666;
	border: 1px solid #ccc;
	border-radius: 999px;
	padding: 6px 16px;
	font-size: .85em;
	font-weight: 600;
	cursor: pointer;
	transition: all .2s ease;
}
.sk-reset-btn:hover { background: #eee; color: #333; }

.sk-reset-all-btn {
	display: none;
	margin: 0 0 18px;
	background: transparent;
	color: #666;
	border: 1px solid #ccc;
	border-radius: 999px;
	padding: 9px 18px;
	font-size: .85em;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	transition: all .2s ease;
}
.sk-reset-all-btn:hover { background: #eee; color: #333; }

.sk-done-note {
	display: none;
	margin: 10px 0 4px;
	padding: 10px 14px;
	background: #e6f4ea;
	border: 1px solid #ceead6;
	border-radius: 6px;
	color: #137333;
	font-size: .88em;
	font-weight: 600;
	text-align: center;
}

.sk-coverage-warning {
	display: none;
	margin-top: 10px;
	padding: 10px 14px;
	background: #fff3cd;
	border: 1px solid #ffeeba;
	border-radius: 6px;
	color: #856404;
	font-size: .88em;
	font-weight: 600;
	text-align: center;
}

.sk-dpi-badge {
	margin-top: 10px;
	padding: 8px 12px;
	border-radius: 6px;
	font-size: .88em;
	font-weight: 600;
	display: none;
	align-items: center;
	gap: 8px;
}
.sk-dpi-badge.green  { background: #e6f4ea; color: #137333; border: 1px solid #ceead6; }
.sk-dpi-badge.yellow { background: #fef7e0; color: #b06000; border: 1px solid #feefc3; }
.sk-dpi-badge.red    { background: #fce8e6; color: #c5221f; border: 1px solid #fad2cf; }

.sk-low-quality-box {
	display: none;
	margin-top: 10px;
	padding: 12px;
	background: #fce8e6;
	border: 1px solid #fad2cf;
	border-radius: 6px;
	color: #c5221f;
	font-size: .88em;
}
.sk-low-quality-box label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	margin: 0;
	font-weight: 500;
}

.sk-crop-container {
	width: 100%;
	max-width: 100%;
	min-height: 180px;
	margin: 0 auto;
	position: relative;
	background: #111;
	border: 2px solid #ccc;
	border-radius: 6px;
	overflow: hidden;
	display: none;
}
.sk-crop-container img { display: block; max-width: 100%; }

/* Rahmen deutlich sichtbar machen - er stellt die Platte dar */
.sk-crop-container .cropper-view-box {
	outline: 2px solid #7fd4ff;
	outline-offset: -1px;
	box-shadow: 0 0 0 1px rgba(0,0,0,.45);
}
.sk-crop-container .cropper-face { background-color: transparent; }
.sk-crop-container .cropper-modal { background-color: #000; opacity: .62; }

.sk-frame-note {
	display: none;
	margin: 8px auto 0;
	max-width: 420px;
	font-size: .8em;
	line-height: 1.4;
	color: #777;
	text-align: center;
}

.sk-zoom-bar {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 10px auto 0;
	max-width: 320px;
}
.sk-zoom-btn {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border: 1px solid #ccc;
	background: #fff;
	color: #333;
	border-radius: 50%;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: all .2s ease;
}
.sk-zoom-btn:hover { background: #eee; }
.sk-zoom-range { flex: 1 1 120px; min-width: 100px; accent-color: #5e7d4f; }
.sk-fit-btn {
	flex: 1 1 100%;
	border: 1px solid #ccc;
	background: transparent;
	color: #666;
	border-radius: 999px;
	padding: 6px 16px;
	font-size: .85em;
	font-weight: 600;
	cursor: pointer;
	transition: all .2s ease;
}
.sk-fit-btn:hover { background: #eee; color: #333; }

.sk-preview-container { display: none; margin-top: 8px; }
.sk-preview-container .sk-preview-label { font-size: .85em; font-weight: 700; color: #666; }
.sk-canvas-preview { border: 1px solid #ccc; max-width: 160px; border-radius: 4px; }

/* ---------- Modale ---------- */
.sk-modal-overlay {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,.65);
	backdrop-filter: blur(5px);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}
.sk-modal-overlay.active { opacity: 1; pointer-events: auto; }
.sk-modal-card {
	background: #fff;
	border-radius: 14px;
	padding: 24px 28px;
	max-width: 460px;
	width: 90%;
	box-shadow: 0 20px 40px rgba(0,0,0,.25);
	transform: translateY(12px);
	transition: transform .25s ease;
	font-family: inherit;
	color: #333;
}
.sk-modal-overlay.active .sk-modal-card { transform: translateY(0); }
.sk-modal-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sk-modal-icon { font-size: 1.8rem; line-height: 1; }
.sk-modal-header h3 { margin: 0; font-size: 1.2rem; font-weight: 700; color: #222; }
.sk-modal-body { font-size: .95rem; line-height: 1.5; color: #444; margin-bottom: 22px; }
.sk-modal-footer { text-align: right; }
.sk-modal-btn {
	background: #5e7d4f;
	color: #fff;
	border: none;
	padding: 10px 24px;
	border-radius: 999px;
	font-weight: 600;
	font-size: .95em;
	cursor: pointer;
	transition: background .2s, transform .1s;
}
.sk-modal-btn:hover { background: #4b663e; }

