/* FleetView – Country Fleet Carousel base styles */

.fvcfc-wrap {
	position: relative;
	width: 100%;
}

/* ---- Tabs ---- */
.fvcfc-tabs-wrap {
	position: relative;
	padding: 0 8px;
}

.fvcfc-tabs {
	width: 100%;
}

.fvcfc-tabs .swiper-wrapper {
	align-items: stretch;
}

/* slidesPerView:'auto' needs slide width to be content-based; override Swiper's width:100% */
.fvcfc-tabs .swiper-slide.fvcfc-tab-slide {
	width: auto !important;
	flex-shrink: 0;
	display: flex;
	height: auto;
}

.fvcfc-tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	cursor: pointer;
	border: none;
	line-height: 1.2;
	background-color: #cdd8c4;
	color: #3f5c34;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.fvcfc-tab:focus-visible {
	outline: 2px solid rgba(0, 0, 0, .3);
	outline-offset: 2px;
}

/* ---- Fleets ---- */
.fvcfc-fleets-wrap {
	position: relative;
}

.fvcfc-fleets {
	width: 100%;
}

.fvcfc-fleet-slide {
	height: auto;
}

.fvcfc-fleet-slide > * {
	height: 100%;
}

.fvcfc-empty {
	width: 100% !important;
	text-align: center;
	padding: 40px 20px;
	color: #777;
	font-size: 15px;
}

/* ---- Navigation arrows ---- */
.fvcfc-nav {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	cursor: pointer;
	background-color: #4a7031;
	color: #fff;
	border-radius: 50%;
	transform: translateY(-50%);
	transition: background-color .25s ease, opacity .25s ease;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.fvcfc-nav svg {
	width: 18px;
	height: 18px;
	stroke: #fff;
	pointer-events: none;
}

.fvcfc-fleets-prev,
.fvcfc-tabs-prev {
	left: -8px;
}

.fvcfc-fleets-next,
.fvcfc-tabs-next {
	right: -8px;
}

.fvcfc-tabs-prev,
.fvcfc-tabs-next {
	width: 34px;
	height: 34px;
}

.fvcfc-tabs-prev svg,
.fvcfc-tabs-next svg {
	width: 14px;
	height: 14px;
}

.fvcfc-nav.swiper-button-disabled {
	opacity: .35;
	cursor: default;
}

/* ---- Pagination ---- */
.fvcfc-fleets .swiper-pagination {
	position: static;
	margin-top: 20px;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.fvcfc-fleets .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background-color: #cdd8c4;
	opacity: 1;
	margin: 0 !important;
}

.fvcfc-fleets .swiper-pagination-bullet-active {
	background-color: #4a7031;
}

/* ---- Loading overlay ---- */
.fvcfc-loading {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .55);
	z-index: 6;
}

.fvcfc-wrap.is-loading .fvcfc-loading {
	display: flex;
}

.fvcfc-spinner {
	width: 34px;
	height: 34px;
	border: 3px solid rgba(74, 112, 49, .25);
	border-top-color: #4a7031;
	border-radius: 50%;
	animation: fvcfc-spin .8s linear infinite;
}

@keyframes fvcfc-spin {
	to { transform: rotate(360deg); }
}

/* Give arrows breathing room on small screens */
@media (max-width: 1024px) {
	.fvcfc-fleets-prev,
	.fvcfc-tabs-prev { left: 0; }
	.fvcfc-fleets-next,
	.fvcfc-tabs-next { right: 0; }
}

/* ---- Tabs: grid (wrap) layout ---- */
.fvcfc-tabs-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	align-items: stretch;
	width: 100%;
}

/* Natural width in flex auto-wrap mode */
.fvcfc-tabs-grid .fvcfc-tab {
	flex: 0 0 auto;
}

/* When "Tabs Per Row" is set the container becomes a grid; stretch pills to fill each column */
.fvcfc-tabs-grid[style*="grid"] .fvcfc-tab {
	width: 100%;
}

/* ---- View More button ---- */
.fvcfc-more-wrap {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 32px;
	width: 100%;
}

.fvcfc-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	max-width: 100%;
	gap: 10px;
	text-decoration: none;
	line-height: 1.2;
	cursor: pointer;
	border: none;
	color: #fff;
	background-color: #4a7031;
	padding: 14px 40px;
	border-radius: 40px;
	transition: background-color .25s ease, color .25s ease;
}

.fvcfc-more:hover,
.fvcfc-more:focus {
	background-color: #3f5c34;
	color: #fff;
	text-decoration: none;
}

.fvcfc-more-icon {
	display: inline-flex;
	align-items: center;
}

.fvcfc-more-icon svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
}
