/* Diploma Company – Crypto Payments */

/* ---------- Label row (title + badge + coin icons) ---------- */
.dc-crypto-label {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	width: 100%;
}
.wc-block-components-radio-control__option .dc-crypto-label { width: 100%; }
.wc-block-components-radio-control__label:has(.dc-crypto-label) { flex: 1 1 auto; width: 100%; }

.dc-crypto-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px;
	border-radius: 999px;
	background: #eef3ff;
	color: #1a4fd6;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.4;
	white-space: nowrap;
}
.dc-crypto-badge::before {
	content: "";
	width: 10px;
	height: 11px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M5 0 0 2v3.5C0 8.6 2.1 11.2 5 12c2.9-.8 5-3.4 5-6.5V2L5 0Zm-.8 8.4L2 6.2l.9-.9 1.3 1.3 2.9-2.9.9.9-3.8 3.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M5 0 0 2v3.5C0 8.6 2.1 11.2 5 12c2.9-.8 5-3.4 5-6.5V2L5 0Zm-.8 8.4L2 6.2l.9-.9 1.3 1.3 2.9-2.9.9.9-3.8 3.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dc-crypto-icons {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}
.dc-crypto-icons img {
	width: 32px !important;
	height: 32px !important;
	max-width: none;
	margin: 0 !important;
	display: block;
	border-radius: 50%;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}

/* Classic checkout: icons sit inside the <label> */
.wc_payment_method.payment_method_dc_crypto > label { display: inline-flex; align-items: center; gap: 10px; width: calc(100% - 30px); }
.wc_payment_method.payment_method_dc_crypto > label .dc-crypto-icons { margin-left: auto; }

/* ---------- Panel ---------- */
.dc-crypto-panel {
	position: relative;
	margin-top: 4px;
	padding: 16px 18px 16px 20px;
	border-radius: 8px;
	background: linear-gradient(135deg, #f7f9ff 0%, #fffaf2 100%);
	border: 1px solid #e3e8f5;
	overflow: hidden;
}
.dc-crypto-panel::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #f7931a 0%, #627eea 55%, #2775ca 100%);
}
.dc-crypto-desc {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
}
.dc-crypto-steps {
	list-style: none;
	counter-reset: dcstep;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.dc-crypto-steps li {
	counter-increment: dcstep;
	position: relative;
	padding-left: 32px;
	font-size: 14px;
	line-height: 22px;
	color: #3a3a3a;
	margin: 0;
}
.dc-crypto-steps li::before {
	content: counter(dcstep);
	position: absolute;
	left: 0; top: 0;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: #1d2b4f;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	line-height: 22px;
}

.dc-crypto-thankyou {
	margin: 0 0 2em;
	padding: 16px 20px;
	border-left: 4px solid #f7931a;
	background: #fffaf2;
	border-radius: 6px;
}

@media (max-width: 520px) {
	.dc-crypto-icons { margin-left: 0; width: 100%; }
	.dc-crypto-icons img { width: 26px !important; height: 26px !important; }
}
