/* NitroBitz Bay2Game: storefront. Same look as the MooGold top-up card so all top-up products match. */
.nbb2g-box,
.nbb2g-status {
	--nb-blue: #1a56db;
	--nb-ink: #111827;
	--nb-mute: #6b7280;
	--nb-bad: #dc2626;
	--nb-ok: #067647;
	--nb-warn: #b54708;
}

.nbb2g-box *,
.nbb2g-status * {
	box-sizing: border-box;
}

.nbb2g-ui-wrap {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #ffffff;
	margin: 20px 0;
	overflow: hidden;
	clear: both;
	width: 100%;
}

.nbb2g-ui-header {
	background: #f9fafb;
	padding: 14px 16px;
	font-size: 15px;
	font-weight: 600;
	color: #16a34a;
	border-bottom: 1px solid #e5e7eb;
}

.nbb2g-ui-body {
	padding: 16px;
}

.nbb2g-field {
	margin-bottom: 14px;
}

.nbb2g-ui-wrap .nbb2g-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #111827;
}

.nbb2g-ui-wrap .nbb2g-field label span {
	color: #dc2626;
}

.nbb2g-ui-wrap .nbb2g-field input[type="text"] {
	display: block;
	width: 100%;
	height: 44px;
	padding: 0 12px;
	border-radius: 8px !important;
	border: 1px solid #d1d5db;
	font-size: 14px;
	background: #fff;
	box-shadow: none;
}

.nbb2g-ui-wrap .nbb2g-field input[type="text"]:focus {
	border-color: #22c55e;
	outline: none;
	box-shadow: 0 0 0 1px #22c55e;
}

.nbb2g-ui-wrap .nbb2g-field.is-invalid input[type="text"] {
	border-color: #dc2626;
	box-shadow: none;
}

.nbb2g-error {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.4;
	color: #dc2626;
}

.nbb2g-error[hidden] {
	display: none;
}

.nbb2g-help-toggle {
	display: inline-block;
	margin: 0 0 4px;
	padding: 0;
	font-size: 13px;
	color: #1a56db;
	background: none;
	border: 0;
	text-decoration: underline;
	cursor: pointer;
}

.nbb2g-help {
	margin: 10px 0 0;
	padding: 12px 14px;
	font-size: 13px;
	line-height: 1.5;
	color: #111827;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
}

.nbb2g-help[hidden] {
	display: none;
}

.nbb2g-help p {
	margin: 0 0 10px;
}

.nbb2g-help img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.nbb2g-ui-footer {
	padding: 12px 16px;
	font-size: 12px;
	color: #6b7280;
	border-top: 1px solid #e5e7eb;
	background: #fafafa;
}

/* Order received / view order */
.nbb2g-status {
	margin: 0 0 28px;
	padding: 18px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
}

.nbb2g-status-title {
	margin: 0 0 12px;
	font-size: 18px;
}

.nbb2g-status-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nbb2g-status-list li {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-top: 1px solid #eaecf0;
}

.nbb2g-status-list li:first-child {
	border-top: 0;
}

.nbb2g-status-note {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--nb-mute);
}

.nbb2g-status-note[hidden] {
	display: none;
}

.nbb2g-badge {
	padding: 4px 10px;
	font-size: 13px;
	font-weight: 600;
	border-radius: 999px;
	white-space: nowrap;
}

.nbb2g-badge.is-completed,
.nbb2g-badge.is-delivered {
	color: var(--nb-ok);
	background: #ecfdf3;
}

.nbb2g-badge.is-processing,
.nbb2g-badge.is-pending,
.nbb2g-badge.is-on-hold {
	color: var(--nb-blue);
	background: #eff4ff;
}

.nbb2g-badge.is-cancelled,
.nbb2g-badge.is-refunded,
.nbb2g-badge.is-failed {
	color: #b42318;
	background: #fef3f2;
}

.nbb2g-badge.is-delayed {
	color: var(--nb-warn);
	background: #fffaeb;
}

@media (prefers-reduced-motion: reduce) {
	.nbb2g-ui-wrap .nbb2g-field input[type="text"] {
		transition: none;
	}
}
