:root {
	--navy-900: #0f2d52;
	--navy-800: #1a4b8c;
	--navy-700: #2563a8;
	--blue-100: #e8f1fb;
	--blue-50: #f4f8fd;
	--teal-500: #14b8a6;
	--teal-600: #0d9488;
	--green-cta: #22c55e;
	--green-cta-dark: #16a34a;
	--bg: #eef4fb;
	--card: #ffffff;
	--text: #1e293b;
	--text-muted: #64748b;
	--border: #dbeafe;
	--danger: #dc2626;
	--danger-bg: #fef2f2;
	--warn: #d97706;
	--shadow: 0 2px 12px rgba(15, 45, 82, 0.08);
	--radius: 12px;
	--radius-sm: 8px;
	--header-h: 44px;
	--nav-h: 52px;
	--space-xs: 4px;
	--space-sm: 8px;
	--space-md: 12px;
	--space-lg: 14px;
	--fs-xs: 11px;
	--fs-sm: 12px;
	--fs-base: 14px;
	--fs-md: 15px;
	--fs-lg: 16px;
	--touch: 36px;
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

html {
	font-size: 14px;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	color-scheme: light;
}

html, body {
	margin: 0;
	padding: 0;
	font-family: 'Vazirmatn', system-ui, sans-serif;
	font-size: var(--fs-base);
	line-height: 1.45;
	background: var(--bg);
	color: var(--text);
	min-height: 100vh;
	width: 100%;
	overflow-x: hidden;
	direction: rtl;
}

button {
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.app-shell {
	min-height: 100vh;
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0));
}

.app-shell.no-nav {
	padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Loader */
.loader-screen {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 80vh;
	gap: 12px;
	color: var(--text-muted);
}

.loader-logo {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
	color: #fff;
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: pulse 1.2s ease infinite;
}

@keyframes pulse {
	0%, 100% { transform: scale(1); opacity: 1; }
	50% { transform: scale(1.04); opacity: 0.9; }
}

/* Header */
.app-header {
	position: sticky;
	top: 0;
	z-index: 40;
	height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 var(--space-md);
	background: #fff;
	border-bottom: 1px solid var(--border);
}

.app-header.dark {
	background: var(--navy-800);
	border-bottom: none;
	color: #fff;
}

.app-header.dark h1 {
	color: #fff;
}

.app-header h1 {
	flex: 1;
	margin: 0;
	font-size: var(--fs-md);
	font-weight: 600;
	color: var(--navy-900);
}

.btn-icon {
	width: var(--touch);
	height: var(--touch);
	border: none;
	border-radius: var(--radius-sm);
	background: var(--blue-100);
	color: var(--navy-800);
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.app-header.dark .btn-icon {
	background: rgba(255,255,255,0.15);
	color: #fff;
}

.app-main {
	padding: 0 0 16px;
	width: 100%;
	max-width: 520px;
	margin: 0 auto;
}

.home-page {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
}

.app-main.pad {
	padding: var(--space-md);
}

/* Home hero */
.home-top {
	background: linear-gradient(165deg, var(--navy-800) 0%, var(--navy-900) 100%);
	padding: var(--space-sm) var(--space-md) 0;
	color: #fff;
}

.home-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row;
	width: 100%;
	margin-bottom: 8px;
	font-size: 13px;
	gap: 12px;
}

.home-topbar .brand {
	font-weight: 600;
	font-size: var(--fs-md);
	white-space: nowrap;
}

.home-topbar a {
	color: #fff;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 6px;
	opacity: 0.95;
}

.home-skyline {
	height: 52px;
	position: relative;
	overflow: hidden;
	margin: 0 calc(-1 * var(--space-md));
}

.home-skyline::before {
	content: '✈️';
	position: absolute;
	left: 18%;
	top: 10px;
	font-size: 18px;
	opacity: 0.9;
	transform: rotate(-12deg);
}

.home-skyline::after {
	content: '✈️';
	position: absolute;
	right: 22%;
	top: 4px;
	font-size: 14px;
	opacity: 0.7;
	transform: rotate(8deg);
}

.skyline-buildings {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 28px;
	background: linear-gradient(to top, rgba(255,255,255,0.12) 0%, transparent 100%);
	border-radius: 50% 50% 0 0 / 8px 8px 0 0;
}

.service-tabs {
	display: flex;
	flex-direction: row;
	width: 100%;
	max-width: 520px;
	margin: -12px auto 0;
	padding: 0 var(--space-md);
	gap: var(--space-sm);
	position: relative;
	z-index: 2;
	box-sizing: border-box;
}

.service-tab {
	flex: 1;
	min-width: 0;
	background: #fff;
	border: none;
	border-radius: 10px 10px 0 0;
	padding: var(--space-sm) 6px;
	text-align: center;
	cursor: pointer;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
	color: var(--navy-800);
	font-family: inherit;
	transition: all 0.2s;
}

.service-tab .tab-icon {
	font-size: 18px;
	display: block;
	margin-bottom: 2px;
	line-height: 1;
}

.service-tab .tab-label {
	font-size: var(--fs-xs);
	font-weight: 600;
}

.service-tab.active {
	background: var(--navy-800);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

/* Search card */
.search-card {
	background: #fff;
	width: calc(100% - 24px);
	max-width: 496px;
	margin: 0 auto var(--space-md);
	border-radius: var(--radius);
	padding: var(--space-md);
	box-shadow: var(--shadow);
	position: relative;
	z-index: 3;
	box-sizing: border-box;
}

.trip-badge {
	display: inline-block;
	font-size: var(--fs-xs);
	font-weight: 600;
	color: var(--navy-700);
	background: var(--blue-100);
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: var(--space-sm);
}

.search-field {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	background: var(--blue-50);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: var(--space-sm) var(--space-md);
	margin-bottom: var(--space-sm);
	cursor: pointer;
	width: 100%;
	text-align: right;
	font-family: inherit;
	font-size: var(--fs-base);
	color: var(--text);
	min-height: 44px;
}

.search-field:active {
	background: var(--blue-100);
}

.search-field .sf-icon {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	background: var(--blue-100);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	flex-shrink: 0;
}

.search-field .sf-body {
	flex: 1;
	min-width: 0;
}

.search-field .sf-label {
	display: block;
	font-size: var(--fs-xs);
	color: var(--text-muted);
	margin-bottom: 1px;
}

.search-field .sf-value {
	display: block;
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--navy-900);
}

.search-field .sf-value.placeholder {
	color: var(--text-muted);
	font-weight: 400;
}

.search-field-row {
	position: relative;
	width: 100%;
	padding-inline-end: 38px;
	box-sizing: border-box;
}

.btn-swap {
	position: absolute;
	inset-inline-end: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: none;
	background: var(--navy-800);
	color: #fff;
	font-size: 13px;
	cursor: pointer;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(26,75,140,0.35);
}

.date-label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.date-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	width: 100%;
	margin-bottom: 12px;
}

.date-chip {
	display: block;
	width: 100%;
	padding: 6px 4px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border);
	background: #fff;
	text-align: center;
	cursor: pointer;
	font-family: inherit;
	box-sizing: border-box;
}

.date-chip.active {
	border-color: var(--navy-700);
	background: var(--blue-50);
	box-shadow: 0 0 0 2px rgba(37,99,168,0.2);
}

.date-chip .dc-day {
	font-size: 10px;
	color: var(--text-muted);
}

.date-chip .dc-date {
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--navy-900);
}

.date-loading {
	text-align: center;
	font-size: 13px;
	color: var(--text-muted);
	padding: 12px 0;
	margin: 0;
}

/* Buttons */
.btn {
	display: block;
	width: 100%;
	padding: 10px var(--space-md);
	border: none;
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: var(--fs-base);
	font-weight: 600;
	cursor: pointer;
	min-height: 40px;
	line-height: 1.3;
}

.btn-primary {
	background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
	color: #fff;
	box-shadow: 0 2px 8px rgba(26,75,140,0.25);
}

.btn-cta {
	background: linear-gradient(135deg, var(--green-cta), var(--green-cta-dark));
	color: #fff;
	box-shadow: 0 2px 8px rgba(34,197,94,0.25);
}

.btn-secondary {
	background: #fff;
	color: var(--navy-800);
	border: 1px solid var(--border);
	margin-top: 10px;
}

.btn-danger {
	background: var(--danger-bg);
	color: var(--danger);
	border: 1px solid #fecaca;
	margin-top: 10px;
}

.btn-danger.is-confirming {
	background: #dc2626;
	color: #fff;
	border-color: #dc2626;
}

.btn-danger:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.chip {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: #fff;
	font-size: var(--fs-sm);
	cursor: pointer;
	font-family: inherit;
	box-sizing: border-box;
}

.chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	width: 100%;
}

.chip.active {
	background: var(--navy-800);
	border-color: var(--navy-800);
	color: #fff;
	font-weight: 600;
}

/* Bottom nav */
.bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0));
	padding-bottom: env(safe-area-inset-bottom, 0);
	background: #fff;
	border-top: 1px solid var(--border);
	display: flex;
	flex-direction: row;
	align-items: stretch;
	justify-content: stretch;
	z-index: 60;
	box-sizing: border-box;
}

.nav-item {
	flex: 1 1 33.33%;
	width: 33.33%;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	border: none;
	background: none;
	font-family: inherit;
	font-size: 11px;
	color: var(--text-muted);
	cursor: pointer;
	padding: 8px 4px;
	box-sizing: border-box;
}

.nav-item .nav-icon {
	font-size: 18px;
	line-height: 1;
}

.nav-item.active {
	color: var(--navy-800);
	font-weight: 700;
}

/* City sheet */
.sheet-overlay {
	position: fixed;
	inset: 0;
	background: rgba(15, 45, 82, 0.45);
	z-index: 100;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.sheet-panel {
	background: #fff;
	width: 100%;
	max-width: 520px;
	max-height: 88vh;
	border-radius: 14px 14px 0 0;
	display: flex;
	flex-direction: column;
	animation: slideUp 0.25s ease;
}

@keyframes slideUp {
	from { transform: translateY(100%); }
	to { transform: translateY(0); }
}

.sheet-head {
	padding: var(--space-md) var(--space-md) var(--space-sm);
	border-bottom: 1px solid var(--border);
}

.sheet-head-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.sheet-close {
	border: none;
	background: var(--blue-100);
	width: 30px;
	height: 30px;
	border-radius: 6px;
	font-size: 16px;
	cursor: pointer;
	color: var(--navy-800);
}

.sheet-title {
	margin: 0;
	font-size: var(--fs-md);
	font-weight: 600;
	color: var(--navy-900);
}

.sheet-sub {
	margin: 2px 0 0;
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.sheet-body {
	padding: var(--space-sm) var(--space-md);
	overflow-y: auto;
	flex: 1;
}

.sheet-search {
	width: 100%;
	padding: 8px var(--space-md);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--blue-50);
	font-family: inherit;
	font-size: var(--fs-base);
	margin-bottom: var(--space-sm);
	min-height: 36px;
}

.sheet-section-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-muted);
	margin: 8px 0 10px;
}

.city-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.city-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: var(--space-sm) var(--space-md);
	min-height: 40px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: #fff;
	cursor: pointer;
	width: 100%;
	text-align: right;
	font-family: inherit;
}

.city-item.selected {
	border-color: var(--navy-700);
	background: var(--blue-50);
}

.city-item strong {
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--navy-900);
}

.city-pin {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: var(--blue-100);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	flex-shrink: 0;
}

.sheet-foot {
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
	border-top: 1px solid var(--border);
}

/* Cards */
.card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--space-md);
	margin-bottom: var(--space-sm);
	box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.card h3 {
	margin: 0 0 var(--space-sm);
	font-size: var(--fs-md);
	font-weight: 600;
	color: var(--navy-900);
}

.step-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	color: var(--navy-700);
	background: var(--blue-100);
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 12px;
}

.field {
	margin-bottom: 14px;
}

.field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--navy-900);
	margin-bottom: 6px;
}

.field input,
.field select {
	width: 100%;
	padding: 8px var(--space-md);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-family: inherit;
	font-size: var(--fs-base);
	background: var(--blue-50);
	min-height: 36px;
}

.field select.input-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	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 fill='%233E5B8E' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: left 12px center;
	padding-left: 32px;
	cursor: pointer;
}

/* Flight card v2 */
.flight-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: var(--space-md);
	margin-bottom: var(--space-sm);
	box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.flight-card.full {
	opacity: 0.7;
}

.fc-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.fc-airline {
	font-weight: 700;
	font-size: 14px;
	color: var(--navy-900);
}

.fc-badge {
	font-size: 11px;
	background: var(--blue-100);
	color: var(--navy-700);
	padding: 4px 8px;
	border-radius: 6px;
}

.fc-route {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.fc-time {
	font-size: var(--fs-md);
	font-weight: 600;
	color: var(--navy-900);
	text-align: center;
}

.fc-city {
	font-size: 12px;
	font-weight: 400;
	color: var(--text-muted);
	margin-top: 4px;
}

.fc-line {
	flex: 1;
	text-align: center;
	color: var(--navy-700);
	font-size: 14px;
	position: relative;
}

.fc-line::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 10%;
	right: 10%;
	height: 1px;
	border-top: 2px dashed var(--border);
	z-index: 0;
}

.fc-line span {
	position: relative;
	background: #fff;
	padding: 0 6px;
}

.fc-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.fc-price {
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--teal-600);
}

.fc-price.muted {
	color: var(--danger);
}

.fc-foot .btn {
	width: auto;
	padding: 6px 12px;
	font-size: var(--fs-sm);
	min-height: 32px;
	flex-shrink: 0;
}

/* Requests */
.request-item {
	display: flex;
	align-items: center;
	gap: var(--space-sm);
	padding: var(--space-sm) var(--space-md);
	min-height: 52px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: #fff;
	margin-bottom: 10px;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.request-item:active {
	background: var(--blue-50);
}

.request-icon {
	width: 36px;
	height: 36px;
	border-radius: var(--radius-sm);
	background: var(--blue-100);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
}

.request-item .body {
	flex: 1;
	min-width: 0;
}

.request-item .title {
	font-weight: 600;
	font-size: var(--fs-sm);
	margin-bottom: 2px;
	color: var(--navy-900);
}

.request-item .sub {
	font-size: 12px;
	color: var(--text-muted);
}

.status-pill {
	font-size: 11px;
	font-weight: 600;
	padding: 4px 8px;
	border-radius: 6px;
	white-space: nowrap;
}

.status-pill.ok { background: #dcfce7; color: #166534; }
.status-pill.pending { background: #fef3c7; color: #92400e; }
.status-pill.fail { background: #fee2e2; color: #991b1b; }
.status-pill.neutral { background: var(--blue-100); color: var(--navy-700); }

.search-banner {
	background: var(--blue-50);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: var(--space-sm) var(--space-md);
	margin-bottom: var(--space-sm);
	font-size: var(--fs-sm);
	color: var(--navy-900);
}

.summary-row {
	display: flex;
	justify-content: space-between;
	padding: 6px 0;
	border-bottom: 1px dashed var(--border);
	font-size: var(--fs-sm);
}

.summary-row:last-child {
	border-bottom: none;
}

.alert {
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius-sm);
	font-size: var(--fs-sm);
	line-height: 1.5;
	margin-bottom: var(--space-sm);
}

.alert-info { background: var(--blue-50); border: 1px solid var(--border); color: var(--navy-800); }
.alert-error { background: var(--danger-bg); border: 1px solid #fecaca; color: var(--danger); }
.alert-warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

.empty-state {
	text-align: center;
	padding: 24px var(--space-md);
	color: var(--text-muted);
	font-size: var(--fs-sm);
}

.empty-state .icon {
	font-size: 36px;
	margin-bottom: var(--space-sm);
}

.success-hero {
	text-align: center;
	padding: var(--space-lg) var(--space-md);
}

.success-hero .icon-big {
	font-size: 40px;
	margin-bottom: var(--space-sm);
}

.success-hero h2 {
	margin: 0 0 6px;
	color: var(--green-cta-dark);
	font-size: var(--fs-lg);
	font-weight: 600;
}

.success-hero.fail h2 {
	color: var(--danger);
}

.passenger-block {
	border: 1px dashed var(--border);
	border-radius: var(--radius-sm);
	padding: 14px;
	margin-bottom: 12px;
	background: var(--blue-50);
}

.sex-row { display: flex; gap: 8px; }
.sex-row .chip { flex: 1; text-align: center; }

.overlay-loading {
	position: fixed;
	inset: 0;
	background: rgba(255,255,255,0.9);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 200;
	gap: 12px;
}

.hidden { display: none !important; }

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* ——— Home (clean layout v1.5) ——— */
.home-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding: var(--space-md) var(--space-md) var(--space-sm);
	background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.home-header .brand {
	font-size: var(--fs-lg);
	font-weight: 700;
	color: var(--navy-900);
}

.home-tag {
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.home-main {
	padding: 0 var(--space-md) var(--space-md);
}

.ft-segment {
	display: flex;
	background: #e2e8f0;
	border-radius: 999px;
	padding: 3px;
	margin-bottom: var(--space-md);
}

.ft-btn {
	flex: 1;
	border: none;
	background: transparent;
	border-radius: 999px;
	padding: 8px 10px;
	font-family: inherit;
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--text-muted);
	cursor: pointer;
}

.ft-btn.active {
	background: #fff;
	color: var(--navy-800);
	box-shadow: 0 1px 4px rgba(15, 45, 82, 0.12);
}

.search-card-clean {
	margin: 0;
	width: 100%;
	max-width: 100%;
	padding: var(--space-md);
}

.route-box {
	position: relative;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--blue-50);
	padding: 6px 40px 6px 10px;
	margin-bottom: var(--space-sm);
}

.route-line {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	border: none;
	background: transparent;
	padding: 10px 4px;
	text-align: right;
	font-family: inherit;
	cursor: pointer;
}

.route-line + .route-line {
	border-top: 1px dashed var(--border);
}

.route-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
}

.route-dot.from {
	background: var(--teal-500);
	box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.25);
}

.route-dot.to {
	background: var(--navy-700);
	box-shadow: 0 0 0 3px rgba(37, 99, 168, 0.2);
}

.route-text {
	font-size: var(--fs-base);
	font-weight: 600;
	color: var(--navy-900);
}

.route-text.placeholder {
	color: var(--text-muted);
	font-weight: 400;
}

.btn-swap-inline {
	position: absolute;
	inset-inline-end: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	border: none;
	border-radius: 50%;
	background: var(--navy-800);
	color: #fff;
	font-size: 12px;
	cursor: pointer;
	z-index: 2;
}

.meta-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-sm);
	margin-bottom: var(--space-md);
}

.meta-cell {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 10px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: #fff;
	cursor: pointer;
	font-family: inherit;
	text-align: right;
}

.meta-cell:active {
	background: var(--blue-50);
}

.meta-k {
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.meta-v {
	font-size: var(--fs-sm);
	font-weight: 600;
	color: var(--navy-900);
	line-height: 1.35;
}

.meta-v.placeholder {
	color: var(--text-muted);
	font-weight: 400;
}

.btn-search-main {
	margin-top: 2px;
}

.sheet-head.compact {
	padding-bottom: 8px;
}

.sheet-head.compact .sheet-title {
	margin: 0;
	font-size: var(--fs-md);
}

.sheet-panel-tall {
	max-height: min(78vh, 520px);
}

.sheet-panel-tall .sheet-foot {
	padding: 8px 12px 12px;
}

.sheet-panel-tall .sheet-foot .btn {
	min-height: 42px;
}

/* Jalali calendar */
.cal-body {
	padding-top: 4px;
}

.cal-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.cal-nav-btn {
	width: 36px;
	height: 36px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--navy-800);
	font-size: 18px;
	cursor: pointer;
}

.cal-month-title {
	font-size: var(--fs-md);
	font-weight: 700;
	color: var(--navy-900);
}

.cal-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	margin-bottom: 6px;
	text-align: center;
}

.cal-wd {
	font-size: 11px;
	font-weight: 600;
	color: var(--text-muted);
}

.cal-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}

.cal-cell {
	aspect-ratio: 1;
	min-height: 32px;
	max-height: 40px;
	border: none;
	border-radius: 8px;
	background: #fff;
	font-family: inherit;
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--navy-900);
	cursor: pointer;
}

.cal-cell.empty {
	background: transparent;
	pointer-events: none;
}

.cal-cell.today {
	border: 1px solid var(--teal-500);
}

.cal-cell.selected {
	background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
	color: #fff;
	font-weight: 700;
}

.cal-cell.disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Passenger stepper sheet */
.pax-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
}

.pax-row:last-of-type {
	border-bottom: none;
}

.pax-row-info strong {
	display: block;
	font-size: var(--fs-base);
	color: var(--navy-900);
}

.pax-row-info span {
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.pax-stepper {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pax-btn {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: #fff;
	font-size: 18px;
	line-height: 1;
	color: var(--navy-800);
	cursor: pointer;
}

.pax-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.pax-num {
	min-width: 20px;
	text-align: center;
	font-weight: 700;
	font-size: var(--fs-md);
}

.pax-total-note {
	margin: 12px 0 0;
	font-size: var(--fs-sm);
	color: var(--text-muted);
	text-align: center;
}
