* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	background-color: #FAFAFA;
	color: #333;
}

.container {
	max-width: 600px;
	margin: 0 auto;
	background-color: #FAFAFA;
	min-height: 100vh;
}

main {
	padding: 20px;
}

main h2 {
	font-size: 16px;
	margin-bottom: 20px;
	text-align: center;
}

.form-section {
	margin-bottom: 15px;
	padding: 10px 15px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px #f0f0f0;
}

.form-group {
	display: flex;
	align-items: center;
	padding: 8px 0;
	margin-bottom: 0;
}

.form-group+.form-group {
	border-top: 1px solid #f5f5f5;
}

label {
	flex: 0 0 90px;
	color: #333;
	padding-right: 10px;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.form-group.long-label label {
	flex: 0 0 120px;
}

.input-wrapper {
	flex: 1;
	min-width: 0;
}

input,
.select-input {
	width: 100%;
	padding: 8px;
	border: none;
	background: transparent;
	font-size: 14px;
	color: #333;
	text-align: left;
}

textarea {
	width: 100%;
	padding: 8px;
	border: none;
	background: transparent;
	font-size: 14px;
	color: #333;
	text-align: left;
}

input[type="date"],
input[type="time"] {
	padding: 8px 10px;
}

.select-input {
	appearance: none;
	/*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L2 4h8z'/%3E%3C/svg%3E");*/
	background-repeat: no-repeat;
	background-position: right 0 center;
	padding-right: 20px;
}

.toggle-input,
.plate-input,
.date-input,
.time-input {
	display: none;
}

.arrow {
	color: #999;
}

.form-buttons {
	display: flex;
	gap: 15px;
	margin-top: 30px;
}

.btn-cancel,
.btn-submit {
	flex: 1;
	padding: 12px;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
}

.btn-cancel {
	background-color: #fff;
	border: 1px solid #ddd;
}

.btn-submit {
	background-color: #007AFF;
	color: #fff;
}

input::placeholder {
	color: #999;
	text-align: left;
}

textarea::placeholder {
	color: #999;
	text-align: left;
}

input:focus,
textarea:focus,
.select-input:focus {
	outline: none;
}
.required{
	color: red;
}


@media (max-width: 480px) {
	main {
		padding: 10px;
	}

	.form-section {
		margin-bottom: 15px;
		padding: 8px 12px;
	}

	.form-group {
		margin-bottom: 10px;
		padding: 5px 0;
	}

	label {
		flex: 0 0 70px;
		font-size: 13px;
		padding-right: 8px;
	}

	input,
	textarea,
	.select-input {
		font-size: 13px;
		padding: 6px 0;
	}

	input[type="date"],
	input[type="time"] {
		padding: 5px 6px;
	}

	.form-buttons {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		padding: 10px;
		background-color: #fff;
		margin: 0;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
	}

	main {
		padding-bottom: 60px;
	}

	.select-input {
		background-position: right 0 center;
	}

	.form-group.long-label label {
		flex: 0 0 90px;
	}
}

.loading-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
}