/* ── Checkout form ────────────────────────────────────────────────────────── */

#bizzle-checkout {
	font-family: inherit;
}

.bizzle-checkout-title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #d4a017;
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #2a2a2a;
}

.bizzle-field {
	margin-bottom: 14px;
	overflow: hidden;
}

.bizzle-field label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #888;
	margin-bottom: 6px;
}

.bizzle-field-note {
	color: #555;
	font-weight: normal;
	letter-spacing: 0;
	text-transform: none;
}

.bizzle-field input,
.bizzle-field select {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	background: #1a1a1a;
	border: 1px solid #333;
	color: #eeeeee;
	padding: 10px 12px;
	font-size: 14px;
	box-sizing: border-box !important;
	outline: none;
	transition: border-color 0.2s;
	border-radius: 0;
}

.bizzle-field select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4a017' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
	cursor: pointer;
}

.bizzle-field input:focus,
.bizzle-field select:focus {
	border-color: #d4a017;
}

.bizzle-field select option {
	background: #1a1a1a;
	color: #eeeeee;
}

.bizzle-order-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 0;
	margin-bottom: 16px;
	border-top: 1px solid #2a2a2a;
	border-bottom: 1px solid #2a2a2a;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
}

#bizzle-total {
	color: #d4a017;
	font-size: 20px;
}

#bizzle-paypal-button-container {
	margin-top: 4px;
}

.bizzle-error {
	color: #ff6666;
	font-size: 13px;
	margin-top: 10px;
	padding: 8px 12px;
	background: #1a0000;
	border-left: 3px solid #dd3333;
}

.bizzle-tickets-closed {
	color: #888;
	font-size: 14px;
	padding: 12px 0;
	text-align: center;
}

/* Tickets Coming Soon block */
.bizzle-tickets-soon {
	text-align: center;
	padding: 24px 16px;
	border: 1px dashed #d4a017;
	border-radius: 4px;
	margin: 16px 0;
}
.bizzle-tickets-soon__icon {
	font-size: 28px;
	display: block;
	margin-bottom: 8px;
}
.bizzle-tickets-soon p {
	margin: 0 0 6px;
	font-weight: 700;
	font-size: 16px;
	color: #d4a017;
}
.bizzle-tickets-soon__sub {
	font-weight: 400 !important;
	font-size: 13px !important;
	color: #aaa !important;
}

/* Success state */
#bizzle-checkout-success {
	text-align: center;
	padding: 20px 0;
}

.bizzle-success-icon {
	width: 60px;
	height: 60px;
	background: #1a3a1a;
	border: 2px solid #44aa44;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: #44aa44;
	margin: 0 auto 16px;
}

#bizzle-checkout-success h3 {
	color: #ffffff;
	font-size: 18px;
	margin: 0 0 10px;
}

#bizzle-success-msg {
	color: #cccccc;
	font-size: 14px;
	margin-bottom: 8px;
}

.bizzle-success-note {
	color: #888;
	font-size: 13px;
}

/* ── Scanner page ─────────────────────────────────────────────────────────── */
/* bizzle-tickets.css is only loaded on the scanner page — safe to style body */

html,
body,
#wrap,
#main,
#content-wrap,
#content-wrap > .container,
.site-content,
#primary,
.content-area,
.page-entry,
.entry-content,
article.page {
	background: #0a0a0a !important;
	background-color: #0a0a0a !important;
}

#bizzle-scanner-wrap {
	max-width: 480px;
	margin: 40px auto;
	padding: 20px;
	font-family: inherit;
	position: relative;
	z-index: 1;
	overflow: visible;
}

#bizzle-scanner-header {
	text-align: center;
	margin-bottom: 20px;
}

#bizzle-scanner-header h2 {
	color: #ffffff;
	font-size: 20px;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0 0 6px;
}

#bizzle-scanner-header p {
	color: #888;
	font-size: 14px;
	margin: 0;
}

#bizzle-scanner-viewport {
	position: relative;
	width: 100%;
	background: #000;
	border: 2px solid #d4a017;
	box-shadow: 0 0 0 1px #000, 0 0 20px rgba(212,160,23,0.2);
	overflow: hidden;
	aspect-ratio: 1;
}

#bizzle-scanner-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#bizzle-scanner-crosshair {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 200px;
	height: 200px;
	border: 2px solid rgba(212, 160, 23, 0.8);
	box-shadow: 0 0 0 9999px rgba(0,0,0,0.4);
	pointer-events: none;
}

#bizzle-scanner-result {
	padding: 20px;
	text-align: center;
	margin: 16px 0;
	border-radius: 4px;
	transition: background 0.3s;
}

.bizzle-scanner-idle    { background: #111; border: 1px solid #333; }
.bizzle-scanner-valid   { background: #0d2b0d; border: 2px solid #44aa44; }
.bizzle-scanner-invalid { background: #2b0d0d; border: 2px solid #dd3333; }
.bizzle-scanner-used    { background: #2b220d; border: 2px solid #d4a017; }

#bizzle-scanner-status {
	font-size: 20px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 6px;
}

#bizzle-scanner-detail {
	font-size: 14px;
	color: #aaaaaa;
}

#bizzle-scanner-controls {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin-bottom: 20px;
}

.bizzle-scanner-btn {
	background: #dd3333;
	color: #ffffff;
	border: none;
	padding: 12px 24px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s;
}

.bizzle-scanner-btn:hover { background: #bb2222; }
.bizzle-scanner-btn--secondary { background: #333; }
.bizzle-scanner-btn--secondary:hover { background: #444; }

#bizzle-scanner-manual {
	border-top: 1px solid #222;
	padding-top: 20px;
	margin-top: 10px;
}

#bizzle-scanner-manual p {
	color: #666;
	font-size: 13px;
	margin: 0 0 8px;
}

#bizzle-manual-code {
	flex: 1;
	background: #1a1a1a;
	border: 1px solid #333;
	color: #eeeeee;
	padding: 10px 12px;
	font-size: 13px;
	font-family: monospace;
}

/* ── Admin ticket type JS UI ─────────────────────────────────────────────── */
#bizzle-type-msg { min-height: 20px; }
