/* Guest / pending price restriction */
.ctm-guest-price {
	display: inline-block;
	font-size: 0.9em;
	color: #6b6b6b;
}

.ctm-pending-price {
	color: #b26a00;
}

.ctm-login-btn {
	margin-inline-start: 8px;
}

.ctm-pending-btn.disabled {
	pointer-events: none;
	opacity: 0.6;
}

/* "Not registered yet?" banner on the OTP login page */
.ctm-register-banner {
	text-align: center;
	background: #1d3a7a;
	padding: 10px 16px;
	margin: 0;
}

.ctm-register-banner a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
}

.ctm-register-banner-js {
	position: relative;
	z-index: 9999;
}

/* Tier pricing */
.ctm-tier-price {
	display: inline-block;
	font-weight: 600;
}

.ctm-tier-price-sale del {
	opacity: 0.6;
	margin-inline-end: 6px;
	font-weight: 400;
}

.ctm-tier-price-sale ins {
	text-decoration: none;
	color: #cc3333;
}

/* Discount notice box on the product page */
.ctm-discount-notice {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #f5f8ff;
	border: 1px solid #cfdcfb;
	color: #1d3a7a;
	padding: 10px 14px;
	border-radius: 6px;
	margin: 14px 0;
	font-size: 0.92em;
}

/* Registration form */
.ctm-register-wrap {
	max-width: 640px;
	margin: 0 auto;
}

.ctm-notice {
	padding: 14px 18px;
	border-radius: 6px;
	margin-bottom: 20px;
}

.ctm-notice-success {
	background: #edfaef;
	border: 1px solid #8fd19e;
	color: #1f5b2c;
}

.ctm-notice-error {
	background: #fcf0f1;
	border: 1px solid #e59a9c;
	color: #8a1f1f;
}

.ctm-register-form {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 28px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.ctm-register-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px 20px;
}

.ctm-field {
	margin: 0 0 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ctm-field-full,
.ctm-field-submit {
	grid-column: 1 / -1;
}

.ctm-field label {
	font-weight: 600;
	font-size: 0.92em;
}

.ctm-field .required {
	color: #cc3333;
}

.ctm-field input,
.ctm-field textarea {
	padding: 10px 12px;
	border: 1px solid #d5d8dc;
	border-radius: 6px;
	font-size: 1em;
	width: 100%;
	box-sizing: border-box;
	transition: border-color 0.15s ease;
}

.ctm-field input:focus,
.ctm-field textarea:focus {
	border-color: #2271b1;
	outline: none;
}

.ctm-submit-btn {
	width: 100%;
	padding: 12px 20px;
	font-size: 1.05em;
	border-radius: 6px;
	cursor: pointer;
}

@media (max-width: 640px) {
	.ctm-register-grid {
		grid-template-columns: 1fr;
	}

	.ctm-register-form {
		padding: 18px;
	}
}
