/* EasyEntry Core — widget styles. Colours are CSS variables so Elementor style controls can override them. */

.ee-quiz, .ee-rs, .ee-cg, .ee-sum, .ee-routes, .ee-score, .ee-empty, .ee-faq {
	--ee-primary: #2563eb;
	--ee-on-primary: #ffffff;
	--ee-text: #0b1220;
	--ee-muted: #5b6475;
	--ee-border: #e3e7ee;
	--ee-surface: #ffffff;
	--ee-surface-2: #f5f7fb;
	--ee-selected: #eef4ff;
	--ee-error: #d92d20;
	--ee-radius: 14px;
	--ee-input-h: 52px;
	box-sizing: border-box;
	color: var(--ee-text);
}
.ee-quiz *, .ee-rs *, .ee-cg *, .ee-sum *, .ee-routes *, .ee-score *, .ee-empty *, .ee-faq * { box-sizing: border-box; }

.ee-flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(15, 23, 42, .08); display: inline-block; vertical-align: middle; }
.ee-flag--emoji { width: auto; height: auto; box-shadow: none; font-size: 18px; line-height: 1; }

/* Visibility helpers for containers on the results page */
body.ee-no-entry:not(.elementor-editor-active) .ee-show-with-entry { display: none !important; }
body.ee-has-entry:not(.elementor-editor-active) .ee-show-without-entry { display: none !important; }
html.ee-no-scroll { overflow: hidden; }

/* ------------------------------------------------------------------
 * Combobox
 * ---------------------------------------------------------------- */
.ee-combo { position: relative; width: 100%; }
.ee-combo-field {
	display: flex; align-items: center; gap: 10px; min-height: var(--ee-input-h);
	padding: 0 14px; background: var(--ee-surface); border: 1px solid var(--ee-border);
	border-radius: calc(var(--ee-radius) - 4px); cursor: text; transition: border-color .15s, box-shadow .15s;
}
.ee-combo.is-open .ee-combo-field, .ee-combo-field:focus-within { border-color: var(--ee-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ee-primary) 18%, transparent); }
.ee-combo-flag:empty { display: none; }
.ee-combo-input {
	flex: 1 1 auto; min-width: 0; width: 100%; border: 0 !important; outline: 0 !important; background: transparent !important;
	box-shadow: none !important; padding: 0 !important; margin: 0; font: inherit; font-size: 16px; color: var(--ee-text); height: calc(var(--ee-input-h) - 2px);
}
.ee-combo-input::placeholder { color: var(--ee-muted); opacity: 1; }
.ee-combo-caret { color: var(--ee-muted); flex: 0 0 auto; transition: transform .15s; }
.ee-combo.is-open .ee-combo-caret { transform: rotate(180deg); }
.ee-combo-list {
	position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); max-height: 280px; overflow-y: auto; margin: 0; padding: 6px;
	list-style: none; background: var(--ee-surface); border: 1px solid var(--ee-border); border-radius: calc(var(--ee-radius) - 4px);
	box-shadow: 0 16px 40px rgba(15, 23, 42, .14);
}
.ee-combo-list[hidden] { display: none; }
.ee-combo-opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 15px; color: var(--ee-text); line-height: 1.3; }
.ee-combo-opt.is-active, .ee-combo-opt:hover { background: var(--ee-surface-2); }
.ee-combo-opt[aria-selected="true"] { font-weight: 600; }
.ee-combo-empty { padding: 10px; color: var(--ee-muted); font-size: 14px; }
.ee-combo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.ee-combo-chips:empty { display: none; }
.ee-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 10px; border-radius: 999px; background: var(--ee-selected); border: 1px solid color-mix(in srgb, var(--ee-primary) 35%, transparent); font-size: 14px; line-height: 1; }
.ee-chip-x { border: 0 !important; background: transparent !important; color: var(--ee-muted) !important; width: 22px; height: 22px; padding: 0 !important; border-radius: 50% !important; cursor: pointer; font-size: 18px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.ee-chip-x:hover { background: rgba(15, 23, 42, .08) !important; color: var(--ee-text) !important; }

/* ------------------------------------------------------------------
 * Route search
 * ---------------------------------------------------------------- */
.ee-rs { --ee-rs-gap: 10px; width: 100%; max-width: 860px; padding: 10px; background: var(--ee-surface); border-radius: calc(var(--ee-radius) + 4px); box-shadow: 0 20px 50px rgba(2, 6, 23, .18); }
.ee-rs-fields { display: flex; align-items: flex-end; gap: var(--ee-rs-gap); }
.ee-rs-field { flex: 1 1 0; min-width: 0; }
.ee-rs-label { display: block; margin: 0 0 6px 4px; font-size: 13px; font-weight: 600; color: var(--ee-muted); }
.ee-rs-action { flex: 0 0 auto; }
.ee-rs-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: var(--ee-input-h); padding: 0 26px; border: 1px solid transparent;
	border-radius: calc(var(--ee-radius) - 4px); background: var(--ee-primary); color: var(--ee-on-primary); font: inherit; font-weight: 600; font-size: 16px; cursor: pointer;
	transition: filter .15s, transform .05s; white-space: nowrap;
}
.ee-rs-button:hover { filter: brightness(1.08); }
.ee-rs-button:active { transform: translateY(1px); }
.ee-rs-swap { flex: 0 0 auto; align-self: flex-end; width: 40px; height: var(--ee-input-h); border: 1px solid var(--ee-border) !important; border-radius: 10px !important; background: var(--ee-surface) !important; color: var(--ee-muted) !important; padding: 0 !important; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ee-rs-error { margin: 8px 4px 0; color: var(--ee-error); font-size: 14px; }
.ee-rs-note { margin: 10px 4px 2px; font-size: 13px; color: var(--ee-muted); }
.ee-rs-layout-stacked .ee-rs-fields, .ee-rs--stacked .ee-rs-fields { flex-direction: column; align-items: stretch; }
.ee-rs-layout-stacked .ee-rs-button, .ee-rs--stacked .ee-rs-button { width: 100%; }
@media (max-width: 767px) {
	.ee-rs-fields { flex-direction: column; align-items: stretch; }
	.ee-rs-button { width: 100%; }
	.ee-rs-swap { display: none; }
}

/* ------------------------------------------------------------------
 * Country grid
 * ---------------------------------------------------------------- */
.ee-cg-search { width: 100%; max-width: 360px; height: 46px; margin: 0 0 16px; padding: 0 14px; border: 1px solid var(--ee-border); border-radius: 10px; font: inherit; }
.ee-cg-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ee-cg-li { margin: 0; padding: 0; min-width: 0; }
.ee-cg-li[hidden] { display: none; }
.ee-cg.is-collapsed:not(.is-searching) .ee-cg-extra { display: none; }
.ee-cg-item {
	display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--ee-border); border-radius: 10px; background: var(--ee-surface);
	color: var(--ee-text); text-decoration: none !important; font-size: 15px; line-height: 1.3; transition: border-color .15s, background-color .15s, transform .15s;
}
a.ee-cg-item:hover { border-color: var(--ee-primary); background: var(--ee-selected); color: var(--ee-text); }
.ee-cg-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ee-cg-arrow { color: var(--ee-muted); flex: 0 0 auto; transition: transform .15s; }
a.ee-cg-item:hover .ee-cg-arrow { transform: translateX(2px); color: var(--ee-primary); }
.ee-cg-more-wrap { margin-top: 18px; text-align: center; }
.ee-cg-more { padding: 10px 20px; border: 1px solid var(--ee-border); border-radius: 999px; background: var(--ee-surface); color: var(--ee-text); font: inherit; font-weight: 600; cursor: pointer; }
.ee-cg-more:hover { border-color: var(--ee-primary); }
@media (max-width: 1024px) { .ee-cg-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ee-cg-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ee-cg-item { padding: 10px 12px; font-size: 14px; } }

/* ------------------------------------------------------------------
 * Intake quiz
 * ---------------------------------------------------------------- */
.ee-quiz { --ee-quiz-width: 720px; background: var(--ee-surface-2); min-height: 100vh; display: flex; flex-direction: column; font-size: 16px; line-height: 1.5; }
.ee-quiz[hidden], .ee-quiz [hidden] { display: none !important; }
.ee-quiz-top { background: var(--ee-surface); border-bottom: 1px solid var(--ee-border); }
.ee-quiz-top-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; max-width: 1100px; margin: 0 auto; padding: 14px 20px; }
.ee-quiz-leave, .ee-quiz-help-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--ee-muted); text-decoration: none !important; font: inherit; font-size: 15px; font-weight: 500; }
.ee-quiz-leave:hover, .ee-quiz-help-btn:hover { color: var(--ee-text); }
.ee-quiz-help-btn { justify-self: end; border: 1px solid var(--ee-border) !important; background: var(--ee-surface) !important; padding: 6px 14px !important; border-radius: 999px !important; cursor: pointer; color: var(--ee-muted) !important; }
.ee-quiz-logo { justify-self: center; display: flex; align-items: center; }
.ee-quiz-logo img { height: 30px; width: auto; display: block; }
.ee-quiz-logo-text { font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ee-text); }

.ee-quiz-body { flex: 1 0 auto; width: 100%; max-width: calc(var(--ee-quiz-width) + 40px); margin: 0 auto; padding: 28px 20px 40px; }
.ee-quiz-progress { margin-bottom: 28px; }
.ee-quiz-progress-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.ee-quiz-stepnum { font-size: 14px; color: var(--ee-muted); }
.ee-quiz-stepnum b { color: var(--ee-text); }
.ee-quiz-route { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; background: var(--ee-surface); border: 1px solid var(--ee-border); font-size: 13px; font-weight: 600; color: var(--ee-text); }
.ee-quiz-bar { height: 6px; border-radius: 999px; background: var(--ee-border); overflow: hidden; }
.ee-quiz-bar span { display: block; height: 100%; background: var(--ee-primary); border-radius: inherit; transition: width .35s ease; }

.ee-quiz-screen { animation: ee-fade .25s ease; }
@keyframes ee-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ee-quiz-head { margin-bottom: 22px; }
.ee-quiz-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ee-primary); }
.ee-quiz-title { margin: 0; font-size: clamp(26px, 4vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--ee-text); outline: none; }
.ee-quiz-subtitle { margin: 10px 0 0; font-size: 16px; color: var(--ee-muted); }

.ee-quiz-fields { display: flex; flex-wrap: wrap; column-gap: 16px; row-gap: 26px; }
.ee-q { flex: 1 1 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
.ee-q--half { flex: 1 1 calc(50% - 8px); }
@media (max-width: 600px) { .ee-q--half { flex-basis: 100%; } }
.ee-q-label { display: block; float: none; width: 100%; margin: 0 0 10px; padding: 0; font-size: 16px; font-weight: 700; color: var(--ee-text); }
.ee-q-optional { font-weight: 400; color: var(--ee-muted); font-size: 14px; }
.ee-q-help { margin: -4px 0 12px; font-size: 14px; color: var(--ee-muted); }
.ee-q-error { margin: 8px 0 0; font-size: 14px; color: var(--ee-error); font-weight: 500; }
.ee-q.has-error .ee-input, .ee-q.has-error .ee-combo-field, .ee-q.has-error .ee-opt { border-color: var(--ee-error); }

.ee-opts--cards { display: grid; grid-template-columns: 1fr; gap: 10px; }
.ee-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ee-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .ee-cols-2, .ee-cols-3 { grid-template-columns: 1fr; } }

.ee-opt { position: relative; cursor: pointer; margin: 0; -webkit-tap-highlight-color: transparent; }
.ee-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ee-opt--card {
	display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--ee-surface); border: 1.5px solid var(--ee-border);
	border-radius: var(--ee-radius); transition: border-color .15s, background-color .15s, box-shadow .15s; min-height: 58px;
}
.ee-opt--card:hover { border-color: color-mix(in srgb, var(--ee-primary) 55%, var(--ee-border)); }
.ee-opt--card:has(input:checked) { border-color: var(--ee-primary); background: var(--ee-selected); box-shadow: 0 0 0 1px var(--ee-primary); }
.ee-opt--card:has(input:focus-visible) { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ee-primary) 30%, transparent); }
.ee-opt-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ee-opt-title { font-weight: 650; font-size: 16px; color: var(--ee-text); line-height: 1.3; }
.ee-opt-desc { font-size: 14px; color: var(--ee-muted); line-height: 1.4; }
.ee-opt-mark { flex: 0 0 auto; width: 20px; height: 20px; border: 2px solid var(--ee-border); border-radius: 50%; background: var(--ee-surface); position: relative; transition: all .15s; }
.ee-opt-mark--checkbox { border-radius: 6px; }
.ee-opt input:checked ~ .ee-opt-mark, .ee-consent input:checked ~ .ee-opt-mark { border-color: var(--ee-primary); background: var(--ee-primary); }
.ee-opt input:checked ~ .ee-opt-mark::after, .ee-consent input:checked ~ .ee-opt-mark::after {
	content: ""; position: absolute; left: 5px; top: 1px; width: 6px; height: 11px; border: solid var(--ee-on-primary); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.ee-opts--pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ee-opt--pill span {
	display: inline-flex; align-items: center; padding: 10px 16px; border: 1.5px solid var(--ee-border); border-radius: 999px; background: var(--ee-surface);
	font-size: 15px; font-weight: 500; color: var(--ee-text); transition: all .15s; line-height: 1.2;
}
.ee-opt--pill:hover span { border-color: color-mix(in srgb, var(--ee-primary) 55%, var(--ee-border)); }
.ee-opt--pill input:checked + span { border-color: var(--ee-primary); background: var(--ee-primary); color: var(--ee-on-primary); }
.ee-opt--pill input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ee-primary) 30%, transparent); }

.ee-input {
	display: block; width: 100%; min-height: var(--ee-input-h); padding: 12px 14px; margin: 0; background: var(--ee-surface); color: var(--ee-text);
	border: 1px solid var(--ee-border); border-radius: calc(var(--ee-radius) - 4px); font: inherit; font-size: 16px; line-height: 1.4; box-shadow: none;
	transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
.ee-input:focus { outline: 0; border-color: var(--ee-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ee-primary) 18%, transparent); }
.ee-textarea { min-height: 110px; resize: vertical; }
.ee-select-wrap { position: relative; }
.ee-select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border: solid var(--ee-muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.ee-select-wrap .ee-input { padding-right: 40px; }

.ee-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ee-quick-btn {
	display: inline-flex !important; align-items: center; gap: 8px; padding: 8px 12px !important; border: 1.5px solid var(--ee-border) !important; border-radius: 999px !important;
	background: var(--ee-surface) !important; color: var(--ee-text) !important; font: inherit; font-size: 14px !important; font-weight: 500; cursor: pointer; line-height: 1.2; transition: all .15s;
}
.ee-quick-btn:hover { border-color: color-mix(in srgb, var(--ee-primary) 55%, var(--ee-border)) !important; }
.ee-quick-btn.is-active { border-color: var(--ee-primary) !important; background: var(--ee-selected) !important; }

.ee-consent { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; color: var(--ee-muted); line-height: 1.5; position: relative; }
.ee-consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ee-consent .ee-opt-mark { margin-top: 1px; }
.ee-consent input:focus-visible ~ .ee-opt-mark { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ee-primary) 30%, transparent); }
.ee-consent a { color: var(--ee-primary); }

.ee-info { padding: 16px 18px; border-radius: var(--ee-radius); background: var(--ee-surface); border: 1px solid var(--ee-border); color: var(--ee-text); font-size: 15px; }
.ee-info ul { margin: 0; padding-left: 20px; }
.ee-info li { margin: 4px 0; }
.ee-info p { margin: 0 0 8px; }
.ee-info p:last-child { margin: 0; }

.ee-hp-wrap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.ee-quiz-alert { margin: 22px 0 0; padding: 12px 16px; border-radius: 10px; background: color-mix(in srgb, var(--ee-error) 10%, #fff); color: var(--ee-error); font-size: 15px; }
.ee-quiz-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; }
.ee-quiz-back { display: inline-flex !important; align-items: center; gap: 6px; background: transparent !important; border: 0 !important; color: var(--ee-muted) !important; font: inherit; font-weight: 500; padding: 10px 4px !important; cursor: pointer; }
.ee-quiz-back:hover { color: var(--ee-text) !important; }
.ee-quiz-next {
	margin-left: auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; min-width: 180px; padding: 0 28px;
	border: 1px solid transparent; border-radius: 999px; background: var(--ee-primary); color: var(--ee-on-primary); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
	transition: filter .15s, transform .05s;
}
.ee-quiz-next:hover { filter: brightness(1.08); }
.ee-quiz-next:active { transform: translateY(1px); }
.ee-quiz-next:disabled { opacity: .75; cursor: progress; }
.ee-spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ee-spin .7s linear infinite; }
.ee-quiz.is-busy .ee-spinner { display: inline-block; }
@keyframes ee-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
	.ee-quiz-actions { position: sticky; bottom: 0; margin: 24px -20px 0; padding: 12px 20px; background: var(--ee-surface-2); border-top: 1px solid var(--ee-border); z-index: 5; }
	.ee-quiz-next { flex: 1 1 auto; min-width: 0; }
}
.ee-quiz-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 18px 0 0; font-size: 13px; color: var(--ee-muted); }
.ee-quiz-notes span { display: inline-flex; align-items: center; gap: 6px; }
.ee-quiz-notes:empty { display: none; }

.ee-quiz-footer { padding: 18px 20px 26px; text-align: center; font-size: 13px; color: var(--ee-muted); border-top: 1px solid var(--ee-border); background: var(--ee-surface); }
.ee-quiz-footer p { margin: 6px 0 0; }
.ee-quiz-footer-links { display: flex; justify-content: center; gap: 18px; }
.ee-quiz-footer a { color: var(--ee-muted); text-decoration: none; }
.ee-quiz-footer a:hover { color: var(--ee-text); text-decoration: underline; }

.ee-quiz-help { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(2, 6, 23, .5); }
.ee-quiz-help-panel { position: relative; width: 100%; max-width: 480px; max-height: 85vh; overflow-y: auto; padding: 28px; border-radius: 18px; background: var(--ee-surface); color: var(--ee-text); box-shadow: 0 30px 80px rgba(2, 6, 23, .35); }
.ee-quiz-help-panel h3 { margin: 0 0 12px; font-size: 20px; color: var(--ee-text); }
.ee-quiz-help-content { font-size: 15px; color: var(--ee-muted); }
.ee-quiz-help-content a { color: var(--ee-primary); }
.ee-quiz-help-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: var(--ee-surface-2) !important; color: var(--ee-text) !important; font-size: 22px; line-height: 1; cursor: pointer; }

/* ------------------------------------------------------------------
 * Results: summary
 * ---------------------------------------------------------------- */
.ee-sum-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.ee-sum-item { padding: 14px 0; border-bottom: 1px solid var(--ee-border); min-width: 0; }
.ee-sum-label { margin: 0 0 4px; font-size: 13px; color: var(--ee-muted); font-weight: 500; }
.ee-sum-value { margin: 0; font-size: 16px; font-weight: 600; color: var(--ee-text); word-wrap: break-word; }
.ee-sum--cards .ee-sum-list { gap: 12px; }
.ee-sum--cards .ee-sum-item { padding: 14px 16px; border: 1px solid var(--ee-border); border-radius: 12px; background: var(--ee-surface); }
.ee-sum-edit { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--ee-primary); font-weight: 600; text-decoration: none; }
.ee-sum-edit:hover { text-decoration: underline; }
@media (max-width: 767px) { .ee-sum-list { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
 * Results: routes
 * ---------------------------------------------------------------- */
.ee-routes { display: flex; flex-direction: column; gap: 18px; }
.ee-route { padding: 28px; border: 1px solid var(--ee-border); border-radius: 18px; background: var(--ee-surface); }
.ee-route-badge { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--ee-selected); color: var(--ee-primary); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ee-route-title { margin: 0 0 10px; font-size: 24px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: var(--ee-text); }
.ee-route-text { margin: 0 0 16px; color: var(--ee-muted); font-size: 16px; }
.ee-route-points { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.ee-route-points li { position: relative; padding-left: 30px; font-size: 15px; color: var(--ee-text); }
.ee-route-points li::before {
	content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background-color: var(--ee-primary);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 20a10 10 0 100-20 10 10 0 000 20zm4.7-12.8a1 1 0 00-1.4-1.4L8.5 10.6 6.7 8.8a1 1 0 00-1.4 1.4l2.5 2.5a1 1 0 001.4 0l5.5-5.5z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 20a10 10 0 100-20 10 10 0 000 20zm4.7-12.8a1 1 0 00-1.4-1.4L8.5 10.6 6.7 8.8a1 1 0 00-1.4 1.4l2.5 2.5a1 1 0 001.4 0l5.5-5.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ee-route-btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border: 1px solid transparent; border-radius: 999px; background: var(--ee-primary); color: var(--ee-on-primary) !important; font-weight: 700; text-decoration: none !important; transition: filter .15s; }
.ee-route-btn:hover { filter: brightness(1.08); }

/* ------------------------------------------------------------------
 * Results: score
 * ---------------------------------------------------------------- */
.ee-score { --ee-score: #16a34a; --ee-score-track: #e8edf3; display: flex; align-items: center; gap: 22px; padding: 24px; border: 1px solid var(--ee-border); border-radius: 18px; background: var(--ee-surface); }
.ee-score--mid { --ee-score: #d97706; }
.ee-score--low { --ee-score: #dc2626; }
.ee-score-ring { position: relative; flex: 0 0 auto; width: 128px; height: 128px; }
.ee-score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ee-score-track { fill: none; stroke: var(--ee-score-track); stroke-width: 10; }
.ee-score-fill { fill: none; stroke: var(--ee-score); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset 1s ease; }
.ee-score-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 800; color: var(--ee-text); letter-spacing: -.02em; }
.ee-score-num small { font-size: .5em; margin-left: 1px; color: var(--ee-muted); font-weight: 700; }
.ee-score-title { margin: 0 0 2px; font-size: 13px; color: var(--ee-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.ee-score-label { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--ee-score); }
.ee-score-text { margin: 0; font-size: 15px; color: var(--ee-muted); }
@media (max-width: 480px) { .ee-score { flex-direction: column; text-align: center; } }

/* ------------------------------------------------------------------
 * Results: empty state
 * ---------------------------------------------------------------- */
.ee-empty { padding: 48px 28px; border: 1px dashed var(--ee-border); border-radius: 20px; background: var(--ee-surface); text-align: center; }
.ee-empty-editor-note { margin: 0 0 16px; font-size: 12px; color: #92400e; background: #fef3c7; display: inline-block; padding: 4px 10px; border-radius: 6px; }
.ee-empty-title { margin: 0 0 10px; font-size: 28px; font-weight: 800; color: var(--ee-text); }
.ee-empty-text { margin: 0 auto 22px; max-width: 520px; color: var(--ee-muted); }
.ee-empty-btn { display: inline-flex; padding: 14px 28px; border-radius: 999px; background: var(--ee-primary); color: var(--ee-on-primary) !important; font-weight: 700; text-decoration: none !important; border: 1px solid transparent; }

/* ------------------------------------------------------------------
 * FAQ
 * ---------------------------------------------------------------- */
.ee-faq { display: flex; flex-direction: column; gap: 10px; }
.ee-faq-item { border: 1px solid var(--ee-border); border-radius: 14px; background: var(--ee-surface); overflow: hidden; }
.ee-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; color: var(--ee-text); }
.ee-faq-q::-webkit-details-marker { display: none; }
.ee-faq-q::marker { content: ""; }
.ee-faq-q-text { margin: 0; font-size: 17px; font-weight: 650; line-height: 1.35; color: inherit; }
.ee-faq-icon { position: relative; flex: 0 0 auto; width: 18px; height: 18px; color: var(--ee-muted); }
.ee-faq-icon::before, .ee-faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; border-radius: 2px; transform: translate(-50%, -50%); transition: transform .2s; }
.ee-faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.ee-faq-item[open] .ee-faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.ee-faq-a { padding: 0 22px 20px; color: var(--ee-muted); font-size: 16px; line-height: 1.6; }
.ee-faq-a p { margin: 0 0 10px; }
.ee-faq-a p:last-child { margin: 0; }

@media (prefers-reduced-motion: reduce) {
	.ee-quiz-screen, .ee-quiz-bar span, .ee-score-fill { animation: none; transition: none; }
}

/* ------------------------------------------------------------------
 * Route search: "grid" layout (two fields + full-width button)
 * ---------------------------------------------------------------- */
.ee-rs--grid .ee-rs-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.ee-rs--grid .ee-rs-action { grid-column: 1 / -1; }
.ee-rs--grid .ee-rs-button { width: 100%; }
@media (max-width: 767px) { .ee-rs--grid .ee-rs-fields { grid-template-columns: 1fr; } }
.ee-rs-button::after { content: ""; width: 16px; height: 16px; margin-left: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .15s; }
.ee-rs-button:hover::after { transform: translateX(3px); }

/* ------------------------------------------------------------------
 * Hero helpers — add these CSS classes in Elementor (Advanced → CSS Classes)
 *   ee-hero       on the hero container: grid pattern + soft glows
 *   ee-hero-pill  on a Heading: pill badge style
 *   <span class="ee-accent">…</span> inside a Heading: gradient text
 * ---------------------------------------------------------------- */
.e-con.ee-hero, .ee-hero {
	--ee-hero-bg: #060a14;
	background-image:
		radial-gradient(620px 420px at 88% 8%, rgba(37, 99, 235, .32), transparent 70%),
		radial-gradient(520px 380px at 4% 96%, rgba(124, 58, 237, .20), transparent 70%),
		radial-gradient(ellipse 90% 75% at 50% 35%, transparent 35%, var(--ee-hero-bg) 88%),
		linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: auto, auto, auto, 56px 56px, 56px 56px;
	background-position: 0 0, 0 0, 0 0, -1px -1px, -1px -1px;
}
.ee-accent { background: linear-gradient(92deg, #60a5fa 0%, #818cf8 55%, #c084fc 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ee-hero-pill .elementor-heading-title { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.ee-pill-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); flex: 0 0 auto; }

/* ------------------------------------------------------------------
 * Hero assessment card
 * ---------------------------------------------------------------- */
.ee-hp { --ee-primary: #2563eb; --ee-text: #0b1220; --ee-muted: #5b6475; position: relative; width: 100%; max-width: 460px; margin-left: auto; margin-right: auto; padding: 22px 0; }
.ee-hp *, .ee-hp *::before { box-sizing: border-box; }
.ee-hp-card { position: relative; z-index: 1; padding: 24px; border-radius: 22px; background: #ffffff; color: var(--ee-text); box-shadow: 0 40px 90px rgba(2, 6, 23, .45), 0 0 0 1px rgba(255, 255, 255, .08); transform: rotate(-1.2deg); transition: transform .3s ease; }
.ee-hp:hover .ee-hp-card { transform: rotate(0deg); }
.ee-hp-card.is-pulse, .ee-hp.is-pulse .ee-hp-card { animation: ee-hp-pulse .5s ease; }
.ee-hp.is-pulse .ee-hp-route { animation: ee-hp-pulse .5s ease; }
@keyframes ee-hp-pulse { 0% { transform: scale(.985); } 60% { transform: scale(1.01); } 100% { transform: scale(1); } }
.ee-hp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ee-hp-kicker { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ee-muted); }
.ee-hp-badge { padding: 4px 10px; border-radius: 999px; background: #eef4ff; color: var(--ee-primary); font-size: 12px; font-weight: 700; }
.ee-hp-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 16px; border-radius: 16px; background: #f5f7fb; }
.ee-hp-place { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ee-hp-place[data-role="to"] { text-align: right; align-items: flex-end; }
.ee-hp-label { font-size: 12px; color: var(--ee-muted); }
.ee-hp-country { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.ee-hp-flag:empty { display: none; }
.ee-hp-name { font-size: 17px; font-weight: 750; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ee-text); }
.ee-hp-place.is-empty .ee-hp-name { color: var(--ee-muted); font-weight: 600; }
.ee-hp-plane { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ee-primary); color: #fff; transform: rotate(90deg); box-shadow: 0 8px 20px color-mix(in srgb, var(--ee-primary) 40%, transparent); }
.ee-hp-score { display: flex; align-items: center; gap: 14px; margin: 18px 0 8px; }
.ee-hp-ring { position: relative; width: 56px; height: 56px; flex: 0 0 auto; }
.ee-hp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ee-hp-ring-track { fill: none; stroke: #e8edf3; stroke-width: 6; }
.ee-hp-ring-fill { fill: none; stroke: #16a34a; stroke-width: 6; stroke-linecap: round; }
.ee-hp-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; color: var(--ee-text); }
.ee-hp-score-text { display: flex; flex-direction: column; line-height: 1.3; }
.ee-hp-score-text span { font-size: 12px; color: var(--ee-muted); }
.ee-hp-score-text strong { font-size: 15px; color: var(--ee-text); }
.ee-hp-rows { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 2px; font-size: 14px; }
.ee-hp-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 10px 2px; border-top: 1px solid #eef1f5; }
.ee-hp-row:first-child { border-top: 0; }
.ee-hp-ico { width: 20px; height: 20px; border-radius: 50%; background-color: #16a34a; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 20a10 10 0 100-20 10 10 0 000 20zm4.7-12.8a1 1 0 00-1.4-1.4L8.5 10.6 6.7 8.8a1 1 0 00-1.4 1.4l2.5 2.5a1 1 0 001.4 0l5.5-5.5z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 20a10 10 0 100-20 10 10 0 000 20zm4.7-12.8a1 1 0 00-1.4-1.4L8.5 10.6 6.7 8.8a1 1 0 00-1.4 1.4l2.5 2.5a1 1 0 001.4 0l5.5-5.5z'/%3E%3C/svg%3E") center/contain no-repeat; }
.ee-hp-row--warn .ee-hp-ico { background-color: #d97706; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 20a10 10 0 100-20 10 10 0 000 20zm-1-15h2v6H9V5zm0 8h2v2H9v-2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 20a10 10 0 100-20 10 10 0 000 20zm-1-15h2v6H9V5zm0 8h2v2H9v-2z'/%3E%3C/svg%3E"); }
.ee-hp-row--info .ee-hp-ico { background-color: var(--ee-primary); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 20a10 10 0 100-20 10 10 0 000 20zm-1-11h2v6H9V9zm0-4h2v2H9V5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 20a10 10 0 100-20 10 10 0 000 20zm-1-11h2v6H9V9zm0-4h2v2H9V5z'/%3E%3C/svg%3E"); }
.ee-hp-row-label { color: var(--ee-text); font-weight: 550; min-width: 0; }
.ee-hp-row-value { color: var(--ee-muted); font-size: 13px; white-space: nowrap; }
.ee-hp-foot { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed #e3e7ee; font-size: 12px; color: var(--ee-muted); }
.ee-hp-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: ee-live 1.8s ease-in-out infinite; }
@keyframes ee-live { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .45); } 50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); } }
.ee-hp-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: rgba(15, 23, 42, .82); color: #e2e8f0; font-size: 13px; font-weight: 600; white-space: nowrap; border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); box-shadow: 0 16px 40px rgba(2, 6, 23, .35); animation: ee-float 6s ease-in-out infinite; }
.ee-hp-chip svg { color: #4ade80; }
.ee-hp-chip--1 { top: -4px; left: -34px; }
.ee-hp-chip--2 { bottom: -2px; right: -26px; animation-delay: -3s; }
.ee-hp-chip--2 svg { color: #93c5fd; }
@keyframes ee-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1024px) { .ee-hp-chip--1 { left: -8px; } .ee-hp-chip--2 { right: -8px; } }
@media (max-width: 767px) {
	.ee-hp-card { transform: none; padding: 18px; }
	.ee-hp-chips-mobile-yes .ee-hp-chip { display: none; }
	.ee-hp-name { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .ee-hp-chip, .ee-hp-live { animation: none; } .ee-hp-card { transform: none; } }
