.registration-page {
	min-height: calc(100vh - 80px);
	padding: clamp(1.5rem, 5vw, 4rem) 1rem;
	background: linear-gradient(145deg, #fff8f4, #f7e8e6);
}

.registration-shell {
	width: min(100%, 560px);
	margin: 0 auto;
	overflow: hidden;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 18px 60px rgba(72, 39, 39, .12);
}

.registration-progress {
	height: 6px;
	background: #eee;
}

.registration-progress span {
	display: block;
	width: 14.28%;
	height: 100%;
	background: var(--color-primary);
	transition: width .3s ease;
}

.registration-message {
	margin: 1.25rem 1.5rem 0;
	padding: .8rem 1rem;
	border-radius: 8px;
	background: #fff0f0;
	color: #9f2525;
}

.registration-step {
	display: none;
	padding: clamp(1.5rem, 5vw, 2.75rem);
}

.registration-step.is-active {
	display: block;
	animation: registration-in .25s ease;
}

@keyframes registration-in {
	from { opacity: 0; transform: translateX(12px); }
}

.registration-step h1,
.registration-step h2 {
	margin: 0 0 1.5rem;
	line-height: 1.15;
}

.registration-step .eyebrow {
	margin: 0 0 .25rem;
	color: var(--color-muted);
}

.registration-step > label {
	display: block;
	margin: 0 0 1.2rem;
	font-weight: 700;
}

.registration-step label small {
	display: block;
	margin: .15rem 0 .35rem;
	color: var(--color-muted);
	font-weight: 400;
}

.registration-step input:not([type="checkbox"], [type="radio"], [type="file"]),
.registration-step select,
.registration-step textarea {
	display: block;
	width: 100%;
	margin-top: .4rem;
	padding: .8rem .1rem;
	border: 0;
	border-bottom: 1px solid #d7d0cc;
	border-radius: 0;
	background: #fff;
}

.registration-step textarea {
	resize: vertical;
}

.registration-step button,
.registration-button {
	display: block;
	width: 100%;
	margin-top: 1rem;
	padding: .9rem 1.2rem;
	border-radius: 8px;
	background: var(--color-primary);
	color: #fff;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.registration-step button:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.choice-cards label {
	display: flex;
	gap: .7rem;
	margin: .8rem 0;
	padding: 1rem;
	border: 1px solid var(--color-border);
	border-radius: 10px;
	cursor: pointer;
}

.choice-cards strong,
.choice-cards span {
	display: block;
}

.choice-cards input {
	margin-top: .35rem;
	accent-color: var(--color-primary);
}

.terms-check {
	display: flex !important;
	align-items: flex-start;
	gap: .7rem;
	font-weight: 400 !important;
}

.terms-check input {
	margin-top: .35rem;
}

.photo-picker input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.photo-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	width: min(100%, 280px);
	aspect-ratio: 1;
	margin: 0 auto;
	border: 2px dashed #d5c8c4;
	border-radius: 14px;
	background: #f5f1ef center/cover no-repeat;
	font-size: 2rem;
	cursor: pointer;
}

.photo-preview strong {
	font-size: 1rem;
}

.photo-preview.has-image {
	border-style: solid;
	color: transparent;
}

.registration-step .button-link {
	background: none;
	color: var(--color-text);
	font-weight: 400;
	text-decoration: underline;
}

.photo-rules {
	margin-top: 1.5rem;
	padding: 1rem;
	border-radius: 10px;
	background: #f7f5f4;
	font-size: .9rem;
}

.photo-rules ul {
	margin-bottom: 0;
	padding-left: 1.25rem;
}

.counter {
	text-align: right;
}

.registration-success {
	padding-block: 4rem;
	text-align: center;
}

.success-icon {
	display: grid;
	width: 72px;
	height: 72px;
	margin: 0 auto 1.5rem;
	border-radius: 50%;
	background: #e6f5e9;
	color: #26823a;
	font-size: 2.5rem;
	place-items: center;
}

.age-modal {
	position: fixed;
	z-index: 9999;
	inset: 0;
	display: grid;
	padding: 1rem;
	background: rgba(15, 12, 12, .76);
	place-items: center;
}

.age-modal[hidden] {
	display: none;
}

.age-modal__dialog {
	width: min(100%, 580px);
	max-height: 90vh;
	padding: clamp(1.5rem, 5vw, 2.5rem);
	overflow: auto;
	border-radius: 16px;
	background: #211f20;
	color: #fff;
}

.age-modal__dialog h2 {
	margin-top: 0;
}

.age-modal__dialog label {
	display: flex;
	gap: .65rem;
	margin: 1.5rem 0;
	font-weight: 700;
}

.age-modal__dialog button {
	width: 100%;
}

.modal-open {
	overflow: hidden;
}

@media (max-width: 700px) {
	.registration-page {
		padding: 0;
	}
	.registration-shell {
		border-radius: 0;
		box-shadow: none;
	}
	.registration-step {
		min-height: calc(100vh - 100px);
	}
}
