.zalo-lead-pop {
  position: fixed;
  right: 18px;
  bottom: 260px;
  width: min(360px, calc(100vw - 28px));
  display: flex;
  gap: 10px;
  padding: 14px 14px 12px;
  background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
  border: 1px solid #fecaca;
  border-left: 5px solid #e11d2e;
  border-radius: 10px;
  box-shadow: 0 18px 45px rgba(185,28,28,.16), 0 8px 22px rgba(15,23,42,.1);
  z-index: 1032;
  opacity: 0;
  pointer-events: none;
  transform: translateX(calc(100% + 30px));
  transition: opacity .25s ease, transform .32s ease;
}

.zalo-lead-pop.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.zlp-close {
  position: absolute;
  top: 7px;
  right: 8px;
  border: 0;
  background: transparent;
  color: #991b1b;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.zlp-icon-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  margin-top: 2px;
}

.zlp-icon {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fee2e2, #ef4444);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.22rem;
  box-shadow: 0 8px 18px rgba(220,38,38,.24);
  animation: zlp-bob 1.8s ease-in-out infinite;
}

.zlp-icon-pulse {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: rgba(239,68,68,.18);
  animation: zlp-pulse 1.7s ease-out infinite;
}

@keyframes zlp-pulse {
  0% { transform: scale(.75); opacity: .9; }
  75% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

@keyframes zlp-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.zlp-body { flex: 1; min-width: 0; padding-right: 12px; }
.zlp-title { font-weight: 800; color: #991b1b; font-size: .95rem; margin-bottom: 2px; }
.zlp-text { color: #475569; font-size: .8rem; line-height: 1.35; margin-bottom: 9px; }
.zlp-form { display: flex; gap: 6px; }

.zlp-input {
  flex: 1;
  min-width: 0;
  height: 36px;
  border: 1.5px solid #cbd5e1;
  border-radius: 7px;
  padding: 0 10px;
  font-size: .88rem;
  outline: none;
}

.zlp-input:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,.12);
}

.zlp-submit {
  height: 36px;
  border: 0;
  border-radius: 7px;
  background: #e11d2e;
  color: #fff;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
  white-space: nowrap;
}

.zlp-submit:hover { background: #be123c; }
.zlp-submit:disabled { background: #94a3b8; cursor: wait; }
.zlp-note { min-height: 17px; margin-top: 6px; font-size: .72rem; color: #64748b; }
.zlp-note strong { color: #991b1b; font-weight: 700; }
.zlp-note.ok { color: #16a34a; font-weight: 600; }
.zlp-note.err { color: #dc2626; font-weight: 600; }

@media (max-width: 575.98px) {
  .zalo-lead-pop {
    right: 10px;
    left: 10px;
    bottom: 74px;
    width: auto;
    padding: 12px;
    border-left-width: 0;
    border-top: 4px solid #e11d2e;
    transform: translateY(calc(100% + 24px));
  }

  .zalo-lead-pop.is-visible { transform: translateY(0); }
  .zlp-icon,
  .zlp-icon-wrap { display: none; }
  .zlp-body { padding-right: 14px; }
  .zlp-title { font-size: .9rem; }
  .zlp-text { font-size: .76rem; }
}
