/**
 * Event Genius - Shared inline card layout (registration types, scheduled emails, etc.)
 * Use classes: evge-inline-list, evge-inline-card, evge-inline-card-header, evge-inline-card-summary,
 * evge-inline-card-toggle, evge-inline-card-fields, evge-inline-card-remove, evge-inline-list-empty, evge-inline-list-empty-state.
 *
 * @package WPEventGenius
 */

.evge-inline-list {
	margin-bottom: 12px;
}

.evge-inline-card {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	margin-bottom: 12px;
	position: relative;
}

.evge-inline-card-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 15px;
	border-bottom: 1px solid #ddd;
}

.evge-inline-card-header h4 {
	margin: 0;
	font-size: 14px;
	font-weight: 600;
}

.evge-inline-card-summary {
	display: inline;
}

/* Registration type inline card: bold ticket name, normal font for the rest */
.evge-registration-type-summary.evge-inline-card-summary {
	font-weight: normal;
}
.evge-registration-type-summary.evge-inline-card-summary .evge-registration-type-name {
	font-weight: bold;
}

.evge-inline-card-toggle svg {
	width: 14px;
	height: 14px;
}

.evge-inline-card.evge-collapsed .evge-inline-card-fields {
	display: none;
}
.evge-inline-card-fields .evge-field label {
	font-weight: 400;
}
.evge-inline-card.evge-collapsed .evge-inline-card-toggle svg {
	transform: rotate(-90deg);
}

.evge-inline-card-fields {
	padding: 15px;
}

.evge-inline-card-fields .evge-field {
	margin-bottom: 12px;
}

.evge-inline-card-remove {
	display: inline-block;
	margin-top: 8px;
	color: #b32d2e;
}

.evge-inline-card-remove:hover {
	color: #d63638;
}

.evge-inline-list-empty {
	color: #646970;
	margin-bottom: 12px;
}

/* Shared empty state (no items yet) - used by registration types and scheduled emails */
.evge-inline-list-empty-state {
	padding: 20px;
	background: #f9f9f9;
	border: 1px dashed #ccc;
	border-radius: 4px;
	text-align: center;
	color: #666;
	margin-bottom: 12px;
}
