/* ST Wallet — premium white SaaS UI */
.st-wallet {
	--st-w-bg: #f8fafc;
	--st-w-card: #ffffff;
	--st-w-text: #0f172a;
	--st-w-muted: #64748b;
	--st-w-border: #e2e8f0;
	--st-w-accent: #2563eb;
	--st-w-accent-soft: #eff6ff;
	--st-w-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
	--st-w-radius: 16px;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--st-w-text);
	max-width: 1100px;
	margin: 0 auto 2rem;
	padding: 0 1rem;
	box-sizing: border-box;
}

.st-wallet *,
.st-wallet *::before,
.st-wallet *::after {
	box-sizing: border-box;
}

.st-wallet-header {
	margin-bottom: 1.5rem;
	animation: stWalletFade 0.45s ease;
}

.st-wallet-eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--st-w-muted);
	margin: 0 0 0.35rem;
}

.st-wallet-title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
	line-height: 1.2;
}

.st-wallet-muted {
	color: var(--st-w-muted);
	font-size: 0.9375rem;
	line-height: 1.5;
	margin: 0.5rem 0 0;
}

.st-wallet-hint {
	font-size: 0.8125rem;
	color: var(--st-w-muted);
	margin: 0.35rem 0 0;
}

.st-wallet-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

@media (max-width: 768px) {
	.st-wallet-grid {
		grid-template-columns: 1fr;
	}
}

.st-wallet-card {
	background: var(--st-w-card);
	border: 1px solid var(--st-w-border);
	border-radius: var(--st-w-radius);
	box-shadow: var(--st-w-shadow);
	padding: 1.35rem 1.5rem;
	animation: stWalletFade 0.5s ease backwards;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.st-wallet-card:hover {
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.st-wallet-card--wide {
	grid-column: 1 / -1;
}

.st-wallet-card--payment {
	grid-column: 1 / -1;
}

.st-wallet-method--full {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	padding: 0.25rem 0;
}

.st-wallet-method--full .st-wallet-method__body {
	flex: 1;
	min-width: 200px;
}

.st-wallet-ledger-toolbar {
	margin: 0 0 1.25rem;
	padding: 1rem 1.1rem;
	background: #f8fafc;
	border: 1px solid var(--st-w-border);
	border-radius: 12px;
}

.st-wallet-ledger-export-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
}

.st-wallet-ledger-export-form__label {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #334155;
	margin: 0;
}

.st-wallet-input--compact {
	width: auto;
	min-width: 110px;
	min-height: 42px;
	padding: 0.5rem 0.75rem;
}

.st-wallet-btn--export {
	white-space: nowrap;
}

@media (max-width: 640px) {
	.st-wallet-ledger-export-form {
		flex-direction: column;
		align-items: stretch;
	}

	.st-wallet-ledger-export-form .st-wallet-btn--export {
		width: 100%;
		justify-content: center;
	}

	.st-wallet-input--compact {
		width: 100%;
	}
}

.st-wallet-card--center {
	text-align: center;
	padding: 2.5rem;
}

.st-wallet-card__title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 1rem;
}

.st-wallet-balance-card {
	grid-column: span 1;
}

.st-wallet-label {
	font-size: 0.8125rem;
	color: var(--st-w-muted);
	margin: 0;
}

.st-wallet-balance {
	font-size: clamp(2rem, 6vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	margin: 0.25rem 0 0.75rem;
	color: var(--st-w-text);
}

.st-wallet-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.65rem 1.25rem;
	border-radius: 10px;
	font-size: 0.9375rem;
	font-weight: 600;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.st-wallet-btn--primary {
	background: var(--st-w-accent);
	color: #fff;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.st-wallet-btn--primary:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
}

.st-wallet-btn--secondary {
	background: var(--st-w-accent-soft);
	color: var(--st-w-accent);
	margin-top: 0.5rem;
}

.st-wallet-btn--secondary:hover {
	background: #dbeafe;
}

.st-wallet-link {
	display: inline-block;
	margin-top: 0.75rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--st-w-accent);
	text-decoration: none;
}

.st-wallet-link:hover {
	text-decoration: underline;
}

.st-wallet-meta-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
}

.st-wallet-meta-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	font-size: 0.875rem;
}

.st-wallet-meta-list span {
	color: var(--st-w-muted);
}

.st-wallet-method {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.st-wallet-method__icon {
	font-size: 1.5rem;
}

.st-wallet-badge {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: capitalize;
}

.st-wallet-badge--approved,
.st-wallet-badge--paid {
	background: #dcfce7;
	color: #166534;
}

.st-wallet-badge--pending {
	background: #fef9c3;
	color: #854d0e;
}

.st-wallet-badge--rejected {
	background: #fee2e2;
	color: #991b1b;
}

.st-wallet-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.st-wallet-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.st-wallet-table th,
.st-wallet-table td {
	padding: 0.65rem 0.5rem;
	text-align: left;
	border-bottom: 1px solid var(--st-w-border);
}

.st-wallet-table th {
	color: var(--st-w-muted);
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.st-wallet-table .is-credit {
	color: #059669;
	font-weight: 600;
}

.st-wallet-table .is-debit {
	color: #dc2626;
	font-weight: 600;
}

.st-wallet-modal[hidden] {
	display: none !important;
}

.st-wallet-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.st-wallet-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(4px);
	animation: stWalletFade 0.25s ease;
}

.st-wallet-modal__panel {
	position: relative;
	background: var(--st-w-card);
	border-radius: var(--st-w-radius);
	box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
	padding: 1.75rem;
	width: min(100%, 420px);
	max-height: 90vh;
	overflow-y: auto;
	animation: stWalletSlide 0.3s ease;
}

.st-wallet-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 2rem;
	height: 2rem;
	border: none;
	background: #f1f5f9;
	border-radius: 8px;
	font-size: 1.25rem;
	cursor: pointer;
	line-height: 1;
}

.st-wallet-form label {
	display: block;
	margin-bottom: 1rem;
}

.st-wallet-form label span {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: var(--st-w-muted);
}

.st-wallet-input {
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--st-w-border);
	border-radius: 10px;
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.st-wallet-input:focus {
	outline: none;
	border-color: var(--st-w-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.st-wallet-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1rem;
}

@media (max-width: 640px) {
	.st-wallet-form-grid {
		grid-template-columns: 1fr;
	}
}

.st-wallet-docs {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--st-w-border);
}

.st-wallet-docs h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
}

.st-wallet-docs-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1rem;
}

@media (max-width: 640px) {
	.st-wallet-docs-grid {
		grid-template-columns: 1fr;
	}
}

.st-wallet-upload input[type="file"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.st-wallet-upload {
	position: relative;
	display: block;
}

.st-wallet-upload__box {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
	border: 2px dashed var(--st-w-border);
	border-radius: 12px;
	background: var(--st-w-bg);
	color: var(--st-w-muted);
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.st-wallet-upload:has(input:focus) .st-wallet-upload__box,
.st-wallet-upload__box:hover {
	border-color: var(--st-w-accent);
	background: var(--st-w-accent-soft);
}

.st-wallet-upload.has-file .st-wallet-upload__box {
	border-style: solid;
	border-color: #86efac;
	background: #f0fdf4;
	color: #166534;
}

.st-wallet-status-banner {
	margin-bottom: 1rem;
	padding: 1rem 1.25rem;
	border-radius: 12px;
	font-size: 0.9375rem;
}

.st-wallet-status-banner--pending {
	background: #fffbeb;
	border: 1px solid #fde68a;
}

.st-wallet-status-banner--approved {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
}

.st-wallet-status-banner--rejected {
	background: #fef2f2;
	border: 1px solid #fecaca;
}

.st-wallet-methods-list {
	display: grid;
	gap: 1rem;
}

.st-wallet-method-card__head {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	flex-wrap: wrap;
}

.st-wallet-method-card__icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--st-w-accent-soft);
	color: var(--st-w-accent);
	border-radius: 12px;
}

.st-wallet-method-card.is-active {
	border-color: #86efac;
}

.st-wallet-form-msg {
	font-size: 0.875rem;
	margin-top: 0.75rem;
	padding: 0.5rem 0.75rem;
	border-radius: 8px;
}

.st-wallet-form-msg.is-error {
	background: #fef2f2;
	color: #b91c1c;
}

.st-wallet-form-msg.is-success {
	background: #f0fdf4;
	color: #166534;
}

.st-wallet-admin-note {
	font-size: 0.8125rem;
	color: #b45309;
	margin-top: 0.5rem;
}

@keyframes stWalletFade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes stWalletSlide {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* —— Bank & verification page —— */
.st-wallet-bank-page {
	max-width: 100%;
	width: 100%;
}

.st-wallet-btn:disabled,
.st-wallet-btn[aria-disabled="true"] {
	opacity: 0.55;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

.st-wallet-bank-locked {
	display: grid;
	gap: 1.25rem;
}

.st-wallet-hero {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	margin-bottom: 1.75rem;
	padding: 1.5rem 1.75rem;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid var(--st-w-border);
	border-radius: 20px;
	box-shadow: var(--st-w-shadow);
}

.st-wallet-hero__icon {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--st-w-accent-soft);
	color: var(--st-w-accent);
	border-radius: 14px;
}

.st-wallet-hero__text .st-wallet-title {
	font-size: clamp(1.35rem, 3.5vw, 1.75rem);
}

.st-wallet-verify-banner {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	border-radius: 14px;
	margin-bottom: 1.5rem;
	border: 1px solid var(--st-w-border);
	background: #fff;
}

.st-wallet-verify-banner--approved {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.st-wallet-verify-banner--pending {
	background: #fffbeb;
	border-color: #fde68a;
}

.st-wallet-verify-banner--rejected {
	background: #fef2f2;
	border-color: #fecaca;
}

.st-wallet-verify-banner__icon {
	color: inherit;
	opacity: 0.85;
}

.st-wallet-verify-banner__label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--st-w-muted);
	margin: 0;
}

.st-wallet-verify-banner__value {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0.15rem 0 0;
}

.st-wallet-verify-banner__note {
	font-size: 0.875rem;
	margin: 0.5rem 0 0;
	color: var(--st-w-muted);
}

.st-wallet-bank-layout {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.st-wallet-section-card {
	background: var(--st-w-card);
	border: 1px solid var(--st-w-border);
	border-radius: var(--st-w-radius);
	box-shadow: var(--st-w-shadow);
	padding: 1.5rem 1.65rem;
}

.st-wallet-section-card--verify {
	background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
}

.st-wallet-section-card__head {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.35rem;
	padding-bottom: 1.15rem;
	border-bottom: 1px solid var(--st-w-border);
}

.st-wallet-section-card__head h3 {
	margin: 0 0 0.25rem;
	font-size: 1.0625rem;
	font-weight: 700;
}

.st-wallet-section-card__head p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--st-w-muted);
	line-height: 1.45;
}

.st-wallet-step {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--st-w-accent);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	border-radius: 10px;
}

.st-wallet-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.15rem;
}

.st-wallet-field--full {
	grid-column: 1 / -1;
}

.st-wallet-field label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #334155;
	margin-bottom: 0.4rem;
}

@media (max-width: 600px) {
	.st-wallet-fields {
		grid-template-columns: 1fr;
	}
	.st-wallet-hero {
		flex-direction: column;
		padding: 1.25rem;
	}
}

.st-wallet-dropzones {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.15rem;
}

@media (max-width: 600px) {
	.st-wallet-dropzones {
		grid-template-columns: 1fr;
	}
}

.st-wallet-dropzone__label {
	display: block;
	cursor: pointer;
	margin: 0;
}

.st-wallet-dropzone__label input[type="file"] {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.st-wallet-dropzone__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 168px;
	padding: 1.5rem 1rem;
	border: 2px dashed #cbd5e1;
	border-radius: 16px;
	background: #f8fafc;
	transition: border-color 0.2s, background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.st-wallet-dropzone__icon {
	color: #94a3b8;
	margin-bottom: 0.65rem;
}

.st-wallet-dropzone__title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--st-w-text);
	margin-bottom: 0.35rem;
}

.st-wallet-dropzone__hint {
	font-size: 0.8125rem;
	color: var(--st-w-muted);
}

.st-wallet-dropzone__meta {
	font-size: 0.75rem;
	color: #059669;
	font-weight: 600;
	margin-top: 0.5rem;
	min-height: 1em;
}

.st-wallet-dropzone.is-dragover .st-wallet-dropzone__inner,
.st-wallet-dropzone__inner:hover {
	border-color: var(--st-w-accent);
	background: var(--st-w-accent-soft);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.st-wallet-dropzone.has-file .st-wallet-dropzone__inner {
	border-style: solid;
	border-color: #86efac;
	background: #f0fdf4;
}

.st-wallet-dropzone.has-file .st-wallet-dropzone__icon {
	color: #059669;
}

.st-wallet-dropzone__link {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--st-w-accent);
	text-decoration: none;
}

.st-wallet-dropzone__link:hover {
	text-decoration: underline;
}

.st-wallet-security-notes {
	margin: 1.25rem 0 0;
	padding: 0 0 0 1.1rem;
	font-size: 0.8125rem;
	color: var(--st-w-muted);
	line-height: 1.55;
}

.st-wallet-submit-bar {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	padding: 1.25rem 0 0;
}

.st-wallet-btn--lg {
	width: 100%;
	padding: 0.85rem 1.5rem;
	font-size: 1rem;
}

.st-wallet-link--button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 1rem;
	padding: 0.55rem 1rem;
	border-radius: 10px;
	background: var(--st-w-accent-soft);
	color: var(--st-w-accent);
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s;
}

.st-wallet-link--button:hover {
	background: #dbeafe;
	text-decoration: none;
}

/* —— History page —— */
.st-wallet-header--split {
	margin-bottom: 1.25rem;
}

.st-wallet-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.st-wallet-section-head .st-wallet-card__title {
	margin: 0;
}

.st-wallet-pill {
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: #f1f5f9;
	color: #475569;
}

.st-wallet-empty {
	text-align: center;
	padding: 2rem 1rem;
}

.st-wallet-empty__icon {
	display: inline-flex;
	color: #94a3b8;
	margin-bottom: 0.75rem;
}

.st-wallet-empty p {
	margin: 0.25rem 0;
	font-weight: 600;
}

.st-wallet-meta-list__full {
	flex-direction: column;
	align-items: flex-start !important;
	gap: 0.35rem !important;
}

.st-wallet-field textarea.st-wallet-input {
	min-height: 88px;
	resize: vertical;
}

/* History sections spacing */
.st-wallet-history-sections {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.st-wallet-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--st-w-border);
}

.st-wallet-pagination__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border-radius: 10px;
	background: #f1f5f9;
	color: #334155;
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

.st-wallet-pagination__num:hover {
	background: #e2e8f0;
	color: #0f172a;
}

.st-wallet-pagination__num.is-current {
	background: var(--st-w-accent);
	color: #fff;
}

.st-wallet-pagination__next {
	padding: 0 14px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--st-w-border);
	color: var(--st-w-accent);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
}

.st-wallet-pagination__next.is-disabled {
	opacity: 0.5;
	cursor: default;
}

/* Withdrawal flow modal */
.st-wallet-flow .st-wallet-modal__panel {
	width: min(100%, 440px);
	padding: 2rem 1.75rem 1.75rem;
	text-align: center;
}

.st-wallet-flow__step {
	display: none;
	animation: stWalletFade 0.35s ease;
}

.st-wallet-flow__step.is-active {
	display: block;
}

.st-wallet-flow__icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	background: var(--st-w-accent-soft);
	color: var(--st-w-accent);
}

.st-wallet-flow__icon--otp {
	background: #fef3c7;
	color: #b45309;
}

.st-wallet-flow__success-icon {
	width: 88px;
	height: 88px;
	margin: 0 auto 1.25rem;
	color: #059669;
}

.st-wallet-flow h3 {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
}

.st-wallet-flow .st-wallet-form {
	text-align: left;
	margin-top: 1.25rem;
}

.st-wallet-flow__amount {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--st-w-accent);
	margin: 0.75rem 0 0;
}

.st-wallet-otp-inputs {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin: 1.25rem 0 1.5rem;
}

.st-wallet-otp-digit {
	width: 44px;
	height: 52px;
	text-align: center;
	font-size: 1.35rem;
	font-weight: 700;
	border: 2px solid var(--st-w-border);
	border-radius: 12px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.st-wallet-otp-digit:focus {
	outline: none;
	border-color: var(--st-w-accent);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* —— Premium history & activity feeds —— */
.st-wallet-header--premium {
	margin-bottom: 2rem;
}

.st-wallet-history-sections {
	gap: 2.5rem;
}

.st-wallet-premium-block {
	position: relative;
	grid-column: 1 / -1;
	border-radius: 20px;
	background: linear-gradient(145deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
	border: 1px solid var(--st-w-border);
	box-shadow: 0 8px 40px rgba(15, 23, 42, 0.07);
	overflow: hidden;
	animation: stWalletFade 0.55s ease backwards;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.st-wallet-premium-block:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 48px rgba(15, 23, 42, 0.1);
}

.st-wallet-premium-block__accent {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #2563eb, #7c3aed, #2563eb);
	background-size: 200% 100%;
	animation: stWalletShimmer 4s ease infinite;
}

.st-wallet-premium-block__accent--ledger {
	background: linear-gradient(90deg, #059669, #0d9488, #059669);
	background-size: 200% 100%;
}

.st-wallet-premium-block__accent--activity {
	background: linear-gradient(90deg, #d97706, #ea580c, #d97706);
	background-size: 200% 100%;
}

.st-wallet-premium-block__inner {
	padding: 1.5rem 1.65rem 1.35rem;
}

.st-wallet-section-head--premium {
	margin-bottom: 1.35rem;
}

.st-wallet-section-head__title-wrap {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
}

.st-wallet-section-icon {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: var(--st-w-accent-soft);
	color: var(--st-w-accent);
}

.st-wallet-section-icon--ledger {
	background: #ecfdf5;
	color: #059669;
}

.st-wallet-section-icon--activity {
	background: #fff7ed;
	color: #c2410c;
}

.st-wallet-section-sub {
	margin: 0.2rem 0 0;
	font-size: 0.8125rem;
	color: var(--st-w-muted);
	line-height: 1.4;
}

.st-wallet-pill--glow {
	background: linear-gradient(135deg, #eff6ff, #e0e7ff);
	color: #1e40af;
	box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.st-wallet-empty--premium {
	padding: 2.5rem 1.5rem;
	border-radius: 14px;
	background: rgba(248, 250, 252, 0.7);
	border: 1px dashed #cbd5e1;
}

.st-wallet-empty--compact {
	padding: 1.5rem 1rem;
	text-align: center;
}

/* Activity list (vertical on all screen sizes) */
.st-wallet-feed {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.st-wallet-feed--list {
	width: 100%;
}

.st-wallet-feed__item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
	width: 100%;
	padding: 1rem 1.1rem;
	background: #fff;
	border: 1px solid var(--st-w-border);
	border-radius: 14px;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
	animation: stWalletFeedIn 0.45s ease backwards;
	animation-delay: var(--st-feed-delay, 0ms);
	transition: box-shadow 0.2s ease, border-color 0.2s;
	list-style: none;
}

.st-wallet-feed__item:hover {
	border-color: #cbd5e1;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.st-wallet-feed__primary {
	min-width: 0;
	flex: 1;
}

.st-wallet-feed__icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
}

.st-wallet-feed__icon--withdraw {
	background: #eff6ff;
	color: #2563eb;
}

.st-wallet-feed__icon--credit {
	background: #ecfdf5;
	color: #059669;
}

.st-wallet-feed__icon--debit {
	background: #fef2f2;
	color: #dc2626;
}

.st-wallet-feed__body {
	flex: 1;
	min-width: 0;
}

.st-wallet-feed__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 0.75rem;
}

.st-wallet-feed__label {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--st-w-text);
}

.st-wallet-feed__date {
	margin: 0.15rem 0 0;
	font-size: 0.8125rem;
	color: var(--st-w-muted);
}

.st-wallet-feed__amount {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	white-space: nowrap;
}

.st-wallet-feed__amount.is-credit {
	color: #059669;
}

.st-wallet-feed__amount.is-debit {
	color: #dc2626;
}

.st-wallet-feed__amount.is-neutral {
	color: var(--st-w-text);
}

.st-wallet-feed__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin-top: 0.65rem;
}

.st-wallet-feed__chip {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.15rem 0.45rem;
	border-radius: 6px;
	background: #f1f5f9;
	color: #475569;
}

.st-wallet-feed__note {
	font-size: 0.8125rem;
	color: var(--st-w-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
	flex: 1;
	min-width: 0;
}

@media (max-width: 768px) {
	.st-wallet-premium-block__inner {
		padding: 1.25rem 1.15rem 1.1rem;
	}

	.st-wallet-feed {
		gap: 0.75rem;
	}

	.st-wallet-feed__item {
		padding: 0.95rem 1rem;
	}

	.st-wallet-feed__top {
		flex-wrap: wrap;
	}

	.st-wallet-feed__amount {
		width: 100%;
		text-align: left;
		margin-top: 0.25rem;
	}

	.st-wallet-feed__note {
		white-space: normal;
		word-break: break-word;
	}

	.st-wallet-feed__meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35rem;
	}

	.st-wallet-pagination {
		justify-content: center;
		gap: 6px;
	}

	.st-wallet-pagination__num,
	.st-wallet-pagination__next {
		min-width: 40px;
		height: 40px;
	}
}

@keyframes stWalletFeedIn {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes stWalletShimmer {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/* —— Premium bank account form (scoped layout) —— */
.st-wallet-bank-page {
	max-width: 100%;
	width: 100%;
	overflow-x: hidden;
}

.st-wallet-header--bank {
	margin-bottom: 2rem;
}

.st-wallet-bank-page .st-wallet-premium-block__accent--bank {
	background: linear-gradient(90deg, #0ea5e9, #2563eb, #4f46e5);
	background-size: 200% 100%;
}

.st-wallet-bank-page .st-wallet-step--lg {
	width: 40px;
	height: 40px;
	font-size: 1rem;
	border-radius: 12px;
}

.st-wallet-bank-page .st-wallet-bank-layout {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
}

/* Vertical stack of logical rows */
.st-wallet-bank-page .st-wallet-bank-grid {
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
	width: 100%;
}

.st-wallet-bank-page .st-wallet-bank-row {
	display: block;
	width: 100%;
	min-width: 0;
}

/* Two equal columns: account + confirm */
.st-wallet-bank-page .st-wallet-bank-row--split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	align-items: start;
}

/* Each field: label + control column, equal structure */
.st-wallet-bank-page .st-wallet-field {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	margin: 0;
	min-width: 0;
	width: 100%;
}

.st-wallet-bank-page .st-wallet-field__label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #334155;
	line-height: 1.35;
	margin: 0;
}

.st-wallet-bank-page .st-wallet-field__control {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: 100%;
	min-width: 0;
}

/* Uniform input height (text fields) */
.st-wallet-bank-page .st-wallet-input--premium {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 0.75rem 1rem;
	background: #fff;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	font-size: 0.9375rem;
	line-height: 1.4;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.st-wallet-bank-page .st-wallet-input--textarea {
	min-height: 96px;
	resize: vertical;
	padding-top: 0.7rem;
	padding-bottom: 0.7rem;
}

.st-wallet-bank-page .st-wallet-input--premium:focus {
	outline: none;
	border-color: var(--st-w-accent);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.st-wallet-bank-page .st-wallet-input--premium.is-autofilled {
	background: #f0fdf4;
	border-color: #86efac;
}

.st-wallet-bank-page .js-wallet-ifsc {
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-weight: 600;
}

/* IFSC status bar below input — full width, no side-by-side misalignment */
.st-wallet-bank-page .st-wallet-ifsc-status {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 36px;
	padding: 0.4rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: 10px;
	background: #f8fafc;
	color: #64748b;
	box-sizing: border-box;
	transition: background 0.2s, color 0.2s;
}

.st-wallet-bank-page .st-wallet-ifsc-status:empty {
	display: none;
}

.st-wallet-bank-page .st-wallet-ifsc-status.is-loading {
	background: #eff6ff;
	color: #2563eb;
	animation: stWalletPulse 1s ease infinite;
}

.st-wallet-bank-page .st-wallet-ifsc-status.is-success {
	background: #ecfdf5;
	color: #059669;
}

.st-wallet-bank-page .st-wallet-ifsc-status.is-error {
	background: #fef2f2;
	color: #dc2626;
}

.st-wallet-bank-page .st-wallet-field-hint {
	margin: 0;
	font-size: 0.75rem;
	color: var(--st-w-muted);
	line-height: 1.45;
}

/* Auto-fill panel — full width block */
.st-wallet-bank-page .st-wallet-autofill-panel {
	width: 100%;
	padding: 1.25rem 1.35rem;
	border-radius: 14px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border: 1px dashed #cbd5e1;
	box-sizing: border-box;
	transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.st-wallet-bank-page .st-wallet-autofill-panel.is-loading {
	border-color: #93c5fd;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.st-wallet-bank-page .st-wallet-autofill-panel.is-loaded {
	border-style: solid;
	border-color: #86efac;
	background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
	box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
	animation: stWalletFeedIn 0.4s ease;
}

.st-wallet-bank-page .st-wallet-autofill-panel__label {
	margin: 0 0 1rem;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #64748b;
}

.st-wallet-bank-page .st-wallet-autofill-panel.is-loaded .st-wallet-autofill-panel__label {
	color: #059669;
}

.st-wallet-bank-page .st-wallet-autofill-stack {
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
	width: 100%;
}

.st-wallet-meta-list--premium {
	gap: 0.85rem;
}

.st-wallet-meta-list--premium li {
	padding: 0.65rem 0;
	border-bottom: 1px solid var(--st-w-border);
}

.st-wallet-meta-list--premium li:last-child {
	border-bottom: none;
}

.st-wallet-code {
	font-size: 0.875rem;
	background: #f1f5f9;
	padding: 0.15rem 0.4rem;
	border-radius: 6px;
}

.st-wallet-bank-page .st-wallet-dropzones--premium {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
	width: 100%;
}

.st-wallet-bank-page .st-wallet-dropzones--premium .st-wallet-dropzone__inner {
	min-height: 180px;
	border-radius: 16px;
}

.st-wallet-bank-page .st-wallet-submit-bar--premium {
	padding: 1.5rem 0 0.5rem;
	width: 100%;
}

.st-wallet-bank-page .st-wallet-submit-bar--premium .st-wallet-btn--lg {
	width: 100%;
	max-width: 100%;
}

@keyframes stWalletPulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.65; }
}

/* Tablet */
@media (max-width: 900px) {
	.st-wallet-bank-page .st-wallet-bank-row--split {
		gap: 1rem;
	}
}

/* Mobile — single column stack */
@media (max-width: 640px) {
	.st-wallet-bank-page {
		padding: 0 0.15rem;
	}

	.st-wallet-bank-page .st-wallet-premium-block__inner {
		padding: 1.2rem 1rem 1.1rem;
	}

	.st-wallet-bank-page .st-wallet-bank-grid {
		gap: 1.15rem;
	}

	.st-wallet-bank-page .st-wallet-bank-row--split {
		grid-template-columns: 1fr;
		gap: 1.15rem;
	}

	.st-wallet-bank-page .st-wallet-dropzones--premium {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.st-wallet-bank-page .st-wallet-autofill-panel {
		padding: 1rem 1rem;
	}

	.st-wallet-bank-page .st-wallet-section-head--premium {
		flex-wrap: wrap;
	}

	.st-wallet-bank-page .st-wallet-input--premium {
		font-size: 16px; /* prevents iOS zoom on focus */
	}
}
