/* TOLO Trade Registration — front-end form */

.tolo-trade-form {
	margin: 6px 0 22px;
	font-size: var(--tolo-font-size, 15px);
	color: var(--tolo-text, #4a5160);
}

.tolo-trade-form .tolo-trade-intro {
	margin: 0 0 18px;
	padding: 14px 16px;
	background: rgba(0, 0, 0, .025);
	border-left: 3px solid var(--tolo-accent, #2350a8);
	border-radius: var(--tolo-radius, 6px);
	line-height: 1.55;
}

.tolo-trade-form .tolo-trade-intro p:last-child {
	margin-bottom: 0;
}

.tolo-trade-grid {
	display: flex;
	flex-wrap: wrap;
	gap: var(--tolo-gap, 18px);
}

.tolo-trade-form .form-row {
	margin: 0;
	padding: 0;
	flex: 0 0 100%;
	max-width: 100%;
}

.tolo-cols-2 .tolo-col-half {
	flex: 1 1 calc(50% - (var(--tolo-gap, 18px) / 2));
	max-width: calc(50% - (var(--tolo-gap, 18px) / 2));
	min-width: 200px;
}

.tolo-trade-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: var(--tolo-label-weight, 600);
	color: var(--tolo-label, #1f2430);
	line-height: 1.4;
}

.tolo-trade-form .required {
	color: var(--tolo-error, #c0392b);
	border: 0;
	text-decoration: none;
}

.tolo-trade-form input[type="text"],
.tolo-trade-form input[type="email"],
.tolo-trade-form input[type="tel"],
.tolo-trade-form input[type="url"],
.tolo-trade-form input[type="number"],
.tolo-trade-form input[type="date"],
.tolo-trade-form input[type="file"],
.tolo-trade-form select,
.tolo-trade-form textarea {
	width: 100%;
	height: var(--tolo-input-height, 46px);
	padding: 0 14px;
	font-size: var(--tolo-font-size, 15px);
	color: var(--tolo-label, #1f2430);
	background: var(--tolo-input-bg, #fff);
	border: 1px solid var(--tolo-input-border, #d9dde5);
	border-radius: var(--tolo-radius, 6px);
	box-shadow: none;
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.tolo-trade-form textarea {
	height: auto;
	padding: 12px 14px;
	line-height: 1.55;
	resize: vertical;
}

.tolo-trade-form input[type="file"] {
	height: auto;
	padding: 10px 12px;
}

.tolo-trade-form input:focus,
.tolo-trade-form select:focus,
.tolo-trade-form textarea:focus {
	outline: none;
	border-color: var(--tolo-input-focus, #2350a8);
	box-shadow: 0 0 0 3px rgba(35, 80, 168, .16);
}

.tolo-field-heading {
	margin-top: 6px;
	padding-top: 16px;
	border-top: 1px solid var(--tolo-input-border, #d9dde5);
}

.tolo-field-heading h3 {
	margin: 0 0 2px;
	font-size: calc(var(--tolo-font-size, 15px) + 2px);
	color: var(--tolo-label, #1f2430);
}

.tolo-field-desc {
	display: block;
	margin-top: 6px;
	font-size: calc(var(--tolo-font-size, 15px) - 2px);
	font-weight: 400;
	line-height: 1.5;
	color: var(--tolo-text, #4a5160);
	opacity: .85;
}

.tolo-choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.tolo-choice,
.tolo-single-check {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0;
	font-weight: 400;
	color: var(--tolo-text, #4a5160);
	cursor: pointer;
}

.tolo-choice input,
.tolo-single-check input {
	width: auto;
	height: auto;
	margin-top: 3px;
	flex: 0 0 auto;
	accent-color: var(--tolo-accent, #2350a8);
}

.tolo-single-check {
	padding: 12px 14px;
	line-height: 1.5;
	background: rgba(0, 0, 0, .02);
	border: 1px solid var(--tolo-input-border, #d9dde5);
	border-radius: var(--tolo-radius, 6px);
}

/* Honeypot — off-screen, never announced to screen readers */
.tolo-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tolo-price-locked {
	display: inline-block;
	font-weight: 600;
	color: var(--tolo-accent, #2350a8);
	text-decoration: none;
	border-bottom: 1px dashed currentColor;
}

.tolo-price-locked:hover {
	opacity: .8;
}

.tolo-trade-notice {
	padding: 14px 16px;
	background: rgba(0, 0, 0, .03);
	border-radius: var(--tolo-radius, 6px);
}

@media (max-width: 600px) {
	.tolo-cols-2 .tolo-col-half {
		flex: 0 0 100%;
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tolo-trade-form * {
		transition: none !important;
	}
}
