/* --------------------------------------------------------------------------
 * GRZ Gaming — dedicated account-validator step (v1.9.6)
 *
 * The validator keeps its original inputs and behaviour. This layer only
 * gives it a first-class card above Order Summary and reconciles the legacy
 * summary-nested presentation rules.
 * ----------------------------------------------------------------------- */

body.single-product.grz-product-immersive .grz-tp-card--validator[hidden] {
	display: none !important;
}

body.single-product.grz-product-immersive .grz-tp-rail {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

body.single-product.grz-product-immersive .grz-tp-rail > .grz-tp-card {
	width: 100%;
	max-width: none;
}

body.single-product.grz-product-immersive .grz-tp-card--validator {
	overflow: visible;
	border: 1px solid #d8e0ec;
	border-radius: var(--grz-product-card-radius-setting, 8px);
	background: #fff;
	box-shadow: 0 16px 36px rgba(14, 28, 52, .13);
}

body.single-product.grz-product-immersive .grz-tp-card--validator > .grz-tp-card__head {
	min-height: 62px;
	padding: 15px 18px 13px;
	border-bottom: 1px solid #e2e7ef;
	background: #fff;
}

body.single-product.grz-product-immersive .grz-tp-card--validator .grz-tp-card__sub {
	margin-top: 2px;
	color: #68778f;
	font-size: 11px;
	line-height: 1.35;
}

body.single-product.grz-product-immersive .grz-tp-card--validator > .grz-tp-validator-body {
	padding: 15px 18px 17px;
	background: #fff;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-box,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-box-inner {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-head.grz-caller-sr-only,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-help.grz-caller-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-product-line {
	display: none !important;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-label {
	display: flex;
	align-items: baseline;
	gap: 3px;
	margin: 0 0 7px;
	color: #53627a;
	font-size: 11px;
	font-weight: 650;
	line-height: 1.3;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-required {
	color: #cf3047;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-row {
	margin: 0;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-account-control {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: stretch;
	min-height: 48px;
	overflow: hidden;
	border: 1px solid #aebbd0;
	border-radius: var(--grz-product-control-radius-setting, 6px);
	background: #fff;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-account-control:focus-within {
	border-color: #0762e6;
	box-shadow: 0 0 0 3px rgba(7, 98, 230, .12);
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-user-id,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-server-id,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-zone-id,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-player-name-display,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-profile-id {
	min-width: 0;
	min-height: 48px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #aebbd0;
	border-radius: var(--grz-product-control-radius-setting, 6px);
	background: #fff;
	color: #162238;
	font: inherit;
	font-size: 13px;
	box-shadow: none;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-account-control .grz-caller-user-id {
	width: 100%;
	border: 0;
	border-radius: 0;
	outline: 0;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-validate-btn,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-switch-btn {
	min-width: 50px;
	min-height: 48px;
	margin: 0;
	padding: 0 13px;
	border: 0;
	border-inline-start: 1px solid #d6deea;
	border-radius: 0;
	background: #fff;
	color: #075bd3;
	font-size: 12px;
	font-weight: 750;
	cursor: pointer;
	transition: background 150ms ease, color 150ms ease;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-validate-btn:hover,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-validate-btn:focus-visible,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-switch-btn:hover,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-switch-btn:focus-visible {
	background: #edf5ff;
	color: #0648ad;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-server-wrap,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-zone-wrap,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-name-wrap,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-profile-wrap {
	margin-top: 12px;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-server-id,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-zone-id,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-player-name-display,
body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-profile-id {
	width: 100%;
}

body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-status:not([hidden]) {
	display: block;
	margin-top: 10px;
	padding: 9px 11px;
	border-radius: 5px;
	background: #eef5ff;
	color: #1c4f91;
	font-size: 11px;
	line-height: 1.4;
}

@media (max-width: 620px) {
	body.single-product.grz-product-immersive .grz-tp-card--validator > .grz-tp-card__head {
		padding: 14px;
	}

	body.single-product.grz-product-immersive .grz-tp-card--validator > .grz-tp-validator-body {
		padding: 14px;
	}

	body.single-product.grz-product-immersive .grz-tp-card--validator .grz-tp-card__sub {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-account-control,
	body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-validate-btn,
	body.single-product.grz-product-immersive .grz-tp-validator-slot .grz-caller-switch-btn {
		transition: none;
	}
}
