/**
 * VWT Events Frontend Styles
 *
 * @package VWT_Events
 */

/* =============================================
   EVENT PAGE (standalone /events/YYYYMMDD/)
   ============================================= */

.vwt-event-page {
	padding: 40px 0;
}

.vwt-event-page-inner {
	max-width: 800px;
	margin: 0 auto;
	padding: 30px;
	overflow: hidden;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	margin-top: 0;
	margin-bottom: 30px;
}

/* === Event Detail === */

.vwt-event-detail {
	line-height: 1.6;
	overflow: hidden;
}

.vwt-event-cancelled-banner {
	background-color: #f8d7da;
	color: #721c24;
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 20px;
}

.vwt-event-header {
	margin-bottom: 8px;
}

.vwt-event-cat-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
}

.vwt-event-title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 16px;
	color: #222;
}

/* === Meta-Zeile (Zeit, Türöffnung, Ort) === */

.vwt-event-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
	font-size: 15px;
	color: #555;
}

.vwt-event-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
}

.vwt-event-meta-icon {
	font-size: 16px;
}

/* === Event-Bilder === */

.vwt-event-images {
	margin-bottom: 28px;
}

.vwt-event-images-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.vwt-event-images-one {
	display: block;
}

.vwt-event-image {
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 1;
}

.vwt-event-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* === Beschreibung === */

.vwt-event-description {
	font-size: 16px;
	line-height: 1.75;
	color: #333;
	margin-bottom: 28px;
}

.vwt-event-description p {
	margin-bottom: 1em;
}

.vwt-event-description p:last-child {
	margin-bottom: 0;
}

/* === Aktionen === */

.vwt-event-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	padding-top: 20px;
	border-top: 1px solid #eee;
	margin-top: 8px;
}

.vwt-ical-link {
	font-size: 14px;
	text-decoration: none;
}

/* =============================================
   EVENT-LISTE (Programmseite)
   ============================================= */

.vwt-events-list-wrapper {
	max-width: 960px;
	margin: 0 auto;
}

/* === Kategorie-Filter === */

.vwt-events-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
}

.vwt-filter-btn {
	display: inline-block;
	padding: 6px 16px;
	border: 2px solid #ddd;
	border-radius: 24px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	color: #555;
	background: #fff;
	transition: all 0.2s;
}

.vwt-filter-btn:hover {
	border-color: var(--vwt-primary, #2c8c99);
	color: var(--vwt-primary, #2c8c99);
}

.vwt-filter-btn.active {
	background-color: var(--vwt-filter-color, var(--vwt-primary, #2c8c99));
	border-color: var(--vwt-filter-color, var(--vwt-primary, #2c8c99));
	color: #fff;
}

/* === iCal-Link oben === */

.vwt-events-ical-row {
	text-align: right;
	margin-bottom: 16px;
}

.vwt-events-ical-row .vwt-ical-link {
	font-size: 13px;
	color: #888;
	text-decoration: none;
}

.vwt-events-ical-row .vwt-ical-link:hover {
	color: var(--vwt-primary, #2c8c99);
}

/* === Event-Karten-Grid === */

.vwt-events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.vwt-event-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s, box-shadow 0.2s;
}

.vwt-event-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.vwt-event-card-image {
	position: relative;
	aspect-ratio: 1;
	overflow: hidden;
	background: #f0f0f0;
}

.vwt-event-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vwt-event-card-noimage {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #2c8c99cc, #2c8c9966); /* wird via style= überschrieben */
}
.vwt-noimage-initial {
	position: absolute;
	font-size: 120px;
	font-weight: 800;
	color: rgba(255,255,255,0.15);
	line-height: 1;
	user-select: none;
	letter-spacing: -4px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.vwt-noimage-date {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: rgba(255,255,255,0.18);
	border: 2px solid rgba(255,255,255,0.35);
	border-radius: 14px;
	padding: 12px 20px;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.vwt-noimage-day {
	font-size: 52px;
	font-weight: 800;
	color: #fff;
	line-height: 1;
}
.vwt-noimage-month {
	font-size: 16px;
	font-weight: 600;
	color: rgba(255,255,255,0.85);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-top: 2px;
}

.vwt-event-card-cat {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 3px 10px;
	border-radius: 16px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
}

.vwt-event-card-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
}

.vwt-event-card-date {
	font-size: 13px;
	color: var(--vwt-primary, #2c8c99);
	font-weight: 600;
}

.vwt-event-card-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #222;
	line-height: 1.3;
}

.vwt-event-card-excerpt {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	margin: 0;
}

.vwt-event-card-price {
	font-size: 14px;
	font-weight: 600;
	color: var(--vwt-primary, #2c8c99);
	margin-top: auto;
	padding-top: 4px;
}

.vwt-event-card-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	margin-top: auto;
	padding-top: 4px;
}

.vwt-card-badge-soldout {
	color: #999;
	background: #f0f0f0;
	padding: 3px 10px;
	border-radius: 4px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* =============================================
   EVENT-ARCHIV
   ============================================= */

.vwt-events-archive-wrapper {
	max-width: 800px;
	margin: 0 auto;
}

.vwt-archive-count {
	color: #888;
	font-size: 14px;
	margin-bottom: 24px;
}

.vwt-archive-month {
	margin-bottom: 32px;
}

.vwt-archive-month-title {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--vwt-primary, #2c8c99);
}

.vwt-archive-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vwt-archive-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 14px;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	transition: background-color 0.15s;
}

.vwt-archive-item:hover {
	background-color: #f5f5f5;
}

.vwt-archive-item-image {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.vwt-archive-item-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vwt-archive-item-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vwt-archive-item-date {
	font-size: 13px;
	color: #888;
}

.vwt-archive-item-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
}

.vwt-event-cat-badge-sm {
	display: inline-block;
	padding: 1px 8px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 600;
	color: #fff;
	align-self: flex-start;
}

/* =============================================
   PAGINIERUNG
   ============================================= */

.vwt-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid #eee;
}

.vwt-page-link {
	padding: 8px 16px;
	border: 1px solid var(--vwt-primary, #2c8c99);
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	color: var(--vwt-primary, #2c8c99);
	transition: all 0.2s;
}

.vwt-page-link:hover {
	background-color: var(--vwt-primary, #2c8c99);
	color: #fff;
}

.vwt-page-info {
	font-size: 14px;
	color: #888;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media screen and (max-width: 768px) {
	.vwt-event-title {
		font-size: 24px;
	}

	.vwt-event-images-two {
		grid-template-columns: 1fr;
	}

	.vwt-events-grid {
		grid-template-columns: 1fr;
	}

	.vwt-event-meta-row {
		flex-direction: column;
		gap: 8px;
	}

	.vwt-event-actions {
		flex-direction: column;
		align-items: stretch;
	}
}

@media screen and (max-width: 480px) {
	.vwt-event-page-inner {
		padding: 20px 16px;
		margin-top: 16px;
		margin-bottom: 16px;
		border-radius: 8px;
	}

	.vwt-events-filter {
		gap: 6px;
	}

	.vwt-filter-btn {
		padding: 5px 12px;
		font-size: 13px;
	}
}

/* =============================================
   TICKET-INFORMATIONEN (Detailseite)
   ============================================= */

.vwt-ticket-info {
	margin-bottom: 20px;
	width: 100%;
}

.vwt-ticket-past {
	padding: 12px 16px;
	background: #f0f0f0;
	border-radius: 8px;
	color: #888;
	text-align: center;
	font-size: 15px;
}

.vwt-ticket-soldout {
	padding: 24px 20px;
	background: linear-gradient(135deg, #f8f8f8 0%, #f0f0f0 100%);
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	text-align: center;
}

.vwt-ticket-soldout-icon {
	font-size: 32px;
	display: block;
	margin-bottom: 8px;
	opacity: 0.6;
}

.vwt-ticket-soldout-text {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: #888;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.vwt-ticket-soldout-sub {
	display: block;
	font-size: 13px;
	color: #aaa;
	margin-top: 4px;
}

.vwt-ticket-types {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 20px 24px;
}

.vwt-ticket-types-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 14px;
	color: #333;
}

.vwt-ticket-type-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid #e8e8e8;
}

.vwt-ticket-type-row:last-of-type {
	border-bottom: none;
}

.vwt-ticket-type-row.vwt-ticket-type-soldout {
	opacity: 0.5;
}

.vwt-ticket-type-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vwt-ticket-type-name {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.vwt-ticket-type-desc {
	font-size: 13px;
	color: #888;
}

.vwt-ticket-type-price-col {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.vwt-ticket-type-price {
	font-size: 18px;
	font-weight: 700;
	color: var(--vwt-primary, #2c8c99);
}

.vwt-ticket-type-status {
	font-size: 12px;
	font-weight: 600;
}

.vwt-status-soldout {
	color: #aaa;
	font-style: italic;
}

.vwt-status-limited {
	color: #e8a435;
}

@media screen and (max-width: 480px) {
	.vwt-ticket-types {
		padding: 14px 16px;
	}

	.vwt-ticket-type-price {
		font-size: 16px;
	}
}

/* =============================================
   BUCHUNGSFORMULAR
   ============================================= */

.vwt-booking-form-wrap {
	margin-top: 20px;
	padding: 24px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
}

.vwt-booking-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px;
	color: #333;
}

/* Steps */
.vwt-booking-step {
	display: none;
}

.vwt-booking-step-active {
	display: block;
}

/* Single ticket display */
.vwt-booking-single-ticket {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background: #f8f9fa;
	border-radius: 8px;
	margin-bottom: 12px;
}

.vwt-booking-ticket-name {
	font-weight: 600;
	color: #333;
}

.vwt-booking-ticket-price {
	font-weight: 700;
	color: var(--vwt-primary, #2c8c99);
}

/* Fields */
.vwt-booking-field {
	margin-bottom: 12px;
}

.vwt-booking-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 4px;
	color: #555;
}

.vwt-booking-select,
.vwt-booking-input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	font-size: 15px;
	transition: border-color 0.2s;
}

.vwt-booking-select:focus,
.vwt-booking-input:focus {
	outline: none;
	border-color: var(--vwt-primary, #2c8c99);
	box-shadow: 0 0 0 2px rgba(44, 140, 153, 0.15);
}

.vwt-booking-qty {
	width: 100px;
}

.vwt-booking-field-row {
	display: flex;
	gap: 12px;
}

.vwt-booking-field-row .vwt-booking-field {
	flex: 1;
}

/* Login hint */
.vwt-booking-login-hint {
	margin-bottom: 16px;
	padding: 10px 14px;
	background: #f0f8ff;
	border-radius: 8px;
	font-size: 14px;
}

.vwt-booking-login-hint a {
	color: var(--vwt-primary, #2c8c99);
	font-weight: 600;
}

/* Visitor info (logged in) */
.vwt-booking-visitor-info {
	margin-bottom: 16px;
	padding: 12px 16px;
	background: #f8f9fa;
	border-radius: 8px;
	font-size: 14px;
	color: #555;
}

/* Summary */
.vwt-booking-summary {
	margin: 16px 0;
	padding: 12px 16px;
	background: #f8f9fa;
	border-radius: 8px;
	border: 1px solid #e8e8e8;
}

.vwt-summary-line {
	display: flex;
	justify-content: space-between;
	font-size: 15px;
	font-weight: 600;
}

#vwt-summary-price {
	color: var(--vwt-primary, #2c8c99);
}

/* Actions */
.vwt-booking-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}

/* Buttons */
.vwt-btn {
	display: inline-block;
	padding: 10px 24px;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: opacity 0.2s;
}

.vwt-btn:hover {
	opacity: 0.85;
}

.vwt-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.vwt-btn-primary {
	background: var(--vwt-primary, #2c8c99);
	color: #fff;
}

.vwt-btn-outline {
	background: transparent;
	border: 1px solid #ccc;
	color: #555;
}

.vwt-btn-sm {
	padding: 7px 16px;
	font-size: 13px;
}

.vwt-booking-next {
	margin-top: 4px;
}

/* Messages */
.vwt-booking-message {
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 14px;
	margin-bottom: 12px;
}

.vwt-msg-error {
	background: #f8d7da;
	color: #721c24;
}

.vwt-msg-success {
	background: #d4edda;
	color: #155724;
}

/* Success */
.vwt-booking-success {
	text-align: center;
	padding: 32px 20px;
}

.vwt-booking-success-icon {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

.vwt-booking-success-icon svg {
	display: block;
}

.vwt-booking-success h3 {
	margin: 0 0 4px;
	color: #28a745;
	font-size: 20px;
}

.vwt-booking-success-msg {
	color: #555;
	font-size: 15px;
	margin: 0 0 20px;
}

.vwt-booking-success-detail {
	background: #f8f9fa;
	border-radius: 8px;
	padding: 16px 20px;
	margin-top: 8px;
}

.vwt-booking-success-code {
	font-size: 15px;
	color: #333;
	margin: 0 0 6px;
}

.vwt-booking-success-code strong {
	display: block;
	font-size: 18px;
	color: var(--vwt-primary, #2c8c99);
	margin-top: 2px;
	letter-spacing: 0.05em;
}

.vwt-booking-success-email {
	color: #888;
	font-size: 13px;
	margin: 0;
}

/* Payment Options */
.vwt-payment-option {
	display: block;
	margin: 6px 0;
	cursor: pointer;
}

/* AGB Checkbox */
.vwt-booking-agb {
	margin: 12px 0;
}

.vwt-booking-agb label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	font-size: 0.9em;
	line-height: 1.45;
}

.vwt-booking-agb input[type="checkbox"] {
	flex-shrink: 0;
	margin-top: 3px;
}

.vwt-booking-agb a {
	word-break: break-word;
	overflow-wrap: break-word;
}

/* Overflow-Schutz */
.vwt-booking-form-wrap {
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: break-word;
}

/* Responsive */
@media screen and (max-width: 480px) {
	.vwt-booking-form-wrap {
		padding: 14px 12px;
		border-radius: 8px;
	}

	.vwt-booking-field-row {
		flex-direction: column;
		gap: 0;
	}

	.vwt-booking-actions {
		flex-direction: column;
	}

	.vwt-booking-actions .vwt-btn {
		width: 100%;
	}

	.vwt-booking-success {
		padding: 24px 16px;
	}

	.vwt-booking-success-detail {
		padding: 12px 16px;
	}
}

@media screen and (max-width: 860px) {
	.vwt-booking-form-wrap {
		padding: 16px 14px;
	}

	.vwt-booking-single-ticket {
		padding: 10px 12px;
	}

	.vwt-booking-summary {
		padding: 10px 12px;
	}

	.vwt-booking-visitor-info {
		padding: 10px 12px;
	}
}

/* =============================================
   PROFIL: MEINE TICKETS
   ============================================= */

.vwt-profile-empty {
	text-align: center;
	padding: 40px 20px;
}

.vwt-profile-empty-icon {
	font-size: 40px;
	display: block;
	margin-bottom: 8px;
	opacity: 0.5;
}

.vwt-profile-empty p {
	color: #888;
	margin-bottom: 16px;
}

.vwt-profile-section-title {
	font-size: 15px;
	font-weight: 700;
	color: #333;
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.vwt-profile-section-past {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #eee;
	color: #888;
}

.vwt-profile-bookings {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vwt-profile-booking-card {
	background: #f8f9fa;
	border-radius: 10px;
	transition: background 0.15s, box-shadow 0.15s;
	overflow: hidden;
}

.vwt-profile-booking-card:hover {
	background: #f0f4f5;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.vwt-profile-booking-link,
a.vwt-profile-booking-card {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	text-decoration: none;
	color: inherit;
}

.vwt-profile-booking-actions {
	display: flex;
	gap: 6px;
	padding: 0 16px 12px;
	align-items: stretch;
	flex-wrap: nowrap;
}

.vwt-profile-booking-actions:empty {
	display: none;
}

/* Ticket-PDF Button – gefüllt, VWT-Primärfarbe */
.vwt-ticket-download-btn {
	background: var(--vwt-primary, #2c8c99);
	color: #fff !important;
	border: none;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: opacity 0.15s;
	white-space: nowrap;
	flex: 1 1 auto;
	text-align: center;
}

.vwt-ticket-download-btn:hover {
	opacity: 0.85;
	color: #fff !important;
}

/* Wallet Button – schwarz (Apple-Style) */
.vwt-wallet-btn {
	background: #1a1a1a;
	color: #fff !important;
	border: none;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: opacity 0.15s;
	white-space: nowrap;
	flex: 1 1 auto;
	text-align: center;
}

.vwt-wallet-btn:hover {
	opacity: 0.85;
	color: #fff !important;
}

/* Stornieren Button – quadratisch, gleiche Höhe wie andere Buttons */
.vwt-profile-cancel-btn {
	background: #f5f5f5;
	border: 1px solid #ddd;
	color: #999 !important;
	min-width: 32px;
	min-height: 32px;
	padding: 0;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 400;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.vwt-profile-cancel-btn:hover {
	background: #dc3545;
	border-color: #dc3545;
	color: #fff !important;
}

@media screen and (max-width: 480px) {
	.vwt-profile-booking-actions {
		padding: 0 12px 10px;
	}

	.vwt-ticket-download-btn,
	.vwt-wallet-btn {
		padding: 5px 10px;
		font-size: 11px;
		flex: 0 1 auto;
	}
}

.vwt-booking-past {
	opacity: 0.65;
}

.vwt-booking-past:hover {
	opacity: 0.85;
}

.vwt-profile-booking-img {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: 8px;
	overflow: hidden;
}

.vwt-booking-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vwt-profile-booking-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.vwt-profile-booking-date {
	font-size: 12px;
	color: var(--vwt-primary, #2c8c99);
	font-weight: 600;
}

.vwt-profile-booking-title {
	font-size: 15px;
	font-weight: 600;
	color: #333;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vwt-profile-booking-detail {
	font-size: 13px;
	color: #888;
}

.vwt-profile-booking-status {
	flex-shrink: 0;
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
}

.vwt-profile-status {
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.vwt-profile-status-confirmed {
	background: #d4edda;
	color: #155724;
}

.vwt-profile-status-pending {
	background: #fff3cd;
	color: #856404;
}

.vwt-profile-status-cancelled {
	background: #f0f0f0;
	color: #999;
}

.vwt-profile-status-checked_in {
	background: #d1ecf1;
	color: #0c5460;
}

.vwt-profile-status-waiting {
	background: #fff3cd;
	color: #856404;
}

.vwt-profile-status-offered {
	background: #d4edda;
	color: #155724;
}

.vwt-profile-booking-card.vwt-booking-waitlist {
	border-left: 3px solid #ff9800;
}

.vwt-profile-booking-code {
	font-size: 11px;
	color: #aaa;
	font-family: monospace;
}

@media screen and (max-width: 480px) {
	.vwt-profile-booking-link,
	a.vwt-profile-booking-card {
		flex-wrap: wrap;
		gap: 8px;
	}

	.vwt-profile-booking-status {
		flex-basis: 100%;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.vwt-profile-booking-actions {
		padding: 0 12px 10px;
		flex-wrap: nowrap;
	}
}

/* ================================================
   Kurs-Anmeldung (Frontend)
   ================================================ */

.vwt-course-signup-section {
	margin: 2rem 0;
	padding: 0;
}

.vwt-course-signup-section .vwt-section-title {
	font-size: 1.3rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #e0e0e0;
}

.vwt-course-dates-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.vwt-course-date-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid #eee;
	transition: background-color 0.15s ease;
}

.vwt-course-date-row:hover {
	background-color: #f8f9fa;
}

.vwt-course-date-row.vwt-signed-up {
	background-color: #e8f5e9;
	border-left: 3px solid #4caf50;
}

.vwt-course-date-row.vwt-full {
	opacity: 0.7;
}

.vwt-course-date-row.vwt-cancelled {
	opacity: 0.5;
	text-decoration: line-through;
}

.vwt-course-date-info {
	flex: 1;
	min-width: 0;
}

.vwt-course-date-day {
	font-weight: 600;
	font-size: 0.95rem;
	color: #333;
}

.vwt-course-date-time {
	font-size: 0.85rem;
	color: #666;
	margin-top: 0.15rem;
}

.vwt-course-date-spots {
	font-size: 0.8rem;
	color: #888;
	margin-top: 0.15rem;
}

.vwt-course-date-action {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-shrink: 0;
	margin-left: 1rem;
}

/* Badges */
.vwt-badge {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border-radius: 3px;
	font-size: 0.75rem;
	font-weight: 600;
	white-space: nowrap;
}

.vwt-badge-confirmed {
	background-color: #e8f5e9;
	color: #2e7d32;
}

.vwt-badge-full {
	background-color: #fff3e0;
	color: #e65100;
}

.vwt-badge-cancelled {
	background-color: #f5f5f5;
	color: #999;
}

.vwt-badge-closed {
	background-color: #f5f5f5;
	color: #999;
	font-size: 0.7rem;
}

/* Buttons */
.vwt-btn-sm {
	padding: 0.35rem 0.8rem;
	font-size: 0.8rem;
}

.vwt-btn-outline {
	background: transparent;
	border: 1px solid #999;
	color: #666;
	cursor: pointer;
	border-radius: 3px;
}

.vwt-btn-outline:hover {
	background-color: #f0f0f0;
	border-color: #666;
	color: #333;
}

.vwt-btn-signup {
	white-space: nowrap;
}

/* Login-Hinweis */
.vwt-course-login-hint {
	margin-top: 1rem;
	padding: 0.8rem 1rem;
	background-color: #fff8e1;
	border-left: 3px solid #ffc107;
	border-radius: 3px;
	font-size: 0.9rem;
}

.vwt-course-login-hint a {
	font-weight: 600;
}

.vwt-course-no-dates {
	color: #888;
	font-style: italic;
}

/* Mobile */
@media (max-width: 600px) {
	.vwt-course-date-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.vwt-course-date-action {
		margin-left: 0;
		width: 100%;
	}

	.vwt-course-date-action .vwt-btn {
		flex: 1;
		text-align: center;
	}
}

/* ================================================
   Bestehende Buchungen (Event-Detailseite)
   ================================================ */

.vwt-existing-bookings {
	margin-bottom: 1.5rem;
}

.vwt-existing-booking-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem 0.8rem;
	background-color: #f0faf0;
	border: 1px solid #c8e6c9;
	border-radius: 4px;
	margin-bottom: 0.5rem;
}

.vwt-existing-booking-info {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	flex: 1;
}

.vwt-existing-booking-qty {
	font-weight: 700;
	font-size: 1rem;
	color: #333;
}

.vwt-existing-booking-name {
	font-weight: 600;
	color: #333;
}

.vwt-existing-booking-price {
	color: #666;
	font-size: 0.85rem;
}

.vwt-existing-booking-status {
	display: inline-block;
	padding: 0.15rem 0.5rem;
	border-radius: 3px;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
}

.vwt-existing-booking-hint {
	font-size: 0.75rem;
	color: #999;
	font-style: italic;
	white-space: nowrap;
}

/* Storno-Button */
.vwt-btn-danger {
	background-color: #dc3545;
	color: #fff;
	border: 1px solid #dc3545;
	cursor: pointer;
	border-radius: 3px;
	padding: 0.3rem 0.7rem;
	font-size: 0.8rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

.vwt-btn-danger:hover {
	background-color: #c82333;
	border-color: #bd2130;
}

.vwt-btn-danger:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Trennlinie */
.vwt-existing-booking-divider {
	margin-top: 1rem;
	padding-top: 0.8rem;
	border-top: 1px dashed #ccc;
	text-align: center;
	font-size: 0.85rem;
	color: #888;
}

/* Mobile */
@media (max-width: 600px) {
	.vwt-existing-booking-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}

	.vwt-existing-booking-hint {
		font-size: 0.7rem;
	}
}

/* ================================================
   Stornierte Buchungen – aufklappbar
   ================================================ */

.vwt-profile-cancelled-section {
	margin-top: 1rem;
	margin-bottom: 1.5rem;
}

.vwt-profile-cancelled-toggle {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	background: none;
	border: 1px dashed #ccc;
	border-radius: 4px;
	padding: 0.5rem 0.8rem;
	cursor: pointer;
	color: #999;
	font-size: 0.85rem;
	width: 100%;
	text-align: left;
	transition: color 0.15s, border-color 0.15s;
}

.vwt-profile-cancelled-toggle:hover {
	color: #666;
	border-color: #999;
}

.vwt-cancelled-toggle-icon {
	font-size: 0.75rem;
	line-height: 1;
	transition: transform 0.15s;
}

.vwt-profile-cancelled-list {
	margin-top: 0.5rem;
}

/* Stornierte Buchungs-Karte */
.vwt-profile-booking-card.vwt-booking-cancelled {
	opacity: 0.55;
	background: #fafafa;
	border-color: #e0e0e0;
	text-decoration: none;
}

.vwt-profile-booking-card.vwt-booking-cancelled .vwt-profile-booking-title {
	text-decoration: line-through;
	color: #999;
}

.vwt-profile-booking-card.vwt-booking-cancelled .vwt-profile-booking-date {
	color: #aaa;
}

.vwt-profile-booking-card.vwt-booking-cancelled .vwt-profile-booking-detail {
	color: #aaa;
}

/* =============================================
   Warteliste
   ============================================= */

.vwt-waitlist-wrap {
	margin-top: 20px;
	padding: 20px;
	background: #f8f9fa;
	border-radius: 10px;
	border: 1px solid #e9ecef;
}

.vwt-waitlist-title {
	margin: 0 0 8px;
	font-size: 1.1em;
	color: #333;
}

.vwt-waitlist-desc {
	margin: 0 0 12px;
	font-size: 0.9em;
	color: #666;
	line-height: 1.5;
}

.vwt-waitlist-count {
	font-size: 0.85em;
	color: #999;
	margin: 0 0 16px;
}

.vwt-waitlist-field {
	margin-bottom: 12px;
}

.vwt-waitlist-field label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.9em;
	color: #555;
}

.vwt-waitlist-guest-fields {
	margin-bottom: 16px;
}

.vwt-waitlist-guest-fields .vwt-booking-field-row {
	display: flex;
	gap: 12px;
}

.vwt-waitlist-guest-fields .vwt-booking-field {
	flex: 1;
	margin-bottom: 10px;
}

.vwt-waitlist-guest-fields label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.9em;
	color: #555;
}

.vwt-waitlist-guest-fields input {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 0.95em;
	box-sizing: border-box;
}

.vwt-waitlist-status {
	text-align: center;
}

.vwt-waitlist-confirmed {
	font-size: 1em;
	color: #333;
	margin-bottom: 8px;
}

.vwt-waitlist-position {
	color: #888;
	font-size: 0.9em;
}

.vwt-waitlist-join {
	margin-top: 4px;
}

.vwt-waitlist-leave {
	font-size: 0.85em;
	color: #999;
	border-color: #ccc;
}

/* Warteliste im Profil */
.vwt-profile-ticket-waitlist {
	border-left: 3px solid #ff9800;
}

.vwt-badge-muted {
	background: #6c757d;
	color: #fff;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 0.8em;
	font-weight: 600;
}

.vwt-badge-success {
	background: #28a745;
	color: #fff;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 0.8em;
	font-weight: 600;
}

/* Waitlist Notices auf Event-Seite */
.vwt-waitlist-notice {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 0.95em;
}

.vwt-waitlist-notice-success {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.vwt-waitlist-notice-error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}


/* =============================================
   Event-Detail: Weitere Veranstaltungen
   ============================================= */

.vwt-event-detail-layout {
	display: block;
}

.vwt-event-sidebar {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 2px solid #2c8c99;
}

.vwt-sidebar-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 16px 0;
	color: #1a2332;
}

.vwt-sidebar-events {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px;
}

.vwt-sidebar-event-item {
	display: flex;
	gap: 12px;
	padding: 12px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	transition: box-shadow .15s;
}

.vwt-sidebar-event-item:hover {
	box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.vwt-sidebar-event-thumb {
	flex-shrink: 0;
	width: 70px;
	height: 70px;
	border-radius: 6px;
	overflow: hidden;
	display: block;
}

.vwt-sidebar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vwt-sidebar-event-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.vwt-sidebar-event-cat {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .3px;
}

.vwt-sidebar-event-name {
	font-size: 14px;
	font-weight: 600;
	color: #1a2332;
	text-decoration: none;
	line-height: 1.3;
}

.vwt-sidebar-event-name:hover {
	color: #2c8c99;
}

.vwt-sidebar-event-date {
	font-size: 12px;
	color: #8595a8;
}

