/* ================================================================
   Unity001 — Registration Form Styles
   ================================================================ */

:root {
	--u001-navy:       #252c59;   /* site primary dark navy-purple */
	--u001-navy-dark:  #1a2040;   /* hover / pressed navy */
	--u001-sky:        #6EC1E4;   /* site Elementor primary sky blue */
	--u001-sky-light:  #eaf6fc;   /* light sky tint for card/field bg */
	--u001-teal:       #2B4E52;   /* site teal (nav bg, vehicle accent) */
	--u001-teal-light: #e6f0f0;
	--u001-grey:       #54595F;   /* site secondary grey */
	--u001-text:       #7A7A7A;   /* site body text */
	--u001-red:        #c0392b;
	--u001-border:     #d8dde6;
	--u001-radius:     8px;
	--u001-shadow:     0 2px 8px rgba(0,0,0,.08);
	--u001-shadow-md:  0 4px 16px rgba(0,0,0,.12);
}

.unity001-reg-wrap {
	max-width: 680px;
	font-family: 'Roboto', sans-serif;
	margin: 0 auto;
	color: #303030;
}

/* ── Intro ───────────────────────────────────────────────────────── */
.unity001-reg-intro {
	font-size: 1.1em;
	font-weight: 600;
	color: var(--u001-red);
	margin-bottom: 1.4em;
}

/* ── Type selector cards ─────────────────────────────────────────── */
.unity001-type-selector {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.9em;
	margin-bottom: 1.75em;
}

.unity001-type-card {
	display: block;
	cursor: pointer;
	border: 2px solid var(--u001-border);
	border-radius: var(--u001-radius);
	background: #fff;
	box-shadow: var(--u001-shadow);
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
	user-select: none;
	position: relative;
}

.unity001-type-card:hover {
	border-color: var(--u001-sky);
	box-shadow: var(--u001-shadow-md);
	transform: translateY(-2px);
}

/* Selected state */
.unity001-type-card:has(input:checked),
.unity001-type-card.is-selected {
	border-color: var(--u001-navy);
	border-top-width: 3px;
	background: var(--u001-sky-light);
	box-shadow: var(--u001-shadow-md);
}

/* Checkmark badge on selected card */
.unity001-type-card:has(input:checked)::after,
.unity001-type-card.is-selected::after {
	content: '✓';
	position: absolute;
	top: 7px;
	right: 9px;
	width: 18px;
	height: 18px;
	background: var(--u001-navy);
	color: #fff;
	font-size: 0.65em;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 18px;
	text-align: center;
}

.unity001-type-radio {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.unity001-type-card-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1.1em 0.85em 1em;
	gap: 0.25em;
}

.unity001-type-name {
	font-weight: 700;
	font-size: 0.9em;
	color: #1a1a1a;
	line-height: 1.3;
}

.unity001-type-price {
	font-size: 1.1em;
	font-weight: 800;
	color: var(--u001-navy);
	margin-top: 0.15em;
}

.unity001-type-desc {
	font-size: 0.76em;
	color: var(--u001-text);
	line-height: 1.4;
}

/* ── Form body ───────────────────────────────────────────────────── */
.unity001-form-body {
	animation: u001FadeIn 0.2s ease;
}

@keyframes u001FadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ── Status / response message ───────────────────────────────────── */
.unity001-reg-message {
	padding: 0.85em 1.1em;
	margin-bottom: 1.25em;
	border-radius: var(--u001-radius);
	font-size: 0.95em;
	display: none;
}

.unity001-reg-message.is-success {
	display: block;
	background: #ecf9f1;
	color: #0a7d35;
	border: 1px solid #b7dfc8;
}

.unity001-reg-message.is-error {
	display: block;
	background: #fdf0f0;
	color: var(--u001-red);
	border: 1px solid #f0c0bb;
}

/* ── Section titles ──────────────────────────────────────────────── */
.unity001-section-title {
	font-weight: 700;
	font-size: 0.78em;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 1.5em 0 0.8em;
	color: var(--u001-navy);
	padding-bottom: 0.5em;
	border-bottom: 2px solid var(--u001-sky-light);
}

.unity001-section-title--vehicle {
	color: var(--u001-teal);
	border-bottom-color: var(--u001-teal-light);
}

/* ── Field rows ──────────────────────────────────────────────────── */
.unity001-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1em;
	margin-bottom: 0.85em;
}

.unity001-row-city {
	grid-template-columns: 2fr 1.5fr 1fr;
}

.unity001-row-vehicle {
	grid-template-columns: 1.2fr 0.8fr 1fr;
}

.unity001-row-full {
	grid-template-columns: 1fr;
}

/* ── Individual field ────────────────────────────────────────────── */
.unity001-field label {
	display: block;
	font-size: 0.82em;
	font-weight: 600;
	margin-bottom: 0.35em;
	color: var(--u001-grey);
	letter-spacing: 0.01em;
}

.unity001-required {
	color: var(--u001-red);
	margin-left: 2px;
}

.unity001-field input[type="text"],
.unity001-field input[type="email"],
.unity001-field input[type="tel"],
.unity001-field select {
	width: 100%;
	padding: 0.6em 0.75em;
	border: 1.5px solid var(--u001-border);
	border-radius: 6px;
	font-size: 0.95em;
	font-family: 'Roboto', sans-serif;
	box-sizing: border-box;
	background: #fff;
	color: #303030;
	transition: border-color 0.12s, box-shadow 0.12s;
}

.unity001-field input::placeholder {
	color: #b8bec8;
}

.unity001-field input:focus,
.unity001-field select:focus {
	outline: none;
	border-color: var(--u001-sky);
	box-shadow: 0 0 0 3px rgba(110, 193, 228, 0.25);
}

/* ── Vehicle section ─────────────────────────────────────────────── */
.unity001-vehicle-entry {
	background: #fff;
	border: 1.5px solid var(--u001-border);
	border-radius: var(--u001-radius);
	box-shadow: var(--u001-shadow);
	margin-bottom: 0.85em;
	overflow: hidden;
}

.unity001-vehicle-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.6em 1em;
	background: var(--u001-teal-light);
	border-bottom: 1px solid #cddcdc;
}

.unity001-vehicle-header strong {
	font-size: 0.88em;
	color: var(--u001-teal);
	letter-spacing: 0.02em;
	font-weight: 700;
}

.unity001-vehicle-entry .unity001-row {
	padding: 0.85em 1em 0;
	margin-bottom: 0;
}

.unity001-vehicle-entry .unity001-row-full {
	padding: 0.5em 1em 0.85em;
}

.unity001-remove-vehicle {
	background: none;
	border: 1px solid #e0a0a0;
	color: var(--u001-red);
	font-size: 0.78em;
	padding: 0.2em 0.65em;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.12s, color 0.12s;
}

.unity001-remove-vehicle:hover {
	background: var(--u001-red);
	color: #fff;
	border-color: var(--u001-red);
}

/* ── Add vehicle + total ─────────────────────────────────────────── */
.unity001-vehicle-actions {
	display: flex;
	align-items: center;
	gap: 1.5em;
	flex-wrap: wrap;
	margin: 0.25em 0 0.75em;
}

.unity001-add-vehicle-btn {
	background: none;
	border: 1.5px dashed var(--u001-sky);
	color: var(--u001-navy);
	font-size: 0.88em;
	font-weight: 600;
	padding: 0.5em 1.1em;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.12s, border-color 0.12s;
}

.unity001-add-vehicle-btn:hover {
	background: var(--u001-sky-light);
	border-color: var(--u001-navy);
}

.unity001-total-display {
	font-size: 0.95em;
	margin: 0;
	color: var(--u001-grey);
}

.unity001-total-display strong {
	color: var(--u001-navy);
	font-size: 1.15em;
	font-weight: 800;
}

/* ── Submit button ───────────────────────────────────────────────── */
.unity001-submit-btn {
	display: block;
	width: 100%;
	padding: 0.95em 1em;
	margin-top: 1.75em;
	background: var(--u001-navy);
	color: #fff;
	border: none;
	border-radius: var(--u001-radius);
	font-family: 'Roboto', sans-serif;
	font-size: 1em;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 3px 10px rgba(37, 44, 89, 0.35);
	transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
}

.unity001-submit-btn:hover:not(:disabled) {
	background: var(--u001-navy-dark);
	box-shadow: 0 5px 18px rgba(37, 44, 89, 0.45);
	transform: translateY(-1px);
}

.unity001-submit-btn:active:not(:disabled) {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(37, 44, 89, 0.3);
}

.unity001-submit-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 560px) {
	.unity001-type-selector {
		grid-template-columns: 1fr;
	}

	.unity001-row,
	.unity001-row-city,
	.unity001-row-vehicle {
		grid-template-columns: 1fr;
	}

	.unity001-vehicle-entry .unity001-row,
	.unity001-vehicle-entry .unity001-row-full {
		padding-left: 0.75em;
		padding-right: 0.75em;
	}
}
