/* Tesla Repair Cost DB Styles */

.repair-hero {
	background: radial-gradient(circle at 50% 0%, rgba(239, 68, 68, 0.12), transparent 70%), var(--tc-bg, #0b0f19);
	padding: 3rem 1rem 2.5rem;
	text-align: center;
	border-bottom: 1px solid var(--tc-border, rgba(255, 255, 255, 0.08));
}

.repair-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #ef4444;
	font-size: 0.85rem;
	font-weight: 600;
	padding: 4px 14px;
	border-radius: 20px;
	margin-bottom: 1rem;
}

.repair-tabs-wrapper {
	background: var(--tc-surface, #111827);
	border-bottom: 1px solid var(--tc-border, rgba(255, 255, 255, 0.08));
	position: sticky;
	top: 56px;
	z-index: 100;
	backdrop-filter: blur(10px);
	padding: 8px 0;
}

[data-bs-theme="light"] .repair-tabs-wrapper {
	background: rgba(255, 255, 255, 0.95);
	border-bottom-color: #e2e8f0;
}

.repair-nav-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 8px;
	padding: 4px 0;
	border: none;
	list-style: none;
	margin: 0;
}

.repair-nav-link {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--tc-text-muted, #9ca3af);
	font-size: 0.85rem;
	font-weight: 500;
	padding: 6px 14px;
	border-radius: 20px;
	transition: all 0.2s ease;
	cursor: pointer;
}

[data-bs-theme="light"] .repair-nav-link {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #475569;
}

.repair-nav-link:hover, .repair-nav-link.active {
	background: #ef4444;
	border-color: #ef4444;
	color: #ffffff !important;
}

.repair-card {
	background: var(--tc-surface, #111827);
	border: 1px solid var(--tc-border, rgba(255, 255, 255, 0.08));
	border-radius: 12px;
	padding: 1.25rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
}

[data-bs-theme="light"] .repair-card {
	background: #ffffff;
	border-color: #e2e8f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.repair-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.price-pill {
	display: inline-block;
	background: rgba(239, 68, 68, 0.1);
	color: #ef4444;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 6px;
	font-size: 0.9rem;
}

.price-pill-part {
	background: rgba(59, 130, 246, 0.1);
	color: #3b82f6;
}

.price-pill-labor {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
}

.calc-box {
	background: radial-gradient(circle at 100% 0%, rgba(239, 68, 68, 0.08), transparent 60%), var(--tc-surface, #111827);
	border: 1px solid rgba(239, 68, 68, 0.25);
	border-radius: 16px;
	padding: 1.5rem;
}

[data-bs-theme="light"] .calc-box {
	background: #ffffff;
	border-color: #fca5a5;
	box-shadow: 0 4px 16px rgba(239, 68, 68, 0.06);
}

.calc-item-card {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--tc-border, rgba(255, 255, 255, 0.12));
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

[data-bs-theme="light"] .calc-item-card {
	background: #f8fafc;
	border-color: #e2e8f0;
}

.calc-item-card:hover {
	border-color: #ef4444;
	background: rgba(239, 68, 68, 0.08);
}

.calc-item-card:has(.calc-item-checkbox:checked) {
	border-color: #ef4444;
	background: rgba(239, 68, 68, 0.12);
}

.calc-item-checkbox {
	flex-shrink: 0;
	width: 1.15rem;
	height: 1.15rem;
	margin: 0;
	cursor: pointer;
}

.calc-item-label {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	line-height: 1.35;
	word-break: keep-all;
}

.insurance-box {
	background: radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.08), transparent 60%), var(--tc-surface, #111827);
	border: 1px solid rgba(59, 130, 246, 0.25);
	border-radius: 16px;
	padding: 1.5rem;
}

[data-bs-theme="light"] .insurance-box {
	background: #ffffff;
	border-color: #93c5fd;
	box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.body-shop-card {
	background: var(--tc-surface, #111827);
	border: 1px solid var(--tc-border, rgba(255, 255, 255, 0.08));
	border-radius: 12px;
	padding: 1rem 1.25rem;
	transition: transform 0.2s ease, border-color 0.2s ease;
	height: 100%;
}

[data-bs-theme="light"] .body-shop-card {
	background: #ffffff;
	border-color: #e2e8f0;
}

.body-shop-card:hover {
	border-color: #3b82f6;
	transform: translateY(-2px);
}

.badge-diy-easy {
	background: rgba(34, 197, 94, 0.12);
	color: #22c55e;
	border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-diy-mid {
	background: rgba(245, 158, 11, 0.12);
	color: #f59e0b;
	border: 1px solid rgba(245, 158, 11, 0.25);
}

.badge-diy-hard {
	background: rgba(239, 68, 68, 0.12);
	color: #ef4444;
	border: 1px solid rgba(239, 68, 68, 0.25);
}

.badge-warranty {
	background: rgba(59, 130, 246, 0.12);
	color: #3b82f6;
	border: 1px solid rgba(59, 130, 246, 0.25);
}

.seo-tag {
	font-size: 0.75rem;
	background: rgba(255, 255, 255, 0.05);
	color: var(--tc-text-muted, #9ca3af);
	padding: 2px 8px;
	border-radius: 4px;
	margin-right: 4px;
	margin-bottom: 4px;
	display: inline-block;
}

[data-bs-theme="light"] .seo-tag {
	background: #f1f5f9;
	color: #64748b;
}
