/* Stuhloase – Konfiguration in den Formularen #support-form-1 (Angebot) und #support-form-3 (Musterstuhl)
   Gehört zu /js/angebot-konfiguration.js (Version 4: Etiketten + Overlay-Karte). */

#support-form-1 [hidden],
#support-form-3 [hidden],
.ak-pop[hidden] { display: none !important; }

.ak-box { position: relative; margin-bottom: 15px; }

/* Button-Reset (die Seite stylt button global) */
.ak-box button,
.ak-pop button {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 3px;
	box-shadow: none;
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.3;
	cursor: pointer;
}
.ak-box button:focus-visible,
.ak-pop button:focus-visible { outline: 2px solid #f7941e; outline-offset: 2px; }

/* Kopfzeile: "Ihre Auswahl (wird mitgesendet)   ändern · entfernen" */
.ak-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 4px 10px;
	margin-bottom: 8px;
}
.ak-head-label { color: #4a4a4a; }
.ak-status-on,
.ak-status-off { color: #5a5a5a; }
.ak-actions { display: inline-flex; align-items: baseline; gap: 6px; font-size: 12px; }
.ak-sep { color: #bbb; }
.ak-edit,
.ak-exclude {
	padding: 2px 0 !important;
	font-size: 12px;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.ak-edit { color: #b8650a !important; font-weight: 500; }
.ak-exclude { color: #5a5a5a !important; }
.ak-edit:hover { color: #8a4a05 !important; }
.ak-exclude:hover { color: #333 !important; }

/* Etiketten der geänderten Optionen */
.ak-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ak-chip {
	max-width: 100%;
	padding: 5px 11px !important;
	border-radius: 999px !important;
	background: #e8f5e9 !important;
	color: #1b5e20 !important;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.ak-chip:hover { background: #d7eed9 !important; }
.ak-chip-std { background: #f0f0f0 !important; color: #444 !important; font-weight: 500; }
.ak-chip-std:hover { background: #e6e6e6 !important; }
.ak-more {
	padding: 4px 2px !important;
	font-size: 12px;
	color: #5a5a5a !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.ak-more:hover { color: #333 !important; }

/* Overlay-Karte: hängt per Script direkt am <body>, Position setzt das Script (position: fixed) */
.ak-pop {
	position: fixed;
	z-index: 10000;
	width: 380px;
	max-height: 70vh;
	overflow: auto;
	box-sizing: border-box;
	padding: 12px 14px 14px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
	font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-align: left;
	color: #333;
}
.ak-pop-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 4px;
	font-size: 13px;
}
.ak-pop-head strong { font-weight: 600; color: #333; }
.ak-pop-close {
	width: 32px;
	height: 32px;
	margin-right: -8px !important;
	color: #555 !important;
	font-size: 20px;
	line-height: 1 !important;
}
.ak-pop-close:hover { background: #f2f2f2 !important; }
.ak-pop-rows { display: flex; flex-direction: column; }
.ak-pop-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding: 6px 0;
	border-bottom: 1px solid #f0f0f0;
	font-size: 12px;
}
.ak-pop-title { color: #5a5a5a; flex: 0 1 48%; }
.ak-pop-value { color: #333; text-align: right; flex: 0 1 52%; word-break: break-word; }
.ak-pop-row.ak-changed .ak-pop-title,
.ak-pop-row.ak-changed .ak-pop-value { color: #1b5e20; }
.ak-pop-row.ak-changed .ak-pop-value { font-weight: 600; }
.ak-pop-edit {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	margin-top: 10px !important;
	padding: 8px 12px !important;
	border: 1px solid #b8650a !important;
	color: #b8650a !important;
	font-size: 12px;
	font-weight: 600;
}
.ak-pop-edit:hover { background: #fdf1e2 !important; }
.ak-icon { flex: none; }

/* "entfernen" gewählt */
.ak-card-off {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 6px 6px 12px;
	border: 2px dashed #ddd;
	border-radius: 3px;
	background: #fff;
}
.ak-off-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #4a4a4a; }
.ak-off-text strong { font-size: 13px; font-weight: 600; color: #333; }
.ak-include {
	flex: none;
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 10px !important;
	font-size: 12px;
	font-weight: 600;
	color: #b8650a !important;
}
.ak-include:hover { color: #8a4a05 !important; background: #fdf1e2 !important; }

