/**
 * Registration type selector — ticket-style options at form top
 */

.evge-registration-type-selector {
	margin-bottom: 24px;
}

.evge-registration-type-selector-label {
	margin: 0 0 0.75rem 0;
	font-weight: 600;
	font-size: 1rem;
}

.evge-registration-type-summary {
	margin: 0 0 0.5rem 0;
	font-size: 0.95rem;
	opacity: 0.9;
}

.evge-registration-type-summary .evge-registration-type-price {
	margin-left: 0.25rem;
}

/* Options list */
.evge-registration-type-options {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.evge-registration-type-option {
	border: 1px solid #CEE1EC;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

.evge-registration-type-option:not(.evge-registration-type-unavailable) {
	cursor: pointer;
}

.evge-registration-type-option.evge-registration-type-unavailable {
	opacity: 0.75;
	background: #f8f9fa;
	cursor: default;
}

.evge-registration-type-option-inner {
	padding: 0.875rem 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

/* Radio (none mode) */
.evge-registration-type-option-inner .evge-reg-type-radio {
	margin: 0.2rem 0 0 0;
	flex-shrink: 0;
}

.evge-registration-type-option-label {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem;
	cursor: pointer;
	flex: 1;
	min-width: 0;
}

.evge-registration-type-name {
	font-weight: 600;
	font-size: 1rem;
}

.evge-registration-type-price {
	color: #163A5D;
	font-weight: 500;
	font-size: 0.95rem;
}

.evge-registration-type-badge {
	font-size: 0.75rem;
	padding: 0.2em 0.5em;
	border-radius: 4px;
	background: #e9ecef;
	color: #495057;
}

.evge-registration-type-badge-sold_out {
	background: #f8d7da;
	color: #721c24;
}

.evge-registration-type-badge-disabled {
	background: #e2e3e5;
	color: #383d41;
}

.evge-registration-type-badge-not_on_sale_yet,
.evge-registration-type-badge-sales_ended {
	background: #fff3cd;
	color: #856404;
}

.evge-registration-type-description {
	margin: 0.25rem 0 0 0;
	width: 100%;
	font-size: 0.875rem;
	line-height: 1.4;
	color: #6c757d;
}

/* Simple count: type info + quantity row */
.evge-registration-type-option-inner.evge-registration-type-simple-count,
.evge-registration-type-option-inner.evge-registration-type-simple-count .evge-registration-type-info {
	align-items: center;
}

.evge-registration-type-option-inner .evge-registration-type-info {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	flex: 1;
	min-width: 0;
	min-height: 30px
}

.evge-registration-type-quantity-wrap {
	display: flex;
	align-items: center;
	gap: 0;
	flex-shrink: 0;
}

.evge-registration-type-quantity-wrap .evge-reg-type-qty-value {
	width: 3rem;
	height: 30px;
	text-align: center;
	border: 1px solid #CEE1EC;
	border-left: none;
	border-right: none;
	font-size: 1rem;
	-moz-appearance: textfield;
}

.evge-registration-type-quantity-wrap .evge-reg-type-qty-value::-webkit-outer-spin-button,
.evge-registration-type-quantity-wrap .evge-reg-type-qty-value::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.evge-registration-type-quantity-wrap .evge-counter-button {
	height: 30px;
	width: 36px;
	min-width: 36px;
	border: 1px solid #CEE1EC;
	background: #163A5D;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	user-select: none;
	border-radius: 0;
}

.evge-registration-type-quantity-wrap .evge-counter-button:first-child {
	border-radius: 5px 0 0 5px;
}

.evge-registration-type-quantity-wrap .evge-counter-button:last-child {
	border-radius: 0 5px 5px 0;
}

.evge-registration-type-quantity-wrap .evge-counter-button:hover {
	background: #1e4a73;
}

.evge-registration-type-quantity-wrap .evge-counter-button:active {
	background: #0f2d47;
}

.evge-registration-type-option.evge-registration-type-unavailable .evge-registration-type-quantity-wrap {
	display: none;
}
