.vc-camp {
	width: 100%;
	max-width: 100%;
	margin: 0 0 2em;
	box-sizing: border-box;
}

.vc-camp__meta {
	list-style: none;
	margin: 1em 0;
	padding: 0;
}
.vc-camp__meta-item {
	margin-bottom: 0.4em;
}

.vc-notice {
	padding: 12px 16px;
	border-radius: 4px;
	margin: 1em 0;
}
.vc-notice--success { background: #e7f7ec; border: 1px solid #b4e4c4; color: #1a7a3a; }
.vc-notice--error { background: #fdeaea; border: 1px solid #f3b6b6; color: #a02a2a; }
.vc-notice--info { background: #eef3f8; border: 1px solid #c3d6e8; color: #2a4d6e; }

.vc-signup-form .vc-field {
	margin-bottom: 1.1em;
}
.vc-signup-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.3em;
}
.vc-signup-form input[type="text"],
.vc-signup-form input[type="email"],
.vc-signup-form input[type="tel"],
.vc-signup-form input[type="number"],
.vc-signup-form input[type="date"],
.vc-signup-form select,
.vc-signup-form textarea {
	width: 100%;
	max-width: 420px;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
}
.vc-signup-form textarea {
	min-height: 90px;
}

.vc-signup-form fieldset.vc-field {
	border: none;
	margin: 0;
	padding: 0;
}
.vc-signup-form legend {
	font-weight: 600;
	margin-bottom: 0.3em;
	padding: 0;
	width: 100%;
}

.vc-required { color: #a02a2a; }

.vc-field__help {
	display: block;
	font-size: 0.85em;
	color: #666;
	font-weight: 400;
	margin-bottom: 0.3em;
}

.vc-field--error input,
.vc-field--error select,
.vc-field--error textarea {
	border-color: #dc3232;
}
.vc-error-msg {
	display: block;
	color: #dc3232;
	font-size: 0.85em;
	margin-top: 0.2em;
}

.vc-radio-option,
.vc-checkbox-option {
	font-weight: 400;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-right: 1em;
}

.vc-signup-form button[type="submit"] {
	padding: 10px 22px;
	border: none;
	border-radius: 4px;
	background: #2271b1;
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}
.vc-signup-form button[type="submit"]:hover {
	background: #135e96;
}

/* Übersicht */
.vc-camps-overview {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}
.vc-overview__title {
	margin-top: 10px;
}
.vc-camp-table-wrap {
	overflow-x: auto;
	margin: 1em 0 1.6em;
}

.vc-camp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.98em;
}

.vc-camp-table thead th {
	text-align: left;
	padding: 12px 14px;
	font-weight: 600;
	border-bottom: 2px solid currentColor;
	opacity: 0.85;
	white-space: nowrap;
}

.vc-camp-table tbody td {
	padding: 12px 14px;
	border-bottom: 1px solid currentColor;
	border-bottom-color: color-mix( in srgb, currentColor 12%, transparent );
	vertical-align: middle;
}

.vc-camp-table tbody tr {
	transition: background-color 0.15s ease;
}

.vc-camp-table tbody tr:hover {
	background-color: color-mix( in srgb, currentColor 5%, transparent );
}

.vc-camp-table__name {
	font-weight: 600;
	text-decoration: none;
}
.vc-camp-table__name:hover {
	text-decoration: underline;
}
.vc-only-for-you-note {
	display: inline-block;
	font-size: 0.8em;
	font-style: italic;
	opacity: 0.75;
}

.vc-camp-table__action {
	text-align: right;
	white-space: nowrap;
}

.vc-pill {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.82em;
	font-weight: 600;
	border: 1px solid currentColor;
}
.vc-pill--published {
	color: #1a7a3a;
	border-color: color-mix( in srgb, #1a7a3a 45%, transparent );
	background: color-mix( in srgb, #1a7a3a 10%, transparent );
}
.vc-pill--closed {
	color: #a02a2a;
	border-color: color-mix( in srgb, #a02a2a 45%, transparent );
	background: color-mix( in srgb, #a02a2a 10%, transparent );
}

.vc-button--small {
	padding: 6px 14px;
	font-size: 0.9em;
}

/* Fallback für Browser ohne color-mix()-Unterstützung: sichtbare, dezente Trennlinien/Hover behalten */
@supports not (color: color-mix(in srgb, red 10%, transparent)) {
	.vc-camp-table tbody td { border-bottom-color: rgba(128, 128, 128, 0.25); }
	.vc-camp-table tbody tr:hover { background-color: rgba(128, 128, 128, 0.08); }
}

/* Responsive: auf schmalen Bildschirmen als Karten statt Tabelle darstellen */
@media (max-width: 640px) {
	.vc-camp-table thead {
		display: none;
	}
	.vc-camp-table, .vc-camp-table tbody, .vc-camp-table tr, .vc-camp-table td {
		display: block;
		width: 100%;
	}
	.vc-camp-table tr {
		border: 1px solid color-mix( in srgb, currentColor 15%, transparent );
		border-radius: 8px;
		margin-bottom: 12px;
		padding: 4px 0;
	}
	.vc-camp-table td {
		border-bottom: none;
		padding: 6px 14px;
		display: flex;
		justify-content: space-between;
		gap: 12px;
	}
	.vc-camp-table td[data-label]:not([data-label=""])::before {
		content: attr(data-label);
		font-weight: 600;
		opacity: 0.7;
	}
	.vc-camp-table__action {
		justify-content: flex-end;
	}
}

.vc-back-link {
	margin-bottom: 1em;
}

/* Meine Anmeldungen */
.vc-my-signups__table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1em;
}
.vc-my-signups__table th,
.vc-my-signups__table td {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid #e2e2e2;
}
.vc-link-button {
	background: none;
	border: none;
	color: #a02a2a;
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
	font-size: 0.9em;
}
.vc-withdraw-form {
	display: inline;
}

/* Login-Hinweis */
.vc-login-prompt {
	padding: 16px;
	border: 1px solid #c3d6e8;
	background: #eef3f8;
	border-radius: 6px;
	max-width: 360px;
}
.vc-login-prompt p.login-remember,
.vc-login-prompt p.login-submit {
	margin: 0.6em 0;
}

/* Manager-Bereich (nur für zugewiesene Betreuer:innen) */
.vc-manage-section {
	margin-top: 2em;
	padding-top: 1.5em;
	border-top: 2px dashed #ccc;
}

.vc-description-form {
	margin-bottom: 1.5em;
}
.vc-description-textarea {
	width: 100%;
	max-width: 100%;
	min-height: 140px;
	padding: 10px;
	border: 1px solid color-mix( in srgb, currentColor 20%, transparent );
	border-radius: 4px;
	box-sizing: border-box;
	font-family: inherit;
	margin-bottom: 0.4em;
}
.vc-manage-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-top: 0.5em;
	border: 1px solid color-mix( in srgb, currentColor 12%, transparent );
	border-radius: 6px;
}
.vc-manage-table {
	width: 100%;
	min-width: 720px;
	border-collapse: collapse;
	margin-top: 0;
}
.vc-manage-table th,
.vc-manage-table td {
	text-align: left;
	padding: 8px 12px;
	border-bottom: 1px solid color-mix( in srgb, currentColor 10%, transparent );
	font-size: 0.92em;
	vertical-align: top;
	max-width: 260px;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
}
.vc-button {
	display: inline-block;
	padding: 8px 16px;
	background: #ffffff;
	border-color: #c69c53 !important;
	border: 2px solid #c69c53 !important;
	color: #c69c53 !important;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
}
.vc-button:hover {
	background: #c69c53;
	color: #ffffff !important;
}

.vc-role-capacity {
	font-size: 0.85em;
	color: #666;
	font-weight: 400;
}
.vc-radio-option--full {
	opacity: 0.6;
}

.vc-debug-details {
	margin-top: 10px;
	font-size: 0.85em;
}
.vc-debug-details summary {
	cursor: pointer;
	font-weight: 600;
}
.vc-debug-details pre {
	background: rgba(0, 0, 0, 0.05);
	padding: 10px;
	overflow-x: auto;
	border-radius: 4px;
}

/* Öffentliche Teilnehmerliste (nur Namen) */
.vc-participant-list {
	margin: 1.4em 0;
	padding: 12px 16px;
	border: 1px solid color-mix( in srgb, currentColor 15%, transparent );
	border-radius: 6px;
}
.vc-participant-list h3 {
	margin-top: 0;
}
.vc-participant-list__names {
	columns: 2;
	margin: 0;
	padding-left: 1.2em;
}
@media (max-width: 480px) {
	.vc-participant-list__names { columns: 1; }
}
.vc-participant-list__names li {
	break-inside: avoid;
}
.vc-participant-list__self {
	font-weight: 600;
}
.vc-participant-list__you {
	font-weight: 400;
	font-size: 0.85em;
	opacity: 0.7;
}
.vc-participant-list .vc-withdraw-form {
	display: inline;
	margin-left: 6px;
}

/* Rollen als Anmelde-Links */
.vc-role-links__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.vc-role-links__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px;
	border: 1px solid color-mix( in srgb, currentColor 15%, transparent );
	border-radius: 6px;
	margin-bottom: 8px;
}
.vc-role-links__item--full {
	opacity: 0.65;
}
.vc-role-links__name {
	font-weight: 600;
	margin-right: auto;
}
.vc-role-links__name--link {
	text-decoration: none;
	/*color: #2271b1;*/
}
.vc-role-links__name--link:hover {
	text-decoration: underline;
}
.vc-change-role-link {
	font-size: 0.9em;
}

/* Eigene Anmeldung ansehen/bearbeiten */
.vc-own-signup {
	margin: 1.4em 0;
	padding: 14px 16px;
	border: 1px solid color-mix( in srgb, currentColor 15%, transparent );
	border-radius: 6px;
}
.vc-own-signup h3 {
	margin-top: 0;
}
.vc-own-signup__details {
	margin: 0 0 1em;
}
.vc-own-signup__details dt {
	font-weight: 600;
	margin-top: 0.6em;
}
.vc-own-signup__details dd {
	margin: 0.1em 0 0;
}
.vc-own-signup__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
}
.vc-cancel-edit-link {
	font-size: 0.9em;
}
