.etd-ftpf-ticket {
	border: 2px dashed #e2e8f0;
	border-radius: 14px;
	color: #111827;
	padding: 28px;
	background: #fff;
}

.etd-ftpf-legacy-name-wrap {
	display: none !important;
}

.etd-ftpf-passenger-fields-wrap {
	margin-top: 18px;
}

.etd-ftpf-passenger-fields-title {
	color: #111827;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 12px;
}

#etd-ftpf-passenger-fields {
	display: grid;
	gap: 14px;
}

.etd-ftpf-passenger-box {
	background: #f8fafc;
	border: 1px solid #dbe3ef;
	border-radius: 10px;
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 16px;
}

.etd-ftpf-passenger-box-head {
	color: #111827;
	font-size: 14px;
	font-weight: 700;
	grid-column: 1 / -1;
}

.etd-ftpf-passenger-box label {
	color: #334155;
	display: block;
	font-size: 14px;
	font-weight: 600;
}

.etd-ftpf-passenger-box input {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	color: #111827;
	display: block;
	font-size: 15px;
	height: 44px;
	margin-top: 6px;
	padding: 0 12px;
	text-transform: uppercase;
	width: 100%;
}

.etd-ftpf-passenger-box input:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
	outline: none;
}

.etd-ftpf-summary {
	background: #fff;
	border: 1px solid #dbe3ef;
	border-radius: 12px;
	box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
	color: #111827;
	padding: 24px;
}

.etd-ftpf-summary-head,
.etd-ftpf-summary-route,
.etd-ftpf-summary-grid,
.etd-ftpf-summary-names {
	display: grid;
	gap: 16px;
}

.etd-ftpf-summary-head {
	align-items: center;
	border-bottom: 1px solid #e2e8f0;
	grid-template-columns: minmax(0, 1fr) auto;
	padding-bottom: 16px;
}

.etd-ftpf-summary-head span,
.etd-ftpf-summary-route span,
.etd-ftpf-summary-grid span,
.etd-ftpf-summary-names span {
	color: #64748b;
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.etd-ftpf-summary-head h2 {
	color: #111827;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 5px 0 0;
}

.etd-ftpf-summary-head > strong {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 999px;
	color: #2563eb;
	font-size: 16px;
	padding: 8px 14px;
}

.etd-ftpf-summary-route {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
	margin-top: 18px;
	padding: 18px;
}

.etd-ftpf-summary-route strong,
.etd-ftpf-summary-grid strong,
.etd-ftpf-summary-names strong {
	color: #111827;
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	margin-top: 6px;
	overflow-wrap: anywhere;
}

.etd-ftpf-summary-route > div:last-child {
	text-align: right;
}

.etd-ftpf-summary-plane {
	height: 42px;
	position: relative;
}

.etd-ftpf-summary-plane::before {
	background: #2563eb;
	clip-path: polygon(100% 50%, 70% 65%, 32% 65%, 8% 95%, 0 95%, 14% 57%, 0 43%, 8% 5%, 32% 35%, 70% 35%);
	content: "";
	height: 32px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 54px;
}

.etd-ftpf-summary-grid {
	border-bottom: 1px solid #e2e8f0;
	border-top: 1px solid #e2e8f0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 18px;
	padding: 16px 0;
}

.etd-ftpf-summary-names {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 16px;
}

.etd-ftpf-summary-names > div {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 14px;
}

.etd-ftpf-summary-note {
	color: #64748b;
	font-size: 14px;
	line-height: 1.5;
	margin: 18px 0 0;
}

.etd-ftpf-qr-pay {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #dbe3ef;
	border-radius: 10px;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-top: 16px;
	padding: 14px;
}

.etd-ftpf-qr-pay strong {
	color: #111827;
	display: block;
	font-size: 15px;
	font-weight: 700;
}

.etd-ftpf-qr-pay span {
	color: #64748b;
	display: block;
	font-size: 13px;
	line-height: 1.4;
	margin-top: 3px;
}

.etd-ftpf-qr-pay img {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	height: 118px;
	object-fit: contain;
	padding: 6px;
	width: 118px;
}

.etd-ftpf-test-pay-btn {
	background: #dc2626;
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	display: block;
	font-size: 16px;
	font-weight: 700;
	min-height: 46px;
	padding: 12px 18px;
	width: 100%;
}

.etd-ftpf-test-pay-btn:disabled {
	cursor: wait;
	opacity: 0.75;
}

.etd-ftpf-test-pay-note {
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	color: #9a3412;
	font-size: 13px;
	line-height: 1.45;
	margin: 10px 0 0;
	padding: 10px 12px;
}

.etd-ftpf-verify {
	color: #111827;
	margin: 0 auto;
	max-width: 920px;
	padding: 40px 18px;
}

.etd-ftpf-verify h1 {
	font-size: 34px;
	letter-spacing: 0;
	line-height: 1.15;
	margin: 0 0 22px;
}

.etd-ftpf-verify-form {
	background: #fff;
	border: 1px solid #dbe3ef;
	border-radius: 12px;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	padding: 18px;
}

.etd-ftpf-verify-form label {
	color: #334155;
	font-size: 13px;
	font-weight: 700;
}

.etd-ftpf-verify-form input {
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	display: block;
	font-size: 15px;
	height: 44px;
	margin-top: 6px;
	padding: 0 12px;
	width: 100%;
}

.etd-ftpf-verify-form button {
	align-self: end;
	background: #dc2626;
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	height: 44px;
	padding: 0 18px;
	white-space: nowrap;
}

.etd-ftpf-verify-alert {
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 10px;
	color: #991b1b;
	margin-top: 18px;
	padding: 14px;
}

.etd-ftpf-verify-results {
	display: grid;
	gap: 12px;
	margin-top: 20px;
}

.etd-ftpf-verify-card {
	background: #fff;
	border: 1px solid #dbe3ef;
	border-radius: 10px;
	padding: 16px;
}

.etd-ftpf-verify-card span,
.etd-ftpf-verify-card small {
	color: #64748b;
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.etd-ftpf-verify-card strong {
	color: #2563eb;
	display: block;
	font-size: 20px;
	margin-top: 4px;
}

.etd-ftpf-verify-card p {
	color: #111827;
	font-size: 17px;
	font-weight: 700;
	margin: 8px 0;
}

.etd-ftpf-verify-card em {
	color: #475569;
	display: block;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	margin: -2px 0 8px;
}

.etd-ftpf-top,
.etd-ftpf-meta,
.etd-ftpf-bar,
.etd-ftpf-title,
.etd-ftpf-route,
.etd-ftpf-grid {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.etd-ftpf-top {
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 22px;
}

.etd-ftpf-top h2 {
	color: #111827;
	font-size: 30px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
}

.etd-ftpf-top h2 span {
	color: #dc1f26;
}

.etd-ftpf-top p,
.etd-ftpf-top small,
.etd-ftpf-title span,
.etd-ftpf-leg-head span,
.etd-ftpf-route span,
.etd-ftpf-route p,
.etd-ftpf-route em,
.etd-ftpf-grid span,
.etd-ftpf-note {
	color: #64748b;
}

.etd-ftpf-top p {
	margin: 8px 0 0;
}

.etd-ftpf-top > div:last-child {
	text-align: right;
}

.etd-ftpf-top strong {
	color: #2563eb;
	display: block;
	font-size: 20px;
	margin-top: 4px;
}

.etd-ftpf-meta {
	margin-top: 24px;
}

.etd-ftpf-meta b {
	background: #d1fae5;
	border-radius: 999px;
	color: #047857;
	font-size: 14px;
	padding: 8px 18px;
}

.etd-ftpf-bar {
	background: #f8fafc;
	border: 1px solid #dbe3ef;
	margin-top: 24px;
	padding: 14px 24px;
}

.etd-ftpf-bar small {
	color: #64748b;
	display: block;
	font-size: 12px;
	text-transform: uppercase;
}

.etd-ftpf-bar strong {
	display: block;
	font-size: 18px;
	margin-top: 4px;
}

.etd-ftpf-bar i {
	background: repeating-linear-gradient(90deg, #111827 0 3px, transparent 3px 7px, #111827 7px 9px, transparent 9px 14px);
	display: block;
	height: 38px;
	max-width: 430px;
	width: 54%;
}

.etd-ftpf-title {
	margin: 18px 0 12px;
}

.etd-ftpf-title h3 {
	font-size: 24px;
	font-weight: 600;
	margin: 0;
}

.etd-ftpf-leg {
	background: #f8fafc;
	border: 1px solid #dbe3ef;
	margin-top: 16px;
	padding: 18px 24px;
}

.etd-ftpf-leg-head strong {
	display: block;
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 6px;
}

.etd-ftpf-route {
	margin-top: 16px;
}

.etd-ftpf-route > div:not(.etd-ftpf-plane) {
	flex: 1 1 0;
	min-width: 0;
}

.etd-ftpf-route > div:last-child {
	text-align: left;
}

.etd-ftpf-route span,
.etd-ftpf-grid span {
	display: block;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

.etd-ftpf-route h3 {
	color: #111827;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.15;
	margin: 8px 0 6px;
	overflow-wrap: anywhere;
}

.etd-ftpf-route p {
	font-size: 15px;
	line-height: 1.35;
	margin: 0 0 6px;
	overflow-wrap: anywhere;
}

.etd-ftpf-route b {
	color: #2563eb;
	font-size: 18px;
	margin-right: 16px;
}

.etd-ftpf-route em {
	font-style: normal;
}

.etd-ftpf-plane {
	flex: 0 0 86px;
	height: 62px;
	position: relative;
}

.etd-ftpf-plane::before {
	background: #2563eb;
	clip-path: polygon(100% 50%, 70% 65%, 32% 65%, 8% 95%, 0 95%, 14% 57%, 0 43%, 8% 5%, 32% 35%, 70% 35%);
	content: "";
	height: 42px;
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 70px;
}

.etd-ftpf-grid {
	border-bottom: 1px solid #dbe3ef;
	border-top: 1px solid #dbe3ef;
	margin-top: 20px;
	padding: 12px 0;
}

.etd-ftpf-grid > div {
	flex: 1 1 0;
	min-width: 0;
}

.etd-ftpf-grid strong {
	display: block;
	font-size: 18px;
	font-weight: 500;
	margin-top: 6px;
	overflow-wrap: anywhere;
}

.etd-ftpf-passenger {
	border-top: 0;
}

.etd-ftpf-note {
	border-top: 1px solid #e2e8f0;
	font-size: 14px;
	line-height: 1.6;
	margin-top: 20px;
	padding-top: 14px;
}

.chatzy_widget_script,
[class*="chatzy"],
[id*="chatzy"],
[src*="chatzy-kb-store"],
.softlite-widget,
[class*="softlite"][class*="widget"] {
	display: none !important;
	visibility: hidden !important;
}

.etd-chatbot {
	bottom: 22px;
	position: fixed;
	right: 22px;
	z-index: 99999;
}

.etd-chatbot-teaser {
	animation: etdChatTeaserPulse 2.8s ease-in-out infinite;
	background: #fff;
	border: 1px solid #dbe3ef;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
	color: #172033;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 10px auto;
	max-width: min(340px, calc(100vw - 32px));
	padding: 12px 14px;
	position: relative;
}

.etd-chatbot-teaser::after {
	background: #fff;
	border-bottom: 1px solid #dbe3ef;
	border-right: 1px solid #dbe3ef;
	bottom: -6px;
	content: "";
	height: 10px;
	position: absolute;
	right: 24px;
	transform: rotate(45deg);
	width: 10px;
}

@keyframes etdChatTeaserPulse {
	0%, 100% {
		box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
		transform: translateY(0);
	}
	50% {
		box-shadow: 0 18px 42px rgba(220, 38, 38, 0.18);
		transform: translateY(-3px);
	}
}

.etd-chatbot-toggle {
	background: #dc2626;
	border: 0;
	border-radius: 999px;
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18);
	color: #fff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 800;
	min-height: 54px;
	padding: 0 22px;
	white-space: nowrap;
}

.etd-chatbot-panel {
	background: #fff;
	border: 1px solid #dbe3ef;
	border-radius: 12px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
	display: flex;
	flex-direction: column;
	height: min(520px, calc(100vh - 210px));
	min-height: 320px;
	margin-bottom: 14px;
	overflow: visible;
	width: min(390px, calc(100vw - 28px));
}

.etd-chatbot-panel[hidden] {
	display: none;
}

.etd-chatbot-head {
	align-items: center;
	background: #0f172a;
	color: #fff;
	display: flex;
	justify-content: space-between;
	padding: 16px;
}

.etd-chatbot-head strong,
.etd-chatbot-head span {
	display: block;
}

.etd-chatbot-head strong {
	font-size: 15px;
}

.etd-chatbot-head span {
	color: #cbd5e1;
	font-size: 12px;
	margin-top: 2px;
}

.etd-chatbot-close {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.35);
	border-radius: 999px;
	color: #fff;
	cursor: pointer;
	height: 30px;
	line-height: 1;
	width: 30px;
}

.etd-chatbot-messages {
	background: #f8fafc;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	min-height: 0;
	overflow-y: auto;
	padding: 14px;
}

.etd-chatbot-message {
	border-radius: 12px;
	font-size: 14px;
	line-height: 1.45;
	max-width: 92%;
	padding: 10px 12px;
	white-space: pre-wrap;
}

.etd-chatbot-bot {
	align-self: flex-start;
	background: #fff;
	border: 1px solid #e2e8f0;
	color: #172033;
}

.etd-chatbot-user {
	align-self: flex-end;
	background: #dc2626;
	color: #fff;
}

.etd-chatbot-actions {
	background: #fff;
	border-top: 1px solid #e2e8f0;
	display: grid;
	flex: 0 0 auto;
	gap: 10px;
	max-height: none;
	overflow: visible;
	padding: 12px;
}

.etd-chatbot-actions input {
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 14px;
	min-height: 44px;
	padding: 10px 12px;
	width: 100%;
}

.etd-chatbot-actions input:focus {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
	outline: 0;
}

.etd-chatbot-options {
	display: grid;
	gap: 7px;
	max-height: 176px;
	overflow-y: auto;
	padding-right: 2px;
}

.etd-chatbot-options .etd-chatbot-option {
	background: #fff;
	border: 1px solid #dbe3ef;
	color: #172033;
	font-size: 13px;
	font-weight: 700;
	justify-content: flex-start;
	min-height: 34px;
	padding: 8px 10px;
	text-align: left;
}

.etd-chatbot-options .etd-chatbot-option:hover,
.etd-chatbot-options .etd-chatbot-option.is-selected {
	background: #fff1f2;
	border-color: #dc2626;
	color: #b91c1c;
}

.etd-chatbot-empty,
.etd-chatbot-error {
	border-radius: 8px;
	font-size: 12px;
	line-height: 1.4;
	padding: 9px 10px;
}

.etd-chatbot-empty {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	color: #64748b;
}

.etd-chatbot-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	font-weight: 700;
}

.etd-chatbot-actions button {
	background: #dc2626;
	border: 0;
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 800;
	min-height: 42px;
	padding: 10px 12px;
}

.etd-chatbot-actions button:disabled {
	cursor: wait;
	opacity: 0.7;
}

@media (max-width: 700px) {
	.etd-ftpf-ticket {
		padding: 18px;
	}

	.etd-ftpf-top,
	.etd-ftpf-meta,
	.etd-ftpf-bar,
	.etd-ftpf-title,
	.etd-ftpf-route,
	.etd-ftpf-grid {
		align-items: flex-start;
		flex-direction: column;
	}

	.etd-ftpf-top > div:last-child {
		text-align: left;
	}

	.etd-ftpf-bar i {
		width: 100%;
	}

	.etd-ftpf-plane {
		align-self: center;
		height: 44px;
	}

	.etd-ftpf-passenger-box {
		grid-template-columns: 1fr;
	}

	.etd-ftpf-summary-head,
	.etd-ftpf-summary-route,
	.etd-ftpf-summary-grid,
	.etd-ftpf-summary-names {
		grid-template-columns: 1fr;
	}

	.etd-ftpf-summary-route > div:last-child {
		text-align: left;
	}

	.etd-ftpf-summary-plane {
		justify-self: center;
	}

	.etd-ftpf-qr-pay,
	.etd-ftpf-verify-form {
		grid-template-columns: 1fr;
	}

	.etd-ftpf-qr-pay {
		align-items: flex-start;
		flex-direction: column;
	}

	.etd-ftpf-qr-pay img {
		height: 150px;
		width: 150px;
	}

	.etd-chatbot {
		bottom: 14px;
		left: 14px;
		right: 14px;
	}

	.etd-chatbot-teaser {
		font-size: 12px;
		margin-left: auto;
		max-width: 100%;
	}

	.etd-chatbot-panel {
		height: calc(100vh - 210px);
		min-height: 300px;
		width: 100%;
	}
}
