/* Minimal styling for the DJI Pilot 2 WebView pages (touch screen on the remote controller). */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background: #16191d;
	color: #e8e8e8;
	font-family: "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	padding: 24px;
}

h1 {
	font-size: 22px;
	margin-bottom: 16px;
}

.card {
	background: #22262b;
	border-radius: 8px;
	margin: 0 auto 16px;
	max-width: 480px;
	padding: 20px;
}

label {
	display: block;
	margin: 12px 0 4px;
}

input[type="text"],
input[type="password"] {
	background: #16191d;
	border: 1px solid #444;
	border-radius: 6px;
	color: #e8e8e8;
	font-size: 16px;
	padding: 10px;
	width: 100%;
}

button {
	background: #2b83ff;
	border: none;
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	font-size: 16px;
	margin-top: 16px;
	padding: 12px;
	width: 100%;
}

button.secondary {
	background: #3a4048;
}

button:disabled {
	background: #3a4048;
	color: #888;
}

.row {
	display: flex;
	justify-content: space-between;
	margin: 8px 0;
}

.status {
	color: #9aa4af;
	margin-top: 12px;
	min-height: 20px;
}

.status.error {
	color: #ff6b6b;
}

.status.ok {
	color: #6bd08b;
}

.badge {
	background: #3a4048;
	border-radius: 10px;
	font-size: 13px;
	padding: 2px 10px;
}

.badge.online {
	background: #1f7a43;
}

.nav {
	display: flex;
	gap: 12px;
	margin: 0 auto 16px;
	max-width: 480px;
}

.nav a {
	background: #22262b;
	border-radius: 8px;
	color: #e8e8e8;
	flex: 1;
	padding: 12px;
	text-align: center;
	text-decoration: none;
}

.switch {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 14px 0;
}

.switch input {
	height: 22px;
	width: 22px;
}
