* { box-sizing: border-box; }

body {
	margin: 0;
	min-height: 100vh;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: #f3f5f7;
	color: #14212b;
}

.page {
	display: grid;
	grid-template-columns: 1.08fr 1fr;
	min-height: 100vh;
}

.left-panel {
	background: #ffffff;
	padding: 28px 32px;
	display: flex;
	flex-direction: column;
}

.brand {
	font-size: 20px;
	font-weight: 700;
	color: #0e7a73;
	margin-bottom: 18px;
}

.content-wrap {
	width: min(560px, 100%);
	margin: 0 auto;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px 0;
}

.step-meta {
	font-size: 13px;
	color: #6c7a87;
	margin-bottom: 8px;
}

h1 {
	margin: 0 0 12px;
	font-size: 36px;
	line-height: 1.15;
	color: #102531;
}

.subtitle {
	margin: 0 0 16px;
	font-size: 14px;
	color: #5f7080;
}

.role-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 16px;
}

.role-option {
	border: 1px solid #dbe2e8;
	border-radius: 12px;
	padding: 12px;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	color: #1c2e3c;
	background: #fff;
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s, transform .2s;
}

.role-option.active {
	border-color: #0e7a73;
	box-shadow: 0 0 0 3px rgba(14, 122, 115, 0.12);
}

.role-option:hover {
	border-color: #78ddd3;
	transform: translateY(-1px);
}

.form-shell {
	border: 1px solid #dbe2e8;
	border-radius: 14px;
	padding: 16px;
	background: #fbfcfd;
}

.message-list {
	margin-bottom: 12px;
}

.message-item {
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 8px;
}

.message-item.error {
	background: #ffecee;
	color: #9b1c1c;
	border: 1px solid #ffd5d9;
}

.field {
	margin-bottom: 12px;
}

.field:last-of-type {
	margin-bottom: 0;
}

.field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #2a3a47;
}

.field input {
	width: 100%;
	border: 1px solid #d0d8e0;
	border-radius: 10px;
	font-size: 14px;
	padding: 11px 12px;
	outline: none;
	background: #fff;
}

.field input:focus {
	border-color: #0e7a73;
	box-shadow: 0 0 0 3px rgba(14, 122, 115, 0.12);
}

.actions {
	display: flex;
	gap: 10px;
	margin-top: 14px;
}

.btn {
	border: none;
	border-radius: 12px;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.btn.secondary {
	background: #edf2f6;
	color: #213243;
}

.btn.primary {
	background: #d8f44a;
	color: #1a2228;
	min-width: 150px;
}

.helper {
	margin-top: 10px;
	font-size: 12px;
	color: #7a8794;
}

.footnote {
	display: flex;
	justify-content: space-between;
	margin-top: auto;
	font-size: 12px;
	color: #8291a0;
	padding-top: 16px;
}

.right-panel {
	background: linear-gradient(165deg, #04555b 0%, #003c41 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 36px;
	position: relative;
	overflow: hidden;
}

.hero-card {
	width: min(470px, 100%);
	z-index: 1;
}

.hero-mini {
	background: rgba(255, 255, 255, 0.9);
	color: #0e3840;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 24px;
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.hero-mini-title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 8px;
}

.hero-title {
	font-size: 46px;
	line-height: 1.06;
	margin: 0 0 12px;
	font-weight: 800;
}

.hero-text {
	margin: 0;
	color: rgba(255, 255, 255, 0.83);
	line-height: 1.55;
	font-size: 15px;
}

@media (max-width: 1024px) {
	.page { grid-template-columns: 1fr; }
	.right-panel { min-height: 320px; }
	.hero-title { font-size: 34px; }
}

@media (max-width: 680px) {
	.left-panel { padding: 20px; }
	h1 { font-size: 28px; }
	.role-toggle { grid-template-columns: 1fr; }
	.footnote { flex-direction: column; gap: 6px; }
}
