/**
 * Ticket check-in UI (shortcode) — #121212 + #FF7514
 * Loaded on the configured check-in page so Elementor/theme cannot strip it.
 */

.glastbury-ticket-checkin-root {
	box-sizing: border-box;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin-notice {
	padding: 12px 14px !important;
	background: #1e1e1e !important;
	border: 1px solid #ff7514 !important;
	color: #f5f5f5 !important;
	border-radius: 8px !important;
	margin: 0 0 1rem !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin {
	background: #121212 !important;
	background-color: #121212 !important;
	color: #f5f5f5 !important;
	padding: 1.5rem !important;
	border-radius: 8px !important;
	max-width: 520px !important;
	width: 100% !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin p,
.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin label {
	color: #f5f5f5 !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin a {
	color: #ff7514 !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .glastbury-ticket-checkin__row {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .glastbury-ticket-checkin__row .input-text {
	flex: 1 1 0 !important;
	min-width: 0 !important;
	width: auto !important;
	height: 48px !important;
	min-height: 48px !important;
	line-height: 1.25 !important;
	padding: 0 12px !important;
	box-sizing: border-box !important;
	background: #1e1e1e !important;
	background-color: #1e1e1e !important;
	border: 1px solid #333 !important;
	color: #f5f5f5 !important;
	border-radius: 6px !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .glastbury-ticket-checkin__row .input-text:focus {
	outline: 2px solid #ff7514 !important;
	outline-offset: 0 !important;
	border-color: #ff7514 !important;
}

/* Beat WooCommerce / Elementor / theme buttons (e.g. purple .button.alt) */
.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .glastbury-ticket-checkin__row button,
.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .glastbury-ticket-checkin__row button.button,
.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .glastbury-ticket-checkin__row button[type="submit"],
.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .glastbury-ticket-checkin__row .button.alt {
	flex: 0 0 auto !important;
	height: 48px !important;
	min-height: 48px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	white-space: nowrap !important;
	background: #ff7514 !important;
	background-color: #ff7514 !important;
	background-image: none !important;
	color: #121212 !important;
	border: none !important;
	border-width: 0 !important;
	font-weight: 600 !important;
	padding: 0 1.25rem !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .glastbury-ticket-checkin__row button:hover,
.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .glastbury-ticket-checkin__row button:focus {
	background: #ff7514 !important;
	background-color: #ff7514 !important;
	background-image: none !important;
	color: #121212 !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .button {
	background: #ff7514 !important;
	background-color: #ff7514 !important;
	background-image: none !important;
	color: #121212 !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin label {
	display: block !important;
	margin-bottom: 0.5rem !important;
	font-weight: 600 !important;
}

/* WooCommerce notice icons (::before) clash with this skin’s padding—disable when still used (e.g. settings hint). */
.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .woocommerce-message::before,
.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .woocommerce-error::before {
	content: none !important;
	display: none !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .woocommerce-message,
.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .woocommerce-error {
	padding: 12px 14px 12px 16px !important;
	margin: 0 0 1rem !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .woocommerce-message {
	background: #1a2419 !important;
	border-left: 4px solid #ff7514 !important;
	color: #f5f5f5 !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin--skin .woocommerce-error {
	background: #2a1a1a !important;
	border-left: 4px solid #c62828 !important;
	color: #f5f5f5 !important;
}

/* Check-in result: flex row so the icon never overlaps the text (replaces woocommerce-message for scan results). */
.glastbury-ticket-checkin-root .glastbury-ticket-checkin-flash {
	display: flex !important;
	align-items: flex-start !important;
	gap: 12px !important;
	padding: 14px 16px !important;
	margin: 0 0 1rem !important;
	border-radius: 6px !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	box-sizing: border-box !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin-flash--success {
	background: #1a2e1f !important;
	border-top: 2px solid #4caf50 !important;
	border-color: rgba(76, 175, 80, 0.35) !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin-flash--error {
	background: #2a1a1a !important;
	border-top: 2px solid #c62828 !important;
	border-color: rgba(198, 40, 40, 0.4) !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin-flash__glyph {
	flex: 0 0 auto !important;
	width: 1.75rem !important;
	height: 1.75rem !important;
	margin-top: 2px !important;
	border-radius: 50% !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin-flash--success .glastbury-ticket-checkin-flash__glyph {
	background: #2e7d32 !important;
	color: #fff !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin-flash--error .glastbury-ticket-checkin-flash__glyph {
	background: #c62828 !important;
	color: #fff !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin-flash__body {
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin-flash__title {
	display: block !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	color: #f5f5f5 !important;
	margin: 0 0 0.4rem !important;
	line-height: 1.35 !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin-flash__details {
	margin: 0 !important;
	padding: 0 0 0 1.1rem !important;
	color: #e0e0e0 !important;
	font-size: 0.95rem !important;
	line-height: 1.45 !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin-flash__details li {
	margin: 0.2rem 0 0 !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin-flash__details li:first-child {
	margin-top: 0 !important;
}

.glastbury-ticket-checkin-root .glastbury-ticket-checkin-flash__text {
	flex: 1 1 auto !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0.95rem !important;
	line-height: 1.45 !important;
	color: #f5f5f5 !important;
}
