/* Aureline — Customizer control styling (polished native controls) */

/* Subheading separators */
.aureline-control-heading {
	margin: 22px -12px 6px;
	padding: 10px 12px 0;
	border-top: 1px solid #dcdcde;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #50575e;
}

li:first-child .aureline-control-heading {
	margin-top: 4px;
	border-top: 0;
}

/* Toggle switch */
.aureline-toggle-label {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	cursor: pointer;
}

.aureline-toggle-label .customize-control-title {
	margin-bottom: 0;
}

.aureline-toggle-switch {
	position: relative;
	flex: 0 0 auto;
	width: 38px;
	height: 22px;
}

.aureline-toggle-switch input {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	cursor: pointer;
	z-index: 2;
}

.aureline-toggle-track {
	position: absolute;
	inset: 0;
	background: #c3c4c7;
	border-radius: 999px;
	transition: background 0.15s ease;
}

.aureline-toggle-thumb {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	background: #ffffff;
	border-radius: 50%;
	transition: transform 0.15s ease;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.aureline-toggle-switch input:checked + .aureline-toggle-track {
	background: #e86a00;
}

.aureline-toggle-switch input:checked + .aureline-toggle-track .aureline-toggle-thumb {
	transform: translateX(16px);
}

.aureline-toggle-switch input:focus-visible + .aureline-toggle-track {
	outline: 2px solid #e86a00;
	outline-offset: 2px;
}

/* Range with value readout */
.aureline-range-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 6px;
}

.aureline-range-input {
	flex: 1 1 auto;
	accent-color: #e86a00;
	cursor: pointer;
}

.aureline-range-value {
	flex: 0 0 auto;
	min-width: 58px;
	text-align: center;
	background: #f0f0f1;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 3px 8px;
	font-size: 12px;
	font-weight: 600;
	color: #1d2327;
	font-variant-numeric: tabular-nums;
}

/* Segmented buttonset */
.aureline-buttonset {
	display: flex;
	margin-top: 6px;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	overflow: hidden;
}

.aureline-buttonset-option {
	flex: 1 1 0;
	position: relative;
	margin: 0;
}

.aureline-buttonset-option input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}

.aureline-buttonset-button {
	display: block;
	text-align: center;
	padding: 8px 10px;
	font-weight: 600;
	font-size: 13px;
	background: #ffffff;
	color: #50575e;
	border-left: 1px solid #c3c4c7;
	transition: background 0.12s ease, color 0.12s ease;
}

.aureline-buttonset-option:first-child .aureline-buttonset-button {
	border-left: 0;
}

.aureline-buttonset-option input:checked + .aureline-buttonset-button {
	background: #e86a00;
	color: #ffffff;
}

.aureline-buttonset-option input:focus-visible + .aureline-buttonset-button {
	outline: 2px solid #e86a00;
	outline-offset: -2px;
}

/* Font pairing preset tiles */
.aureline-presets {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 8px;
}

.aureline-preset-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 12px 8px 10px;
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.aureline-preset-tile:hover {
	border-color: #e86a00;
}

.aureline-preset-tile.active {
	border-color: #e86a00;
	background: #fff6ee;
	box-shadow: 0 0 0 1px #e86a00;
}

.aureline-preset-aa {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
	color: #1d2327;
}

.aureline-preset-name {
	font-size: 12px;
	font-weight: 600;
	color: #1d2327;
	text-align: center;
}

.aureline-preset-pair {
	font-size: 11px;
	color: #757575;
	text-align: center;
}

