.sonnenscore-widget {
	max-width: 640px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #222;
}

.sonnenscore-form {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sonnenscore-form h3 {
	margin-top: 0;
	color: #F39200; /* Sonnenkaufhaus Orange */
}

.ss-logo {
	text-align: center;
	margin-bottom: 16px;
}

.ss-logo img {
	max-width: 260px;
	height: auto;
}

.ss-section-title {
	margin: 22px 0 12px;
	padding-top: 12px;
	border-top: 1px solid #eee;
	color: #4CAF50; /* Sonnenkaufhaus Grün */
	font-size: 15px;
}

.ss-row {
	display: flex;
	gap: 14px;
}

.ss-row .ss-field {
	flex: 1;
}

.ss-field-small {
	max-width: 110px;
	flex: 0 0 110px !important;
}

.ss-consent label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 400;
	font-size: 13px;
	color: #555;
	cursor: pointer;
}

.ss-consent input[type="checkbox"] {
	width: auto;
	margin-top: 2px;
	flex-shrink: 0;
}

.ss-field {
	margin-bottom: 16px;
}

.ss-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 14px;
}

.ss-field select,
.ss-field input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 8px;
	font-size: 14px;
	box-sizing: border-box;
}

.ss-submit {
	background: #4CAF50; /* Sonnenkaufhaus Grün */
	color: #fff;
	border: none;
	padding: 12px 24px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
	transition: background 0.2s ease;
}

.ss-submit:hover {
	background: #3d8b40;
}

.ss-submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.sonnenscore-result {
	margin-top: 24px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	padding: 28px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.ss-score-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 20px;
}

.ss-score-badge {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	color: #fff;
	font-weight: 700;
	flex-shrink: 0;
}

.ss-score-badge .ss-klasse {
	font-size: 26px;
	line-height: 1;
}

.ss-score-badge .ss-punktzahl {
	font-size: 11px;
	font-weight: 400;
	margin-top: 2px;
}

.ss-score-header h4 {
	margin: 0 0 4px 0;
}

.ss-kategorien {
	margin: 20px 0;
}

.ss-kategorie-zeile {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
	font-size: 13px;
}

.ss-kategorie-name {
	width: 110px;
	flex-shrink: 0;
	font-weight: 600;
	color: #555;
}

.ss-kategorie-bar-track {
	flex: 1;
	background: #eee;
	border-radius: 6px;
	height: 10px;
	overflow: hidden;
}

.ss-kategorie-bar-fill {
	background: #F39200;
	height: 100%;
	border-radius: 6px;
}

.ss-kategorie-label {
	width: 190px;
	flex-shrink: 0;
	color: #777;
	text-align: right;
}

.ss-fahrplan h4 {
	color: #F39200;
	border-bottom: 2px solid #F39200;
	padding-bottom: 8px;
}

.ss-massnahme {
	display: flex;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid #eee;
	align-items: flex-start;
}

.ss-massnahme:last-child {
	border-bottom: none;
}

.ss-prio {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #4CAF50;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	flex-shrink: 0;
}

.ss-massnahme-text strong {
	display: block;
	margin-bottom: 3px;
}

.ss-massnahme-meta {
	font-size: 12px;
	color: #777;
}

.ss-kosten {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	margin-left: 6px;
}

.ss-kosten-hoch { background: #FDE8E8; color: #C62828; }
.ss-kosten-mittel { background: #FFF3E0; color: #EF6C00; }
.ss-kosten-niedrig { background: #E8F5E9; color: #2E7D32; }

.ss-loading {
	text-align: center;
	padding: 20px;
	color: #777;
}

.ss-error {
	background: #FDE8E8;
	color: #C62828;
	padding: 14px;
	border-radius: 8px;
}

.ss-pdf-button {
	display: inline-block;
	margin-top: 18px;
	background: #F39200;
	color: #fff;
	border: none;
	padding: 12px 22px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.ss-pdf-button:hover {
	background: #d97f00;
}
