/* BeursBuddy My Account dashboard
-------------------------------------------------------------- */
/* Hide the default WooCommerce dashboard introduction. */
.woocommerce-MyAccount-content > p:has(~ .bbv2-account-dashboard) {
	display: none;
}

.bbv2-account-dashboard {
	color: #0b1b30;
}

.bbv2-account-dashboard__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 26px;
}

.bbv2-account-dashboard__eyebrow {
	display: block;
	margin-bottom: 6px;
	color: #65748a;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bbv2-account-dashboard__header h2 {
	margin: 0 0 8px;
	color: #0b1b30;
	font-size: 30px;
	line-height: 1.2;
}

.bbv2-account-dashboard__header p {
	max-width: 680px;
	margin: 0;
	color: #65748a;
	font-size: 15px;
	line-height: 1.6;
}

.bbv2-account-dashboard__event-count {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	min-height: 34px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #edf6f1;
	color: #18794b;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.bbv2-active-events-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.bbv2-active-event-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	border: 1px solid #d9e2ee;
	border-radius: 16px;
	background: #fff;
	color: #0b1b30;
	text-decoration: none;
	box-shadow: 0 3px 10px rgba(15, 35, 60, 0.035);
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

.bbv2-active-event-card:hover,
.bbv2-active-event-card:focus {
	transform: translateY(-2px);
	border-color: #b9c9da;
	color: #0b1b30;
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(15, 35, 60, 0.09);
}

.bbv2-active-event-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 22px 0;
}

.bbv2-active-event-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 116px;
	height: 72px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: #fff;
}

.bbv2-active-event-card__logo img {
	display: block;
	max-width: 94px;
	max-height: 52px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.bbv2-active-event-card__logo span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #edf3f8;
	color: #173957;
	font-size: 24px;
	font-weight: 800;
	letter-spacing: 0.04em;
}

.bbv2-active-event-card__status {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #edf6f1;
	color: #18794b;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

.bbv2-active-event-card__content {
	flex: 1;
	padding: 20px 22px 22px;
}

.bbv2-active-event-card__content h3 {
	margin: 0 0 16px;
	color: #0b1b30;
	font-size: 20px;
	line-height: 1.35;
}

.bbv2-active-event-card__detail {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin-top: 9px;
	color: #65748a;
	font-size: 13px;
	line-height: 1.45;
}

.bbv2-active-event-card__detail .dashicons {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
	margin-top: 1px;
	color: #738399;
	font-size: 17px;
}

.bbv2-active-event-card__booth {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	padding: 11px 13px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
}

.bbv2-active-event-card__booth span {
	color: #65748a;
	font-size: 12px;
	font-weight: 600;
}

.bbv2-active-event-card__booth strong {
	color: #0b1b30;
	font-size: 14px;
}

.bbv2-active-event-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 22px;
	border-top: 1px solid #e7ecf2;
	background: #fbfcfe;
	color: #0d6f47;
	font-size: 13px;
	font-weight: 700;
}

.bbv2-active-event-card:hover
	.bbv2-active-event-card__footer {
	background: #f4faf7;
	color: #095437;
}

.bbv2-account-dashboard-empty {
	display: flex;
	align-items: center;
	flex-direction: column;
	padding: 48px 28px;
	border: 1px dashed #cbd5e1;
	border-radius: 16px;
	background: #fbfcfe;
	text-align: center;
}

.bbv2-account-dashboard-empty > .dashicons {
	width: 42px;
	height: 42px;
	margin-bottom: 14px;
	color: #8a9aaf;
	font-size: 42px;
}

.bbv2-account-dashboard-empty h3 {
	margin: 0 0 7px;
	color: #0b1b30;
	font-size: 20px;
}

.bbv2-account-dashboard-empty p {
	max-width: 480px;
	margin: 0;
	color: #65748a;
}

.bbv2-my-events-header{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:20px;
	margin-bottom:24px;
}

.bbv2-show-past-events{
	display:flex;
	align-items:center;
	gap:10px;
	font-size:14px;
	font-weight:600;
	cursor:pointer;
}

.bbv2-show-past-events input{
	margin:0;
}

.bbv2-exhibitions-list {
	width: 100%;
}

.bbv2-exhibition-panel[hidden] {
	display: none !important;
}

@media (max-width: 900px) {
	.bbv2-active-events-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.bbv2-account-dashboard__header {
		flex-direction: column;
		gap: 14px;
	}

	.bbv2-account-dashboard__header h2 {
		font-size: 25px;
	}

	.bbv2-active-event-card__top {
		padding: 18px 18px 0;
	}

	.bbv2-active-event-card__content {
		padding: 18px;
	}

	.bbv2-active-event-card__footer {
		padding: 14px 18px;
	}

	.bbv2-active-event-card__logo {
		width: 100px;
		height: 64px;
	}

	.bbv2-active-event-card__logo img {
		max-width: 82px;
		max-height: 44px;
	}
}