.lyth-upload-field {
	margin: 20px 0;
}

/* ── Tab navigation ── */
.lyth-tabs {
	display: flex;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0 0 12px;
	flex-wrap: wrap;
}

.lyth-tab {
	margin: 0;
}

.lyth-tab__btn {
	display: inline-block;
	padding: 8px 18px;
	border: 2px solid #c8c8c8;
	border-radius: 50px;
	background: transparent;
	color: #555;
	font-size: 0.875em;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.15s, color 0.15s, background 0.15s;
	position: relative;
}

.lyth-tab__btn:hover {
	border-color: #111;
	color: #111;
}

.lyth-tab--active .lyth-tab__btn {
	border-color: #111;
	background: #111;
	color: #fff;
}

/* Error indicator on tab */
.lyth-tab__btn--error {
	border-color: #cc0000 !important;
	color: #cc0000 !important;
	background: transparent !important;
}

.lyth-tab--active .lyth-tab__btn--error {
	background: #cc0000 !important;
	color: #fff !important;
}

/* Done indicator (file selected) */
.lyth-tab__btn--done::after {
	content: ' ✓';
	opacity: 0.7;
}

/* ── Tab panels ── */
.lyth-tab-panel {
	display: block;
}

/* ── Single-slot label (no tabs) ── */
.lyth-upload-label {
	display: block;
	font-weight: 600;
	margin-bottom: 10px;
	font-size: 1em;
}

/* ── Drop zone container ── */
.lyth-drop-zone {
	position: relative;
	border: 2px dashed #c8c8c8;
	border-radius: 12px;
	padding: 28px 20px;
	text-align: center;
	background: #fafafa;
	transition: border-color 0.2s, background 0.2s;
	cursor: pointer;
}

.lyth-drop-zone:hover,
.lyth-drop-zone--over {
	border-color: #111;
	background: #f4f4f4;
}

.lyth-drop-zone--has-file {
	border-style: solid;
	border-color: #111;
	background: #fff;
}

/* Native input hidden but still functional */
.lyth-file-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 1;
}

/* ── Idle state ── */
.lyth-drop-zone__idle {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	pointer-events: none;
}

.lyth-upload-icon {
	color: #999;
}

.lyth-drop-zone__hint {
	color: #555;
	font-size: 0.9em;
}

.lyth-drop-zone__btn {
	display: inline-block;
	padding: 10px 24px;
	border: 2px solid #111;
	border-radius: 50px;
	background: transparent;
	color: #111;
	font-size: 0.9em;
	font-weight: 600;
	cursor: pointer;
	pointer-events: auto;
	transition: background 0.15s, color 0.15s;
	position: relative;
	z-index: 2;
}

.lyth-drop-zone__btn:hover {
	background: #111;
	color: #fff;
}

.lyth-drop-zone__types {
	font-size: 0.78em;
	color: #aaa;
	letter-spacing: 0.02em;
}

/* ── Selected state ── */
.lyth-drop-zone__selected {
	display: none;
	align-items: center;
	gap: 10px;
	justify-content: center;
}

.lyth-drop-zone--has-file .lyth-drop-zone__idle {
	display: none;
}

.lyth-drop-zone--has-file .lyth-drop-zone__selected {
	display: flex;
}

.lyth-file-icon {
	color: #555;
	flex-shrink: 0;
}

.lyth-file-name {
	font-size: 0.9em;
	font-weight: 600;
	color: #111;
	word-break: break-all;
}

.lyth-drop-zone__clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1.5px solid #ccc;
	border-radius: 50%;
	background: #fff;
	color: #555;
	cursor: pointer;
	flex-shrink: 0;
	transition: border-color 0.15s, color 0.15s;
	position: relative;
	z-index: 2;
}

.lyth-drop-zone__clear:hover {
	border-color: #cc0000;
	color: #cc0000;
}

/* ── Error ── */
.lyth-upload-error {
	display: block;
	color: #cc0000;
	font-size: 0.85em;
	margin-top: 8px;
	min-height: 1.2em;
}
