:root {
	color-scheme: light;
	--bg: #f5f5f0;
	--surface: #ffffff;
	--text: #1a1a1a;
	--muted: #666666;
	--accent: #2d6a4f;
	--accent-pressed: #1b4332;
	--border: #d8d8d0;
	--success-bg: #e8f5e9;
	--success-text: #1b5e20;
	--error-bg: #ffebee;
	--error-text: #b71c1c;
	--loading-bg: #eef2ff;
	--loading-text: #1e3a8a;
	--radius: 16px;
	--shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100dvh;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: var(--bg);
	color: var(--text);
}

.app {
	max-width: 480px;
	margin: 0 auto;
	padding: 24px 20px 40px;
}

.app__header {
	margin-bottom: 28px;
}

.app__title {
	margin: 0 0 8px;
	font-size: 2rem;
	line-height: 1.1;
}

.app__subtitle {
	margin: 0;
	color: var(--muted);
	font-size: 1rem;
}

.form {
	display: grid;
	gap: 18px;
	padding: 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.field {
	display: grid;
	gap: 8px;
}

.field__label {
	font-size: 0.95rem;
	font-weight: 600;
}

.field__input {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px;
	border: 1px solid var(--border);
	border-radius: 12px;
	font-size: 1.05rem;
	background: #fff;
}

.field__input:focus {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
	border-color: var(--accent);
}

.button {
	min-height: 54px;
	border: 0;
	border-radius: 12px;
	background: var(--accent);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 600;
	cursor: pointer;
}

.button:hover {
	background: var(--accent-pressed);
}

.button:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.status {
	margin-top: 20px;
	padding: 16px 18px;
	border-radius: var(--radius);
	font-size: 1rem;
	line-height: 1.45;
}

.status--loading {
	display: block;
	background: var(--loading-bg);
	color: var(--loading-text);
}

.status--success {
	display: block;
	background: var(--success-bg);
	color: var(--success-text);
}

.status--error {
	display: block;
	background: var(--error-bg);
	color: var(--error-text);
}

.status__title {
	margin: 0 0 6px;
	font-weight: 700;
}

.status__text {
	margin: 0;
}

@media (min-width: 480px) {
	.app {
		padding-top: 40px;
	}
}
