/* Custom Modal Styling */
.custom-modal {
  display: none; /* Hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.custom-modal.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 28px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.custom-modal.show .modal-content {
  transform: translateY(0);
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: #fff1f2;
  color: #e11d48;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

.modal-content h3 { 
  margin-bottom: 10px; 
  font-weight: 700; 
}
.modal-content p { 
  color: #64748b; 
  font-size: 14px; 
  margin-bottom: 25px; 
  line-height: 1.5; 
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-btn {
  flex: 1;
  padding: 14px;
  border-radius: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.modal-btn.primary {
  background: #2563eb;
  color: white;
}
.modal-btn.primary:hover {
  background: #1e40af;
}

.modal-btn.secondary {
  background: #f1f5f9;
  color: #64748b;
}
.modal-btn.secondary:hover {
  background: #e2e8f0;
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}