/* Active Call Modal */
#activeCallModal .modal-dialog { max-width: 520px; margin: 1.75rem auto; }
#activeCallModal .modal-content {
  border-radius: 12px;
  overflow: visible;
  background: #fff;
}

/* Close button */
#activeCallModal .modal-close-btn {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: transparent;
  color: #6b6b6b;
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0.9;
  z-index: 3;
}
#activeCallModal .modal-close-btn:hover { color: #111; }

/* Icon circle (danger variant) */
#activeCallModal .call-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 30px;
  box-shadow: 0 6px 18px rgba(255, 0, 0, 0.1);
}
#activeCallModal .call-icon.danger {
  background: linear-gradient(180deg, #f5ffe5 0%, #ffd6d6 100%);
  color: #2c6ced;
}

/* Title */
#activeCallModal .modal-main-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e1e2d;
}

/* Call details card */
#activeCallModal .call-details-card {
  max-width: 420px;
  border-left: 4px solid #2c6ced;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
#activeCallModal .call-details-card p {
  color: #333;
  font-size: 0.95rem;
}

/* Primary button */
#activeCallModal .join-call-btn {
  background: linear-gradient(135deg, #2c6ced, hsl(220, 100%, 70%));
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(211,47,47,0.16);
  transition: transform .18s ease, box-shadow .18s ease;
  animation: dangerPulse 1.8s infinite;
}
#activeCallModal .join-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(211,47,47,0.25);
}
@keyframes dangerPulse {
  0% { box-shadow: 0 6px 18px rgba(80, 211, 47, 0.16); transform: scale(1); }
  50% { box-shadow: 0 12px 28px rgba(211,47,47,0.08); transform: scale(1.02); }
  100% { box-shadow: 0 6px 18px rgba(211,47,47,0.16); transform: scale(1); }
}

/* Responsivo */
@media (max-width: 576px) {
  #activeCallModal .modal-dialog { margin: 1rem; }
  #activeCallModal .modal-body { padding: 18px; }
  #activeCallModal .join-call-btn { width: 100%; }
  #activeCallModal .call-details-card { padding: 10px; }
}
