/* RINGING MODAL & NOTIFICATIONS */
.ringing-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 78, 59, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ringing-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.ringing-modal-card {
  background: white;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 440px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalPop 0.3s ease;
}

@keyframes modalPop {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.ringing-avatar-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem auto;
}

.ringing-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-600);
  position: relative;
  z-index: 2;
}

.ringing-pulse {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.35);
  z-index: 1;
  animation: pulseRing 1.6s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

.ringing-pulse:nth-child(2) {
  animation-delay: 0.5s;
}

@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.ringing-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.ringing-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.ringing-rate-badge {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-800);
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  font-size: 0.9rem;
  border: 1px solid var(--primary-200);
}

.ringing-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-accept {
  flex: 1;
  background: #16a34a;
  color: white;
  padding: 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4);
  transition: all 0.2s;
}

.btn-accept:hover {
  background: #15803d;
  transform: translateY(-2px);
}

.btn-decline {
  flex: 1;
  background: #ef4444;
  color: white;
  padding: 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-decline:hover {
  background: #dc2626;
  transform: translateY(-2px);
}
