/* QuickDTC — Luxury Light Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ═══════════════════════════════════
   ROOT + WRAPPER
═══════════════════════════════════ */
.tfp-tool {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: #1a202c;
	max-width: 820px;
	margin: 0 auto;
	background: transparent;
}
.tfp-tool * { box-sizing: border-box; margin: 0; padding: 0; }

/* ═══════════════════════════════════
   SEARCH FORM CARD
═══════════════════════════════════ */
.tfp-form-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 20px 14px;
	margin-bottom: 20px;
	box-shadow: 0 4px 24px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
	border: 1px solid #e8edf3;
}

.tfp-form-grid {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tfp-field-full {
	width: 100%;
}

.tfp-spn-fmi-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.tfp-btn-wrap {
	width: 100%;
}

.tfp-tool label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .9px;
	text-transform: uppercase;
	color: #64748b;
	margin-bottom: 7px;
}

.tfp-tool select,
.tfp-tool input[type="text"] {
	width: 100%;
	background: #f8fafc;
	border: 1.5px solid #cbd5e1;
	border-radius: 10px;
	color: #1a202c;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	min-height: 50px;
	padding: 14px 16px;
	outline: none;
	transition: border-color .2s ease, box-shadow .2s ease;
	appearance: none;
	-webkit-appearance: none;
	-webkit-text-fill-color: #1a202c;
	display: block;
}

.tfp-tool 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 d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	padding-right: 42px;
	cursor: pointer;
}

.tfp-tool select option {
	color: #1a202c;
	background: #ffffff;
	font-size: 16px;
}

.tfp-tool input[type="text"]::placeholder {
	color: #64748b;
	font-weight: 500;
}

.tfp-tool select:focus,
.tfp-tool input[type="text"]:focus {
	border-color: #f5a623;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(245,166,35,.15);
	color: #1a202c;
}

.tfp-tool select:hover,
.tfp-tool input[type="text"]:hover {
	border-color: #94a3b8;
}

.tfp-btn-lookup {
	background: #f5a623;
	color: #0f1923 !important;
	border: none;
	border-radius: 10px;
	padding: 12px 22px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .4px;
	cursor: pointer;
	white-space: nowrap;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
	width: 100%;
	-webkit-text-fill-color: #0f1923;
}
.tfp-btn-lookup:hover   { background: #e8960f; color: #0f1923 !important; -webkit-text-fill-color: #0f1923; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(245,166,35,.4); }
.tfp-btn-lookup:active  { background: #d4880f; color: #0f1923 !important; -webkit-text-fill-color: #0f1923; transform: translateY(0); }
.tfp-btn-lookup:focus   { background: #f5a623; color: #0f1923 !important; -webkit-text-fill-color: #0f1923; outline: 2px solid #d4880f; }
.tfp-btn-lookup:disabled { background: #f5a623; color: #0f1923 !important; -webkit-text-fill-color: #0f1923; opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.tfp-engine-row {
	display: none;
	animation: tfp-fadein .2s ease;
}
.tfp-engine-row.tfp-visible {
	display: block;
}
@keyframes tfp-fadein {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: translateY(0); }
}
.tfp-engine-row label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .9px;
	text-transform: uppercase;
	color: #f5a623;
	margin-bottom: 7px;
}
.tfp-engine-row select {
	width: 100%;
	background: #fff8ee;
	border: 1.5px solid #f5a623;
	border-radius: 10px;
	color: #1a202c;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	min-height: 50px;
	padding: 14px 42px 14px 16px;
	outline: none;
	appearance: none;
	-webkit-appearance: none;
	-webkit-text-fill-color: #1a202c;
	display: block;
	cursor: pointer;
	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 d='M1 1l5 5 5-5' stroke='%23f5a623' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
}
.tfp-engine-row select:focus {
	box-shadow: 0 0 0 3px rgba(245,166,35,.2);
}
.tfp-engine-note {
	font-size: 11.5px;
	color: #94a3b8;
	margin-top: 6px;
	line-height: 1.4;
}

/* ═══════════════════════════════════
   RESULT CARD
═══════════════════════════════════ */
#tfp-result { margin-top: 4px; }
#tfp-result:empty { display: none; }

.tfp-result-card {
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
	border: 1px solid #e8edf3;
}

/* ── TOP HEADER ── */
.tfp-result-header {
	background: linear-gradient(135deg, #0f1923 0%, #1e2d3d 100%);
	padding: 18px 14px 16px;
	border-bottom: 3px solid #f5a623;
	position: relative;
	text-align: left;
}

.tfp-dtc-badge {
	display: inline-block;
	background: #f5a623;
	color: #0f1923;
	font-size: 12px;
	font-weight: 800;
	padding: 4px 12px;
	border-radius: 6px;
	letter-spacing: .6px;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.tfp-dtc-title {
	font-size: 19px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.35;
	margin-bottom: 12px;
}

.tfp-truck-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(245,166,35,.12);
	border: 1px solid rgba(245,166,35,.3);
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: #f5a623;
	letter-spacing: .2px;
}

/* ── BODY ── */
.tfp-result-body {
	background: #ffffff;
	padding: 16px 14px;
	text-align: left;
}

/* ── SEVERITY ── */
.tfp-sev-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid #f1f5f9;
}

.tfp-sev-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .7px;
	color: #94a3b8;
}

.tfp-sev-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 14px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .4px;
}
.tfp-sev-pill.tfp-sev-high { background: #fff1f2; color: #be123c; border: 1.5px solid #fecdd3; }
.tfp-sev-pill.tfp-sev-med  { background: #fffbeb; color: #b45309; border: 1.5px solid #fde68a; }
.tfp-sev-pill.tfp-sev-low  { background: #f0fdf4; color: #15803d; border: 1.5px solid #bbf7d0; }

/* ── META CHIPS ROW ── */
.tfp-meta-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 20px;
}
@media (max-width: 560px) {
	.tfp-meta-row {
		grid-template-columns: 1fr 1fr;
	}
	.tfp-meta-row .tfp-meta-chip:last-child {
		grid-column: 1 / -1;
	}
}

.tfp-meta-chip {
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	padding: 12px 14px;
	transition: border-color .2s;
}

.tfp-meta-label {
	display: block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: #94a3b8;
	margin-bottom: 5px;
}

.tfp-meta-value {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #1a202c;
	line-height: 1.3;
}

/* Can-Drive States */
.tfp-cd-yes     { background: #f0fdf4; border-color: #86efac; }
.tfp-cd-yes     .tfp-meta-value { color: #15803d; }
.tfp-cd-usually { background: #f0fdf4; border-color: #bbf7d0; }
.tfp-cd-usually .tfp-meta-value { color: #16a34a; }
.tfp-cd-caution { background: #fffbeb; border-color: #fde68a; }
.tfp-cd-caution .tfp-meta-value { color: #b45309; }
.tfp-cd-limited { background: #fff7ed; border-color: #fed7aa; }
.tfp-cd-limited .tfp-meta-value { color: #c2410c; }
.tfp-cd-no      { background: #fff1f2; border-color: #fecdd3; }
.tfp-cd-no      .tfp-meta-value { color: #be123c; }

/* ── DESCRIPTION ── */
.tfp-desc-box {
	background: #f8fafc;
	border-left: 4px solid #f5a623;
	border-radius: 0 10px 10px 0;
	padding: 14px 18px;
	font-size: 14px;
	color: #374151;
	line-height: 1.75;
	margin-bottom: 22px;
}

/* ── SECTION PANELS ── */
.tfp-section {
	margin-bottom: 14px;
}

.tfp-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #64748b;
	padding: 0 0 10px;
	margin-bottom: 0;
}

.tfp-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}
.tfp-dot-r { background: #ef4444; }
.tfp-dot-y { background: #f59e0b; }
.tfp-dot-g { background: #22c55e; }
.tfp-dot-b { background: #3b82f6; }

.tfp-section-box {
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
}

.tfp-section-box.tfp-symp-box   { border-color: #fecdd3; background: #fff9f9; }
.tfp-section-box.tfp-repair-box { border-color: #bbf7d0; background: #f9fffb; }
.tfp-section-box.tfp-related-box{ border-color: #bfdbfe; background: #f8fbff; }

.tfp-part-chip {
	display: inline-block;
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12.5px;
	font-weight: 600;
	margin: 4px;
}

.tfp-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 14px;
}
@media (max-width: 560px) {
	.tfp-two-col { grid-template-columns: 1fr; }
}

.tfp-section-box ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.tfp-section-box ul li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 9px 12px;
	border-bottom: 1px solid rgba(0,0,0,.05);
	font-size: 13.5px;
	color: #374151;
	line-height: 1.5;
	text-align: left;
}

.tfp-section-box ul li:last-child { border-bottom: none; }

.tfp-section-box ul li::before {
	content: '›';
	font-size: 18px;
	line-height: 1.2;
	font-weight: 900;
	color: #f5a623;
	flex-shrink: 0;
}

/* Symptoms two-column inside the box */
.tfp-symp-box ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
@media (max-width: 520px) {
	.tfp-symp-box ul { grid-template-columns: 1fr; }
}

/* ── RELATED CODES ── */
.tfp-related-list { list-style: none; padding: 0; margin: 0; }
.tfp-related-list li {
	display: block;
	padding: 10px 16px;
	border-bottom: 1px solid rgba(59,130,246,.12);
}
.tfp-related-list li:last-child { border-bottom: none; }
.tfp-related-list a {
	color: #2563eb;
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 500;
}
.tfp-related-list a:hover { text-decoration: underline; }

/* ── ACTION FOOTER ── */
.tfp-action-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px;
	background: #f8fafc;
	border-top: 1px solid #e8edf3;
	flex-wrap: wrap;
	text-align: left;
}

.tfp-view-page {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #f5a623;
	color: #0f1923;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: none;
	letter-spacing: .2px;
	transition: all .2s;
}
.tfp-view-page:hover { background: #e8960f; color: #0f1923; transform: translateY(-1px); }

.tfp-reset-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	border: 1.5px solid #cbd5e1;
	color: #64748b;
	border-radius: 8px;
	padding: 9px 18px;
	font-size: 13.5px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: all .2s;
}
.tfp-reset-btn:hover { border-color: #475569; color: #1a202c; }

/* ── NOT FOUND / LOADING ── */
.tfp-status-box {
	background: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 16px;
	padding: 48px 24px;
	text-align: center;
	box-shadow: 0 4px 16px rgba(0,0,0,.06);
}
.tfp-status-icon { font-size: 40px; margin-bottom: 14px; }
.tfp-status-msg  { font-size: 15px; color: #374151; font-weight: 500; margin-bottom: 6px; }
.tfp-status-hint { font-size: 13px; color: #94a3b8; margin-bottom: 18px; }

/* ── SEO PAGE WRAPPER ── */
.tfp-page-wrap {
	max-width: 820px;
	margin: 40px auto;
	padding: 0 20px;
}
.tfp-page-wrap .tfp-tool { margin: 0; }

.tfp-lookup-again {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 2px solid #e2e8f0;
}
.tfp-lookup-again-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 18px;
	color: #1a202c;
}
