/* Registry — Creative Sandbox card skin (natural + sandbox) */

.registration-wrapper.nms-registry {
	--nms-reg-teal: #008C99;
	--nms-reg-dark: #0f172a;
	--nms-reg-slate: #1e293b;
	--nms-reg-muted: #64748b;
	--nms-reg-border: #e2e8f0;
	--nms-reg-bg: #f8fafc;

	display: flex;
	width: 100%;
	justify-content: center;
	align-items: flex-start;
	padding: clamp(1rem, 3vh, 2rem) 1rem;
	min-height: 0;
	height: 100%;
	box-sizing: border-box;
	overflow-x: hidden;
	overflow-y: auto;
	background: var(--nms-reg-bg);
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	color: var(--nms-reg-slate);
}

.nms-registry #fnc-registration,
.nms-registry #fnc-verify {
	position: relative;
	flex: 0 1 480px;
	width: 100%;
	max-width: 480px;
	text-align: center;
	margin: auto;
}

.nms-registry .nms-registry-card.box {
	background: #ffffff;
	border-radius: 10px;
	border: 1px solid var(--nms-reg-border);
	padding: 1.75rem;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	margin: 0;
	box-sizing: border-box;
}

.nms-registry #fnc-registration .alter {
	padding-bottom: 1.25rem;
	margin-bottom: 0.5rem;
	border-bottom: 1px solid var(--nms-reg-border);
}

.nms-registry .nms-registry-head {
	margin: 0 0 1.25rem;
}

.nms-registry .nms-registry-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	margin: 0 auto 0.85rem;
	padding: 0.28rem 0.75rem;
	border-radius: 999px;
	border: 1px solid #f1a8a8;
	background: #fdecec;
	color: #c0392b;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
}

.nms-registry .nms-registry-badge::before {
	content: '🔒';
	font-size: 0.75rem;
}

.nms-registry .nms-registry-title {
	margin: 0;
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 800;
	color: var(--nms-reg-dark);
	letter-spacing: -0.02em;
}

.nms-registry .nms-registry-subtitle {
	margin: 0.35rem 0 0;
	color: var(--nms-reg-muted);
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.4;
}

.nms-registry .box .box-row {
	margin: 0;
}

.nms-registry .form-group {
	position: relative;
	margin: 0.85rem 0;
	text-align: left;
}

.nms-registry .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.nms-registry .form-group select,
.nms-registry .form-group textarea {
	padding: 0.75rem;
	border: 1px solid var(--nms-reg-border);
	border-radius: 6px;
	font-family: inherit;
	box-sizing: border-box;
}

.nms-registry .form-group input:focus,
.nms-registry .form-group select:focus,
.nms-registry .form-group textarea:focus {
	border-color: var(--nms-reg-teal);
	box-shadow: 0 0 0 3px rgba(0, 140, 153, 0.15);
}

.nms-registry .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="submit"])+label {
	position: absolute;
	left: 0.75rem;
	top: 0.9rem;
	color: var(--nms-reg-muted);
	pointer-events: none;
	background: #ffffff;
	padding: 0 0.35rem;
	line-height: 1;
	z-index: 2;
	transition: all 0.18s cubic-bezier(.2, .8, .2, 1);
}

.nms-registry .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):focus+label,
.nms-registry .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not(:placeholder-shown)+label,
.nms-registry .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):-webkit-autofill+label {
	top: -0.55rem;
	font-size: 0.8rem;
	color: var(--nms-reg-teal);
	background: #ffffff;
	padding: 0 0.4rem;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.nms-registry .nms-registry-submit input[type="submit"],
.nms-registry .nms-registry-submit button {
	display: block;
	width: 100%;
	background: var(--nms-reg-teal);
	color: #ffffff;
	border: none;
	border-color: var(--nms-reg-teal);
	padding: 0.85rem 1.5rem;
	border-radius: 6px;
	font-weight: 800;
	font-family: inherit;
	cursor: pointer;
	text-align: center;
}

.nms-registry .nms-registry-submit input[type="submit"]:hover:not(:disabled),
.nms-registry .nms-registry-submit button:hover:not(:disabled) {
	background: #007a85;
	border-color: #007a85;
}

.nms-registry .nms-registry-submit input[type="submit"]:disabled,
.nms-registry .nms-registry-submit button:disabled {
	background: #9bb8bc !important;
	border-color: #9bb8bc !important;
	color: #f3f7f8 !important;
	cursor: not-allowed !important;
	opacity: 0.85;
	pointer-events: none;
}

.nms-registry .nms-registry-terms {
	font-size: 0.82rem;
	color: var(--nms-reg-muted);
	text-align: center;
}

.nms-registry .checkbox-group,
.nms-registry .radio-group {
	justify-content: flex-start;
	flex-wrap: wrap;
}

.nms-registry .checkbox-group label,
.nms-registry .radio-group label {
	border-color: var(--nms-reg-border);
	border-radius: 6px;
}

.nms-registry .checkbox-group label:hover,
.nms-registry .radio-group label:hover {
	border-color: var(--nms-reg-teal);
}

.nms-registry .radio-group input[type="radio"],
.nms-registry .checkbox-group input[type="checkbox"] {
	accent-color: var(--nms-reg-teal);
}

.nms-registry form .captcha {
	background: var(--nms-reg-bg);
	border: 1px solid var(--nms-reg-border);
	border-radius: 6px;
}

.nms-registry .msg-warning,
.nms-registry .msg-error,
.nms-registry .msg-success {
	border-radius: 6px;
	padding: 0.75rem 1rem;
	margin-bottom: 0.75rem;
	font-size: 0.88rem;
	text-align: left;
}

.nms-registry #fnc-verify .verify-cooldown {
	margin: 0.35rem 0 0;
	padding: 0.75rem 1rem;
	font-size: 0.88rem;
	line-height: 1.4;
	font-weight: 600;
	color: var(--nms-reg-slate);
	background: #ecfeff;
	border: 1px solid #a5f3fc;
	border-radius: 6px;
	text-align: center;
}

@media (max-width: 799px) {
	.registration-wrapper.nms-registry {
		align-items: flex-start;
		padding: 1rem 0.75rem;
	}

	.nms-registry .nms-registry-card.box {
		padding: 1.25rem;
	}
}
