/**
 * Norflo Child Theme - Skymovo / Airalo-Style "All eSIM / Destinations" Directory Styles
 * Premium Modern Search Bar, Clean Multi-layered Elevation, Theme Font, Pixel-Perfect Responsive Layout.
 *
 * @package Norflo_Child
 */

:root {
	--skymovo-primary: #024DF4;
	--skymovo-primary-rgb: 2, 77, 244;
	--skymovo-card-bg: #FFFFFF;
	--skymovo-card-border: #EAE8E3;
	--skymovo-card-border-hover: #D5D2CA;
	--skymovo-card-shadow: 0 2px 6px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
	--skymovo-card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.08);
	--skymovo-text-black: #111827;
	--skymovo-text-dark: #1F2937;
	--skymovo-text-gray: #6B7280;
	--skymovo-text-muted: #9CA3AF;
	--skymovo-radius-card: 14px;
	--skymovo-radius-pill: 9999px;
}

/* ==========================================================================
   Main Directory Container
   ========================================================================== */
.airalo-directory-wrapper {
	width: 100%;
	padding: 36px 0 76px;
	font-family: inherit !important;
	color: var(--skymovo-text-black);
	box-sizing: border-box;
	overflow-x: hidden;
}

.airalo-directory-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* ==========================================================================
   Modern & Attractive Search Bar (Premium Elevation, Clean Floating Pill)
   ========================================================================== */
.airalo-search-box-wrap {
	max-width: 660px;
	margin: 0 auto 40px auto;
	position: relative;
}

.airalo-search-box {
	display: flex;
	align-items: center;
	background: #FFFFFF;
	border: 1.5px solid #E5E7EB;
	border-radius: var(--skymovo-radius-pill);
	padding: 8px 10px 8px 22px;
	min-height: 56px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	box-sizing: border-box;
}

.airalo-search-box:hover {
	border-color: #D1D5DB;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.airalo-search-box:focus-within {
	border-color: var(--skymovo-primary);
	box-shadow: 0 6px 26px rgba(2, 77, 244, 0.14), 0 0 0 3.5px rgba(2, 77, 244, 0.12);
	transform: translateY(-1px);
}

.airalo-search-icon {
	width: 22px;
	height: 22px;
	color: #4B5563;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-right: 14px;
	transition: color 0.2s ease;
}

.airalo-search-box:focus-within .airalo-search-icon {
	color: var(--skymovo-primary);
}

.airalo-search-icon svg {
	width: 20px;
	height: 20px;
	stroke: currentColor;
	stroke-width: 2.2;
}

.airalo-search-input {
	flex: 1;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent !important;
	font-family: inherit !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	color: #111827 !important;
	padding: 8px 0 !important;
	margin: 0 !important;
	line-height: 1.3 !important;
}

.airalo-search-input::placeholder {
	color: #9CA3AF;
	font-weight: 400;
	font-family: inherit !important;
}

.airalo-search-clear {
	background: #F3F4F6;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	width: 26px;
	height: 26px;
	padding: 0;
	color: #6B7280;
	display: none;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	margin-right: 10px;
}

.airalo-search-clear:hover {
	background: #E5E7EB;
	color: #111827;
}

/* Locations Badge - Crisp Neutral Pill */
.airalo-search-badge {
	display: flex;
	align-items: center;
	background: #F3F4F6;
	border: 1px solid #E5E7EB;
	border-radius: var(--skymovo-radius-pill);
	padding: 8px 18px;
	font-family: inherit !important;
	font-size: 13.5px;
	font-weight: 600;
	color: #111827 !important;
	cursor: default;
	white-space: nowrap;
	transition: all 0.2s ease;
	letter-spacing: 0.2px;
	user-select: none;
}

.airalo-search-badge span {
	color: #111827 !important;
}

/* ==========================================================================
   Navigation Tabs (Clean Minimal Centered Navigation)
   ========================================================================== */
.airalo-nav-tabs-wrapper {
	border-bottom: 1.5px solid #E5E7EB;
	margin-bottom: 34px;
	width: 100%;
	display: flex;
	justify-content: center;
	overflow: visible !important;
}

.airalo-nav-tabs-wrapper::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

.airalo-nav-tabs {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 36px;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto;
}

.airalo-tab-item {
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 auto;
}

.airalo-tab-btn {
	background: transparent;
	border: none;
	border-bottom: 2.5px solid transparent;
	padding: 10px 6px 14px 6px;
	margin-bottom: -2px;
	font-family: inherit !important;
	font-size: 15.5px;
	font-weight: 600;
	color: #6B7280;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	text-decoration: none;
	white-space: nowrap;
}

.airalo-tab-btn .tab-svg {
	width: 19px;
	height: 19px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	stroke: currentColor;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.airalo-tab-btn:hover {
	color: #111827;
}

.airalo-tab-btn:hover .tab-svg {
	transform: translateY(-1px);
}

.airalo-tab-btn.active {
	color: #111827;
	border-bottom: 2.5px solid #111827;
	font-weight: 700;
}

/* ==========================================================================
   Header for Active Section
   ========================================================================== */
.airalo-section-header {
	margin-bottom: 24px;
}

.airalo-section-title {
	font-family: inherit !important;
	font-size: 28px !important;
	font-weight: 800 !important;
	color: #111827 !important;
	margin: 0 0 6px 0 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.5px;
}

.airalo-section-subtitle {
	font-family: inherit !important;
	font-size: 15px !important;
	color: #6B7280 !important;
	margin: 0 !important;
	line-height: 1.5 !important;
}

/* ==========================================================================
   Grid & Card Design (3 Columns Desktop, 2 Tablet, 1 Mobile)
   ========================================================================== */
.airalo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 30px;
}

.airalo-grid.cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.airalo-grid.cols-4 {
	grid-template-columns: repeat(4, 1fr);
}

/* Single Destination Card */
.airalo-card-link {
	text-decoration: none !important;
	color: inherit !important;
	display: block;
	outline: none;
}

.airalo-card {
	background: #FFFFFF;
	border: 1px solid var(--skymovo-card-border);
	border-radius: var(--skymovo-radius-card);
	padding: 15px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	box-shadow: var(--skymovo-card-shadow);
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	min-height: 62px;
	box-sizing: border-box;
}

.airalo-card:hover,
.airalo-card-link:focus .airalo-card {
	border-color: var(--skymovo-card-border-hover);
	box-shadow: var(--skymovo-card-shadow-hover);
	transform: translateY(-2px);
}

/* Card Left: Flag & Country Name */
.airalo-card-left {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1;
	min-width: 0;
}

.airalo-flag {
	width: 32px;
	height: 22px;
	min-width: 32px;
	max-width: 32px;
	border-radius: 4px;
	overflow: hidden;
	background: #F3F4F6;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(0, 0, 0, 0.06);
	flex-shrink: 0;
}

.airalo-flag img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.airalo-country-name {
	font-family: inherit !important;
	font-size: 15.5px;
	font-weight: 700;
	color: #111827;
	margin: 0;
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Card Right: Price */
.airalo-card-right {
	display: flex;
	align-items: baseline;
	gap: 4px;
	flex-shrink: 0;
	text-align: right;
}

.airalo-price-amount {
	font-family: inherit !important;
	font-size: 15.5px;
	font-weight: 800;
	color: #111827;
	line-height: 1;
	letter-spacing: -0.2px;
}

.airalo-price-currency {
	font-family: inherit !important;
	font-size: 12px;
	font-weight: 600;
	color: #6B7280;
	line-height: 1;
	text-transform: uppercase;
}

/* ==========================================================================
   Empty / No Results State
   ========================================================================== */
.airalo-no-results {
	display: none;
	text-align: center;
	padding: 60px 20px;
	background: #FFFFFF;
	border: 1.5px dashed #E5E7EB;
	border-radius: var(--skymovo-radius-card);
	margin: 20px 0;
}

.airalo-no-results.visible {
	display: block;
}

.airalo-no-results-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 14px;
	color: var(--skymovo-text-muted);
}

.airalo-no-results-title {
	font-family: inherit !important;
	font-size: 18px;
	font-weight: 700;
	color: #111827;
	margin-bottom: 6px;
}

.airalo-no-results-desc {
	font-family: inherit !important;
	font-size: 14.5px;
	color: #6B7280;
	margin-bottom: 18px;
}

.airalo-btn-reset {
	background: #111827;
	color: #FFFFFF;
	border: none;
	border-radius: var(--skymovo-radius-pill);
	padding: 9px 22px;
	font-family: inherit !important;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: opacity 0.2s;
}

.airalo-btn-reset:hover {
	opacity: 0.85;
}

/* ==========================================================================
   Tablet Screen (768px to 1024px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
	.airalo-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.airalo-section-title {
		font-size: 24px !important;
	}
	.airalo-nav-tabs-wrapper {
		overflow: visible !important;
		border-bottom: 1.5px solid #E5E7EB !important;
	}
	.airalo-nav-tabs {
		gap: 22px !important;
		justify-content: center !important;
		width: auto !important;
	}
	.airalo-tab-btn {
		font-size: 14.5px !important;
		padding: 10px 4px 12px 4px !important;
	}
}

/* ==========================================================================
   Mobile Screen (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
	.airalo-directory-wrapper {
		padding: 20px 0 50px;
		overflow-x: hidden !important;
	}
	.airalo-directory-container {
		padding: 0 14px;
	}
	.airalo-search-box-wrap {
		margin-bottom: 22px;
	}
	.airalo-search-box {
		padding: 6px 8px 6px 14px;
		min-height: 48px;
	}
	.airalo-search-input {
		font-size: 14.5px !important;
	}
	.airalo-search-badge {
		display: none;
	}
	
	.airalo-nav-tabs-wrapper {
		margin-bottom: 20px;
		overflow: visible !important;
		border-bottom: 1.5px solid #E5E7EB;
	}
	.airalo-nav-tabs {
		display: flex !important;
		justify-content: space-around !important;
		width: 100% !important;
		gap: 0 !important;
		padding: 0 !important;
		min-width: 0 !important;
	}
	.airalo-tab-item {
		flex: 1 1 auto !important;
		text-align: center;
	}

	.airalo-tab-item.airalo-tab-item-all {
		display: none !important;
	}

	.airalo-tab-btn {
		padding: 8px 2px 10px 2px !important;
		font-size: 13.5px !important;
		gap: 4px !important;
		justify-content: center !important;
		width: 100% !important;
	}
	.airalo-tab-btn .tab-svg {
		width: 16px !important;
		height: 16px !important;
	}
	
	.airalo-section-title {
		font-size: 20px !important;
	}
	.airalo-section-subtitle {
		font-size: 13px !important;
	}
	.airalo-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.airalo-card {
		padding: 12px 14px;
	}
	.airalo-country-name {
		font-size: 14.5px;
	}
	.airalo-price-amount {
		font-size: 14.5px;
	}
}
