:root {
	--tc-bg: #090a0f;
	--tc-surface: rgba(255, 255, 255, 0.03);
	--tc-surface-hover: rgba(255, 255, 255, 0.07);
	--tc-border: rgba(255, 255, 255, 0.08);
	--tc-border-highlight: rgba(255, 255, 255, 0.18);
	--tc-red: #e50914;
	--tc-red-glow: rgba(229, 9, 20, 0.35);
	--tc-blue: #0071e3;
	--tc-green: #30d158;
	--tc-amber: #ff9f0a;
	--tc-purple: #af52de;
	--tc-text-primary: #ffffff;
	--tc-text-secondary: #8e8e93;
	--tc-radius-lg: 24px;
	--tc-radius-md: 16px;
	--tc-radius-sm: 12px;
}

[data-bs-theme="light"] {
	--tc-bg: #f8fafc;
	--tc-surface: #ffffff;
	--tc-surface-hover: #f1f5f9;
	--tc-border: #e2e8f0;
	--tc-border-highlight: #cbd5e1;
	--tc-text-primary: #0f172a;
	--tc-text-secondary: #64748b;
}

[data-bs-theme="light"] .text-white,
[data-bs-theme="light"] h1,
[data-bs-theme="light"] h2,
[data-bs-theme="light"] h3,
[data-bs-theme="light"] h4,
[data-bs-theme="light"] h5,
[data-bs-theme="light"] h6 {
	color: #0f172a !important;
}

[data-bs-theme="light"] .text-muted,
[data-bs-theme="light"] .text-white-50 {
	color: #64748b !important;
}

[data-bs-theme="light"] .quick-tool-btn {
	color: #0f172a !important;
	background: #ffffff;
}

.ottslide {
	padding: 8px 4px 12px;
}

.ott-item-card {
	height: 85px;
	padding: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--tc-border);
	backdrop-filter: blur(10px);
	transition: all 0.25s ease;
}

[data-bs-theme="light"] .ott-item-card {
	background: #f1f5f9;
	border-color: #cbd5e1;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ott-item-card:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--tc-red);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="light"] .ott-item-card:hover {
	background: #e2e8f0;
	border-color: var(--tc-red);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

[data-bs-theme="light"] .badge.bg-dark {
	background-color: #e2e8f0 !important;
	color: #334155 !important;
	border-color: #cbd5e1 !important;
}

.main2-body {
	background-color: var(--tc-bg);
	color: var(--tc-text-primary);
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	min-height: 100vh;
	padding-bottom: 4rem;
	transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hero & Header Section */
.main2-hero {
	position: relative;
	width: 100%;
	padding: 3rem 0 2rem;
	overflow: hidden;
	background: radial-gradient(circle at 50% 0%, rgba(229, 9, 20, 0.2), transparent 75%),
	            radial-gradient(circle at 10% 20%, rgba(0, 113, 227, 0.12), transparent 60%);
	border-bottom: 1px solid var(--tc-border);
	margin-bottom: 1rem;
}

.main2-hero-title {
	font-size: 2.5rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	background: linear-gradient(135deg, var(--tc-text-primary) 0%, var(--tc-text-secondary) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 0.4rem;
}

.main2-hero-subtitle {
	font-size: 1rem;
	color: var(--tc-text-secondary);
	max-width: 600px;
	margin: 0 auto 1.5rem;
	font-weight: 400;
}

/* Quick Tools Quick Access Bar */
.quick-tools-bar {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	padding-top: 6px;
	padding-bottom: 8px;
	margin-top: -6px;
	margin-bottom: 2rem;
	scrollbar-width: none;
}
.quick-tools-bar::-webkit-scrollbar { display: none; }

.quick-tool-btn {
	background: var(--tc-surface);
	border: 1px solid var(--tc-border);
	border-radius: 30px;
	padding: 8px 18px;
	color: #fff;
	text-decoration: none !important;
	font-size: 0.88rem;
	font-weight: 600;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.25s ease;
	backdrop-filter: blur(10px);
}

.quick-tool-btn:hover {
	background: var(--tc-surface-hover);
	border-color: var(--tc-border-highlight);
	color: #fff;
	transform: translateY(-2px);
}

/* Glass Card */
.tc-card {
	background: var(--tc-surface);
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius-lg);
	padding: 1.25rem;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	z-index: 1;
}

.tc-card:hover {
	border-color: var(--tc-border-highlight);
	background: var(--tc-surface-hover);
	box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
	z-index: 2;
}

.tc-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1rem;
}

.tc-card-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.tc-card-icon {
	width: 34px;
	height: 34px;
	border-radius: var(--tc-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95rem;
}

.tc-card-icon.red { background: rgba(229, 9, 20, 0.15); color: var(--tc-red); }
.tc-card-icon.blue { background: rgba(0, 113, 227, 0.15); color: var(--tc-blue); }
.tc-card-icon.green { background: rgba(48, 209, 88, 0.15); color: var(--tc-green); }
.tc-card-icon.amber { background: rgba(255, 159, 10, 0.15); color: var(--tc-amber); }
.tc-card-icon.purple { background: rgba(175, 82, 222, 0.15); color: var(--tc-purple); }

.tc-badge-link {
	font-size: 0.8rem;
	color: var(--tc-text-secondary);
	text-decoration: none;
	padding: 4px 12px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--tc-border);
	transition: all 0.2s ease;
}

.tc-badge-link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
}

/* Custom Interactive List Items */
.tc-list {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.tc-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.75rem 0.9rem;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: var(--tc-radius-md);
	text-decoration: none !important;
	color: var(--tc-text-primary);
	transition: all 0.2s ease;
}

.tc-list-item:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.15);
	color: #fff;
}

[data-bs-theme="light"] .tc-list-item:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #0f172a !important;
}

[data-bs-theme="light"] .tc-list-item:hover span {
	color: #0f172a !important;
}

/* Model Estimate Cards */
.estimate-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0.6rem;
}

.estimate-item {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius-md);
	padding: 0.6rem;
	text-align: center;
	text-decoration: none !important;
	transition: all 0.25s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.estimate-item:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--tc-border-highlight);
	transform: scale(1.02);
}

.estimate-img {
	max-height: 42px;
	object-fit: contain;
	margin-bottom: 0.3rem;
	filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

/* Vessel Status Cards */
.vessel-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius-md);
	padding: 1rem;
	text-decoration: none !important;
	color: inherit;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	transition: all 0.25s ease;
}

.vessel-card:hover {
	background: rgba(255, 255, 255, 0.07);
	border-color: var(--tc-border-highlight);
}

/* Search Bar VIN */
.tc-search-box {
	display: flex;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--tc-border);
	border-radius: var(--tc-radius-md);
	padding: 4px;
	transition: all 0.2s ease;
}

.tc-search-box:focus-within {
	border-color: var(--tc-green);
	box-shadow: 0 0 15px rgba(48, 209, 88, 0.2);
}

.tc-search-input {
	background: transparent;
	border: none;
	color: #fff;
	padding: 0.5rem 0.9rem;
	width: 100%;
	outline: none !important;
	font-size: 0.9rem;
}

.tc-search-input::placeholder { color: var(--tc-text-secondary); }

.tc-search-btn {
	background: var(--tc-green);
	color: #000;
	font-weight: 700;
	border: none;
	border-radius: var(--tc-radius-sm);
	padding: 0 1rem;
	transition: opacity 0.2s ease;
	font-size: 0.85rem;
	white-space: nowrap;
	flex-shrink: 0;
}

.tc-search-btn:hover { opacity: 0.9; }

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
	.main2-hero-title {
		font-size: 1.8rem;
	}
	.main2-hero-subtitle {
		font-size: 0.88rem;
		padding: 0 10px;
	}
	.quick-tools-bar {
		justify-content: flex-start !important;
		padding: 6px 5px 8px 5px;
	}
	.quick-tool-btn {
		font-size: 0.8rem;
		padding: 6px 14px;
	}
	.tc-card {
		padding: 1rem;
		border-radius: 18px;
	}
	.estimate-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.4rem;
	}
	.estimate-item {
		padding: 0.5rem;
	}
	.estimate-img {
		max-height: 34px;
	}
}
/* Swiper Overrides */
.swiper-slide { height: auto; }

/* Pointer & Minimalo YouTube Media Cursor Effects */
.cursor-pointer,
.btn-youtube {
	cursor: pointer !important;
}

.btn-youtube {
	transition: all 0.2s ease;
}

.btn-youtube:hover {
	opacity: 0.92;
	transform: translateY(-1px);
}

.btn-youtube:hover .text-white {
	color: #ff4d6d !important;
}

/* Bottom Left Floating PiP Mini Player */
.pip-video-container {
	position: fixed;
	bottom: 24px;
	left: 24px;
	width: 260px;
	background: rgba(15, 17, 23, 0.92);
	border: 1px solid var(--tc-border-highlight, rgba(255, 255, 255, 0.2));
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(12px);
	z-index: 1040;
	transition: all 0.3s ease;
	animation: pipSlideUp 0.5s ease-out forwards;
}

[data-bs-theme="light"] .pip-video-container {
	background: rgba(255, 255, 255, 0.95);
	border-color: #cbd5e1;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.pip-video-header {
	background: rgba(0, 0, 0, 0.4);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-bs-theme="light"] .pip-video-header {
	background: #f1f5f9;
	border-bottom-color: #e2e8f0;
}

.pip-live-dot {
	width: 6px;
	height: 6px;
	background-color: var(--tc-red, #e50914);
	border-radius: 50%;
	display: inline-block;
	animation: pipPulse 1.5s infinite;
}

.btn-pip-control {
	background: transparent;
	border: none;
	color: #8e8e93;
	font-size: 0.72rem;
	padding: 2px 4px;
	border-radius: 4px;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease;
}

.btn-pip-control:hover {
	color: #ffffff;
}

[data-bs-theme="light"] .btn-pip-control:hover {
	color: #0f172a;
}

@keyframes pipSlideUp {
	from {
		opacity: 0;
		transform: translateY(20px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes pipPulse {
	0% { opacity: 0.4; }
	50% { opacity: 1; transform: scale(1.2); }
	100% { opacity: 0.4; }
}

@media (max-width: 576px) {
	.pip-video-container {
		width: 190px;
		bottom: 16px;
		left: 16px;
	}
}

/* Master Guide Card Hover Effects */
.transition-all {
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	z-index: 1;
	backface-visibility: hidden;
}
.transition-all:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.35);
	border-color: var(--tc-border-highlight);
	z-index: 2;
}
[data-bs-theme="light"] .transition-all {
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
}
[data-bs-theme="light"] .transition-all:hover {
	background: #ffffff !important;
	box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.08);
}

