/* Registration type templates section on Settings → Registration */

/* Loading and empty state (box styling - matches registration types on event) */
.evge-registration-type-templates-settings-wrap .evge-registration-type-templates-list .evge-inline-list-empty-state {
	padding: 20px;
	background: #f9f9f9;
	border: 1px dashed #ccc;
	border-radius: 4px;
	text-align: center;
	color: #666;
	margin-bottom: 12px;
	max-width: 1000px;
}

.evge-registration-type-templates-settings-wrap .evge-registration-type-templates-list .evge-templates-error {
	padding: 20px;
	background: #f9f9f9;
	border: 1px dashed #ccc;
	border-radius: 4px;
	text-align: center;
	color: #666;
	margin-bottom: 12px;
}

/* Template form card (matches evge-inline-card: border, background, padding) */
.evge-registration-type-templates-settings-wrap .evge-template-form-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 15px;
	margin-bottom: 12px;
	max-width: 1000px;
}

.evge-registration-type-templates-settings-wrap .evge-template-form-title {
	margin-top: 0;
}
.evge-registration-type-templates-settings-wrap .evge-registration-type-template-form .evge-field {
	margin-bottom: 12px;
}
.evge-registration-type-templates-settings-wrap .evge-registration-type-template-form .evge-field label {
	display: block;
	margin-bottom: 4px;
	font-weight: 400;
}
.evge-registration-type-templates-settings-wrap .evge-template-form-actions {
	margin-top: 12px;
}
.evge-registration-type-templates-settings-wrap .evge-template-form-actions .button {
	min-height: 40px;
	box-sizing: border-box;
}
.evge-registration-type-templates-settings-wrap .evge-template-form-actions .button + .button {
	margin-left: 8px;
}
.evge-registration-type-templates-settings-wrap .evge-registration-type-templates-list {
	margin-bottom: 20px;
}
.evge-registration-type-templates-settings-wrap .evge-registration-type-templates-list .wp-list-table {
	margin-top: 8px;
}

.evge-registration-type-templates-settings-wrap .evge-template-name {
	font-weight: 600;
}

/* Icon-only action buttons with hover tooltip (match calendars list) */
.evge-registration-type-templates-settings-wrap .evge-registration-type-templates-list .evge-template-actions .evge-tooltip-wrap.evge-button-tooltip {
	display: inline-block;
	vertical-align: middle;
	position: relative;
}
.evge-registration-type-templates-settings-wrap .evge-registration-type-templates-list .evge-template-actions .evge-button-tooltip .evge-tooltip {
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	margin-bottom: 8px;
	min-width: 0;
	width: auto;
	white-space: nowrap;
}
.evge-registration-type-templates-settings-wrap .evge-registration-type-templates-list .evge-template-actions .evge-button-tooltip .evge-tooltip::after {
	bottom: -10px;
	left: 50%;
	margin-left: -5px;
}
.evge-registration-type-templates-settings-wrap .evge-registration-type-templates-list .evge-button-tooltip .evge-admin-secondary-button {
	padding: 4px 8px;
	min-height: 0;
}
.evge-registration-type-templates-settings-wrap .evge-registration-type-templates-list .evge-button-tooltip .evge-icon-text svg {
	width: 16px;
	height: 16px;
	display: block;
}
