/*
 * HospediaPro Domains - crypto payment page.
 * Loaded only on pages using the "HospediaPro Domains - Pago" template.
 *
 * The contact step deliberately avoids input[type="..."] selectors -
 * the theme has its own rules at the same specificity for those,
 * and whichever stylesheet loads last would win. Every field here is
 * targeted through .hpdp-field / .hpdp-contact-grid classes instead,
 * which the theme has no reason to also define.
 */

.hpdp-page {
	max-width: 620px;
	margin: 0 auto;
	padding: 48px 24px 80px;
}

.hpdp-card {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
	padding: 36px 32px;
}

.hpdp-domain {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 24px;
	color: #14142B;
}

/* --- Step progress indicator --- */

.hpdp-steps {
	display: flex;
	justify-content: space-between;
	position: relative;
	margin-bottom: 28px;
}

.hpdp-steps::before {
	content: "";
	position: absolute;
	top: 18px;
	left: 18px;
	right: 18px;
	height: 2px;
	background: #E1E1EC;
	z-index: 0;
}

.hpdp-step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 1;
}

.hpdp-step__circle {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #FAFAFD;
	border: 2px solid #E1E1EC;
	color: #A0A0B0;
}

.hpdp-step__circle i {
	font-size: 16px;
}

.hpdp-step span {
	font-size: 11px;
	color: #A0A0B0;
	font-weight: 500;
}

.hpdp-step--active .hpdp-step__circle {
	background: #EAF0FE;
	border-color: #2F6FED;
	color: #2F6FED;
}

.hpdp-step--active span {
	color: #2F6FED;
	font-weight: 700;
}

.hpdp-step--done .hpdp-step__circle {
	background: #3B6D11;
	border-color: #3B6D11;
	color: #ffffff;
}

.hpdp-step--done span {
	color: #3B6D11;
}

/* --- Per-step icon + reassurance line --- */

.hpdp-step-icon {
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: #EAF0FE;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.hpdp-step-icon i {
	font-size: 22px;
	color: #2F6FED;
}

.hpdp-reassurance {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	color: #5A5A72;
	margin: 16px 0 0;
	line-height: 1.5;
}

.hpdp-reassurance i {
	font-size: 14px;
	color: #A0A0B0;
	margin-top: 1px;
	flex-shrink: 0;
}

.hpdp-step-label {
	font-size: 15px;
	color: #3D3D52;
	margin: 0 0 20px;
	text-align: center;
}

.hpdp-form {
	display: flex;
	gap: 10px;
	margin-bottom: 8px;
}

.hpdp-form input[type="email"] {
	flex: 1;
	width: 100%;
	height: 46px;
	border: 1.5px solid #E1E1EC;
	border-radius: 10px;
	padding: 0 14px;
	font-size: 15px;
	box-sizing: border-box;
}

.hpdp-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 20px;
}

.hpdp-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hpdp-field--standalone {
	margin-bottom: 16px;
}

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

.hpdp-field--narrow {
	max-width: 140px;
}

.hpdp-field label {
	font-size: 13px;
	font-weight: 600;
	color: #3D3D52;
}

.hpdp-field input {
	width: 100%;
	height: 46px;
	border: 1.5px solid #E1E1EC;
	border-radius: 10px;
	padding: 0 14px;
	font-size: 15px;
	color: #14142B;
	background: #FAFAFD;
	box-sizing: border-box;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.hpdp-field input:focus {
	outline: none;
	border-color: #2F6FED;
	background: #ffffff;
}

.hpdp-button {
	height: 46px;
	padding: 0 22px;
	background: #2F6FED;
	color: #ffffff;
	border: none;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.hpdp-button:hover {
	background: #2559C9;
}

.hpdp-button--full {
	width: 100%;
}

.hpdp-network-form {
	margin: 0 0 10px;
}

.hpdp-network-button {
	width: 100%;
	height: 52px;
	background: #FAFAFD;
	border: 1.5px solid #E1E1EC;
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
	color: #14142B;
	cursor: pointer;
	text-align: left;
	padding: 0 18px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.hpdp-network-button i {
	font-size: 20px;
	color: #2F6FED;
}

.hpdp-network-button:hover {
	border-color: #2F6FED;
	background: #F4F2FE;
}

.hpdp-amount {
	font-size: 30px;
	font-weight: 700;
	color: #14142B;
	background: #F4F2FE;
	border-radius: 12px;
	padding: 16px;
	text-align: center;
	margin-bottom: 8px;
}

.hpdp-amount-note {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	font-size: 13px;
	color: #a32d2d;
	margin: 0 0 20px;
	line-height: 1.5;
}

.hpdp-amount-note i {
	font-size: 14px;
	margin-top: 1px;
	flex-shrink: 0;
}

.hpdp-address {
	font-family: var(--font-mono, monospace);
	font-size: 14px;
	word-break: break-all;
	background: #FAFAFD;
	border: 1px solid #E1E1EC;
	border-radius: 10px;
	padding: 14px;
	margin-bottom: 20px;
}

.hpdp-status {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #FFF6E5;
	border: 1px solid #EF9F27;
	border-radius: 12px;
	padding: 16px 18px;
}

.hpdp-status i {
	font-size: 22px;
	color: #EF9F27;
	flex-shrink: 0;
}

.hpdp-status p {
	margin: 0;
	font-size: 14px;
	color: #6B4A05;
}

.hpdp-status--success {
	background: #EAF3DE;
	border-color: #639922;
}

.hpdp-status--success i {
	color: #3B6D11;
}

.hpdp-status--success p {
	color: #2E4A16;
}

.hpdp-status--error {
	background: #FCEBEB;
	border-color: #E24B4A;
}

.hpdp-status--error i {
	color: #a32d2d;
}

.hpdp-status--error p {
	color: #7A1F1F;
}

.hpdp-message {
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 14px;
}

.hpdp-message--error {
	background: #FCEBEB;
	border: 1px solid #E24B4A;
	color: #7A1F1F;
}

.hpdp-message--info {
	background: #FFF6E5;
	border: 1px solid #EF9F27;
	color: #6B4A05;
}

.hpdp-message--success {
	background: #EAF3DE;
	border: 1px solid #639922;
	color: #2E4A16;
}

@media (max-width: 560px) {
	.hpdp-card {
		padding: 24px 20px;
	}

	.hpdp-contact-grid {
		grid-template-columns: 1fr;
	}

	.hpdp-field--narrow {
		max-width: none;
	}

	.hpdp-form {
		flex-direction: column;
	}
}
