/* ONGC SweetAlert2 — same look as login page (all app pages) */

.swal2-container {
  z-index: 20000 !important;
}

div:where(.swal2-container).swal2-backdrop-show {
  background: rgba(11, 17, 32, 0.78) !important;
}

.ongc-swal-popup {
  width: 340px !important;
  max-width: calc(100vw - 2rem) !important;
  border-radius: 14px !important;
  background: rgba(17, 24, 39, 0.97) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45) !important;
  padding: 1.3rem 1rem 1.1rem !important;
  color: #e6edf3 !important;
}

.ongc-swal-title {
  color: #f9fafb !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  padding: 0.25rem 0 0 !important;
}

.ongc-swal-text {
  color: #9ca3af !important;
  font-size: 0.86rem !important;
}

.ongc-swal-icon.swal2-warning {
  border-color: #f59e0b !important;
  color: #f59e0b !important;
}

.ongc-swal-icon.swal2-error {
  border-color: #f25b6b !important;
  color: #f25b6b !important;
}

.ongc-swal-icon.swal2-success {
  border-color: #10b981 !important;
  color: #10b981 !important;
}

.ongc-swal-icon.swal2-info {
  border-color: #3b82f6 !important;
  color: #3b82f6 !important;
}

.ongc-swal-icon.swal2-question {
  border-color: #3b82f6 !important;
  color: #3b82f6 !important;
}

.ongc-swal-actions {
  gap: 0.5rem !important;
  margin-top: 0.85rem !important;
}

.ongc-swal-button {
  border: 0 !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
  color: #f9fafb !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.6rem !important;
  box-shadow: none !important;
  margin: 0 0.15rem !important;
}

.ongc-swal-button:hover,
.ongc-swal-button:focus {
  filter: brightness(1.06);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.45) !important;
}

.ongc-swal-button--danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
}

.ongc-swal-button--danger:hover,
.ongc-swal-button--danger:focus {
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.35) !important;
}

.ongc-swal-cancel-button {
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  color: #b8c4d4 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.4rem !important;
  box-shadow: none !important;
  margin: 0 0.15rem !important;
}

.ongc-swal-cancel-button:hover,
.ongc-swal-cancel-button:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}

.ongc-swal-popup .swal2-close {
  color: #8b9aab !important;
}

.ongc-swal-popup .swal2-close:hover {
  color: #ffffff !important;
}
