/* cyah chatbox in ChatGPT-stijl (vervangt het zoekveld) */
.gc { position: relative; z-index: 30; max-width: 920px; }
.gc__panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.gc__head {
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px 12px 20px; border-bottom: 1px solid #E8EDF5;
}
.gc__title { display: flex; align-items: center; gap: 10px; font: 700 .98rem/1.2 var(--font-head); }
.gc__title img { width: 26px; height: 26px; }
.gc__title small { display: block; font: 500 .78rem/1.2 var(--font-body); color: var(--ink-70); }
.gc__live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 5px; vertical-align: 1px; }
.gc__reset {
  all: unset; white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font: 600 .85rem/1 var(--font-body); color: var(--ink); padding: 8px 12px; border-radius: 999px;
}
.gc__reset:hover { background: #EEF2FA; }

.gc__thread { display: none; max-height: min(62vh, 620px); min-height: 220px; overflow-y: auto; padding: 22px 22px 6px; scroll-behavior: smooth; }
.gc.is-active .gc__head { display: flex; }
.gc.is-active .gc__thread { display: block; }
.gc.is-active .gc__suggest { display: none; }

.gc-msg { display: flex; gap: 12px; margin: 0 0 20px; }
.gc-msg--user { justify-content: flex-end; }
.gc-bubble {
  max-width: 78%; background: #EEF2F8; color: var(--ink); padding: 10px 16px;
  border-radius: 22px; font-size: .97rem; line-height: 1.5; white-space: normal; overflow-wrap: anywhere;
}
.gc-avatar { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; }
.gc-avatar img { width: 20px; height: 20px; }
.gc-body { flex: 1; min-width: 0; font-size: .97rem; line-height: 1.6; color: var(--ink); padding-top: 3px; overflow-wrap: anywhere; }
.gc-body > :first-child { margin-top: 0; }
.gc-body > :last-child { margin-bottom: 0; }
.gc-body p { margin: 0 0 .7em; }
.gc-body ul, .gc-body ol { padding-left: 1.3em; margin: .3em 0 .8em; }
.gc-body li { margin: .25em 0; }
.gc-body h1, .gc-body h2, .gc-body h3, .gc-body h4 { font: 700 1.02rem/1.3 var(--font-head); margin: 1em 0 .4em; }
.gc-body a { color: var(--teal); font-weight: 600; }
.gc-body strong { font-weight: 700; }
.gc-body img { display: block; max-width: min(100%, 300px); max-height: 170px; object-fit: cover; border-radius: 12px; margin: 6px 0; }
.gc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: .4em 0 .9em; max-width: 640px; }
.gc-gallery img { width: 100%; height: 130px; margin: 0; background: #EEF2F8; }
.gc-body table { border-collapse: collapse; font-size: .9rem; margin: .6em 0; display: block; overflow-x: auto; }
.gc-body th, .gc-body td { border-bottom: 1px solid #E8EDF5; padding: 6px 10px; text-align: left; }
.gc-body code { background: #EEF2FA; padding: 1px 5px; border-radius: 6px; font-size: .88em; }
.gc-msg--error .gc-body { color: var(--coral); }
.gc-status { color: var(--ink-70); font-size: .92rem; margin-left: 10px; }
.gc-dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.gc-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: gcdot 1.2s infinite ease-in-out; }
.gc-dots i:nth-child(2) { animation-delay: .15s; }
.gc-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes gcdot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }

/* composer */
.gc__form { padding: 12px; }
.gc.is-active .gc__form { padding-top: 6px; }
.gc__composer {
  display: flex; flex-direction: column; gap: 6px; background: #fff;
  border: 1px solid #E3E8F2; border-radius: 26px; padding: 12px 12px 10px 20px;
  box-shadow: 0 1px 2px rgba(11, 30, 79, .04); transition: border-color .15s, box-shadow .15s;
}
.gc__composer:focus-within { border-color: #B9CCF5; box-shadow: 0 0 0 4px rgba(22, 96, 232, .12); }
.gc__input {
  all: unset; display: block; width: 100%; min-height: 28px; max-height: 200px; overflow-y: auto;
  font: 400 1.05rem/1.55 var(--font-body); color: var(--ink); resize: none; padding: 4px 0;
}
.gc__input::placeholder { color: #7C869C; }
.gc__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.gc__tools { display: flex; gap: 6px; flex-wrap: wrap; margin-left: -8px; }
.gc__tool {
  all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  font: 500 .86rem/1 var(--font-body); color: var(--ink-70); padding: 8px 12px;
  border: 1px solid #E6EBF5; border-radius: 999px;
}
.gc__tool:hover { background: #F1F5FC; color: var(--ink); }
.gc__send {
  all: unset; cursor: pointer; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center; transition: opacity .15s, background .15s;
}
.gc__send:hover:not(:disabled) { background: var(--teal-dark); }
.gc__send:disabled { opacity: .25; cursor: default; }
.gc__note { text-align: center; font-size: .78rem; color: var(--ink-70); margin: 8px 0 2px; }

.gc__suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.gc__chip {
  all: unset; cursor: pointer; font: 500 .9rem/1.25 var(--font-body); color: var(--ink);
  background: rgba(255, 255, 255, .85); border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px;
}
.gc__chip:hover { background: #fff; border-color: #C9D1E0; }

/* compacte variant op subpagina's: stuurt door naar de chat op de homepage */
.gc--compact { margin: 0 auto; }
.gc--compact .gc__panel { box-shadow: var(--shadow-sm); }

@media (max-width: 640px) {
  .gc__thread { padding: 16px 14px 4px; max-height: 66vh; }
  .gc-bubble { max-width: 88%; }
  .gc-gallery { grid-template-columns: repeat(2, 1fr); }
  .gc-gallery img { height: 110px; }
  .gc__composer { padding-left: 16px; }
  .gc__tool span { display: none; }
  .gc__title small { display: none; }
  .gc__head { padding: 10px 10px 10px 16px; }
}

/* ---------- vluchtkaarten (```flights-blok van de bot) ---------- */
.fc-list { display: grid; gap: 14px; margin: .6em 0 1em; max-width: 760px; }
.fc-card { display: grid; grid-template-columns: 1fr 190px; background: #fff; border: 1px solid #DCE6F0; border-radius: 18px; overflow: hidden; box-shadow: 0 4px 14px rgba(11, 30, 79, .06); }
.fc-legs { position: relative; }
.fc-badge { position: absolute; top: 12px; left: 0; background: var(--amber); color: var(--ink); font: 800 .72rem/1 var(--font-head); letter-spacing: .04em; text-transform: uppercase; padding: 7px 12px 7px 14px; border-radius: 0 8px 8px 0; z-index: 1; }
.fc-leg { padding: 14px 18px 16px; }
.fc-leg + .fc-leg { border-top: 1px solid #E6EDF4; }
.fc-legs .fc-badge + .fc-leg .fc-leghead { padding-left: 118px; }
.fc-leghead { font-size: .85rem; color: var(--ink-70); margin-bottom: 8px; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.fc-leghead strong { color: var(--ink); }
.fc-fare { background: var(--teal-100); color: var(--teal-dark); padding: 1px 8px; border-radius: 999px; font-size: .75rem; }
.fc-date { margin-left: auto; }
.fc-legrow { display: grid; grid-template-columns: 40px auto 1fr auto auto; align-items: center; gap: 14px; }
.fc-logo { width: 40px; height: 40px; border: 1px solid #E6EDF4; border-radius: 10px; display: grid; place-items: center; overflow: hidden; font-weight: 700; color: var(--teal); background: #fff; }
.fc-logo img { width: 30px; height: 30px; object-fit: contain; margin: 0; max-height: none !important; }
.fc-pt { display: flex; flex-direction: column; line-height: 1.2; text-align: right; min-width: 70px; }
.fc-pt--end { text-align: left; }
.fc-pt b { font: 700 1.45rem/1.1 var(--font-head); color: var(--ink); }
.fc-pt b sup { font-size: .7rem; color: var(--coral); margin-left: 2px; }
.fc-pt span { font-size: .85rem; color: var(--ink-70); font-weight: 600; }
.fc-pt small { font-size: .8rem; color: var(--ink-70); }
.fc-line { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 90px; }
.fc-line i { display: block; width: 100%; height: 2px; background: var(--teal); position: relative; }
.fc-line i::before, .fc-line i::after { content: ""; position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.fc-line i::before { left: -2px; } .fc-line i::after { right: -2px; }
.fc-dur { font-size: .8rem; color: var(--ink-70); }
.fc-stops { font-size: .72rem; font-weight: 600; color: var(--green); border: 1px solid #9fd0b4; background: #eef8f2; padding: 1px 8px; border-radius: 6px; }
.fc-stops.is-stop { color: #9a5a00; border-color: #f3d29c; background: var(--amber-100); }
.fc-bags { display: flex; gap: 8px; background: #F3F6FA; border-radius: 10px; padding: 6px 10px; }
.fc-bag { display: inline-flex; align-items: center; gap: 3px; font-size: .85rem; color: var(--teal-dark); }
.fc-bag svg { width: 16px; height: 16px; }
.fc-bag.is-none { color: #9fb2c4; }
.fc-side { border-left: 1px solid #E6EDF4; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; text-align: center; background: #FBFCFE; }
.fc-price { color: var(--teal-dark); line-height: 1; white-space: nowrap; }
.fc-int { font: 800 2rem/1 var(--font-head); }
.fc-frac { font: 700 .95rem/1 var(--font-head); vertical-align: top; }
.fc-cur { font: 700 1.1rem/1 var(--font-head); margin-left: 4px; }
.fc-price sup { font-size: .8rem; }
.fc-pp { font-size: .85rem; color: var(--ink-70); margin-top: 2px; }
.fc-tot { font-size: .75rem; color: var(--ink-70); margin-top: 2px; }
.fc-btn { margin-top: 12px; background: var(--amber); color: var(--ink); border: 0; border-radius: 12px; padding: 10px 22px; font: 700 .95rem var(--font-head); cursor: pointer; box-shadow: 0 4px 10px rgba(255, 194, 38, .35); }
.fc-btn:hover { background: #e59a2b; }
.fc-note { font-size: .78rem; color: var(--ink-70); margin: 0; }
@media (max-width: 720px) {
  .fc-card { grid-template-columns: 1fr; }
  .fc-side { border-left: 0; border-top: 1px solid #E6EDF4; flex-direction: row; flex-wrap: wrap; gap: 6px 10px; justify-content: space-between; }
  .fc-btn { margin-top: 0; }
  .fc-legrow { grid-template-columns: 34px auto 1fr auto; gap: 10px; }
  .fc-bags { grid-column: 2 / -1; justify-self: start; }
  .fc-logo { width: 34px; height: 34px; }
  .fc-pt b { font-size: 1.2rem; }
}
.gc-body { min-width: 0; }
.fc-list, .fc-card > * { min-width: 0; }
@media (max-width: 720px) {
  .fc-leg { padding: 12px 12px 14px; }
  .fc-pt { min-width: 0; }
  .fc-line { min-width: 50px; }
  .fc-pt b { font-size: 1.1rem; }
  .fc-legs .fc-badge + .fc-leg .fc-leghead { padding-left: 0; padding-top: 22px; }
  .fc-date { margin-left: 0; width: 100%; }
}
