/* Dynamic price rules (discount codes) */
.dynamic-price-rules {
	margin-top: 24px;
	padding: 0;
	background: #fafafa;
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	overflow: hidden;
}
.dynamic-price-rules-header {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	background: linear-gradient(135deg, rgba(202, 6, 77, 0.08) 0%, rgba(202, 6, 77, 0.03) 100%);
	border-left: 4px solid #ca064d;
	font-weight: 600;
	font-size: 15px;
	color: #333;
}
.dynamic-price-rules-header .mdi {
	font-size: 22px;
	color: #ca064d;
}
.dynamic-price-section {
	padding: 20px 20px 16px;
}
.dynamic-price-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
	font-weight: 600;
	font-size: 14px;
	color: #444;
}
.dynamic-price-section-title .mdi {
	font-size: 20px;
	color: #ca064d;
	opacity: 0.9;
}
.dynamic-price-hint {
	margin: 0 0 12px 0 !important;
	font-size: 12px;
	line-height: 1.4;
	color: rgba(0, 0, 0, 0.6);
}
.dynamic-price-divider {
	margin: 0 20px !important;
	border-top-color: rgba(0, 0, 0, 0.06) !important;
}
.dynamic-price-subsection {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px dashed rgba(0, 0, 0, 0.08);
}
.dynamic-price-subsection:first-of-type {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}
.dynamic-price-label {
	display: block;
	margin-bottom: 6px;
	font-weight: 500;
	font-size: 13px;
	color: #555;
}
.dynamic-price-days-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-bottom: 6px;
}
.dynamic-price-day-item {
	margin: 0;
}
.dynamic-price-row {
	margin-top: 4px;
}

/* Dynamic price conditions in list table */
.dynamic-price-table-conditions {
	margin-top: 8px;
	padding: 8px 10px;
	background: rgba(202, 6, 77, 0.05);
	border-radius: 6px;
	border-left: 3px solid #ca064d;
}
.dynamic-price-conditions-header {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: #ca064d;
	margin-bottom: 6px;
}
.dynamic-price-conditions-header .mdi {
	font-size: 16px;
}
.dynamic-price-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
}
.dynamic-price-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px 6px;
	padding: 3px 8px;
	background: #fff;
	border-radius: 4px;
	font-size: 11px;
	line-height: 1.3;
	box-shadow: 0 1px 2px rgba(0,0,0,0.06);
	border: 1px solid rgba(0,0,0,0.06);
}
.dynamic-price-chip .mdi {
	font-size: 14px;
	color: #ca064d;
	opacity: 0.85;
}
.dynamic-price-chip-label {
	color: rgba(0,0,0,0.55);
	white-space: nowrap;
}
.dynamic-price-chip-value {
	font-weight: 600;
	color: #333;
}
.dynamic-price-chip.dynamic-price-chip-empty {
	background: transparent;
	box-shadow: none;
	border: none;
	color: rgba(0,0,0,0.45);
	font-style: italic;
}
.dynamic-price-chip.dynamic-price-chip-empty .mdi {
	display: none;
}
.dynamic-price-table-conditions .departure-time-only {
	font-variant-numeric: tabular-nums;
}

/* Badge add/sub in colonna discount (dynamic price) */
.discount-type-badge {
	display: inline-block;
	min-width: 1.4em;
	height: 1.4em;
	line-height: 1.35;
	text-align: center;
	font-weight: 700;
	font-size: 14px;
	border-radius: 4px;
	margin-right: 6px;
}
.discount-type-badge.discount-type-add {
	background: rgba(76, 175, 80, 0.2);
	color: #2e7d32;
}
.discount-type-badge.discount-type-sub {
	background: rgba(244, 67, 54, 0.2);
	color: #c62828;
}

/* Fascia partenza: solo ora, senza data */
.departure-time-only {
	display: inline-block;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	letter-spacing: 0.02em;
}
