.rdev-registration-widget {
	width: 100%;
}

.rdev-registration-card {
	border: 1px solid #e8e2ef;
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(18, 16, 24, 0.08);
	color: #171321;
	padding: 24px;
}

.rdev-registration-header {
	margin-bottom: 22px;
}

.rdev-registration-title {
	color: #171321;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
}

.rdev-registration-subtitle {
	color: #5d5868;
	font-size: 15px;
	line-height: 1.5;
	margin: 8px 0 0;
}

.rdev-registration-header[hidden] {
	display: none !important;
}

.rdev-registration-password-rules {
	display: grid;
	gap: 6px;
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
}

.rdev-registration-password-rules li {
	align-items: center;
	color: #8a8494;
	display: flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	line-height: 1.35;
	transition: color 0.18s ease;
}

.rdev-registration-password-rules li::before {
	background: currentColor;
	border-radius: 999px;
	content: "";
	flex: 0 0 auto;
	height: 7px;
	width: 7px;
}

.rdev-registration-password-rules li.is-valid {
	color: #0b7d6f;
}

.rdev-registration-step2-summary {
	display: grid;
	gap: 8px;
}

.rdev-registration-solar-sign {
	align-items: center;
	color: #5d5868;
	display: flex;
	font-size: 15px;
	font-weight: 700;
	gap: 10px;
	line-height: 1.4;
}

.rdev-registration-sign-icon {
	border-radius: 999px;
	flex: 0 0 auto;
	height: 34px;
	object-fit: cover;
	width: 34px;
}

.rdev-registration-sign-icon--placeholder {
	align-items: center;
	background: #ece7f2;
	color: #7c3aed;
	display: inline-flex;
	font-size: 14px;
	font-weight: 800;
	justify-content: center;
}

.rdev-registration-personal-year,
.rdev-registration-step2-placeholder {
	color: #5d5868;
	font-size: 15px;
	line-height: 1.5;
	margin: 0;
}

.rdev-registration-personal-year {
	font-weight: 700;
}

.rdev-registration-progress {
	align-items: center;
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
}

.rdev-registration-step-indicator {
	align-items: center;
	background: #fff;
	border: 1px solid #d7cedf;
	border-radius: 999px;
	color: #655d70;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.rdev-registration-step-indicator.is-active,
.rdev-registration-step-indicator.is-complete {
	color: #fff;
}

.rdev-registration-step-indicator.is-active {
	background: #7c3aed;
	border-color: #7c3aed;
}

.rdev-registration-step-indicator.is-complete {
	background: #159a8c;
	border-color: #159a8c;
}

.rdev-registration-progress-line {
	background: #e4ddea;
	display: block;
	flex: 1;
	height: 1px;
}

.rdev-registration-step {
	display: none;
}

.rdev-registration-step.is-active {
	animation: rdevRegistrationFadeIn 0.22s ease;
	display: block;
}

.rdev-registration-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rdev-registration-field,
.rdev-registration-checkbox {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.rdev-registration-field-wide {
	grid-column: 1 / -1;
}

.rdev-registration-field span,
.rdev-registration-checkbox span {
	color: #302a3a;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.rdev-registration-field b {
	color: #b42318;
	font-weight: 800;
}

.rdev-registration-field input,
.rdev-registration-field select {
	appearance: none;
	background-color: #fff;
	border: 1px solid #cfc6d8;
	border-radius: 8px;
	color: #171321;
	font-size: 15px;
	line-height: 1.3;
	min-height: 46px;
	padding: 10px 12px;
	width: 100%;
}

.rdev-registration-field input:focus,
.rdev-registration-field select:focus {
	border-color: #7c3aed;
	box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14);
	outline: none;
}

.rdev-registration-checkbox {
	align-items: center;
	background: #f6f1fb;
	border: 1px solid #e1d8eb;
	border-radius: 8px;
	flex-direction: row;
	padding: 12px;
}

.rdev-registration-checkbox input {
	accent-color: #7c3aed;
	flex: 0 0 auto;
	height: 18px;
	width: 18px;
}

.rdev-registration-feedback {
	color: #5d5868;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	min-height: 20px;
	padding-top: 16px;
}

.rdev-registration-feedback[data-type="error"] {
	color: #b42318;
}

.rdev-registration-feedback[data-type="success"] {
	color: #0b7d6f;
}

.rdev-registration-actions {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 18px;
}

.rdev-registration-actions--single {
	justify-content: flex-start;
}

.rdev-registration-widget--logged-in .rdev-registration-actions {
	margin-top: 0;
}

.rdev-registration-primary,
.rdev-registration-secondary {
	align-items: center;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	display: inline-flex;
	font-size: 15px;
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 44px;
	padding: 11px 18px;
	text-decoration: none;
	transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.rdev-registration-primary {
	box-shadow: 0 10px 22px rgba(124, 58, 237, 0.22);
	color: #fff;
}

.rdev-registration-secondary {
	background: #ece7f2;
	color: #302a3a;
}

.rdev-registration-primary:hover,
.rdev-registration-secondary:hover {
	transform: translateY(-1px);
}

.rdev-registration-primary:disabled,
.rdev-registration-secondary:disabled,
.rdev-registration-form.is-busy .rdev-registration-primary,
.rdev-registration-form.is-busy .rdev-registration-secondary {
	cursor: wait;
	opacity: 0.68;
	transform: none;
}

@keyframes rdevRegistrationFadeIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 767px) {
	.rdev-registration-card {
		padding: 18px;
	}

	.rdev-registration-title {
		font-size: 24px;
	}

	.rdev-registration-grid {
		grid-template-columns: 1fr;
	}

	.rdev-registration-actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.rdev-registration-primary,
	.rdev-registration-secondary {
		width: 100%;
	}
}
