.cnk-chatbox {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 180;
  font-family: "Be Vietnam Pro", sans-serif;
}
.cnk-chatbox__toggle {
  min-width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: #fff;
  background: #6e1313;
  border: 0;
  border-radius: 29px;
  box-shadow: 0 16px 38px rgba(40,20,20,.28);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}
.cnk-chatbox__toggle:hover { background: #4c0d0d; transform: translateY(-2px); }
.cnk-chatbox__toggle:active { transform: translateY(0) scale(.98); }
.cnk-chatbox__toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cnk-chatbox__contact-toggle {
  position: absolute;
  right: 0;
  bottom: 70px;
  min-width: 112px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  color: #fff;
  background: #2c6485;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 24px;
  box-shadow: 0 13px 32px rgba(12,41,73,.24);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, opacity 160ms ease, visibility 160ms;
}
.cnk-chatbox__contact-toggle:hover,
.cnk-chatbox__contact-toggle:focus-visible { background: #173f59; transform: translateY(-2px); }
.cnk-chatbox__contact-toggle:active { transform: translateY(0) scale(.98); }
.cnk-chatbox__contact-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cnk-chatbox__contact-toggle span { line-height: 1.2; }
.cnk-chatbox.is-open .cnk-chatbox__contact-toggle {
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
}
.cnk-chatbox__quick {
  position: absolute;
  right: 0;
  bottom: 128px;
  display: grid;
  gap: 8px;
  justify-items: end;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}
.cnk-chatbox.is-contact-open .cnk-chatbox__quick {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cnk-chatbox.is-open .cnk-chatbox__quick {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}
.cnk-chatbox .cnk-chatbox__contact {
  min-width: 112px;
  min-height: 44px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: center;
  padding: 6px 14px 6px 7px;
  color: #fff;
  background: #0068ff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(12,41,73,.2);
  font-size: 12px;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}
.cnk-chatbox .cnk-chatbox__contact:hover,
.cnk-chatbox .cnk-chatbox__contact:focus-visible { filter: brightness(.92); transform: translateX(-3px); }
.cnk-chatbox .cnk-chatbox__contact:active { transform: translateX(0) scale(.98); }
.cnk-chatbox__contact > span,
.cnk-chatbox__contact > svg {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 6px;
  color: #fff;
  background: rgba(255,255,255,.14);
  border-radius: 50%;
  font-weight: 800;
  line-height: 1;
}
.cnk-chatbox__contact > svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cnk-chatbox__contact--zalo > span {
  padding: 0;
  font-size: 13px;
  letter-spacing: -.04em;
}
.cnk-chatbox__contact--facebook > span {
  padding: 0 0 1px;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}
.cnk-chatbox__contact strong { font-size: 12px; }
.cnk-chatbox .cnk-chatbox__contact--zalo { background: #0068ff; }
.cnk-chatbox .cnk-chatbox__contact--phone { background: #16a34a; }
.cnk-chatbox .cnk-chatbox__contact--email { background: #ea4335; }
.cnk-chatbox .cnk-chatbox__contact--facebook { background: #1877f2; }
.cnk-chatbox__panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(360px, calc(100vw - 32px));
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  transform: translateY(12px) scale(.98);
  transform-origin: right bottom;
  background: #fff;
  border: 1px solid #dce2e5;
  box-shadow: 0 24px 70px rgba(12,41,73,.22);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.cnk-chatbox.is-open .cnk-chatbox__panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}
.cnk-chatbox__head {
  padding: 22px 22px 18px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,.1), transparent 38%),
    #173f59;
  border-top: 3px solid #6e1313;
}
.cnk-chatbox__head small {
  display: block;
  margin-bottom: 7px;
  color: #cbdbe4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cnk-chatbox__head strong {
  display: block;
  font-family: "Manrope", "Be Vietnam Pro", sans-serif;
  font-size: 19px;
  line-height: 1.35;
}
.cnk-chatbox__head p { margin: 8px 0 0; color: #dbe6ec; font-size: 12px; line-height: 1.55; }
.cnk-chatbox__links { padding: 8px; }
.cnk-chatbox__links a {
  min-height: 60px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  color: #202124;
  text-decoration: none;
  border-bottom: 1px solid #edf0f1;
}
.cnk-chatbox__links a:last-child { border-bottom: 0; }
.cnk-chatbox__links a:hover,
.cnk-chatbox__links a:focus-visible { background: #f4f7f8; }
.cnk-chatbox__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2c6485;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}
.cnk-chatbox__links a:nth-child(even) .cnk-chatbox__icon { background: #6e1313; }
.cnk-chatbox__copy strong { display: block; font-size: 12px; }
.cnk-chatbox__copy small { display: block; margin-top: 2px; color: #58595b; font-size: 10px; line-height: 1.45; }
.cnk-chatbox__arrow { color: #6e1313; font-weight: 700; }
.cnk-chatbox__foot { margin: 0; padding: 10px 18px; color: #6e1313; background: #f8efef; font-size: 10px; text-align: center; }

@media (max-width: 640px) {
  .cnk-chatbox { right: 12px; bottom: 12px; }
  .cnk-chatbox__toggle { width: 54px; min-width: 54px; height: 54px; padding: 0; }
  .cnk-chatbox__toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cnk-chatbox__panel { bottom: 64px; }
  .cnk-chatbox__contact-toggle {
    right: 0;
    bottom: 64px;
    min-width: 116px;
    height: 46px;
    padding-inline: 13px;
    border-radius: 23px;
  }
  .cnk-chatbox__quick { right: 0; bottom: 120px; }
  .cnk-chatbox .cnk-chatbox__contact {
    width: 46px;
    min-width: 46px;
    min-height: 46px;
    grid-template-columns: 1fr;
    padding: 7px;
    border-radius: 50%;
  }
  .cnk-chatbox__contact > span,
  .cnk-chatbox__contact > svg { margin: auto; }
  .cnk-chatbox__contact strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .jobs-page .cnk-chatbox { bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .cnk-chatbox__toggle,
  .cnk-chatbox__contact-toggle,
  .cnk-chatbox__panel,
  .cnk-chatbox__quick,
  .cnk-chatbox__contact { transition: none; }
}
