.streaming-form-page {
	min-height: calc(100vh - 80px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3rem 1rem;
}

.streaming-form-card {
	width: min(100%, 460px);
	padding: 2rem;
	background: var(--stream-bg-card);
	border: 1px solid var(--stream-border);
	border-radius: var(--stream-radius-lg);
	box-shadow: var(--stream-shadow);
}

.streaming-form-card h1 {
	margin: 0 0 0.5rem;
	font-size: 2rem;
	letter-spacing: -0.05em;
}

.streaming-form-card p {
	margin: 0 0 1.5rem;
	color: var(--stream-text-muted);
	line-height: 1.6;
}

.streaming-form {
	display: grid;
	gap: 1rem;
}

.form-field {
	display: grid;
	gap: 0.45rem;
}

.form-field label {
	color: var(--stream-text-muted);
	font-size: 0.9rem;
	font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid var(--stream-border);
	border-radius: var(--stream-radius-sm);
	background: #0d0d0d;
	color: var(--stream-text);
	font: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: none;
	border-color: rgba(229, 9, 20, 0.8);
	box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.18);
}

.form-errors {
	color: #fca5a5;
	font-size: 0.875rem;
}

.streaming-auth-card {
	width: min(100%, 460px);
	margin: 4rem auto;
	padding: 2rem;
	border: 1px solid var(--stream-border);
	border-radius: var(--stream-radius-lg);
	background: rgba(255, 255, 255, 0.04);
	box-shadow: var(--stream-shadow);
}

.streaming-auth-card h1 {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 4vw, 3.25rem);
	letter-spacing: -0.04em;
}

.streaming-auth-card p {
	color: var(--stream-text-muted);
	line-height: 1.6;
}

.streaming-form {
	display: grid;
	gap: 1rem;
	margin-top: 1.5rem;
}

.streaming-form .form-field {
	display: grid;
	gap: 0.45rem;
}

.streaming-form label {
	color: var(--stream-text-muted);
	font-size: 0.8rem;
	font-weight: 800;
	text-transform: uppercase;
}

.streaming-form input {
	width: 100%;
	padding: 0.9rem 1rem;
	border: 1px solid var(--stream-border);
	border-radius: var(--stream-radius-sm);
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font: inherit;
}

.streaming-form input:focus {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.streaming-auth-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

.streaming-auth-links a {
	color: var(--stream-text-muted);
	font-weight: 700;
}

.streaming-auth-links a:hover {
	color: #ffffff;
}


.streaming-form-panel {
	width: min(100%, 860px);
	padding: 1.5rem;
	border: 1px solid var(--stream-border);
	border-radius: var(--stream-radius);
	background: rgba(255, 255, 255, 0.05);
}

.streaming-form {
	display: grid;
	gap: 1rem;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.form-field {
	display: grid;
	gap: 0.45rem;
}

.form-field label {
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.9rem 1rem;
	border: 1px solid var(--stream-border);
	border-radius: var(--stream-radius-sm);
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font: inherit;
}

.form-field textarea {
	resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.form-field select option {
	color: #000000;
}

.form-help {
	margin: 0;
	color: var(--stream-muted);
	font-size: 0.9rem;
	line-height: 1.5;
}

.errorlist {
	margin: 0;
	padding-left: 1.2rem;
	color: #fecaca;
}

@media (max-width: 800px) {
	.form-grid {
		grid-template-columns: 1fr;
	}
}