/* Floating Zalo OA — logo Zalo chuẩn (page.widget.zalo.me) */
.kh-zalo-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 14px;
  background: transparent;
  border: 0;
  box-shadow:
    0 4px 14px rgba(0, 104, 255, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
.kh-zalo-float:hover,
.kh-zalo-float:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 8px 20px rgba(0, 104, 255, 0.4),
    0 3px 8px rgba(0, 0, 0, 0.14);
  outline: none;
}
.kh-zalo-float:active {
  transform: scale(0.97);
}
.kh-zalo-float__logo {
  width: 56px;
  height: 56px;
  display: block;
  object-fit: contain;
}
.kh-zalo-float__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 640px) {
  .kh-zalo-float {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    right: max(12px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }
  .kh-zalo-float__logo {
    width: 52px;
    height: 52px;
  }
}
