/* Crypto Donation Page — front-end styles */

.cdp-wrap {
	background: var(--cdp-bg, #0d0d0d);
	min-height: 100vh;
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 48px 16px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.cdp-container {
	width: 100%;
	max-width: 900px;
	text-align: center;
	color: var(--cdp-text, #f5f5f5);
	display: flex;
	flex-direction: column;
	align-items: center;
}

.cdp-logo {
	width: 72px;
	height: 72px;
	object-fit: contain;
	border-radius: 12px;
	margin-bottom: 16px;
}

.cdp-heading {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.3;
}

.cdp-message {
	font-size: 15px;
	line-height: 1.6;
	color: var(--cdp-muted, rgba(245, 245, 245, 0.65));
	margin: 0 0 32px;
	max-width: 420px;
}

.cdp-wallets {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 28px;
}

.cdp-wallet-card {
	flex: 1 1 240px;
	max-width: 270px;
	box-sizing: border-box;
	background: var(--cdp-card-bg, rgba(255, 255, 255, 0.05));
	border: 1px solid rgba(127, 127, 127, 0.16);
	border-radius: 18px;
	padding: 26px 22px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	transition: transform 0.15s ease, border-color 0.15s ease;
}

.cdp-wallet-card:hover {
	transform: translateY(-3px);
	border-color: rgba(127, 127, 127, 0.32);
}

.cdp-wallet-header {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	margin-bottom: 20px;
}

.cdp-coin-badge {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 19px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.cdp-wallet-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: 2px;
}

.cdp-wallet-label {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
}

.cdp-wallet-symbol {
	font-size: 11.5px;
	letter-spacing: 0.07em;
	color: var(--cdp-muted, rgba(245, 245, 245, 0.6));
	text-transform: uppercase;
}

.cdp-wallet-note {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--cdp-muted, rgba(245, 245, 245, 0.6));
	margin: 14px 0 0;
	width: 100%;
	text-align: center;
}

.cdp-qr {
	width: 168px;
	height: 168px;
	background: #ffffff;
	border-radius: 12px;
	margin: 0 0 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 8px;
	box-sizing: border-box;
}

.cdp-qr svg {
	width: 100%;
	height: 100%;
}

.cdp-qr-loading,
.cdp-qr-error {
	font-size: 11px;
	color: #999;
}

.cdp-address-row {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(127, 127, 127, 0.12);
	border-radius: 10px;
	padding: 9px 9px 9px 12px;
	box-sizing: border-box;
}

.cdp-address {
	flex: 1 1 auto;
	min-width: 0;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 13px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
	color: inherit;
	background: none;
	cursor: default;
}

.cdp-copy-btn {
	flex: 0 0 auto;
	background: var(--cdp-accent, #ff9500);
	color: #111111;
	border: none;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	transition: filter 0.15s ease, transform 0.15s ease;
	white-space: nowrap;
}

.cdp-copy-btn:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.cdp-copy-btn.cdp-copy-success {
	background: #22c55e;
	color: #ffffff;
}

.cdp-empty {
	opacity: 0.75;
	font-style: italic;
}

@media (max-width: 480px) {
	.cdp-wrap {
		padding: 32px 12px;
	}
	.cdp-heading {
		font-size: 21px;
	}
	.cdp-qr {
		width: 152px;
		height: 152px;
	}
}
