
:root{
  /* BRAND (mantenha essas como “verdadeiras”) */
  --brand: #2f6bff;
  --brand-2: #293762;
  --brand-soft: #eef3ff;

  /* NEUTROS */
  --bg: #f6f8fc;
  --card: #ffffff;
  --text: #0f172a;
  --text-2: #334155;
  --muted: #64748b;
  --border: rgba(15, 23, 42, 0.10);

  /* EFEITOS */
  --shadow-sm: 0 6px 20px rgba(15,23,42,0.08);
  --shadow-md: 0 12px 34px rgba(15,23,42,0.12);
  --radius: 18px;

  --font: "Inter", sans-serif;
}


.overlay-popup_response {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(7px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 9999;
  padding: 24px;
}
.overlay-popup_response.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-response {
  position: relative;
  width: min(410px, 98vw);
  min-height: 220px;
  background: linear-gradient(120deg, #fff 80%, var(--brand-soft) 100%);
  border-radius: 20px;
  box-shadow: 0 8px 36px rgba(47,107,255,0.13), 0 1.5px 8px rgba(41,55,98,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 28px 28px 28px;
  gap: 18px;
  transform: translateY(10px) scale(0.99);
  opacity: 0.98;
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
}
.overlay-popup_response.show .popup-response {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.popup-response .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.popup-response .material-icons {
  font-size: 3.2rem;
  color: var(--brand);
  margin-bottom: 6px;
}
.popup-response h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-2);
  margin: 0 0 4px 0;
  text-align: center;
  letter-spacing: -0.01em;
}
.popup-response p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
  text-align: center;
}
.popup-response .actions {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* O botão padrão do popup não define cor, apenas padding e fonte. As cores vêm de .btn-success/.btn-error */
.popup-response .ir-login-response {
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 14px;
  padding: 12px 32px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
}

@media (max-width: 500px) {
  .popup-response {
    width: 98vw;
    min-height: 160px;
    padding: 18px 4vw 18px 4vw;
    gap: 10px;
  }
  .popup-response h2 {
    font-size: 1.08rem;
  }
  .popup-response .ir-login-response {
    font-size: 1rem;
    padding: 10px 18px;
  }
}
.icon-success {
  color: var(--brand) !important; /* azul brand */
  background: linear-gradient(135deg, #eef3ff 60%, #fff 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(47,107,255,0.10);
}
.icon-error {
  color: #ef4444 !important; /* vermelho brand */
  background: linear-gradient(135deg, #ffeaea 60%, #fff 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(239,68,68,0.10);
}

.btn-success {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 14px;
  padding: 12px 32px;
  box-shadow: 0 2px 8px rgba(47,107,255,0.10);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
}
.btn-success:hover {
  background: var(--brand-2);
  box-shadow: 0 4px 16px rgba(47,107,255,0.13);
  transform: translateY(-2px) scale(1.03);
}

.btn-error {
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  border-radius: 14px;
  padding: 12px 32px;
  box-shadow: 0 2px 8px rgba(239,68,68,0.10);
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
}
.btn-error:hover {
  background: #b91c1c;
  box-shadow: 0 4px 16px rgba(239,68,68,0.13);
  transform: translateY(-2px) scale(1.03);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}