.wallet-footer-card {
	background: #1b0710;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(80,0,40,0.10);
	padding: 24px 18px 18px 18px;
	margin: 0 auto 18px auto;
	max-width: 420px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
}
.wallet-footer-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
	justify-content: flex-start;
	width: 100%;
}
.wallet-footer-actions {
	display: flex;
	gap: 10px;
	margin-top: 12px;
	flex-wrap: wrap;
	justify-content: flex-end;
}
.wallet-btn {
	background: linear-gradient(90deg, #ff7b00 0%, #8b1631 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 10px 18px;
	font-size: 1.08em;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, box-shadow 0.2s;
	box-shadow: 0 2px 8px rgba(80,0,40,0.10);
}
.wallet-btn:hover, .wallet-btn:focus {
	background: linear-gradient(90deg, #8b1631 0%, #ff7b00 100%);
	color: #fff;
	outline: none;
}

.wallet-publickey-header {
	font-size: 0.75em;
	color: #faf8f8;
	word-break: break-all;
	margin-bottom: 8px;
	margin-top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Banner de alerta crítico de Wallet en Dashboard */
.wallet-publickey-header.wallet-alert-banner {
	font-size: 0.92rem;
	color: #fffbeb;
	background: linear-gradient(135deg, rgba(82, 19, 31, 0.95) 0%, rgba(132, 40, 18, 0.92) 50%, rgba(82, 19, 31, 0.95) 100%);
	border: 1.5px solid #f59e0b;
	border-radius: 999px;
	box-shadow: 0 0 20px rgba(245, 158, 11, 0.35), 0 4px 18px rgba(0, 0, 0, 0.45);
	margin-top: 0;
	margin-bottom: 16px;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: calc(100% - 32px);
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	transition: all 0.3s ease;
}

.wallet-publickey-header.wallet-alert-banner:hover {
	box-shadow: 0 0 32px rgba(245, 158, 11, 0.65), 0 6px 24px rgba(0, 0, 0, 0.55);
	border-color: #fbbf24;
}

.wallet-banner-content {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
}

.wallet-banner-icon {
	font-size: 1.35rem;
	flex-shrink: 0;
	line-height: 1;
	filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.75));
}

.wallet-banner-text {
	font-weight: 600;
	color: #fffbeb;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
	line-height: 1.4;
	word-break: normal;
}

/* Unificación estética con botón de Wallet en winelover.html (.btn-hero-action.secondary) */
.btn-hero-action {
	padding: 10px 20px;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.25s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-family: inherit;
	box-sizing: border-box;
	line-height: 1.2;
}

.btn-hero-action.secondary,
.wallet-banner-btn {
	background: rgba(58, 19, 25, 0.6);
	color: #ffffff;
	border: 1.5px solid #4a2328;
	border-radius: 8px;
	padding: 10px 20px;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: all 0.25s ease;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	font-family: inherit;
	box-sizing: border-box;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.btn-hero-action.secondary:hover,
.wallet-banner-btn:hover {
	background: #6B0F0F;
	border-color: #D4AF37;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 4px 16px rgba(107, 15, 15, 0.5);
}

/* Estado cuando la wallet ya está verificada y activa */
.wallet-publickey-header.wallet-ready-banner {
	font-size: 0.82rem;
	color: #d1fae5;
	background: rgba(34, 15, 23, 0.85);
	border: 1px solid rgba(46, 204, 113, 0.4);
	border-left: 5px solid #2ecc71;
	border-radius: 10px;
	margin-top: 85px;
	margin-bottom: 16px;
	padding: 8px 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: calc(100% - 32px);
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	word-break: break-all;
	transition: all 0.3s ease;
}

.wallet-publickey-header[style*="cursor: pointer"]:hover {
	opacity: 0.95;
}

@media (max-width: 700px) {
	.wallet-publickey-header {
		margin-top: 0;
		font-size: 0.6em;
		padding: 0 8px;
	}
	.wallet-publickey-header.wallet-alert-banner,
	.wallet-publickey-header.wallet-ready-banner {
		margin-top: 0;
		flex-direction: column;
		text-align: center;
		gap: 10px;
		padding: 12px 14px;
	}
	.wallet-banner-content {
		flex-direction: column;
		text-align: center;
	}
	.wallet-banner-btn {
		width: 100%;
	}
}
.wallet-publickey {
	font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', 'monospace';
	font-size: 0.85em;
	color: #ffc48c;
	background: rgba(255,255,255,0.03);
	border-radius: 6px;
	padding: 6px 10px;
	word-break: break-all;
	margin-bottom: 8px;
}
.wallet-section-title {
	font-size: 1.18em;
	font-weight: 600;
	color: #ff7b00;
	margin-bottom: 10px;
	letter-spacing: 0.01em;
}
.wallet-form-row {
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	margin-bottom: 10px;
}
.wallet-form-label {
	font-size: 1em;
	color: #ffc48c;
	min-width: 90px;
}
.wallet-form-input {
	flex: 1;
	padding: 8px 12px;
	border-radius: 6px;
	border: 1px solid #c9aeb6;
	font-size: 1em;
	background: #1b0710;
	color: #fff;
}
.wallet-form-input:focus {
	border-color: #ff7b00;
	outline: none;
}
.wallet-form-error {
	color: #ff7b00;
	font-size: 0.98em;
	margin-top: 4px;
}
.wallet-form-success {
	color: #39ff14;
	font-size: 0.98em;
	margin-top: 4px;
}
.wallet-qr {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 18px 0;
}
.wallet-qr img {
	max-width: 180px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(80,0,40,0.10);
}
.wallet-qr-label {
	font-size: 0.98em;
	color: #ffc48c;
	margin-top: 4px;
}
.wallet-history-list {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
}
.wallet-history-item {
	background: rgba(255,255,255,0.02);
	border-radius: 8px;
	padding: 10px 12px;
	margin-bottom: 8px;
	color: #e9dfe3;
	font-size: 1em;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.wallet-history-item .wallet-history-date {
	font-size: 0.92em;
	color: #c9aeb6;
}
.wallet-history-item .wallet-history-amount {
	font-size: 1.08em;
	font-weight: 600;
	color: #ff7b00;
}
.wallet-history-item .wallet-history-type {
	font-size: 0.98em;
	color: #ffc48c;
}

/* Eliminar scroll horizontal en el modal de wallet */
#walletModalBody, .modal-body {
  overflow-x: hidden !important;
  max-width: 100%;
  box-sizing: border-box;
}