/* Alfacon Hub Chat. Όλα κάτω από το #ahc-root, για να μη συγκρούονται με το θέμα του site. */
#ahc-root {
  --ahc-ink: #101b33;
  --ahc-cobalt: #1d4e9e;
  --ahc-ochre: #e2a32b;
  --ahc-line: #dce2ec;
  --ahc-paper: #f2f4f8;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99990;
  font-family: "Commissioner", "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #16213a;
}
#ahc-root *, #ahc-root *::before, #ahc-root *::after { box-sizing: border-box; }
#ahc-root [hidden] { display: none !important; }

#ahc-root .ahc-launcher {
  position: relative;
  display: block;
  margin-left: auto;
  padding: 11px 20px;
  border: 0;
  border-bottom: 3px solid var(--ahc-ochre);
  border-radius: 8px;
  background: var(--ahc-ink);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 27, 51, 0.28);
}
#ahc-root .ahc-launcher:hover { background: #18274a; }
#ahc-root .ahc-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ahc-ochre);
  border: 2px solid #fff;
}

#ahc-root .ahc-panel {
  display: flex;
  flex-direction: column;
  width: 350px;
  max-width: calc(100vw - 40px);
  height: 480px;
  max-height: calc(100vh - 110px);
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--ahc-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(16, 27, 51, 0.24);
}
#ahc-root .ahc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--ahc-ink);
  color: #fff;
  border-bottom: 3px solid var(--ahc-ochre);
}
#ahc-root .ahc-title {
  margin: 0;
  padding: 0;
  font-family: "GFS Didot", Georgia, serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
}
#ahc-root .ahc-close {
  border: 0;
  background: transparent;
  color: #b9c3d8;
  font-size: 24px;
  line-height: 1;
  padding: 0 4px;
  cursor: pointer;
}
#ahc-root .ahc-close:hover { color: #fff; }

#ahc-root .ahc-start {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 16px;
  overflow-y: auto;
}
#ahc-root .ahc-intro { margin: 0 0 4px; color: #5b6780; }
#ahc-root input[type="text"],
#ahc-root input[type="email"],
#ahc-root input[type="tel"],
#ahc-root textarea {
  width: 100%;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid var(--ahc-line);
  border-radius: 7px;
  background: #fff;
  color: inherit;
  font: inherit;
  box-shadow: none;
}
#ahc-root textarea { resize: none; }
#ahc-root .ahc-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#ahc-root .ahc-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: #5b6780; cursor: pointer; }
#ahc-root .ahc-consent input { margin: 3px 0 0; flex: none; }
#ahc-root .ahc-error { margin: 0; color: #b3261e; font-size: 13px; }
#ahc-root .ahc-primary {
  padding: 9px 16px;
  border: 0;
  border-radius: 7px;
  background: var(--ahc-cobalt);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
#ahc-root .ahc-primary:hover { background: #17407f; }
#ahc-root .ahc-primary:disabled { opacity: 0.6; cursor: default; }

#ahc-root .ahc-chat { display: flex; flex-direction: column; flex: 1; min-height: 0; }
#ahc-root .ahc-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: var(--ahc-paper);
}
#ahc-root .ahc-msg { max-width: 86%; padding: 8px 11px; border-radius: 10px; border: 1px solid var(--ahc-line); background: #fff; }
#ahc-root .ahc-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
#ahc-root .ahc-who { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 600; color: #5b6780; }
#ahc-root .ahc-mine { align-self: flex-end; background: #e6eefb; border-color: #c9d9f3; }
#ahc-root .ahc-theirs { align-self: flex-start; }
#ahc-root .ahc-note { margin: 0; padding: 6px 14px; font-size: 12.5px; color: #5b6780; background: #fff; border-top: 1px solid var(--ahc-line); }
#ahc-root .ahc-send { display: flex; gap: 8px; align-items: flex-end; margin: 0; padding: 10px; border-top: 1px solid var(--ahc-line); background: #fff; }
#ahc-root .ahc-send textarea { flex: 1; }

#ahc-root button:focus-visible,
#ahc-root input:focus-visible,
#ahc-root textarea:focus-visible { outline: 2px solid var(--ahc-ochre); outline-offset: 2px; }

@media (max-width: 480px) {
  #ahc-root { right: 12px; bottom: 12px; }
  #ahc-root .ahc-panel { width: calc(100vw - 24px); height: calc(100vh - 96px); }
}
