/* ════════════════════════════════════════════════════════════════
   Techie Experience Form — styling matches pickup-request-form
   ════════════════════════════════════════════════════════════════ */

.tef-wrap {
	max-width: 860px;
	margin: 2rem auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1a1a2e;
}

.tef-form { display: flex; flex-direction: column; gap: 1.25rem; }

/* ── Card ──────────────────────────────────────────────────────── */
.tef-card {
	background: #fff;
	border: 1px solid #d4e4a8;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(0,0,0,.07);
	animation: tef-slide-in 0.3s ease;
}

@keyframes tef-slide-in {
	from { opacity: 0; transform: translateY(12px); }
	to   { opacity: 1; transform: translateY(0); }
}

.tef-card-inner { padding: 2rem 2.25rem 1.75rem; }

@media (max-width: 560px) {
	.tef-card-inner { padding: 1.25rem 1rem 1rem; }
}

/* ── Card Typography ───────────────────────────────────────────── */
.tef-card-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 0.4rem;
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.tef-card-title i { color: #9CC449; }

.tef-card-desc {
	font-size: 0.97rem;
	color: #64748b;
	margin: 0 0 1.75rem;
}

/* ── Field rows ────────────────────────────────────────────────── */
.tef-row { display: flex; gap: 1rem; flex-wrap: wrap; }

.tef-field {
	display: flex;
	flex-direction: column;
	margin-bottom: 1.15rem;
	flex: 1 1 100%;
	min-width: 0;
}

.tef-field.tef-half { flex: 1 1 calc(50% - 0.5rem); }

@media (max-width: 480px) {
	.tef-row { flex-wrap: wrap; }
	.tef-field.tef-half { flex: 1 1 100%; }
}

.tef-field label {
	font-size: 0.875rem;
	font-weight: 600;
	color: #374151;
	margin-bottom: 6px;
	display: block;
}

.tef-req  { color: #e53e3e; }
.tef-hint { color: #64748b; font-weight: 400; font-size: 0.83rem; }

/* ── Inputs ────────────────────────────────────────────────────── */
.tef-field input[type="text"],
.tef-field input[type="email"],
.tef-field input[type="tel"],
.tef-field input[type="number"],
.tef-field input[type="date"],
.tef-field select,
.tef-field textarea {
	width: 100%;
	padding: 0.625rem 0.875rem;
	border: 1.5px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.975rem;
	color: #1a1a2e;
	background: #f8fafc;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.tef-field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.875rem center;
	padding-right: 2.25rem;
	cursor: pointer;
	height: auto;
	min-height: 44px;
	line-height: 1.5;
}

.tef-field input:focus,
.tef-field select:focus,
.tef-field textarea:focus {
	outline: none;
	border-color: #9CC449;
	box-shadow: 0 0 0 3px rgba(156,196,73,.2);
	background: #fff;
}

.tef-field input.tef-input-error,
.tef-field select.tef-input-error,
.tef-field textarea.tef-input-error {
	border-color: #e53e3e;
	box-shadow: 0 0 0 3px rgba(229,62,62,.12);
}

.tef-field textarea { resize: vertical; min-height: 100px; }

/* ── Experience type cards ──────────────────────────────────────── */
.tef-radio-group {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

@media (max-width: 640px) {
	.tef-radio-group { grid-template-columns: 1fr; }
}

.tef-radio-option {
	position: relative;
	display: block;
	background: #f4f4f4;
	border: 2px solid transparent;
	border-radius: 10px;
	padding: 1.25rem 1.15rem 1.1rem;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.tef-radio-option:hover {
	border-color: #c8e08a;
	background: #f5fae8;
}

.tef-radio-option input[type="radio"],
.tef-radio-option input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.tef-radio-icon {
	display: block;
	color: #9CC449;
	font-size: 1.3rem;
	margin-bottom: 0.55rem;
}

.tef-radio-title {
	display: block;
	font-size: 0.95rem;
	font-weight: 400;
	color: #0f172a;
	margin-bottom: 0.5rem;
}

.tef-radio-size {
	font-size: 0.88rem;
	color: #374151;
	line-height: 1.5;
}

.tef-radio-option:has(input:checked) {
	border-color: #9CC449;
	background: #f5fae8;
}

/* ── Checkboxes (agreements) ────────────────────────────────────── */
.tef-checkbox-list {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.tef-checkbox-item {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	cursor: pointer;
}

.tef-checkbox-item input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	flex-shrink: 0;
	accent-color: #9CC449;
	cursor: pointer;
}

.tef-checkbox-item span {
	font-size: 0.9rem;
	color: #374151;
	line-height: 1.5;
}

/* ── Inline field error ────────────────────────────────────────── */
.tef-field-error {
	font-size: 0.8rem;
	color: #e53e3e;
	margin-top: 4px;
	display: block;
}

/* ── Google Places autocomplete dropdown ───────────────────────── */
.pac-container { z-index: 99999; }

/* ── Actions / Submit ───────────────────────────────────────────── */
.tef-actions {
	display: flex;
	justify-content: flex-end;
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e2e8f0;
}

.tef-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.65rem 1.4rem;
	border: none;
	border-radius: 8px;
	font-size: 0.975rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
	white-space: nowrap;
	font-family: inherit;
}

.tef-btn:active { transform: translateY(1px); }

.tef-btn-submit {
	background: #9CC449;
	color: #fff;
	box-shadow: 0 2px 8px rgba(156,196,73,.35);
}

.tef-btn-submit:hover {
	background: #7BA038;
	box-shadow: 0 4px 12px rgba(156,196,73,.45);
}

.tef-btn-submit:disabled { opacity: 0.65; cursor: not-allowed; }

/* ── Messages ──────────────────────────────────────────────────── */
.tef-msg {
	padding: 0.9rem 1rem;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 500;
	margin-top: 1rem;
}

.tef-msg-error {
	background: #fff5f5;
	border: 1px solid #feb2b2;
	color: #c53030;
}

.tef-msg-success {
	background: #f5fae8;
	border: 1px solid #C5E08A;
	color: #2a4a10;
	text-align: center;
	font-size: 1rem;
}
