/**
 * MedSolutions LMS — Registration (OTP multi-step)
 */
.mslms-reg {
	max-width: 560px;
	margin: 0 auto;
	padding: 24px 16px 48px;
}

.mslms-reg__card {
	max-width: none;
	text-align: left;
	padding: 40px 36px;
}

.mslms-reg__eyebrow {
	margin: 0 0 6px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--green-fresh, #27B45B);
}

.mslms-reg__header {
	text-align: center;
	margin-bottom: 28px;
}

.mslms-reg__steps {
	display: flex;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.mslms-reg__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 1;
	max-width: 100px;
	position: relative;
	opacity: 0.45;
	transition: opacity 0.2s ease;
}

.mslms-reg__step:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 14px;
	left: calc(50% + 18px);
	width: calc(100% - 36px);
	height: 2px;
	background: rgba(11, 79, 135, 0.12);
}

.mslms-reg__step.is-active,
.mslms-reg__step.is-done {
	opacity: 1;
}

.mslms-reg__step.is-done .mslms-reg__step-num {
	background: linear-gradient(135deg, var(--green-fresh, #27B45B), var(--green, #0C9A46));
	color: #fff;
	border-color: transparent;
}

.mslms-reg__step.is-active .mslms-reg__step-num {
	background: var(--blue-deep, #0B4F87);
	color: #fff;
	border-color: transparent;
	box-shadow: 0 0 0 4px rgba(11, 79, 135, 0.12);
}

.mslms-reg__step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid rgba(11, 79, 135, 0.2);
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--blue-navy, #083D6B);
	background: rgba(255, 255, 255, 0.8);
	position: relative;
	z-index: 1;
}

.mslms-reg__step-label {
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--charcoal, #2C3E50);
	text-align: center;
}

.mslms-reg__message {
	padding: 12px 16px;
	border-radius: 12px;
	margin-bottom: 20px;
	font-size: 0.9rem;
}

.mslms-reg__message.is-error {
	background: rgba(220, 38, 38, 0.08);
	color: #b91c1c;
	border: 1px solid rgba(220, 38, 38, 0.15);
}

.mslms-reg__message.is-success {
	background: rgba(39, 180, 91, 0.1);
	color: #0C9A46;
	border: 1px solid rgba(39, 180, 91, 0.2);
}

.mslms-reg__message.is-info {
	background: rgba(11, 79, 135, 0.06);
	color: var(--blue-deep, #0B4F87);
	border: 1px solid rgba(11, 79, 135, 0.1);
}

.mslms-reg__field {
	margin-bottom: 16px;
}

.mslms-reg__field label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--charcoal, #2C3E50);
}

.mslms-reg__field .required {
	color: #dc2626;
}

.mslms-reg__field .input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid rgba(11, 79, 135, 0.12);
	border-radius: 12px;
	font-size: 0.95rem;
	background: rgba(255, 255, 255, 0.85);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mslms-reg__field .input:focus {
	outline: none;
	border-color: var(--blue-deep, #0B4F87);
	box-shadow: 0 0 0 3px rgba(11, 79, 135, 0.1);
}

.mslms-reg__phone-row {
	display: grid;
	grid-template-columns: 130px 1fr;
	gap: 10px;
}

.mslms-reg__country-select {
	font-size: 0.85rem !important;
	padding-left: 10px !important;
	padding-right: 8px !important;
}

.mslms-reg__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.mslms-reg__verify-method {
	border: none;
	margin: 0 0 16px;
	padding: 0;
}

.mslms-reg__verify-method legend {
	font-size: 0.82rem;
	font-weight: 600;
	margin-bottom: 10px;
	color: var(--charcoal, #2C3E50);
}

.mslms-reg__radio {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 8px;
	cursor: pointer;
	font-size: 0.9rem;
}

.mslms-reg__radio.is-disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.mslms-reg__radio small {
	display: block;
	font-size: 0.75rem;
	color: rgba(44, 62, 80, 0.6);
	margin-top: 2px;
}

.mslms-reg__terms {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 20px;
	font-size: 0.85rem;
	line-height: 1.5;
	cursor: pointer;
}

.mslms-reg__terms a {
	color: var(--blue-deep, #0B4F87);
	font-weight: 600;
}

.mslms-reg__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 14px 24px;
	border-radius: 100px;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: opacity 0.15s ease, transform 0.15s ease;
	border: none;
}

.mslms-reg__btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.mslms-reg__btn--primary {
	background: linear-gradient(135deg, var(--green-fresh, #27B45B), var(--green, #0C9A46)) !important;
	color: #fff !important;
}

.mslms-reg__btn--primary:not(:disabled):hover {
	transform: translateY(-1px);
}

.mslms-reg__btn--ghost {
	background: transparent;
	border: 1px solid rgba(11, 79, 135, 0.2);
	color: var(--blue-deep, #0B4F87);
	margin-top: 10px;
}

.mslms-reg__btn--link {
	background: none;
	border: none;
	color: var(--blue-deep, #0B4F87);
	font-size: 0.85rem;
	margin-top: 12px;
	text-decoration: underline;
	width: auto;
}

.mslms-reg__honeypot {
	position: absolute;
	left: -9999px;
	height: 0;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.mslms-reg__footer {
	text-align: center;
}

/* OTP panel */
.mslms-otp__hint {
	text-align: center;
	color: rgba(44, 62, 80, 0.72);
	font-size: 0.92rem;
	margin: 0 0 24px;
}

.mslms-otp__test-notice {
	text-align: center;
	padding: 12px 16px;
	background: #fef3c7;
	border: 1px solid #f59e0b;
	border-radius: 12px;
	margin-bottom: 20px;
	font-size: 0.88rem;
	color: #92400e;
}

.mslms-otp__inputs {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-bottom: 24px;
}

.mslms-otp__digit {
	width: 44px !important;
	height: 52px;
	text-align: center;
	font-size: 1.35rem;
	font-weight: 700;
	padding: 0 !important;
	color: var(--blue-navy, #083D6B);
}

.mslms-otp__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media (max-width: 768px) {
	.mslms-reg__btn {
		min-height: 48px;
	}

	.mslms-reg__step-label {
		font-size: 0.65rem;
	}
}

@media (max-width: 540px) {
	.mslms-reg__card {
		padding: 28px 20px;
	}

	.mslms-reg__row {
		grid-template-columns: 1fr;
	}

	.mslms-reg__phone-row {
		grid-template-columns: 1fr;
	}

	.mslms-otp__digit {
		width: 40px !important;
		height: 48px;
		font-size: 1.2rem;
	}

	.mslms-otp__inputs {
		gap: 6px;
	}
}
