/* Registration Types panel - uses evge-inline-cards-admin for card layout */
.evge-field .evge-reg-type-status-select {
	width: auto;
	min-width: 40px;
}

.evge-reg-type-remove-button {
	position: absolute;
	right: 12px;
	bottom: 12px;
}

.evge-reg-type-remove-button svg {
	height: 15px;
	width: 15px;
	color: #d63638;
}

.evge-reg-type-remove-button:hover svg {
	color: #b32d2e;
}

/* Disabled remove (last type when registration enabled) – grayed icon, tooltip on hover */
.evge-reg-type-remove-disabled {
	cursor: not-allowed;
	opacity: 0.5;
	pointer-events: auto;
}
.evge-reg-type-remove-disabled svg {
	color: #999 !important;
}
.evge-reg-type-remove-disabled:hover svg {
	color: #999 !important;
}

.evge-registration-type-sold-notice {
	margin-top: 8px;
	font-size: 12px;
	color: #666;
}
.evge-field .evge-toggle-setting label {
	margin-bottom: 0;
	line-height: 20px;
}
.evge-restrict-availability-wrap {
	margin-bottom: 10px;
}
.evge-registration-types-panel {
	max-width: 800px;
}
/* Uniform spacing for revealed type settings (custom price, capacity, timeline) */
.evge-reg-type-revealed-settings {
	margin-top: 6px;
	margin-bottom: 24px;
}

/* After adding a registration type: "Start from scratch" | "Add from template" + dropdown */
.evge-registration-type-add-choices {
	margin-top: 8px;
	margin-bottom: 12px;
	padding: 8px 12px;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
}
.evge-registration-type-add-choices .evge-registration-type-start-from-scratch,
.evge-registration-type-add-choices .evge-registration-type-show-template-dropdown,
.evge-registration-type-add-choices .evge-registration-type-template-cancel {
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	color: #2271b1;
	cursor: pointer;
	text-decoration: none;
	font-size: 13px;
}
.evge-registration-type-add-choices .evge-registration-type-start-from-scratch:hover,
.evge-registration-type-add-choices .evge-registration-type-show-template-dropdown:hover,
.evge-registration-type-add-choices .evge-registration-type-template-cancel:hover {
	color: #135e96;
	text-decoration: underline;
}
.evge-registration-type-add-choices .evge-add-choices-sep {
	color: #757575;
	margin: 0 6px;
}
.evge-registration-type-add-choices .evge-registration-type-template-select {
	margin-right: 8px;
	min-width: 180px;
	vertical-align: middle;
}
.evge-registration-type-add-choices .evge-registration-type-template-cancel {
	margin-left: 4px;
}

/* Registration types: drag handle position + summary flex (shared sortable styles in evge-admin-common.css) */
.evge-registration-type-header .evge-drag-handle {
	margin: -6px 8px -6px -4px;
}
.evge-registration-type-header .evge-registration-type-summary {
	flex: 1;
	min-width: 0;
	margin-left: 0;
}
.evge-registration-types-list .evge-sortable-placeholder {
	margin-bottom: 12px;
}

/* Free tier: registration types upsell preview (mirrors Standard UI; locks open Pro modal) */
.evge-registration-types-upsell-panel .evge-field {
	position: relative;
	padding-right: 36px;
}
.evge-registration-types-upsell-panel .evge-upsell-registration-type-lock {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: none;
	background: transparent;
	color: #787c82;
	cursor: pointer;
	border-radius: 4px;
}
.evge-registration-types-upsell-panel .evge-upsell-registration-type-lock:hover,
.evge-registration-types-upsell-panel .evge-upsell-registration-type-lock:focus {
	color: #2271b1;
	background: rgba(0, 0, 0, 0.04);
}
.evge-registration-types-upsell-panel .evge-upsell-fake-toggle .evge-settings-toggle-wrap {
	pointer-events: none;
	opacity: 0.72;
}

.evge-registration-types-upsell-panel .evge-admin-secondary-button .evge-upsell-pro-badge {
	margin-left: 0;
	pointer-events: none;
}