/* The admin screen's login form — public. Everything else on the admin screen (the panel
   itself, admin/admin.css) is served only with an admin session cookie; see admin-gate.js.
   The inputs, buttons and errors here are shared with the panel. */
#screen-admin {
	.page {
		width: min(1200px, calc(100% - 32px));
		margin: 0 auto;
		padding: 32px 0 60px;
	}

	/* ── Login ── */
	.login-wrap {
		max-width: 360px;
		margin: 80px auto 0;
	}

	.login-wrap h1 {
		margin: 0 0 28px;
		font-size: clamp(2rem, 5vw, 3rem);
		letter-spacing: -0.04em;
		text-align: center;
	}

	.login-form {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}


	input[type="text"],
	input[type="password"],
	input[type="number"] {
		width: 100%;
		padding: 10px 14px;
		border: 1px solid var(--panel-strong);
		border-radius: 10px;
		background: #fff;
		color: var(--text);
		font-family: inherit;
		font-size: 0.95rem;
		outline: none;
	}

	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="number"]:focus {
		border-color: var(--accent);
		box-shadow: 0 0 0 3px rgba(36, 87, 214, 0.15);
	}

	/* ── Buttons ── */
	.btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 10px 18px;
		border-radius: 999px;
		font-family: inherit;
		font-size: 0.9rem;
		font-weight: 700;
		cursor: pointer;
		border: 1px solid transparent;
		white-space: nowrap;
		text-decoration: none;
	}

	.btn--primary {
		background: var(--accent);
		color: #fff;
		border-color: var(--accent);
	}

	.btn--primary:hover { opacity: 0.88; }


	.btn--full { width: 100%; }

	/* ── Shared ── */
	.error {
		margin-bottom: 16px;
		padding: 12px 16px;
		border-radius: 10px;
		background: #fdf2f2;
		border: 1px solid #f5c6c6;
		color: var(--danger);
		font-size: 0.9rem;
	}

}
