/* =========================================================
   Scam Alert - modal dialog + floating balloon
   Colors match brand: navy #1E2952, cyan #00D1FF
   ========================================================= */

/* ---- Dialog ---- */
#scam-alert-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(92vw, 480px);
  max-height: 90dvh;
  overflow-y: auto;
  border: none;
  border-radius: 16px;
  padding: 0;
  background: #fff;
  box-shadow: 0 24px 64px rgba(30, 41, 82, 0.25), 0 4px 16px rgba(30, 41, 82, 0.12);
  z-index: 10000;
}

#scam-alert-dialog::backdrop {
  background: rgba(30, 41, 82, 0.65);
  backdrop-filter: blur(4px);
}

.scam-alert-dialog__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.75rem 2rem;
  gap: 0;
  font-family: "Inter", system-ui, sans-serif;
}

.scam-alert-dialog__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff7ed;
  border: 2px solid #fed7aa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ea580c;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.scam-alert-dialog__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1E2952;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.scam-alert-dialog__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
  color: #475569;
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.scam-alert-dialog__body p {
  margin: 0;
}

.scam-alert-dialog__body strong {
  color: #1E2952;
  font-weight: 600;
}

.scam-alert-dialog__whatsapp {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: #dcfce7;
  border: 1.5px solid #86efac;
  color: #15803d;
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.scam-alert-dialog__whatsapp:hover {
  background: #bbf7d0;
  border-color: #4ade80;
}

.scam-alert-dialog__whatsapp i {
  font-size: 1.2rem;
  color: #16a34a;
  flex-shrink: 0;
}

.scam-alert-dialog__whatsapp strong {
  color: #15803d;
}

.scam-alert-dialog__note {
  font-size: 0.85rem !important;
  color: #94a3b8 !important;
  font-style: italic;
}

.scam-alert-dialog__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 10px;
  background: #1E2952;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}

.scam-alert-dialog__btn:hover {
  background: #00D1FF;
  color: #1E2952;
}

.scam-alert-dialog__btn:active {
  transform: scale(0.98);
}

.scam-alert-dialog__btn:focus-visible {
  outline: 3px solid #00D1FF;
  outline-offset: 2px;
}

/* ---- Floating balloon ---- */
.scam-alert-balloon {
  position: fixed;
  bottom: 5.75rem;
  right: 1.5rem;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #1E2952;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(30, 41, 82, 0.3), 0 2px 8px rgba(30, 41, 82, 0.15);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  user-select: none;
  animation: scam-balloon-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.scam-alert-balloon i {
  font-size: 1em;
  line-height: 1;
  color: #fbbf24;
}

.scam-alert-balloon:hover {
  background: #00D1FF;
  color: #1E2952;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 32px rgba(30, 41, 82, 0.25);
}

.scam-alert-balloon:hover i {
  color: #1E2952;
}

.scam-alert-balloon:active {
  transform: translateY(0) scale(1);
}

.scam-alert-balloon:focus-visible {
  outline: 3px solid #00D1FF;
  outline-offset: 3px;
}

@keyframes scam-balloon-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 480px) {
  .scam-alert-balloon {
    bottom: 5.75rem;
    right: 1rem;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.6rem;
  }
}
