/**
 * WTE Business Card — Customizer Controls CSS
 */

/* ── Range Control ──────────────────── */
.wte-range-control__row {
	display: flex;
	align-items: center;
	gap: 12px;
}
.wte-range-control__slider {
	flex: 1;
	-webkit-appearance: none;
	height: 4px;
	background: #ddd;
	border-radius: 2px;
	outline: none;
}
.wte-range-control__slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #0073aa;
	cursor: pointer;
}
.wte-range-control__value {
	min-width: 40px;
	text-align: center;
	font-weight: 600;
	font-size: 13px;
	color: #555;
}

/* ── Toggle Control ─────────────────── */
.wte-toggle-control__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.wte-toggle {
	position: relative;
	display: inline-block;
}
.wte-toggle__input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.wte-toggle__track {
	display: block;
	width: 44px;
	height: 24px;
	background: #ccc;
	border-radius: 12px;
	cursor: pointer;
	transition: background 0.2s;
	position: relative;
}
.wte-toggle__thumb {
	display: block;
	width: 20px;
	height: 20px;
	background: #fff;
	border-radius: 50%;
	position: absolute;
	top: 2px;
	left: 2px;
	transition: transform 0.2s;
	box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.wte-toggle__input:checked + .wte-toggle__track {
	background: #0073aa;
}
.wte-toggle__input:checked + .wte-toggle__track .wte-toggle__thumb {
	transform: translateX(20px);
}
.wte-toggle__input:focus-visible + .wte-toggle__track {
	outline: 2px solid #0073aa;
	outline-offset: 2px;
}

/* ── Separator ──────────────────────── */
.wte-customizer-separator {
	border: none;
	border-top: 1px solid #ddd;
	margin: 16px 0;
}

/* ── Email / Tel ────────────────────── */
.wte-email-input,
.wte-tel-input {
	width: 100%;
	padding: 6px 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 13px;
}
.wte-email-input:focus,
.wte-tel-input:focus {
	border-color: #0073aa;
	outline: none;
	box-shadow: 0 0 0 1px #0073aa;
}

/* ── Icon Select ────────────────────── */
.wte-icon-select {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}
.wte-icon-select__item {
	cursor: pointer;
}
.wte-icon-select__item input {
	position: absolute;
	opacity: 0;
}
.wte-icon-select__preview {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 2px solid #ddd;
	border-radius: 6px;
	font-size: 14px;
	transition: all 0.15s;
}
.wte-icon-select__item.is-active .wte-icon-select__preview,
.wte-icon-select__item input:checked + .wte-icon-select__preview {
	border-color: #0073aa;
	background: #f0f6fc;
}
