/* 0.55.8 · Perbaikan Dashboard Event dan tabel Manajemen Event.
 * Aturan dibuat cukup spesifik agar menang atas gaya tema dan gaya lama. */

/* Tombol di header hero (gelap): kontras tinggi, berwarna kuning brand. */
html body .beeang-event-ops__heading .button-primary {
	background: #f4c430 !important;
	border-color: #f4c430 !important;
	color: #1d2b00 !important;
}

/* Tombol "Buka Check-in" di kartu Ticketing & Check-in (latar terang). */
html body .beeang-event-attendance__heading .beeang-event-ops__links .button-primary {
	background: #0f6b7a !important;
	border-color: #0f6b7a !important;
	color: #ffffff !important;
}

/* Tabel Pantauan event: muat di panel sempit, status dan tanggal tidak terpotong. */
html body .beeang-event-ops table.beeang-event-ops__table {
	table-layout: auto;
	min-width: 520px;
}
html body .beeang-event-ops .beeang-event-ops__table th,
html body .beeang-event-ops .beeang-event-ops__table td {
	white-space: nowrap;
}
html body .beeang-event-ops .beeang-event-ops__table td:first-child {
	white-space: normal;
	min-width: 200px;
}
html body .beeang-event-ops .beeang-event-ops__date strong {
	display: block;
	font-weight: 700;
}
html body .beeang-event-ops .beeang-event-ops__date small {
	display: block;
	margin-top: 2px;
	color: #5f7682;
	font-size: 12px;
}
html body .beeang-event-ops .beeang-event-ops__org {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	color: #5f7682;
	font-size: 12px;
}

/* Manajemen Event: kolom Tindakan tetap terlihat saat tabel digeser. */
html body .beeang-event-list__table th:last-child,
html body .beeang-event-list__table td:last-child {
	position: sticky;
	right: 0;
	z-index: 1;
	background: #ffffff;
	box-shadow: -10px 0 12px -12px rgba(15, 47, 60, 0.3);
}
html body .beeang-event-list__table td:last-child .button,
html body .beeang-event-list__table td:last-child a {
	white-space: nowrap;
}

/* 0.55.15: tabel Manajemen Event dibuat lebih rapat agar kolom Tindakan terlihat penuh tanpa geser. */
html body .beeang-event-list__table-wrap { overflow-x: auto; }
html body .beeang-event-list__table { min-width: 0; width: 100%; }
html body .beeang-event-list__table th,
html body .beeang-event-list__table td { padding: 12px 10px; }
html body .beeang-event-list__table td:first-child { min-width: 180px; }
html body .beeang-event-list__table th:last-child,
html body .beeang-event-list__table td:last-child { min-width: 150px; white-space: normal; }
html body .beeang-event-list__table td:last-child > * { display: inline-flex; margin: 2px 6px 2px 0; }

/* Atur label: tombol berbingkai solid, bukan garis putus-putus. */
html body details.beeang-labels > summary {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border: 1px solid #0f6b7a;
	border-radius: 999px;
	background: #ffffff;
	color: #0f6b7a;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
html body details.beeang-labels > summary::-webkit-details-marker {
	display: none;
}
html body details.beeang-labels[open] > summary {
	background: #e6f6f4;
}

/* 0.55.19: tabel Event Saya muat di lebar panel tanpa slider; kolom Label dan Tindakan terlihat penuh. */
html body .beeang-event-portal__panel.beeang-event-list .beeang-event-list__table,
html body .beeang-event-shell--internal .beeang-event-list__table {
	min-width: 0;
	width: 100%;
	table-layout: auto;
}
html body .beeang-event-portal__panel.beeang-event-list .beeang-event-list__table th,
html body .beeang-event-shell--internal .beeang-event-list__table th {
	padding: 12px 8px;
	white-space: normal;
	letter-spacing: .03em;
	font-size: 10px;
}
html body .beeang-event-portal__panel.beeang-event-list .beeang-event-list__table td,
html body .beeang-event-shell--internal .beeang-event-list__table td {
	padding: 12px 8px;
	vertical-align: middle;
}
html body .beeang-event-portal__panel.beeang-event-list .beeang-event-list__table td:first-child { min-width: 170px; }
html body .beeang-event-portal__panel.beeang-event-list .beeang-event-list__table td:first-child small { max-width: 24ch; }
html body .beeang-event-list__title { gap: 8px; }
html body .beeang-event-list__table td[data-label="Label Katalog"] { min-width: 120px; }
html body .beeang-event-list__table .beeang-labels summary { white-space: nowrap; }
html body .beeang-event-list__table th:last-child,
html body .beeang-event-list__table td:last-child { min-width: 104px; }
html body .beeang-event-list__table-wrap { overflow-x: auto; scrollbar-width: thin; }

/* 0.66.51 · Thumbnail poster di daftar Semua Event (ikon jenis bila belum ada poster) */
html body .beeang-event-list__icon:has(> img) {
	padding: 0;
	overflow: hidden;
	background: var(--el-soft, #f4f8fa);
}
html body .beeang-event-list__icon > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
