#edgewiseForm {
	max-width: 650px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

#edgewiseForm .field {
	margin-bottom: 1rem;
}

#edgewiseForm label {
	font-weight: bold;
	display: block;
	margin-bottom: 0.35rem;
	text-transform: uppercase;
}

#edgewiseForm input,
#edgewiseForm textarea {
	width: 100%;
	padding: 0.55rem;
	box-sizing: border-box;
	background-color: transparent;
	border-bottom: 1px solid #000;
}

.hidden {
	display: none;
}
.grid {
	display: grid;
}

#agentFields {
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.error {
	color: #d00;
	font-size: 0.85rem;
	margin-top: 0.25rem;
}

.success {
	color: green;
	font-size: 1.2rem;
	margin-top: 1rem;
}

#submitBtn {
	font-size: 1.1rem;
	height: 60.75px;
	padding: 0 40.5px;
	background-color: #a97c50;
	color: white;
}

#submitBtn:hover {
	background-color: #8c7b58;
	cursor: pointer;
}

/* Make radio groups horizontal */
#edgewiseForm .radio-group {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

#edgewiseForm .radio-group label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: normal; /* keep consistent with text */
	cursor: pointer;
}

#edgewiseForm input[type="radio"] {
	width: auto;
	margin: 0;
	cursor: pointer;
}

/* Switch to single column */
@media (max-width: 600px) {
	#edgewiseForm {
		grid-template-columns: 1fr;
	}

	#agentFields {
		grid-template-columns: 1fr;
	}

	.span-2 {
		grid-column: span 1 !important;
	}
}
