.hsc-tkt-form-wrap {
	max-width: 480px;
	margin: 20px 0;
	padding: 24px;
	border: 1px solid #d4af37;
	border-radius: 10px;
	background: #111;
	color: #f0f0f0;
	box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}
.hsc-tkt-form-header {
	text-align: center;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(212,175,55,0.4);
}
.hsc-tkt-form-logo { max-width: 90px; height: auto; margin: 0 auto 10px; display: block; }
.hsc-tkt-form-title { color: #d4af37; font-size: 19px; margin: 0; }
.hsc-tkt-event-info p { margin: 4px 0; color: #e6e6e6; }
.hsc-tkt-register-form label { font-weight: 600; color: #e6e6e6; }
.hsc-tkt-register-form input[type="text"],
.hsc-tkt-register-form input[type="email"] {
	width: 100%;
	padding: 9px;
	margin-top: 4px;
	border: 1px solid #444;
	border-radius: 4px;
	box-sizing: border-box;
	background: #1c1c1c;
	color: #fff;
}
.hsc-tkt-register-form input[type="text"]:focus,
.hsc-tkt-register-form input[type="email"]:focus {
	outline: none;
	border-color: #d4af37;
}
.hsc-tkt-submit-btn {
	background: #d4af37;
	color: #111;
	border: none;
	padding: 11px 22px;
	border-radius: 4px;
	font-weight: 700;
	cursor: pointer;
	width: 100%;
}
.hsc-tkt-submit-btn:hover { background: #f0d060; }
.hsc-tkt-message { margin-top: 10px; padding: 8px 12px; border-radius: 4px; }
.hsc-tkt-message.hsc-tkt-error { background: #3d1212; color: #f08080; }
.hsc-tkt-message.hsc-tkt-success { background: #123d1f; color: #6fdc8c; }
.hsc-tkt-closed { padding: 12px; background: #3d1212; border-radius: 4px; color: #f08080; }

.hsc-tkt-types-table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.hsc-tkt-types-table th { text-align: left; padding: 8px 6px; border-bottom: 1px solid #d4af37; color: #d4af37; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em; }
.hsc-tkt-types-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #333; color: #e6e6e6; }
.hsc-tkt-types-table input.hsc-tkt-qty { width: 70px; padding: 6px; border: 1px solid #444; border-radius: 4px; background: #1c1c1c; color: #fff; }
.hsc-tkt-total { font-size: 17px; font-weight: 700; margin: 10px 0; color: #f0f0f0; }
.hsc-tkt-total-amount { color: #d4af37; }
.hsc-tkt-submit-btn:disabled { background: #555; color: #999; cursor: not-allowed; }

/* Admin: Ticketarten-Repeater */
.hsc-tt-table { border-collapse: collapse; margin-top: 8px; }
.hsc-tt-table th, .hsc-tt-table td { padding: 6px 8px; }

/* Admin: Tickets-Tabelle */
.hsc-table-scroll { overflow-x: auto; }
.hsc-tickets-table { table-layout: auto; }
.hsc-tickets-table .hsc-col-cb { width: 28px; }
.hsc-tickets-table .hsc-col-nr { width: 80px; white-space: nowrap; }
.hsc-tickets-table .hsc-col-actions { width: 130px; }
.hsc-tickets-table thead th a { text-decoration: none; color: inherit; font-weight: 600; }
.hsc-tickets-table thead th a:hover { color: #2271b1; }
.hsc-not-delivered { color: #999; font-style: italic; }

.hsc-col-picker { position: relative; margin-left: auto; }
.hsc-col-picker-panel {
	position: absolute;
	right: 0;
	top: 34px;
	z-index: 50;
	background: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	border-radius: 4px;
	padding: 10px 14px;
	min-width: 180px;
}
.hsc-col-picker-panel label { display: block; padding: 3px 0; font-size: 13px; white-space: nowrap; }
.hsc-row-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	align-items: flex-start;
}
.hsc-row-actions .button {
	white-space: nowrap;
	font-size: 12px;
	padding: 0 8px;
	line-height: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	gap: 3px;
}
.hsc-row-actions .button .dashicons {
	width: 14px;
	height: 14px;
	font-size: 14px;
	line-height: 1;
}
.hsc-icon-btn {
	width: 30px;
	height: 30px;
	padding: 0 !important;
	justify-content: center;
}
.hsc-icon-btn .dashicons { width: 16px; height: 16px; font-size: 16px; }
.hsc-btn-paid { border-color: #0a6 !important; }
.hsc-btn-paid .dashicons { color: #0a6; }
.hsc-row-cancel .dashicons { color: #a00; }
.hsc-order-start td { border-top: 2px solid #ccc; }

.hsc-bulk-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0;
	padding: 10px;
	background: #f6f7f7;
	border: 1px solid #ddd;
	border-radius: 4px;
	flex-wrap: wrap;
}
#hsc-bulk-status { color: #666; font-style: italic; }
.hsc-bulk-email-toggle { font-size: 13px; color: #555; display: flex; align-items: center; gap: 4px; }

/* Admin: Status-Hervorhebung */
.hsc-status-used { color: #a00; font-weight: 700; }
.hsc-status-cancelled { color: #888; text-decoration: line-through; }

/* Admin: Zahlungsübersicht */
.hsc-amount-open { color: #a00; font-weight: 600; }
.hsc-amount-paid { color: #0a6; font-weight: 600; }
.hsc-totals-row th { border-top: 2px solid #333; font-size: 14px; }

/* Admin: Ticket-Design */
.hsc-sponsor-logos { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0; }
.hsc-sponsor-logo-item { border: 1px solid #ddd; border-radius: 6px; padding: 10px; text-align: center; background: #fafafa; max-width: 220px; }
.hsc-sponsor-logo-item img { max-width: 180px; display: block; margin: 0 auto 8px; }
.hsc-logo-size-form { margin-bottom: 8px; font-size: 12px; }
.hsc-logo-size-form label { display: block; margin-bottom: 4px; }

/* Standalone Ticket-/Scanner-Seiten */
body.hsc-tkt-standalone {
	background: #111;
	color: #f5f5f5;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	margin: 0;
}
.hsc-tkt-page {
	max-width: 480px;
	margin: 0 auto;
	padding: 24px 16px 60px;
	text-align: center;
}
.hsc-tkt-page h1 {
	color: #d4af37;
	font-size: 22px;
}
.hsc-tkt-qr { margin: 20px 0; }
.hsc-tkt-qr img { border: 8px solid #fff; border-radius: 8px; }
.hsc-tkt-code {
	font-family: monospace;
	font-size: 15px;
	letter-spacing: 1px;
	color: #d4af37;
}
.hsc-tkt-details { text-align: left; margin-top: 20px; background: #1c1c1c; padding: 14px; border-radius: 6px; }
.hsc-tkt-single-ticket { background: #1c1c1c; border-radius: 8px; padding: 16px; margin: 18px 0; }
.hsc-tkt-single-ticket h2 { font-size: 16px; color: #fff; margin: 0 0 10px; }
.hsc-tkt-notice { padding: 14px; border-radius: 6px; margin: 16px 0; }
.hsc-tkt-notice.hsc-tkt-pending { background: #3a3210; color: #f0d060; }
.hsc-tkt-notice.hsc-tkt-used { background: #3a1010; color: #f08080; }
.hsc-tkt-group-notice { text-align: left; }
.hsc-tkt-group-list { margin: 8px 0 0; padding-left: 20px; }
.hsc-tkt-group-list li { margin: 3px 0; }

/* Scanner */
.hsc-tkt-scanner-page { max-width: 600px; }
.hsc-tkt-scanner-page #hsc-reader { margin: 16px auto; max-width: 340px; }
.hsc-tkt-scan-result {
	margin-top: 16px;
	padding: 16px;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 700;
}
.hsc-tkt-scan-idle { background: #1c1c1c; color: #ccc; }
.hsc-tkt-scan-busy { background: #333; color: #fff; }
.hsc-tkt-scan-ok { background: #123d1f; color: #6fdc8c; }
.hsc-tkt-scan-error { background: #3d1212; color: #f08080; }
.hsc-tkt-scan-already-used {
	background: #5c0000;
	color: #fff;
	border: 3px solid #ff3b3b;
	font-size: 20px;
	animation: hsc-pulse-warning 0.6s ease-in-out infinite alternate;
}
@keyframes hsc-pulse-warning {
	from { box-shadow: 0 0 6px 2px rgba(255,59,59,0.4); }
	to   { box-shadow: 0 0 18px 6px rgba(255,59,59,0.9); }
}
.hsc-tkt-scan-help { color: #999; font-size: 13px; }

.hsc-tkt-list-heading { color: #d4af37; margin-top: 28px; margin-bottom: 4px; font-size: 16px; text-align: left; }
#hsc-tkt-list-count { color: #999; font-weight: 400; font-size: 13px; }
.hsc-tkt-scan-list { text-align: left; margin-top: 10px; max-height: 60vh; overflow-y: auto; }
.hsc-tkt-list-loading { color: #888; font-style: italic; }
.hsc-tkt-list-item {
	background: #1c1c1c;
	border-left: 4px solid #555;
	border-radius: 4px;
	padding: 8px 12px;
	margin-bottom: 6px;
}
.hsc-tkt-list-item.hsc-tkt-li-used { border-left-color: #6fdc8c; }
.hsc-tkt-list-item.hsc-tkt-li-cancelled { border-left-color: #888; opacity: 0.6; }
.hsc-tkt-list-item.hsc-tkt-li-open { border-left-color: #d4af37; }
.hsc-tkt-list-item.hsc-tkt-li-error { border-left-color: #ff3b3b; background: #2a1414; }
.hsc-tkt-li-main { color: #fff; font-size: 14px; }
.hsc-tkt-li-meta { margin-top: 3px; font-size: 12px; color: #aaa; display: flex; flex-wrap: wrap; gap: 10px; }
.hsc-tkt-li-status { text-transform: uppercase; letter-spacing: 0.03em; }
.hsc-tkt-li-used-at { color: #6fdc8c; }
