.sgcwc-ranch-cash {
	padding: 24px;
	border: 1px solid #ddd;
	border-radius: 8px;
	margin: 20px 0;
}

.sgcwc-ranch-cash-label {
	font-size: 16px;
	font-weight: 600;
}

.sgcwc-ranch-cash-balance {
	font-size: 32px;
	font-weight: 700;
	margin-top: 8px;
}

.sgcwc-ranch-cash-status {
	font-size: 14px;
	margin-top: 5px;
	opacity: 0.7;
}

.sgcwc-ranch-cash-error {
	padding: 20px;
}

/* Ranch Cash wallet banner. Replace ALL previous .sgcwc-* wallet / ranch-cash CSS with this. */

.sgcwc-rc {
	--rc-gold: #c9961a;
	--rc-muted: #a89888;

	position: relative;
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 24px;
	padding: 30px 32px 28px 28px;
	overflow: hidden;
	border-radius: 3px;
	border-color: #F9ECEC !important;
	color: #fff;
	font-family: "Montserrat", -apple-system, "Segoe UI", Roboto, sans-serif;
}

.sgcwc-rc *,
.sgcwc-rc *::before,
.sgcwc-rc *::after {
	box-sizing: border-box;
}

/* Decorative gold circle behind the card tile */
.sgcwc-rc__glow {
	position: absolute;
	top: -44px;
	right: -34px;
	width: 210px;
	height: 210px;
	border-radius: 50%;
	background: rgba(201, 150, 26, 0.14);
	pointer-events: none;
}

.sgcwc-rc__main {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.sgcwc-rc__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #C0392B;
}

.sgcwc-rc__balance {
	margin-top: 4px;
	font-family: "Lora", "Playfair Display", Georgia, "Times New Roman", serif;
	font-size: 52px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #4A3728;
}

.sgcwc-rc__sub {
	margin: 2px 0 0;
	font-size: 16.8px;
	color: #6B5B4E;
}

.sgcwc-rc__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.sgcwc-rc__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s ease;
}

.sgcwc-rc__btn--gold {
	background: var(--rc-gold);
	border-color: var(--rc-gold);
	color: #2d1e14;
}

.sgcwc-rc__btn--gold:hover {
	background: #d9a626;
	color: #2d1e14;
}

.sgcwc-rc__btn--red{
	background: var(--BrandRed);
	border-color: var(--BrandRed);
	color: #FFFFFF !important;
}

.sgcwc-rc__btn--ghost {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.2);
	color: #fff;
}

.sgcwc-rc__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

/* Card tile */
.sgcwc-rc__card {
	position: relative;
	z-index: 1;
	flex: 0 0 auto;
	width: 200px;
	margin-top: 2px;
	padding: 20px 22px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.07);
	text-align: right;
}

.sgcwc-rc__card-label {
	font-size: 12.5px;
	letter-spacing: 0.04em;
	color: var(--rc-muted);
}

.sgcwc-rc__card-number {
	margin-top: 14px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: #d8ccb6;
}

/* Tablet / mobile */
@media (max-width: 720px) {

	.sgcwc-rc {
		flex-direction: column-reverse;
		gap: 18px;
		padding: 22px 18px;
	}

	.sgcwc-rc__card {
		width: 100%;
		margin-top: 0;
		padding: 14px 18px;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.sgcwc-rc__card-number {
		margin-top: 0;
	}

	.sgcwc-rc__balance {
		font-size: 44px;
	}

	.sgcwc-rc__buttons {
		gap: 8px;
	}

	.sgcwc-rc__btn {
		flex: 1 1 auto;
		padding: 0 14px;
	}
}
