/* LatePoint Recipe Extras — Attendees split step (v1.2.0) */

.lp-attendees-split-step {
	padding: 4px 0;
}

.lp-attendees-split-step .lp-as-intro {
	margin-bottom: 24px;
}

.lp-attendees-split-step .lp-as-sub {
	color: rgba(0, 0, 0, 0.6);
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.lp-attendees-split-step .lp-as-counters {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 20px;
}

.lp-attendees-split-step .lp-as-counter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 16px;
	background: #fff;
}

.lp-attendees-split-step .lp-as-counter-label {
	font-size: 16px;
	font-weight: 600;
	color: #111827;
}

.lp-attendees-split-step .lp-as-counter-controls {
	display: flex;
	align-items: center;
	gap: 14px;
}

.lp-attendees-split-step .lp-as-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: #fff;
	color: #111827;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.lp-attendees-split-step .lp-as-btn:hover:not(:disabled) {
	background: rgba(0, 0, 0, 0.04);
	border-color: rgba(0, 0, 0, 0.2);
}

.lp-attendees-split-step .lp-as-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.lp-attendees-split-step .lp-as-counter-num,
.latepoint-step-content[data-step-code="booking__attendees_split"] .lp-as-counter-num,
.latepoint-booking-form-element .lp-as-counter-num {
	display: inline-block !important;
	min-width: 32px !important;
	text-align: center !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	color: #111827 !important;
	font-variant-numeric: tabular-nums;
	visibility: visible !important;
	opacity: 1 !important;
	line-height: 36px !important;
}

.lp-attendees-split-step .lp-as-total-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	background: rgba(63, 168, 142, 0.08);
	border-radius: 12px;
	margin-top: 4px;
}

.lp-attendees-split-step .lp-as-total-label {
	font-size: 14px;
	font-weight: 500;
	color: rgba(0, 0, 0, 0.7);
}

.lp-attendees-split-step .lp-as-total-value {
	font-size: 16px;
	font-weight: 700;
	color: #3FA88E;
}

/* Dark theme */

.latepoint-bg-dark .lp-attendees-split-step .lp-as-counter,
.latepoint-style-dark .lp-attendees-split-step .lp-as-counter {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.10);
}

.latepoint-bg-dark .lp-attendees-split-step .lp-as-counter-label,
.latepoint-style-dark .lp-attendees-split-step .lp-as-counter-label,
.latepoint-bg-dark .lp-attendees-split-step .lp-as-counter-num,
.latepoint-style-dark .lp-attendees-split-step .lp-as-counter-num {
	color: #f3f4f6;
}

.latepoint-bg-dark .lp-attendees-split-step .lp-as-sub,
.latepoint-style-dark .lp-attendees-split-step .lp-as-sub {
	color: rgba(255, 255, 255, 0.6);
}

.latepoint-bg-dark .lp-attendees-split-step .lp-as-btn,
.latepoint-style-dark .lp-attendees-split-step .lp-as-btn {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.16);
	color: #f3f4f6;
}

.latepoint-bg-dark .lp-attendees-split-step .lp-as-btn:hover:not(:disabled),
.latepoint-style-dark .lp-attendees-split-step .lp-as-btn:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.12);
}

.latepoint-bg-dark .lp-attendees-split-step .lp-as-total-row,
.latepoint-style-dark .lp-attendees-split-step .lp-as-total-row {
	background: rgba(63, 168, 142, 0.18);
}

.latepoint-bg-dark .lp-attendees-split-step .lp-as-total-label,
.latepoint-style-dark .lp-attendees-split-step .lp-as-total-label {
	color: rgba(255, 255, 255, 0.7);
}
