/**
 * Authenticated BlueGam Credit account and post-purchase presentation.
 */

.bluegam-credit-account,
.bluegam-credit-account * {
	box-sizing: border-box;
}

.bluegam-credit-account {
	--credit-navy: var(--wp--preset--color--text-primary, #0b2d5b);
	--credit-blue: var(--wp--preset--color--primary, #1688d4);
	--credit-blue-dark: var(--wp--preset--color--primary-active, #0b5fab);
	--credit-muted: var(--wp--preset--color--text-muted, #5b7187);
	--credit-border: var(--wp--preset--color--border, #d8eaf6);
	--credit-soft: var(--wp--preset--color--surface-soft, #f5fafe);
	direction: rtl;
	display: grid;
	gap: 22px;
	inline-size: 100%;
	min-inline-size: 0;
	text-align: start;
}

.bluegam-credit-account :is(h2, h3, p) {
	margin: 0;
}

.bluegam-credit-account svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bluegam-credit-overview,
.bluegam-credit-topup,
.bluegam-credit-history {
	background: #fff;
	border: 1px solid var(--credit-border);
	border-radius: 24px;
	box-shadow: 0 16px 44px rgb(11 45 91 / 7%);
	min-inline-size: 0;
	overflow: hidden;
}

.bluegam-credit-account__summary {
	align-items: stretch;
	background:
		radial-gradient(circle at 12% 22%, rgb(87 184 255 / 18%), transparent 29%),
		linear-gradient(120deg, #fafdff 5%, #f1f8ff 54%, #eaf6ff 100%);
	display: grid;
	gap: clamp(24px, 4vw, 54px);
	grid-template-columns: minmax(0, 1.1fr) minmax(250px, 0.8fr);
	min-block-size: 250px;
	padding: clamp(26px, 4vw, 46px);
	position: relative;
}

.bluegam-credit-account__summary::before,
.bluegam-credit-account__summary::after {
	background: rgb(255 255 255 / 48%);
	border-radius: 999px;
	content: "";
	pointer-events: none;
	position: absolute;
}

.bluegam-credit-account__summary::before {
	block-size: 130px;
	inline-size: 130px;
	inset-block-start: -54px;
	inset-inline-end: 26%;
}

.bluegam-credit-account__summary::after {
	block-size: 86px;
	inline-size: 86px;
	inset-block-end: -44px;
	inset-inline-start: 38%;
}

.bluegam-credit-account__total {
	align-content: center;
	display: grid;
	gap: 14px 18px;
	grid-template-columns: 66px minmax(0, 1fr);
	min-inline-size: 0;
	position: relative;
	z-index: 1;
}

.bluegam-credit-account__wallet-icon,
.bluegam-credit-breakdown__icon,
.bluegam-credit-section-heading__icon {
	align-items: center;
	background: #e2f2ff;
	border-radius: 18px;
	color: #0878d7;
	display: inline-flex;
	justify-content: center;
}

.bluegam-credit-account__wallet-icon {
	block-size: 66px;
	box-shadow: 0 10px 24px rgb(22 136 212 / 13%);
	grid-row: 1;
	inline-size: 66px;
}

.bluegam-credit-account__wallet-icon svg {
	block-size: 33px;
	inline-size: 33px;
}

.bluegam-credit-account__total-copy {
	display: grid;
	gap: 5px;
	min-inline-size: 0;
}

.bluegam-credit-account__eyebrow {
	color: var(--credit-navy);
	font-size: clamp(1rem, 1.6vw, 1.18rem);
	font-weight: 800;
}

.bluegam-credit-account__balance {
	color: #064ba8;
	font-size: clamp(2.15rem, 5vw, 3.65rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1.1;
	min-inline-size: 0;
}

.bluegam-credit-account__balance :is(.woocommerce-Price-amount, bdi),
.bluegam-credit-breakdown__card strong :is(.woocommerce-Price-amount, bdi),
.bluegam-credit-history__table :is(.woocommerce-Price-amount, bdi),
.bluegam-credit-history__amount > span {
	direction: ltr;
	display: inline-block;
	unicode-bidi: isolate;
}

.bluegam-credit-account__total-copy > p:last-child {
	color: var(--credit-muted);
	font-size: 0.9rem;
	line-height: 1.75;
}

.bluegam-credit-account__topup-link {
	align-items: center;
	background: linear-gradient(135deg, #1688d4, #0566c8);
	border: 1px solid transparent;
	border-radius: 13px;
	box-shadow: 0 12px 24px rgb(5 102 200 / 18%);
	color: #fff;
	display: inline-flex;
	font-weight: 800;
	gap: 9px;
	grid-column: 1 / -1;
	justify-self: start;
	min-block-size: 46px;
	padding: 9px 18px;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.bluegam-credit-account__topup-link svg {
	block-size: 19px;
	inline-size: 19px;
}

.bluegam-credit-account__topup-link:hover,
.bluegam-credit-account__topup-link:focus-visible {
	box-shadow: 0 14px 28px rgb(5 102 200 / 25%);
	color: #fff;
	transform: translateY(-1px);
}

.bluegam-credit-account__visual {
	align-items: center;
	background: rgb(255 255 255 / 55%);
	border: 1px solid rgb(185 222 247 / 74%);
	border-radius: 22px;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(150px, 0.9fr) minmax(120px, 1fr);
	min-inline-size: 0;
	padding: 20px;
	position: relative;
	z-index: 1;
}

.bluegam-credit-account__visual-mark {
	align-self: end;
	color: #0878d7;
	display: block;
}

.bluegam-credit-account__visual-mark svg {
	filter: drop-shadow(0 14px 14px rgb(5 102 200 / 12%));
	inline-size: min(100%, 210px);
	margin-inline: auto;
	stroke-width: 3;
}

.bluegam-credit-account__visual > div {
	display: grid;
	gap: 7px;
}

.bluegam-credit-account__visual strong {
	color: var(--credit-navy);
	font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.bluegam-credit-account__visual span:last-child {
	color: #37688d;
	font-size: 0.88rem;
	line-height: 1.75;
}

.bluegam-credit-breakdown {
	background: #fbfdff;
	border-block-start: 1px solid var(--credit-border);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 13px clamp(18px, 3vw, 34px);
}

.bluegam-credit-breakdown__card {
	align-items: center;
	background: transparent;
	display: grid;
	gap: 12px;
	grid-template-columns: 48px minmax(0, 1fr);
	min-inline-size: 0;
	padding: 14px clamp(14px, 2.2vw, 28px);
	position: relative;
}

.bluegam-credit-breakdown__card + .bluegam-credit-breakdown__card {
	border-inline-start: 1px solid var(--credit-border);
}

.bluegam-credit-breakdown__icon {
	block-size: 48px;
	inline-size: 48px;
}

.bluegam-credit-breakdown__icon svg {
	block-size: 24px;
	inline-size: 24px;
}

.bluegam-credit-breakdown__card.is-cashback .bluegam-credit-breakdown__icon {
	background: #e7faf3;
	color: #0aa865;
}

.bluegam-credit-breakdown__card.is-admin .bluegam-credit-breakdown__icon {
	background: #f0edff;
	color: #7357d8;
}

.bluegam-credit-breakdown__card.is-affiliate .bluegam-credit-breakdown__icon {
	background: #e7f7ef;
	color: #087a4d;
}

.bluegam-credit-breakdown__card > div {
	display: grid;
	gap: 2px;
	min-inline-size: 0;
}

.bluegam-credit-breakdown__card > div > span {
	color: #52718d;
	font-size: 0.78rem;
	font-weight: 800;
}

.bluegam-credit-breakdown__card strong {
	color: var(--credit-navy);
	font-size: clamp(1.05rem, 2.1vw, 1.45rem);
	line-height: 1.35;
	min-inline-size: 0;
}

.bluegam-credit-breakdown__card small {
	color: var(--credit-muted);
	font-size: 0.7rem;
	line-height: 1.55;
}

.bluegam-credit-topup,
.bluegam-credit-history {
	display: grid;
	gap: 22px;
	padding: clamp(22px, 3.3vw, 36px);
}

.bluegam-credit-topup {
	scroll-margin-block-start: 24px;
}

.bluegam-credit-section-heading {
	align-items: flex-start;
	display: flex;
	gap: 14px;
}

.bluegam-credit-section-heading__icon {
	block-size: 50px;
	flex: 0 0 50px;
	inline-size: 50px;
}

.bluegam-credit-section-heading__icon svg {
	block-size: 25px;
	inline-size: 25px;
}

.bluegam-credit-section-heading > div {
	display: grid;
	gap: 4px;
}

.bluegam-credit-section-heading h3 {
	color: var(--credit-navy);
	font-size: clamp(1.25rem, 2.4vw, 1.65rem);
	line-height: 1.35;
}

.bluegam-credit-section-heading p {
	color: var(--credit-muted);
	font-size: 0.87rem;
	line-height: 1.75;
}

.bluegam-credit-topup form {
	display: grid;
	gap: 15px;
}

.bluegam-credit-topup__controls {
	align-items: end;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(220px, 1.15fr) minmax(230px, 0.9fr) minmax(190px, auto);
}

.bluegam-credit-topup__amount {
	display: grid;
	gap: 8px;
	min-inline-size: 0;
}

.bluegam-credit-topup__amount > span:first-child {
	color: var(--credit-navy);
	font-size: 0.8rem;
	font-weight: 800;
}

.bluegam-credit-topup__amount-field {
	align-items: center;
	background: #fff;
	border: 1px solid #b9d7eb;
	border-radius: 13px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	min-block-size: 52px;
	overflow: hidden;
}

.bluegam-credit-topup input {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--credit-navy);
	direction: ltr;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	inline-size: 100%;
	min-block-size: 50px;
	min-inline-size: 0;
	padding: 10px 15px;
	text-align: start;
}

.bluegam-credit-topup input:focus {
	box-shadow: inset 0 0 0 2px rgb(22 136 212 / 18%);
	outline: 0;
}

.bluegam-credit-topup__amount-field b {
	align-items: center;
	align-self: stretch;
	background: #f0f7fc;
	border-inline-start: 1px solid #d2e5f2;
	color: #3b6688;
	display: flex;
	font-size: 0.82rem;
	font-weight: 800;
	padding-inline: 14px;
}

.bluegam-credit-topup__route {
	align-items: center;
	background: #fbfdff;
	border: 1px solid #cfe2ef;
	border-radius: 13px;
	display: flex;
	gap: 12px;
	min-block-size: 52px;
	min-inline-size: 0;
	padding: 8px 14px;
}

.bluegam-credit-topup__route svg {
	block-size: 25px;
	color: #176fb5;
	flex: 0 0 25px;
	inline-size: 25px;
}

.bluegam-credit-topup__route span {
	display: grid;
	gap: 1px;
	min-inline-size: 0;
}

.bluegam-credit-topup__route small {
	color: var(--credit-muted);
	font-size: 0.68rem;
}

.bluegam-credit-topup__route strong {
	color: var(--credit-navy);
	font-size: 0.8rem;
	overflow-wrap: anywhere;
}

.bluegam-credit-topup button {
	align-items: center;
	background: linear-gradient(135deg, #167fe2, #075ec4);
	border: 0;
	border-radius: 13px;
	box-shadow: 0 10px 24px rgb(5 102 200 / 16%);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-weight: 800;
	gap: 11px;
	justify-content: center;
	min-block-size: 52px;
	padding: 10px 21px;
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.bluegam-credit-topup button svg {
	block-size: 20px;
	inline-size: 20px;
	transform: scaleX(-1);
}

.bluegam-credit-topup button:hover,
.bluegam-credit-topup button:focus-visible {
	box-shadow: 0 13px 28px rgb(5 102 200 / 24%);
	transform: translateY(-1px);
}

.bluegam-credit-topup__note {
	align-items: flex-start;
	background: #eff8ff;
	border: 1px solid #d5eafa;
	border-radius: 11px;
	color: #466b88;
	display: flex;
	font-size: 0.76rem;
	gap: 8px;
	line-height: 1.75;
	padding: 9px 12px;
}

.bluegam-credit-topup__note svg {
	block-size: 18px;
	color: #1688d4;
	flex: 0 0 18px;
	inline-size: 18px;
	margin-block-start: 2px;
}

.bluegam-credit-history__source {
	background: #eef7fd;
	border-radius: 999px;
	color: #1b689d;
	display: inline-flex;
	font-size: 0.75rem;
	font-weight: 800;
	padding: 5px 10px;
}

.bluegam-credit-history__source.is-cashback {
	background: #eafaf3;
	color: #087a48;
}

.bluegam-credit-history__source.is-admin {
	background: #f2effd;
	color: #6744c7;
}

.bluegam-credit-history__table {
	border: 0;
	border-collapse: collapse;
	inline-size: 100%;
	margin: 0;
	table-layout: fixed;
}

.bluegam-credit-history__table :is(th, td) {
	border: 0;
	border-block-end: 1px solid var(--credit-border);
	font-size: 0.86rem;
	padding: 15px 12px;
	text-align: start;
	vertical-align: middle;
}

.bluegam-credit-history__table thead th {
	background: #f3f8fc;
	color: var(--credit-muted);
	font-size: 0.74rem;
	font-weight: 800;
}

.bluegam-credit-history__table thead th:first-child {
	border-start-start-radius: 10px;
}

.bluegam-credit-history__table thead th:last-child {
	border-start-end-radius: 10px;
}

.bluegam-credit-history__table tbody th {
	color: var(--credit-navy);
	font-weight: 800;
}

.bluegam-credit-history__table tbody td {
	color: #365f80;
}

.bluegam-credit-history__table tbody tr:last-child :is(th, td) {
	border-block-end: 0;
}

.bluegam-credit-history__amount {
	font-weight: 900;
}

.bluegam-credit-history__amount.is-credit {
	color: var(--wp--preset--color--success, #12b76a);
}

.bluegam-credit-history__amount.is-debit {
	color: var(--wp--preset--color--error, #f04438);
}

.bluegam-credit-history__empty {
	align-items: center;
	background:
		radial-gradient(circle at 68% 50%, rgb(95 183 245 / 12%), transparent 21%),
		linear-gradient(110deg, #fbfdff, #f3f9fe);
	border: 1px dashed #a6d8ff;
	border-radius: 18px;
	display: flex;
	gap: clamp(20px, 4vw, 42px);
	justify-content: center;
	min-block-size: 190px;
	padding: clamp(22px, 4vw, 38px);
	text-align: center;
}

.bluegam-credit-history__empty-icon {
	align-items: center;
	background: #e5f4ff;
	block-size: 104px;
	border-radius: 32px;
	color: #42a1e5;
	display: flex;
	flex: 0 0 104px;
	justify-content: center;
	transform: rotate(-3deg);
}

.bluegam-credit-history__empty-icon svg {
	block-size: 68px;
	inline-size: 68px;
	stroke-width: 3;
}

.bluegam-credit-history__empty > div {
	display: grid;
	gap: 7px;
	justify-items: center;
}

.bluegam-credit-history__empty strong {
	color: var(--credit-navy);
	font-size: 1rem;
}

.bluegam-credit-history__empty p,
.bluegam-credit-history__page-empty {
	color: var(--credit-muted);
	margin: 0;
}

.bluegam-credit-history :is(.button, a.button),
.bluegam-credit-history__pagination .button {
	align-items: center;
	background: #e8f4fd;
	border: 1px solid #c8e3f6;
	border-radius: 11px;
	color: #086cb9;
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 800;
	justify-content: center;
	min-block-size: 42px;
	padding: 8px 16px;
	text-decoration: none;
}

.bluegam-credit-history :is(.button, a.button):hover,
.bluegam-credit-history__pagination .button:hover {
	background: #d9edfb;
	border-color: #add6f3;
	color: #075f9f;
}

.bluegam-credit-history__pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
}

.bluegam-credit-earned {
	align-items: center;
	background: #edfbf4;
	border: 1px solid #a9e5c8;
	border-radius: 16px;
	box-sizing: border-box;
	color: #0b2d5b;
	display: flex;
	gap: 12px;
	inline-size: min(100%, 1080px);
	margin: 16px auto;
	padding: 16px 20px;
	text-align: start;
}

.bluegam-credit-earned__icon {
	align-items: center;
	background: #12b76a;
	block-size: 36px;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	flex: 0 0 36px;
	font-weight: 800;
	justify-content: center;
}

.bluegam-credit-earned p {
	font-size: 1rem;
	font-weight: 700;
	margin: 0;
}

.bluegam-credit-earned :is(.woocommerce-Price-amount, bdi) {
	direction: ltr;
	unicode-bidi: isolate;
}

@media (max-width: 980px) {
	.bluegam-credit-breakdown {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bluegam-credit-breakdown__card:nth-child(n + 3) {
		border-block-start: 1px solid var(--credit-border);
	}

	.bluegam-credit-breakdown__card:nth-child(odd) {
		border-inline-start: 0;
	}

	.bluegam-credit-account__summary {
		grid-template-columns: minmax(0, 1fr);
	}

	.bluegam-credit-account__visual {
		grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1fr);
	}

	.bluegam-credit-topup__controls {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bluegam-credit-topup button {
		grid-column: 1 / -1;
	}
}

@media (max-width: 720px) {
	.bluegam-credit-overview,
	.bluegam-credit-topup,
	.bluegam-credit-history {
		border-radius: 19px;
	}

	.bluegam-credit-account__summary {
		gap: 20px;
		min-block-size: 0;
	}

	.bluegam-credit-breakdown {
		grid-template-columns: minmax(0, 1fr);
		padding-block: 7px;
	}

	.bluegam-credit-breakdown__card + .bluegam-credit-breakdown__card {
		border-block-start: 1px solid var(--credit-border);
		border-inline-start: 0;
	}

	.bluegam-credit-topup__controls {
		grid-template-columns: minmax(0, 1fr);
	}

	.bluegam-credit-topup button {
		grid-column: auto;
	}
}

@media (max-width: 600px) {
	.bluegam-credit-account {
		gap: 16px;
	}

	.bluegam-credit-account__summary,
	.bluegam-credit-topup,
	.bluegam-credit-history {
		padding: 18px;
	}

	.bluegam-credit-account__total {
		gap: 12px;
		grid-template-columns: 52px minmax(0, 1fr);
	}

	.bluegam-credit-account__wallet-icon {
		block-size: 52px;
		border-radius: 15px;
		inline-size: 52px;
	}

	.bluegam-credit-account__wallet-icon svg {
		block-size: 27px;
		inline-size: 27px;
	}

	.bluegam-credit-account__balance {
		font-size: clamp(1.85rem, 10vw, 2.55rem);
	}

	.bluegam-credit-account__topup-link {
		inline-size: 100%;
		justify-content: center;
	}

	.bluegam-credit-account__visual {
		grid-template-columns: minmax(105px, 0.65fr) minmax(0, 1fr);
		padding: 15px;
	}

	.bluegam-credit-account__visual-mark svg {
		max-block-size: 112px;
	}

	.bluegam-credit-breakdown__card {
		padding-inline: 7px;
	}

	.bluegam-credit-section-heading__icon {
		block-size: 44px;
		flex-basis: 44px;
		inline-size: 44px;
	}

	.bluegam-credit-history__table,
	.bluegam-credit-history__table tbody,
	.bluegam-credit-history__table tr,
	.bluegam-credit-history__table :is(th, td) {
		display: block;
		inline-size: 100%;
	}

	.bluegam-credit-history__table thead {
		block-size: 1px;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		inline-size: 1px;
		overflow: hidden;
		position: absolute;
		white-space: nowrap;
	}

	.bluegam-credit-history__table tbody {
		display: grid;
		gap: 12px;
	}

	.bluegam-credit-history__table tbody tr {
		background: #f7fbfe;
		border: 1px solid var(--credit-border);
		border-radius: 15px;
		display: grid;
		gap: 0;
		overflow: hidden;
		padding: 8px 12px;
	}

	.bluegam-credit-history__table tbody :is(th, td) {
		align-items: center;
		background: transparent;
		border-block-end: 1px solid var(--credit-border);
		display: grid;
		gap: 8px;
		grid-template-columns: minmax(86px, 0.42fr) minmax(0, 1fr);
		padding: 12px 8px;
	}

	.bluegam-credit-history__table tbody :is(th, td)::before {
		color: var(--credit-muted);
		content: attr(data-label);
		font-size: 0.72rem;
		font-weight: 700;
	}

	.bluegam-credit-history__table tbody tr > :last-child {
		border-block-end: 0;
	}

	.bluegam-credit-history__empty {
		align-items: center;
		flex-direction: column;
		min-block-size: 0;
	}

	.bluegam-credit-history__empty-icon {
		block-size: 84px;
		flex-basis: 84px;
		inline-size: 84px;
	}

	.bluegam-credit-history__empty-icon svg {
		block-size: 54px;
		inline-size: 54px;
	}

	.bluegam-credit-history__pagination {
		align-items: stretch;
		flex-direction: column;
	}

	.bluegam-credit-history__empty .button,
	.bluegam-credit-history__pagination .button {
		inline-size: 100%;
	}

	.bluegam-credit-earned {
		align-items: flex-start;
		margin-block: 12px;
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bluegam-credit-account__topup-link,
	.bluegam-credit-topup button {
		transition: none;
	}
}

/* Match the calm scale used throughout the customer account. */

.bluegam-credit-account {
	gap: 18px;
}

.bluegam-credit-overview,
.bluegam-credit-topup,
.bluegam-credit-history {
	border-radius: 18px;
	box-shadow: 0 8px 24px rgb(11 45 91 / 4%);
}

.bluegam-credit-account__summary {
	background: #f8fbfe;
	gap: 0;
	grid-template-columns: minmax(0, 1fr);
	min-block-size: 0;
	padding: clamp(22px, 3vw, 32px);
}

.bluegam-credit-account__summary::before,
.bluegam-credit-account__summary::after {
	display: none;
}

.bluegam-credit-account__total {
	gap: 11px 14px;
	grid-template-columns: 48px minmax(0, 1fr);
}

.bluegam-credit-account__wallet-icon {
	block-size: 48px;
	border-radius: 13px;
	box-shadow: none;
	inline-size: 48px;
}

.bluegam-credit-account__wallet-icon svg {
	block-size: 24px;
	inline-size: 24px;
}

.bluegam-credit-account__eyebrow {
	font-size: 0.9rem;
}

.bluegam-credit-account__balance {
	font-size: clamp(2rem, 4vw, 2.8rem);
}

.bluegam-credit-account__total-copy > p:last-child {
	font-size: 0.8rem;
}

.bluegam-credit-account__topup-link {
	background: var(--credit-blue);
	border-radius: 10px;
	box-shadow: none;
	font-size: 0.8rem;
	grid-column: 2;
	min-block-size: 42px;
	padding: 8px 14px;
}

.bluegam-credit-account__visual {
	background: #fff;
	border-radius: 16px;
	gap: 14px;
	grid-template-columns: minmax(112px, 0.7fr) minmax(0, 1fr);
	padding: 16px;
}

.bluegam-credit-account__visual-mark svg {
	inline-size: min(100%, 150px);
}

.bluegam-credit-account__visual strong {
	font-size: 1rem;
}

.bluegam-credit-account__visual span:last-child {
	font-size: 0.78rem;
}

.bluegam-credit-breakdown {
	background: #fff;
	padding-block: 10px;
}

.bluegam-credit-breakdown__card {
	gap: 10px;
	grid-template-columns: 36px minmax(0, 1fr);
	padding-block: 11px;
}

.bluegam-credit-breakdown__icon,
.bluegam-credit-breakdown__card.is-cashback .bluegam-credit-breakdown__icon,
.bluegam-credit-breakdown__card.is-admin .bluegam-credit-breakdown__icon,
.bluegam-credit-breakdown__card.is-affiliate .bluegam-credit-breakdown__icon {
	background: #eef6fc;
	block-size: 36px;
	color: #3c7198;
	inline-size: 36px;
}

.bluegam-credit-breakdown__icon svg {
	block-size: 18px;
	inline-size: 18px;
}

.bluegam-credit-breakdown__card strong {
	font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.bluegam-credit-topup,
.bluegam-credit-history {
	gap: 18px;
	padding: clamp(20px, 2.5vw, 28px);
}

.bluegam-credit-section-heading {
	gap: 12px;
}

.bluegam-credit-section-heading__icon {
	block-size: 40px;
	border-radius: 12px;
	flex-basis: 40px;
	inline-size: 40px;
}

.bluegam-credit-section-heading__icon svg {
	block-size: 20px;
	inline-size: 20px;
}

.bluegam-credit-section-heading h3 {
	font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.bluegam-credit-section-heading p {
	font-size: 0.8rem;
}

.bluegam-credit-topup__amount-field,
.bluegam-credit-topup__route {
	border-radius: 10px;
	min-block-size: 46px;
}

.bluegam-credit-topup input {
	font-size: 0.9rem;
	min-block-size: 44px;
}

.bluegam-credit-topup__route svg {
	block-size: 20px;
	flex-basis: 20px;
	inline-size: 20px;
}

.bluegam-credit-topup button {
	border-radius: 10px;
	box-shadow: none;
	font-size: 0.85rem;
	min-block-size: 46px;
}

.bluegam-credit-history__table :is(th, td) {
	font-size: 0.78rem;
	padding: 12px 14px;
}

.bluegam-credit-history__empty {
	min-block-size: 120px;
}

.bluegam-credit-history__empty-icon {
	block-size: 60px;
	flex-basis: 60px;
	inline-size: 60px;
}

.bluegam-credit-history__empty-icon svg {
	block-size: 34px;
	inline-size: 34px;
}

@media (max-width: 600px) {
	.bluegam-credit-account__wallet-icon {
		block-size: 44px;
		inline-size: 44px;
	}

	.bluegam-credit-account__topup-link {
		grid-column: 1 / -1;
	}

	.bluegam-credit-account__visual {
		grid-template-columns: minmax(92px, 0.55fr) minmax(0, 1fr);
	}

	.bluegam-credit-section-heading__icon {
		block-size: 38px;
		flex-basis: 38px;
		inline-size: 38px;
	}

	.bluegam-credit-history__empty-icon {
		block-size: 70px;
		flex-basis: 70px;
		inline-size: 70px;
	}
}
