/* Pay.alexbic.net - Payment Page Styles */

.pay-app {
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	background: var(--gradient-hero);
}

/* Header — 3-column grid: Logo (left) | Lang (center) | Theme (right) */
.pay-header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 1rem 2rem;
	flex-shrink: 0;
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--glassmorphism);
	backdrop-filter: var(--blur-backdrop);
	-webkit-backdrop-filter: var(--blur-backdrop);
	border-bottom: 1px solid var(--glassmorphism-border);
}

.pay-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	background: var(--gradient-light);
	border: 1px solid var(--glassmorphism-border);
	box-shadow: var(--shadow-inset-light);
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	backdrop-filter: var(--blur-backdrop);
	-webkit-backdrop-filter: var(--blur-backdrop);
	color: var(--text-secondary);
	font-size: 0.85rem;
}

.pay-logo:hover {
	color: var(--color-primary);
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
	border-color: var(--border-medium);
}

.pay-logo:active {
	transform: translateY(1px);
	box-shadow: var(--shadow-inset-pressed);
	border-color: var(--border-medium);
	transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

:root[data-theme="dark"] .pay-logo {
	box-shadow: var(--shadow-inset-light);
}

:root[data-theme="dark"] .pay-logo:hover {
	box-shadow: var(--shadow-md);
}

:root[data-theme="dark"] .pay-logo:active {
	box-shadow: var(--shadow-inset-pressed);
}

.pay-header-center {
	display: flex;
	align-items: center;
	justify-content: center;
}

.pay-header-right {
	justify-self: end;
	display: flex;
	align-items: center;
}

/* Language Switcher - centered, same as grably */
.lang-switcher {
	display: flex;
	gap: 0.5rem;
	justify-self: center;
}

.lang-btn {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.75rem;
	font-family: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	background: var(--gradient-light);
	border: 1px solid var(--glassmorphism-border);
	box-shadow: var(--shadow-inset-light);
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	backdrop-filter: var(--blur-backdrop);
	-webkit-backdrop-filter: var(--blur-backdrop);
}

.lang-btn:hover {
	color: var(--text-primary);
	transform: translateY(-1px);
	background: var(--gradient-light);
	box-shadow: var(--shadow-md);
	border-color: var(--border-medium);
}

.lang-btn:active {
	transform: translateY(1px);
	background: var(--gradient-light);
	box-shadow: var(--shadow-inset-pressed);
	border-color: var(--border-medium);
	transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn.active {
	color: var(--color-primary);
	background: var(--gradient-light);
	border: 1px solid rgba(var(--brand-blue-rgb), 0.3);
	transform: translateY(1px);
	box-shadow: var(--shadow-inset-pressed);
}

.lang-btn.active:hover {
	transform: translateY(1px);
	background: var(--gradient-light);
	box-shadow: var(--shadow-inset-pressed);
	border-color: rgba(var(--brand-blue-rgb), 0.4);
}

.lang-btn.active:active {
	transform: translateY(2px);
	background: var(--gradient-light);
	box-shadow: var(--shadow-inset-pressed);
}

/* Dark theme overrides for lang buttons */
:root[data-theme="dark"] .lang-btn {
	box-shadow: var(--shadow-inset-light);
}

:root[data-theme="dark"] .lang-btn:hover {
	box-shadow: var(--shadow-md);
}

:root[data-theme="dark"] .lang-btn:active,
:root[data-theme="dark"] .lang-btn.active {
	box-shadow: var(--shadow-inset-pressed);
}

/* Main content — scrollable */
.pay-main {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1rem 1.5rem 2rem;
	overflow-y: auto;
	overflow-x: hidden;
}

.pay-main-scroll {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

/* Payment card */
.pay-card {
	width: 100%;
	max-width: 480px;
	background: var(--bg-surface);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-large);
	padding: 2rem 1.5rem;
	box-shadow: var(--shadow-md);
	margin: auto 0;
}

.pay-hero-illustration {
	text-align: center;
	margin-bottom: 1rem;
}

.pay-hero-illustration img {
	max-width: 200px;
	height: auto;
}

.pay-card-title {
	text-align: center;
	margin-bottom: 1.5rem;
}

.pay-card-title h1 {
	font-size: 1.5rem;
	font-weight: 800;
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 0.25rem;
}

.pay-card-title p {
	font-size: 0.85rem;
	color: var(--text-muted);
}

/* Order info (when pre-filled) */
.pay-order-info {
	background: var(--bg-secondary);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-medium);
	padding: 1rem;
	margin-bottom: 1.25rem;
}

.pay-order-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.3rem 0;
	font-size: 0.85rem;
}

.pay-order-label {
	color: var(--text-muted);
}

.pay-order-value {
	color: var(--text-primary);
	font-weight: 600;
}

.pay-order-amount {
	font-size: 1.4rem;
	font-weight: 800;
	background: var(--gradient-brand);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.pay-order-desc {
	color: var(--text-secondary);
	font-weight: 500;
	max-width: 260px;
	text-align: right;
	line-height: 1.3;
}

/* Form fields */
.pay-field {
	margin-bottom: 1rem;
}

.pay-field label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text-secondary);
	margin-bottom: 0.35rem;
}

.pay-input {
	width: 100%;
	padding: 0.7rem 1rem;
	font-size: 0.95rem;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-medium);
	background: var(--bg-primary);
	color: var(--text-primary);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pay-input:focus {
	border-color: rgba(var(--brand-blue-rgb), 0.4);
	box-shadow: 0 0 0 3px rgba(var(--brand-blue-rgb), 0.08);
}

.pay-input::placeholder {
	color: var(--text-muted);
}

.pay-input.input-error {
	border-color: var(--color-error);
}

.pay-input.input-error:focus {
	border-color: var(--color-error);
	box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.1);
}

.pay-input:read-only {
	background: var(--bg-secondary);
	color: var(--text-secondary);
	cursor: default;
}

/* Hide number input spinners */
.pay-input[type="number"]::-webkit-inner-spin-button,
.pay-input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.pay-input[type="number"] {
	-moz-appearance: textfield;
}

/* Amount input with currency */
.pay-amount-wrapper {
	position: relative;
}

.pay-amount-wrapper .pay-input {
	padding-right: 4.5rem;
}

.pay-amount-currency {
	position: absolute;
	right: 0.75rem;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-muted);
	background: none;
	border: none;
	font-family: inherit;
	cursor: pointer;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 0.2rem 1rem 0.2rem 0.25rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238e8e93'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 10px 6px;
}

/* Description textarea */
textarea.pay-input {
	resize: vertical;
	min-height: 60px;
	max-height: 120px;
}

/* Divider */
.pay-divider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 1.5rem 0;
	color: var(--text-muted);
	font-size: 0.8rem;
	font-weight: 500;
}

.pay-divider::before,
.pay-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--border-light);
}

/* Payment method buttons */
.pay-methods {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/* RU locale: Prodamus first, PayPal second */
.pay-methods.ru-priority .paypal-slot { order: 2; margin-top: 0.25rem; }
.pay-methods.ru-priority .prodamus    { order: 1; }

.pay-method-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.8rem 1.25rem;
	font-size: 0.9rem;
	font-weight: 600;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-medium);
	background: var(--bg-primary);
	color: var(--text-primary);
	cursor: pointer;
	transition: var(--transition-smooth);
}

.pay-method-btn:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-sm);
}

.pay-method-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none !important;
}

.pay-method-btn i {
	font-size: 1rem;
}

/* Provider-specific styles */
.pay-method-btn.paypal {
	background: #FFC439;
	border-color: #FFC439;
	color: #003087;
	font-weight: 700;
}

.pay-method-btn.paypal:hover:not(:disabled) {
	background: #f0b92e;
	border-color: #f0b92e;
}

.pay-method-btn.lemonsqueezy {
	background: linear-gradient(135deg, #7C3AED, #5B21B6);
	border-color: transparent;
	color: #fff;
}

.pay-method-btn.lemonsqueezy:hover:not(:disabled) {
	box-shadow: var(--shadow-md);
}

.pay-method-btn.prodamus {
	background: linear-gradient(135deg, #7B68EE, #6A5ACD);
	border-color: transparent;
	color: #fff;
	border-radius: 4px;
	height: 44px;
	padding: 0 1.25rem;
}

.pay-method-btn.prodamus:hover:not(:disabled) {
	box-shadow: var(--shadow-md);
}

.pay-method-btn.crypto {
	background: linear-gradient(135deg, #F7931A, #FF6B00);
	border-color: transparent;
	color: #fff;
}

.pay-method-btn.crypto:hover:not(:disabled) {
	box-shadow: var(--shadow-md);
}

/* Secure badge */
.pay-secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 1.25rem;
	font-size: 0.75rem;
	color: var(--text-muted);
}

.pay-secure i {
	color: var(--color-success);
}

/* Cancel button */
.pay-cancel-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.65rem;
	margin-top: 0.75rem;
	font-size: 0.85rem;
	font-weight: 500;
	border: 1px solid var(--border-light);
	border-radius: var(--radius-medium, 12px);
	background: transparent;
	color: var(--text-muted);
	cursor: pointer;
	transition: all 0.3s ease;
}

.pay-cancel-btn:hover {
	border-color: var(--text-secondary);
	color: var(--text-secondary);
}

/* Footer */
.pay-footer {
	text-align: center;
	padding: 1rem 1.5rem;
	font-size: 0.75rem;
	color: var(--text-muted);
	flex-shrink: 0;
}

.pay-footer a {
	color: var(--text-muted);
	transition: color 0.2s ease;
}

.pay-footer a:hover {
	color: var(--color-primary);
}

.pay-footer-links {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 0.5rem;
}

/* Success / Error / Processing states */
.pay-status {
	text-align: center;
	padding: 2rem 0;
}

.pay-status-icon {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	font-size: 2rem;
}

.pay-status-icon.success {
	background: rgba(52, 199, 89, 0.12);
	color: var(--color-success);
}

.pay-status-icon.error {
	background: rgba(255, 59, 48, 0.12);
	color: var(--color-error);
}

.pay-status-icon.pending {
	background: rgba(255, 149, 0, 0.12);
	color: var(--color-accent);
}

.pay-status h2 {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
}

.pay-status p {
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.6;
	margin-bottom: 0.25rem;
}

.pay-countdown {
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-top: 0.75rem;
}

.pay-countdown strong {
	color: var(--color-primary);
	font-size: 1.1rem;
}

.pay-status-action {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
	padding: 0.75rem 2rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-inverse);
	background: var(--gradient-brand);
	border: none;
	border-radius: var(--radius-medium);
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.pay-status-action:hover {
	opacity: 0.9;
}

/* Loading spinner */
.pay-spinner {
	display: inline-block;
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: pay-spin 0.6s linear infinite;
}

@keyframes pay-spin {
	to { transform: rotate(360deg); }
}

/* Toast */
.pay-toast {
	position: fixed;
	top: 1rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10000;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	border-radius: 12px;
	font-size: 0.9rem;
	font-weight: 500;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	transition: all 0.3s ease;
}

.pay-toast.success {
	background: #10b981;
	color: #fff;
}

.pay-toast.error {
	background: #ef4444;
	color: #fff;
}

/* Dark theme overrides */
:root[data-theme="dark"] .pay-card {
	background: var(--bg-surface);
	border-color: var(--border-medium);
}

:root[data-theme="dark"] .pay-order-info {
	background: var(--bg-tertiary);
	border-color: var(--border-medium);
}

:root[data-theme="dark"] .pay-input {
	background: var(--bg-secondary);
	border-color: var(--border-medium);
}

:root[data-theme="dark"] .pay-method-btn:not(.paypal):not(.lemonsqueezy):not(.prodamus):not(.crypto) {
	background: var(--bg-secondary);
	border-color: var(--border-medium);
}

/* Responsive */
@media (max-width: 768px) {
	.pay-header {
		padding: 0.75rem 1rem;
	}

	.lang-btn {
		width: 32px;
		height: 32px;
		font-size: 0.7rem;
	}

	.pay-logo {
		width: 32px;
		height: 32px;
		font-size: 0.8rem;
	}

	.pay-main {
		padding: 0.5rem 0 1.5rem;
	}
}

@media (max-width: 480px) {
	.pay-card {
		padding: 1.5rem 1rem;
		border-radius: var(--radius-medium);
	}

	.pay-card-title h1 {
		font-size: 1.3rem;
	}

	.pay-footer {
		padding: 0.5rem 1rem;
	}
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	.lang-btn,
	.pay-method-btn,
	.pay-status-action {
		transition: none !important;
	}

	.lang-btn:hover,
	.pay-method-btn:hover {
		transform: none !important;
	}
}

.lang-btn:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

.pay-method-btn:focus-visible,
.pay-status-action:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

/* ── Donate mode ── */

/* Two-column layout */
.donate-main {
	align-items: stretch;
}

.donate-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	gap: 2rem;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 1.5rem 1rem;
	align-items: start;
}

/* Bio column */
.donate-bio {
	padding: 0.5rem 0.5rem 2rem;
}

/* Profile header: photo | name | share icons */
.donate-bio-profile {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.donate-bio-photo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	object-position: top center;
	flex-shrink: 0;
	border: 2px solid var(--border-light);
}

.donate-bio-photo--icon {
	object-fit: contain;
	padding: 10px;
	background: var(--bg-secondary);
}

.donate-bio-identity {
	flex: 1;
}

.donate-bio-name {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.2rem;
	line-height: 1.2;
}

.donate-bio-tagline {
	font-size: 0.825rem;
	color: var(--text-secondary);
	font-weight: 400;
	line-height: 1.4;
}

.donate-bio-text {
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.75;
}

.donate-bio-text p {
	margin-bottom: 0.9rem;
}

.donate-bio-contact {
	margin-top: 0.25rem;
}

.donate-bio-wallet {
	margin-top: 3.5rem;
	text-align: center;
}

.donate-bio-wallet img {
	width: 240px;
	max-width: 240px;
	height: auto;
	display: block;
	margin: 0 auto;
	opacity: 0.9;
}

.donate-bio-channel {
	color: var(--color-primary);
	text-decoration: none;
	font-weight: 500;
	white-space: nowrap;
}

.donate-bio-channel:hover {
	text-decoration: underline;
}

.donate-bio-email {
	color: var(--color-primary);
	text-decoration: none;
	font-weight: 500;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.donate-bio-email:hover {
	text-decoration: underline;
}

/* Share buttons — compact, top-right of profile */
.donate-share-btns {
	display: flex;
	gap: 0.3rem;
	flex-shrink: 0;
	margin-left: auto;
}

.donate-share-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: var(--radius-medium);
	border: 1.5px solid var(--border-light);
	background: transparent;
	color: var(--text-secondary);
	font-size: 0.8rem;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.15s;
	font-family: inherit;
}

.donate-share-btn:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

/* Form column */
.donate-form-panel {
	position: sticky;
	top: 1rem;
}

.donate-card {
	margin: 0;
}

.donate-form-header {
	text-align: center;
	padding-bottom: 0.75rem;
	margin-bottom: 0.25rem;
}

.donate-heart {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	display: block;
}

.donate-form-icon {
	width: 32px;
	height: 32px;
	margin: 0 auto 0.5rem;
	display: block;
}

.donate-form-header h2 {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 0.35rem;
}

.donate-form-header p {
	font-size: 0.85rem;
	color: var(--text-secondary);
	line-height: 1.5;
}

/* External platforms */
/* Crypto donation panel */
.donate-crypto-wrap {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border-light);
}

.donate-crypto-panel {
	padding: 0.85rem;
	border-radius: var(--radius-medium);
	border: 1.5px solid var(--border-light);
	background: var(--bg-secondary);
}


.donate-crypto-hint {
	font-size: 0.8rem;
	color: var(--text-secondary);
	margin-bottom: 0.85rem;
	text-align: center;
}

.donate-crypto-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
}

.donate-crypto-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	padding: 0.85rem 0.5rem 0.7rem;
	border-radius: var(--radius-medium);
	border: 1.5px solid var(--border-light);
	background: var(--bg-primary);
	cursor: pointer;
	transition: all 0.18s;
	text-align: center;
}

.donate-crypto-card:hover {
	border-color: var(--color-primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.donate-crypto-card.copied {
	border-color: #22c55e;
}

.donate-crypto-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	margin-bottom: 0.1rem;
}

.donate-crypto-icon.eth {
	background: #627EEA20;
	color: #627EEA;
}

.donate-crypto-icon.btc {
	background: #F7931A20;
	color: #F7931A;
}

.donate-crypto-icon.sol {
	background: #9945FF20;
	color: #9945FF;
}

.donate-crypto-card-name {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--text-primary);
}

.donate-crypto-card-sub {
	font-size: 0.7rem;
	color: var(--text-secondary);
}

.donate-crypto-card-action {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.7rem;
	color: var(--text-secondary);
	margin-top: 0.2rem;
}

.donate-crypto-card.copied .donate-crypto-card-action {
	color: #22c55e;
}

/* WalletConnect button */
.donate-wallet-section {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--border-light);
}

.donate-wallet-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.2rem;
	width: 100%;
	padding: 0.7rem;
	border-radius: var(--radius-medium);
	border: 1.5px solid var(--border-light);
	background: transparent;
	cursor: pointer;
	transition: all 0.15s;
	text-align: center;
}

.donate-wallet-btn:hover {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 5%, transparent);
}

.donate-wallet-icon {
	width: 22px;
	height: 22px;
	color: var(--text-secondary);
	margin-bottom: 0.1rem;
}

.donate-wallet-label {
	font-size: 0.83rem;
	font-weight: 600;
	color: var(--text-primary);
}

.donate-wallet-sub {
	font-size: 0.68rem;
	color: var(--text-secondary);
}

.donate-wallet-connected {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.donate-wallet-info {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.8rem;
	flex-wrap: nowrap;
	min-width: 0;
}

.donate-wallet-addr {
	font-family: monospace;
	color: var(--text-secondary);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
}

.donate-wallet-icon-img {
	width: 18px;
	height: 18px;
	border-radius: 4px;
	object-fit: contain;
	flex-shrink: 0;
}

.donate-wallet-change {
	background: none;
	border: none;
	color: var(--text-secondary);
	font-size: 0.7rem;
	cursor: pointer;
	text-decoration: underline;
	padding: 0;
	margin-left: auto;
	white-space: nowrap;
	flex-shrink: 0;
}

.donate-wallet-pay-btn {
	padding: 0.6rem;
	border-radius: var(--radius-medium);
	border: none;
	background: var(--color-primary);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.15s;
	width: 100%;
}

.donate-wallet-pay-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.donate-wallet-tx {
	font-size: 0.75rem;
	color: var(--color-primary);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.3rem;
}

/* Tablet: narrow two columns */
@media (max-width: 860px) {
	.donate-layout {
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 1.25rem;
		padding: 1rem 0.75rem;
	}
}

/* Mobile: stack vertically */
@media (max-width: 640px) {
	.donate-layout {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 0;
	}

	.donate-bio {
		padding: 1rem 1rem 1rem;
		border-bottom: 1px solid var(--border-light);
	}

	.donate-bio-photo {
		width: 60px;
		height: 60px;
	}

	.donate-bio-name {
		font-size: 1.1rem;
	}

	.donate-bio-tagline {
		font-size: 0.78rem;
	}

	.donate-share-btns {
		margin-left: 0;
		align-self: flex-start;
	}

	.donate-form-panel {
		position: static;
	}

	.donate-card {
		border-radius: 0;
		border-left: none;
		border-right: none;
		box-shadow: none;
	}

	.donate-bio-text {
		font-size: 0.875rem;
	}

}

/* Preset amounts — restaurant menu style */
.donate-menu {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
}

.donate-menu-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	padding: 0.65rem 0.85rem;
	border: 1.5px solid var(--border-light);
	border-radius: var(--radius-medium);
	background: var(--bg-secondary);
	color: var(--text-primary);
	font-family: inherit;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.15s;
	text-align: left;
}

.donate-menu-item:hover {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 6%, var(--bg-secondary));
}

.donate-menu-item.active {
	border-color: var(--color-primary);
	background: color-mix(in srgb, var(--color-primary) 10%, var(--bg-secondary));
}

.donate-menu-icon {
	font-size: 1.2rem;
	flex-shrink: 0;
	width: 1.5rem;
	text-align: center;
}

.donate-menu-label {
	flex: 1;
	font-weight: 500;
}

.donate-menu-price {
	font-weight: 700;
	color: var(--color-primary);
	font-size: 0.95rem;
}

