/* Chatbot widget — semleges stílus, a színeket a fájl elején tudod az oldalhoz igazítani */
.cb {
  --cb-alap: #1f1d1a;
  --cb-hatter: #fffdf8;
  --cb-kiemel: #e8573f;
  --cb-halvany: #f1ece2;
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  font-family: "Instrument Sans", system-ui, sans-serif; font-size: .95rem;
}
.cb button { font: inherit; cursor: pointer; }
.cb-nyito {
  background: var(--cb-kiemel); color: #fff; border: 0; border-radius: 999px;
  padding: .7rem 1.2rem; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.cb-ablak {
  position: absolute; right: 0; bottom: 3.6rem;
  width: min(22rem, calc(100vw - 2rem)); height: min(28rem, 70vh);
  display: flex; flex-direction: column;
  background: var(--cb-hatter); color: var(--cb-alap);
  border: 2px solid var(--cb-alap); border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.cb-ablak[hidden] { display: none; }
.cb-fej {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem .9rem; background: var(--cb-alap); color: var(--cb-hatter); font-weight: 600;
}
.cb-zar { background: none; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; }
.cb-uzenetek { flex: 1; overflow-y: auto; padding: .8rem; display: flex; flex-direction: column; gap: .5rem; }
.cb-msg { margin: 0; padding: .55rem .8rem; border-radius: 12px; max-width: 85%; line-height: 1.4; }
.cb-bot { background: var(--cb-halvany); align-self: flex-start; }
.cb-te { background: var(--cb-alap); color: var(--cb-hatter); align-self: flex-end; }
.cb-msg a { color: var(--cb-kiemel); font-weight: 600; }
.cb-jelzes { font-size: .85rem; opacity: .8; align-self: flex-start; }
.cb-jelzes button {
  margin-left: .3rem; background: none; border: 1px solid currentColor;
  border-radius: 999px; padding: .1rem .6rem;
}
.cb-urlap { display: flex; border-top: 2px solid var(--cb-alap); }
.cb-urlap input { flex: 1; border: 0; padding: .7rem; font: inherit; background: transparent; color: inherit; min-width: 0; }
.cb-urlap input:focus { outline: 2px solid var(--cb-kiemel); outline-offset: -2px; }
.cb-urlap button { border: 0; background: var(--cb-kiemel); color: #fff; padding: 0 1rem; font-weight: 600; }
