.reservation-manager-form {
	--rm-border: #d8dee4;
	--rm-text: #1f2937;
	--rm-muted: #6b7280;
	--rm-surface: #ffffff;
	--rm-focus: #2563eb;
	--rm-success: #166534;
	--rm-error: #b91c1c;
	max-width: 760px;
	color: var(--rm-text);
	background: var(--rm-surface);
	border: 1px solid var(--rm-border);
	border-radius: 8px;
	padding: 20px;
}

.reservation-manager-form * {
	box-sizing: border-box;
}

.reservation-manager-form .rm-form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
}

.reservation-manager-form label {
	display: grid;
	gap: 6px;
	font-weight: 600;
}

.reservation-manager-form input,
.reservation-manager-form select,
.reservation-manager-form textarea {
	width: 100%;
	min-height: 42px;
	border: 1px solid var(--rm-border);
	border-radius: 6px;
	padding: 9px 10px;
	font: inherit;
	color: var(--rm-text);
	background: #fff;
}

.reservation-manager-form textarea {
	min-height: 110px;
	resize: vertical;
}

.reservation-manager-form input:focus,
.reservation-manager-form select:focus,
.reservation-manager-form textarea:focus {
	border-color: var(--rm-focus);
	outline: 2px solid rgba(37, 99, 235, 0.18);
	outline-offset: 1px;
}

.reservation-manager-form .rm-full-label {
	margin-top: 14px;
}

.reservation-manager-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: 16px;
	border: 0;
	border-radius: 6px;
	background: #1f6feb;
	color: #fff;
	font-weight: 700;
	padding: 0 18px;
	cursor: pointer;
}

.reservation-manager-form button[type="submit"]:disabled {
	cursor: wait;
	opacity: 0.7;
}

.rm-form-message {
	display: none;
	margin-bottom: 14px;
	border-radius: 6px;
	padding: 10px 12px;
	background: #eef2ff;
	color: #3730a3;
}

.rm-form-message:not(:empty) {
	display: block;
}

.rm-form-message--success {
	background: #ecfdf3;
	color: var(--rm-success);
}

.rm-form-message--error {
	background: #fef2f2;
	color: var(--rm-error);
}

.rm-form-message--info {
	background: #eff6ff;
	color: #1d4ed8;
}

@media (max-width: 560px) {
	.reservation-manager-form {
		padding: 16px;
	}
}
