/**
 * WordPress Event Calendar Public Styling (EVC)
 * Modern design system using CSS variables and HSL palettes
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
	--evc-primary: #5c3be6;
	--evc-primary-gradient: linear-gradient(135deg, #5c3be6, #8c52ff);
	--evc-primary-hover: #4a2ec3;
	--evc-accent: #ff5733; /* Vibrant Coral */
	--evc-accent-hover: #e04826;
	--evc-bg: #f9f9fc;
	--evc-card-bg: #ffffff;
	--evc-text: #2c2f35;
	--evc-text-muted: #6e7480;
	--evc-border: #e6e8eb;
	--evc-radius: 12px;
	--evc-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.03);
	--evc-shadow-md: 0 6px 12px -2px rgba(92, 59, 230, 0.08), 0 3px 6px -3px rgba(0, 0, 0, 0.04);
	--evc-shadow-lg: 0 20px 25px -5px rgba(92, 59, 230, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	--evc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

	/* Status Colors */
	--evc-status-published: #2ec4b6;
	--evc-status-postponed: #ff9f1c;
	--evc-status-cancelled: #e63946;
}

/* Base Wrapper Settings */
.evc-wrapper {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--evc-text);
	background: transparent;
	margin: 25px 0;
	box-sizing: border-box;
}

.evc-wrapper * {
	box-sizing: border-box;
}

/* ==========================================
 * 1. INTERACTIVE CALENDAR GRID VIEW
 * ========================================== */
.evc-calendar-container {
	background: var(--evc-card-bg);
	border: 1px solid var(--evc-border);
	border-radius: var(--evc-radius);
	box-shadow: var(--evc-shadow-md);
	overflow: hidden;
	padding: 20px;
}

.evc-calendar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--evc-border);
}

.evc-calendar-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
	color: var(--evc-primary);
	background: var(--evc-primary-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.evc-calendar-nav-btn {
	background: var(--evc-bg);
	color: var(--evc-primary);
	border: 1px solid var(--evc-border);
	padding: 8px 16px;
	font-weight: 600;
	font-size: 0.9rem;
	border-radius: 8px;
	cursor: pointer;
	transition: var(--evc-transition);
}

.evc-calendar-nav-btn:hover {
	background: var(--evc-primary);
	color: #fff;
	border-color: var(--evc-primary);
	transform: translateY(-1px);
}

.evc-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 8px;
}

.evc-grid-header-day {
	text-align: center;
	font-weight: 700;
	color: var(--evc-text-muted);
	padding: 10px 0;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.evc-grid-day {
	min-height: 110px;
	border: 1px solid var(--evc-border);
	border-radius: 8px;
	background: var(--evc-bg);
	padding: 8px;
	position: relative;
	transition: var(--evc-transition);
	display: flex;
	flex-direction: column;
}

.evc-grid-day:hover {
	background: #fff;
	box-shadow: 0 4px 10px rgba(92, 59, 230, 0.06);
	border-color: var(--evc-primary);
	transform: translateY(-2px);
}

.evc-day-number {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--evc-text-muted);
	margin-bottom: 8px;
	display: inline-block;
}

.evc-today {
	background: #f0ebff !important;
	border: 2px solid var(--evc-primary) !important;
}

.evc-today .evc-day-number {
	color: var(--evc-primary);
	font-weight: 700;
}

.evc-empty-day {
	background: transparent !important;
	border-color: transparent !important;
	pointer-events: none;
}

.evc-day-events {
	display: flex;
	flex-direction: column;
	gap: 4px;
	overflow-y: auto;
	flex-grow: 1;
}

.evc-calendar-event-link {
	font-size: 0.75rem;
	padding: 4px 6px;
	border-radius: 4px;
	text-decoration: none !important;
	color: #fff !important;
	font-weight: 500;
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: var(--evc-transition);
}

.evc-calendar-event-link:hover {
	transform: scale(1.03);
	filter: brightness(0.9);
}

/* Event status colors in calendar */
.evc-event-status-published {
	background-color: var(--evc-primary);
}
.evc-event-status-postponed {
	background-color: var(--evc-status-postponed);
}
.evc-event-status-cancelled {
	background-color: var(--evc-status-cancelled);
	text-decoration: line-through !important;
}

.evc-status-mini-badge {
	font-size: 0.65rem;
	background: rgba(255,255,255,0.25);
	padding: 0px 3px;
	border-radius: 3px;
	font-weight: bold;
	float: right;
}

/* Responsive calendar */
@media(max-width: 768px) {
	.evc-grid-day {
		min-height: 70px;
		padding: 4px;
	}
	.evc-event-time {
		display: none;
	}
	.evc-event-name {
		font-size: 0.7rem;
	}
}

/* ==========================================
 * 2. LIST VIEW / UNTEREINANDER & MONTH/WEEK GROUPS
 * ========================================== */
.evc-month-group, .evc-week-group {
	margin-bottom: 35px;
}

.evc-month-group-title, .evc-week-group-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--evc-primary);
	border-left: 4px solid var(--evc-primary);
	padding-left: 12px;
	margin-top: 0;
	margin-bottom: 18px;
}

.evc-week-dates {
	font-weight: 400;
	font-size: 1rem;
	color: var(--evc-text-muted);
}

.evc-events-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.evc-event-row-card {
	display: flex;
	background: var(--evc-card-bg);
	border: 1px solid var(--evc-border);
	border-radius: var(--evc-radius);
	box-shadow: var(--evc-shadow-sm);
	overflow: hidden;
	transition: var(--evc-transition);
}

.evc-event-row-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--evc-shadow-md);
	border-color: #dcd0ff;
}

.evc-row-thumb {
	width: 160px;
	flex-shrink: 0;
	overflow: hidden;
	position: relative;
}

.evc-row-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--evc-transition);
}

.evc-event-row-card:hover .evc-row-thumb img {
	transform: scale(1.05);
}

.evc-row-content {
	flex-grow: 1;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.evc-row-meta-top {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 10px;
}

.evc-date-badge, .evc-location-badge, .evc-price-badge {
	display: inline-flex;
	align-items: center;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 30px;
	gap: 5px;
}

.evc-date-badge {
	background: #f0ebff;
	color: var(--evc-primary);
}

.evc-location-badge {
	background: #f5f6f8;
	color: var(--evc-text-muted);
}

.evc-price-badge {
	background: #fff3f0;
	color: var(--evc-accent);
	border: 1px solid #ffe1d9;
}

.evc-row-title {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 10px 0;
}

.evc-row-title a {
	color: var(--evc-text);
	text-decoration: none;
	transition: var(--evc-transition);
}

.evc-row-title a:hover {
	color: var(--evc-primary);
}

.evc-row-excerpt {
	font-size: 0.88rem;
	color: var(--evc-text-muted);
	line-height: 1.6;
}

.evc-row-action {
	padding: 20px;
	display: flex;
	align-items: center;
	border-left: 1px solid var(--evc-border);
}

.evc-btn-details {
	background: var(--evc-bg);
	color: var(--evc-primary);
	padding: 10px 18px;
	border-radius: 8px;
	text-decoration: none !important;
	font-size: 0.88rem;
	font-weight: 600;
	transition: var(--evc-transition);
	white-space: nowrap;
	border: 1px solid var(--evc-border);
}

.evc-btn-details:hover {
	background: var(--evc-primary-gradient);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 4px 10px rgba(92, 59, 230, 0.2);
}

/* Status Styling */
.evc-status-row-banner {
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 0.8rem;
	margin-bottom: 12px;
	display: inline-block;
}

.banner-postponed {
	background-color: #fff6e6;
	color: #c47b00;
	border: 1px solid #ffe3b3;
}

.banner-cancelled {
	background-color: #ffebecc;
	color: var(--evc-status-cancelled);
	border: 1px solid #ffd1d4;
}

@media(max-width: 600px) {
	.evc-event-row-card {
		flex-direction: column;
	}
	.evc-row-thumb {
		width: 100%;
		height: 150px;
	}
	.evc-row-action {
		border-left: 0;
		border-top: 1px solid var(--evc-border);
		justify-content: flex-end;
		padding: 15px;
	}
}

/* ==========================================
 * 3. EVENTS ONLY GRID VIEW
 * ========================================== */
.evc-events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.evc-event-grid-card {
	background: var(--evc-card-bg);
	border: 1px solid var(--evc-border);
	border-radius: var(--evc-radius);
	box-shadow: var(--evc-shadow-sm);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: var(--evc-transition);
}

.evc-event-grid-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--evc-shadow-lg);
	border-color: #dcd0ff;
}

.evc-card-img-container {
	height: 180px;
	overflow: hidden;
	position: relative;
}

.evc-card-img-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--evc-transition);
}

.evc-event-grid-card:hover .evc-card-img-container img {
	transform: scale(1.06);
}

.evc-card-placeholder-img {
	height: 100%;
	background: #f0ebff;
	color: var(--evc-primary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.evc-card-placeholder-img span {
	font-size: 3rem;
	width: auto;
	height: auto;
}

.evc-card-price-tag {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--evc-accent);
	color: #fff;
	padding: 5px 12px;
	font-size: 0.78rem;
	font-weight: 700;
	border-radius: 30px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

.evc-card-body {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.evc-card-date {
	color: var(--evc-primary);
	font-weight: 600;
	font-size: 0.78rem;
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 8px;
}

.evc-card-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0 0 10px 0;
	line-height: 1.4;
}

.evc-card-title a {
	color: var(--evc-text);
	text-decoration: none;
}

.evc-card-title a:hover {
	color: var(--evc-primary);
}

.evc-card-location {
	color: var(--evc-text-muted);
	font-size: 0.8rem;
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 12px;
}

.evc-card-excerpt {
	font-size: 0.85rem;
	color: var(--evc-text-muted);
	line-height: 1.5;
	flex-grow: 1;
}

.evc-card-footer {
	padding: 15px 20px;
	border-top: 1px solid var(--evc-border);
}

.evc-btn-details-grid {
	display: block;
	text-align: center;
	background: var(--evc-bg);
	color: var(--evc-primary);
	border: 1px solid var(--evc-border);
	padding: 8px 15px;
	font-size: 0.85rem;
	font-weight: 600;
	border-radius: 6px;
	text-decoration: none !important;
	transition: var(--evc-transition);
}

.evc-btn-details-grid:hover {
	background: var(--evc-primary);
	color: #fff;
	border-color: var(--evc-primary);
}

/* ==========================================
 * 4. SINGLE EVENT DETAIL VIEW & MAPS
 * ========================================== */
.evc-single-container {
	margin-bottom: 40px;
}

/* Status Banner top */
.evc-status-banner {
	display: flex;
	gap: 15px;
	padding: 18px 24px;
	border-radius: var(--evc-radius);
	margin-bottom: 30px;
	box-shadow: var(--evc-shadow-sm);
}

.evc-status-banner h3 {
	margin: 0 0 5px 0;
	font-size: 1.15rem;
}

.evc-status-banner p {
	margin: 0;
	font-size: 0.95rem;
}

.evc-status-banner-icon span {
	font-size: 2.2rem;
	width: auto;
	height: auto;
}

.banner-postponed {
	background-color: #fff9eb;
	border: 1px solid #ffe3ad;
	color: #b86b00;
}

.banner-cancelled {
	background-color: #fff0f1;
	border: 1px solid #ffd4d6;
	color: var(--evc-status-cancelled);
}

/* Grid Layout */
.evc-single-layout {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 30px;
}

@media(max-width: 900px) {
	.evc-single-layout {
		grid-template-columns: 1fr;
	}
}

.evc-single-featured-image {
	border-radius: var(--evc-radius);
	overflow: hidden;
	box-shadow: var(--evc-shadow-md);
	margin-bottom: 25px;
}

.evc-single-featured-image img {
	width: 100%;
	height: auto;
	display: block;
}

.evc-single-content {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #374151;
	margin-bottom: 30px;
}

.evc-single-taxonomies {
	border-top: 1px solid var(--evc-border);
	padding-top: 20px;
}

.evc-category-tags {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-left: 8px;
}

.evc-category-tag {
	background: var(--evc-bg);
	color: var(--evc-primary);
	border: 1px solid var(--evc-border);
	padding: 4px 12px;
	border-radius: 30px;
	font-size: 0.8rem;
	font-weight: 500;
}

/* Sidebar detail card */
.evc-detail-card {
	background: var(--evc-card-bg);
	border: 1px solid var(--evc-border);
	border-radius: var(--evc-radius);
	box-shadow: var(--evc-shadow-md);
	padding: 25px;
	position: sticky;
	top: 30px;
}

.evc-card-section-title {
	font-size: 1.1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--evc-text-muted);
	margin-top: 0;
	margin-bottom: 15px;
}

.evc-sidebar-row {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
	align-items: flex-start;
}

.evc-sidebar-icon {
	color: var(--evc-primary);
	font-size: 1.3rem;
	width: auto;
	height: auto;
}

.evc-sidebar-text {
	font-size: 0.88rem;
	line-height: 1.4;
}

.evc-row-recurring {
	background: #f7f6fc;
	padding: 8px 12px;
	border-radius: 6px;
	border-left: 3px solid var(--evc-primary);
}

.evc-sidebar-price {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--evc-accent);
}

.evc-card-hr {
	border: 0;
	border-top: 1px solid var(--evc-border);
	margin: 20px 0;
}

/* Organizer Profile */
.evc-organizer-profile {
	display: flex;
	align-items: center;
	gap: 15px;
}

.evc-organizer-logo {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 2px solid var(--evc-border);
	overflow: hidden;
	flex-shrink: 0;
}

.evc-organizer-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.evc-organizer-name {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
	margin-bottom: 4px;
}

.evc-organizer-phone {
	font-size: 0.8rem;
	color: var(--evc-text-muted);
	display: flex;
	align-items: center;
	gap: 4px;
}

.evc-organizer-phone a {
	color: var(--evc-text-muted);
	text-decoration: none;
}

.evc-organizer-phone a:hover {
	color: var(--evc-primary);
}

/* Leaflet maps settings */
.leaflet-container {
	font-family: inherit !important;
	z-index: 1; /* Keep leaflet controls below dropdown navigation of themes */
}

/* General classes */
.evc-no-events {
	background: var(--evc-card-bg);
	border: 1px solid var(--evc-border);
	border-radius: var(--evc-radius);
	padding: 25px;
	text-align: center;
	color: var(--evc-text-muted);
	font-weight: 500;
	box-shadow: var(--evc-shadow-sm);
}

/* Inline SVG Icons */
.evc-svg-icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
	margin-top: -3px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
}

/* Sidebar SVG icons override */
.evc-sidebar-icon.evc-svg-icon {
	width: 20px;
	height: 20px;
	color: var(--evc-primary);
	margin-top: 2px;
	vertical-align: top;
}

/* Banner SVG warning icon */
.evc-status-banner-icon .evc-svg-icon {
	width: 32px;
	height: 32px;
	margin-top: 0;
	vertical-align: middle;
}

/* ==========================================
 * 5. MONTH FULL VIEW (ALL DAYS LISTED)
 * ========================================== */
.evc-month-full-layout-wrapper {
	background: var(--evc-card-bg);
	border: 1px solid var(--evc-border);
	border-radius: var(--evc-radius);
	box-shadow: var(--evc-shadow-md);
	padding: 25px;
	margin-bottom: 35px;
}

.evc-month-full-header {
	border-bottom: 2px solid var(--evc-primary);
	padding-bottom: 12px;
	margin-bottom: 20px;
}

.evc-month-full-title {
	margin: 0;
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--evc-primary);
}

.evc-month-full-list {
	display: flex;
	flex-direction: column;
}

.evc-mf-row {
	display: flex;
	border-bottom: 1px solid var(--evc-border);
	padding: 12px 10px;
	align-items: center;
	transition: var(--evc-transition);
}

.evc-mf-row:hover {
	background: #fafafd;
}

.evc-mf-row:last-child {
	border-bottom: 0;
}

.evc-mf-date-col {
	width: 240px;
	flex-shrink: 0;
}

.evc-mf-day-label {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--evc-text-muted);
}

.evc-mf-has-events .evc-mf-day-label {
	color: var(--evc-primary);
	font-weight: 700;
}

.evc-mf-events-col {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.evc-mf-empty-placeholder {
	color: #ccc;
	font-size: 0.9rem;
}

.evc-mf-event-item {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	padding: 6px 12px;
	border-radius: 6px;
	background: var(--evc-bg);
	border: 1px solid var(--evc-border);
	font-size: 0.9rem;
}

.evc-mf-time {
	font-weight: 700;
	color: var(--evc-primary);
	white-space: nowrap;
}

.evc-mf-link {
	color: var(--evc-text);
	text-decoration: none !important;
	transition: var(--evc-transition);
}

.evc-mf-link:hover {
	color: var(--evc-primary);
}

.evc-mf-location {
	color: var(--evc-text-muted);
	font-size: 0.85rem;
	display: inline-flex;
	align-items: center;
}

.evc-mf-price {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--evc-accent);
	background: #fff3f0;
	padding: 2px 8px;
	border-radius: 30px;
}

.evc-mf-status-badge {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 2px 8px;
	border-radius: 4px;
	color: #fff;
}

.evc-mf-status-badge.postponed {
	background-color: var(--evc-status-postponed);
}

.evc-mf-status-badge.cancelled {
	background-color: var(--evc-status-cancelled);
}

@media(max-width: 768px) {
	.evc-mf-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.evc-mf-date-col {
		width: 100%;
	}
}

/* ==========================================
 * 6. TICKET BOOKING FORM & COUNTDOWN CLOCK
 * ========================================== */
.evc-booking-card {
	background: var(--evc-card-bg);
	border: 1px solid var(--evc-border);
	border-radius: var(--evc-radius);
	box-shadow: var(--evc-shadow-md);
	padding: 30px;
	margin-top: 30px;
}

.evc-booking-header {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--evc-primary);
	border-bottom: 2px solid var(--evc-primary);
	padding-bottom: 10px;
}

.evc-form-group {
	margin-bottom: 18px;
}

.evc-form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
	font-size: 0.9rem;
}

.evc-form-row {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
}

.evc-form-row .evc-form-group {
	flex: 1;
	min-width: 200px;
}

.evc-booking-card input[type="text"],
.evc-booking-card input[type="email"],
.evc-booking-card select {
	width: 100%;
	height: 42px;
	padding: 8px 12px;
	font-size: 0.95rem;
	border: 1px solid var(--evc-border);
	border-radius: 6px;
	background: var(--evc-bg);
	color: var(--evc-text);
	transition: var(--evc-transition);
}

.evc-booking-card input[type="text"]:focus,
.evc-booking-card input[type="email"]:focus,
.evc-booking-card select:focus {
	outline: none;
	border-color: var(--evc-primary);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(92, 59, 230, 0.15);
}

/* Countdown Segment Clock */
.evc-countdown-wrapper {
	text-align: center;
	padding: 10px 0;
}

.evc-countdown-text {
	color: var(--evc-text-muted);
	font-size: 0.95rem;
	margin-bottom: 15px;
}

#evc-booking-countdown-clock {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.evc-clock-segment {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--evc-bg);
	border: 1px solid var(--evc-border);
	border-radius: 8px;
	padding: 10px;
	min-width: 70px;
	box-shadow: var(--evc-shadow-sm);
}

.evc-clock-num {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--evc-primary);
	line-height: 1.1;
}

.evc-clock-lbl {
	font-size: 0.72rem;
	text-transform: uppercase;
	color: var(--evc-text-muted);
	margin-top: 4px;
	font-weight: 600;
}

/* Alerts and Banners */
.evc-alert-soldout {
	background: #fff0f1;
	border: 1px solid #ffd4d6;
	color: var(--evc-status-cancelled);
	border-radius: 8px;
	padding: 15px;
	font-weight: 600;
	font-size: 0.95rem;
	display: flex;
	align-items: center;
	gap: 10px;
}

/* Payment card selection grids */
.evc-payment-options {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
	margin-top: 10px;
}

.evc-pay-box {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid var(--evc-border);
	border-radius: 8px;
	padding: 15px;
	cursor: pointer;
	background: var(--evc-bg);
	transition: var(--evc-transition);
	user-select: none;
}

.evc-pay-box:hover {
	border-color: var(--evc-primary);
	background: #fff;
	box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.evc-pay-box:has(input:checked) {
	border-color: var(--evc-primary);
	background: #f7f6fc;
	box-shadow: 0 0 0 2px var(--evc-primary);
}

.evc-pay-title {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--evc-text);
}

/* Submit Actions */
.evc-btn-book {
	background: var(--evc-primary-gradient);
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 12px 24px;
	border: 0;
	border-radius: 6px;
	cursor: pointer;
	transition: var(--evc-transition);
	box-shadow: 0 4px 10px rgba(92, 59, 230, 0.25);
}

.evc-btn-book:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 15px rgba(92, 59, 230, 0.35);
}

.evc-btn-book:disabled {
	background: #ccc;
	color: #fff;
	box-shadow: none;
	cursor: not-allowed;
	transform: none;
}

/* CSS-Only Spinner for Booking Form */
.evc-spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(92, 59, 230, 0.15);
	border-radius: 50%;
	border-top-color: var(--evc-primary);
	animation: evcSpinnerRotate 0.8s linear infinite;
	margin-left: 15px;
	vertical-align: middle;
	display: none;
}

.evc-spinner.is-active {
	display: inline-block;
}

@keyframes evcSpinnerRotate {
	to { transform: rotate(360deg); }
}

/* Success screens styling */
.evc-booking-success-box {
	animation: evcSuccessFadeIn 0.5s ease-out;
}

@keyframes evcSuccessFadeIn {
	from { opacity: 0; transform: scale(0.95); }
	to { opacity: 1; transform: scale(1); }
}

.evc-booking-message {
	padding: 12px;
	border-radius: 6px;
	background: #fff0f1;
	border: 1px solid #ffd4d6;
	font-size: 0.9rem;
}

/* Hide default WordPress theme post metadata (publish date, author, etc.) on Single Events */
.single-veranstaltung .entry-meta,
.single-veranstaltung .post-meta,
.single-veranstaltung .entry-date,
.single-veranstaltung .published,
.single-veranstaltung .author,
.single-veranstaltung .byline,
.single-veranstaltung .post-date,
.single-veranstaltung .meta-info,
.single-veranstaltung .posted-on {
	display: none !important;
}

