/* Registration page — form layout + URN blocked notice CTA */

.cw-kl-oms-registration {
	max-width: 40rem;
	margin: 0 0 2rem;
}

.cw-kl-oms-registration .cw-kl-oms-reg-section {
	margin: 0 0 1.75rem;
	padding: 30px;
	border: 0;
	min-inline-size: 0;
}

.cw-kl-oms-registration .cw-kl-oms-reg-heading {
	display: block;
	width: 100%;
	margin: 0 0 0.85rem;
	padding: 0 0 0.4rem;
	border-bottom: 1px solid #e0e0e0;
	color: #333;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
}

.cw-kl-oms-registration .cw-kl-oms-reg-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem 1rem;
}

.cw-kl-oms-registration .cw-kl-oms-reg-grid--nested {
	margin: 0;
}

.cw-kl-oms-registration .cw-kl-oms-reg-field-group {
	margin: 0;
}

.cw-kl-oms-registration .cw-kl-oms-reg-field-group > .cw-kl-oms-reg-hint {
	margin-top: 0.4rem;
}

.cw-kl-oms-registration .cw-kl-oms-reg-field {
	margin: 0;
}

.cw-kl-oms-registration .cw-kl-oms-reg-field--full {
	grid-column: 1 / -1;
}

.cw-kl-oms-registration .cw-kl-oms-reg-field label {
	display: block;
	margin: 0 0 0.35rem;
	color: #333;
	font-weight: 600;
	font-size: 0.92rem;
}

.cw-kl-oms-registration .cw-kl-oms-reg-field .required {
	text-decoration: none;
	border: 0;
	color: #b32d2e;
}

.cw-kl-oms-registration .cw-kl-oms-reg-field input[type="text"],
.cw-kl-oms-registration .cw-kl-oms-reg-field input[type="email"],
.cw-kl-oms-registration .cw-kl-oms-reg-field input[type="tel"],
.cw-kl-oms-registration .cw-kl-oms-reg-field input[type="password"],
.cw-kl-oms-registration .cw-kl-oms-reg-field textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0.65rem 0.75rem;
	border: 1px solid #cfcfcf;
	border-radius: 3px;
	background: #fff;
	color: #333;
	line-height: 1.4;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cw-kl-oms-registration .cw-kl-oms-reg-field input:focus,
.cw-kl-oms-registration .cw-kl-oms-reg-field textarea:focus {
	border-color: #96588a;
	outline: 0;
	box-shadow: 0 0 0 2px rgba(150, 88, 138, 0.2);
}

.cw-kl-oms-registration .cw-kl-oms-reg-field textarea {
	min-height: 5rem;
	resize: vertical;
}

.cw-kl-oms-registration .cw-kl-oms-reg-hint {
	display: block;
	margin: 0.35rem 0 0;
	color: #6d6d6d;
	font-size: 0.85rem;
	font-style: normal;
}

.cw-kl-oms-registration .cw-kl-oms-reg-field--check label {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	font-weight: 400;
	line-height: 1.45;
}

.cw-kl-oms-registration .cw-kl-oms-reg-field--check input[type="checkbox"] {
	margin-top: 0.2rem;
	flex-shrink: 0;
}

.cw-kl-oms-registration .cw-kl-oms-terms {
	max-height: 12rem;
	overflow: auto;
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border: 1px solid #e0e0e0;
	border-radius: 3px;
	background: #fafafa;
	font-size: 0.92rem;
}

.cw-kl-oms-registration .cw-kl-oms-terms p:last-child {
	margin-bottom: 0;
}

.cw-kl-oms-registration .cw-kl-oms-reg-actions {
	margin: 1.5rem 0 0.75rem;
}

.cw-kl-oms-registration .cw-kl-oms-reg-actions .button {
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.cw-kl-oms-registration .cw-kl-oms-reg-login {
	margin: 0;
	color: #6d6d6d;
	font-size: 0.95rem;
}

@media (max-width: 600px) {
	.cw-kl-oms-registration .cw-kl-oms-reg-grid {
		grid-template-columns: 1fr;
	}
}

.cw-kl-oms-registration .cw-kl-oms-reg-actions .button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.cw-kl-oms-registration [x-cloak] {
	display: none !important;
}

.cw-kl-oms-registration .cw-kl-oms-urn-status {
	display: block;
	margin-top: 0.55rem;
	font-size: 0.9rem;
	line-height: 1.45;
}

.cw-kl-oms-registration .cw-kl-oms-urn-status--checking {
	color: #6d6d6d;
}

.cw-kl-oms-registration .cw-kl-oms-urn-status--ok {
	padding: 0.65rem 0.85rem;
	border: 1px solid #b7dfc3;
	border-radius: 4px;
	background: #edf8f0;
	color: #1e7a3a;
}

.cw-kl-oms-registration .cw-kl-oms-urn-status--info {
	padding: 0.65rem 0.85rem;
	border: 1px solid #edd9a3;
	border-radius: 4px;
	background: #fff8e8;
	color: #8a6116;
}

.cw-kl-oms-registration .cw-kl-oms-urn-status--error {
	padding: 0.75rem 0.9rem;
	border: 1px solid #e6b4b4;
	border-radius: 4px;
	background: #fcebeb;
	color: #8a2424;
}

.cw-kl-oms-registration .cw-kl-oms-urn-status--error .cw-kl-oms-notice-btn {
	display: inline-block;
	margin: 0.65rem 0 0;
	margin-left: 0;
	padding: 0.3em 0.75em;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.3;
	border-radius: 3px;
	background: #b32d2e;
	color: #fff !important;
	border: 1px solid #9a2728;
	box-shadow: none;
	text-decoration: none !important;
	vertical-align: middle;
	white-space: nowrap;
}

.cw-kl-oms-registration .cw-kl-oms-urn-status--error .cw-kl-oms-notice-btn:hover,
.cw-kl-oms-registration .cw-kl-oms-urn-status--error .cw-kl-oms-notice-btn:focus {
	background: #8a2424;
	border-color: #8a2424;
	color: #fff !important;
}

/* URN blocked notice CTA (WooCommerce notices) */
.woocommerce-error .cw-kl-oms-notice-btn,
.woocommerce-message .cw-kl-oms-notice-btn,
.woocommerce-info .cw-kl-oms-notice-btn,
.cw-kl-oms-notice-btn {
	display: inline-block;
	margin-left: 0.75em;
	padding: 0.45em 1em;
	border-radius: 3px;
	background: #fff;
	color: #b32d2e !important;
	font-weight: 600;
	text-decoration: none !important;
	line-height: 1.3;
	border: 1px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	vertical-align: middle;
	white-space: nowrap;
}

.woocommerce-error .cw-kl-oms-notice-btn:hover,
.woocommerce-error .cw-kl-oms-notice-btn:focus,
.cw-kl-oms-notice-btn:hover,
.cw-kl-oms-notice-btn:focus {
	background: #f7f7f7;
	color: #8a2424 !important;
	text-decoration: none !important;
}

.cw-kl-oms-access-confirm {
	max-width: 36rem;
	padding: 1.5rem 0;
}

.cw-kl-oms-access-confirm__actions {
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.cw-kl-oms-access-confirm__actions li {
	margin: 0;
}

.cw-kl-oms-gias-help {
	margin: 0.45rem 0 0;
}

.cw-kl-oms-gias-help__title,
.cw-kl-oms-gias-help__text,
.cw-kl-oms-gias-help__link {
	margin: 0 0 0.3rem;
	color: #555;
	font-size: 0.9rem;
	line-height: 1.4;
}

