/* Smart Web Push - Public CSS */
.swp-bell-container {
  position: fixed;
  z-index: 999999;
  bottom: 24px;
}

.swp-pos-bottom-right {
  right: 24px;
}

.swp-pos-bottom-left {
  left: 24px;
}

.swp-bell-button {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--swp-primary, #0284c7);
  border: none;
  outline: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.swp-bell-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.5);
}

.swp-bell-icon {
  width: 26px;
  height: 26px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.swp-subscribed .swp-bell-icon {
  color: #facc15;
}

.swp-pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--swp-primary, #0284c7);
  animation: swp-pulse 2s infinite ease-out;
  pointer-events: none;
}

.swp-subscribed .swp-pulse-ring {
  display: none;
}

@keyframes swp-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* Prompt Modal Overlay & Card (Matching eKYC Mitra Style) */
.swp-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: swp-fade-in 0.25s ease;
}

.swp-prompt-card {
  background: #ffffff;
  border-radius: 24px;
  max-width: 400px;
  width: 100%;
  padding: 24px 22px 18px 22px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.22);
  animation: swp-pop-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.swp-prompt-content {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.swp-prompt-icon-badge {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--swp-primary, #0284c7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.swp-bell-svg {
  width: 22px;
  height: 22px;
}

.swp-prompt-title {
  font-size: 15px;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.45;
  margin: 0;
}

.swp-prompt-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.swp-action-btn {
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.swp-btn-block {
  color: #1e40af;
}

.swp-btn-block:hover {
  background: #f1f5f9;
  color: #1e3a8a;
}

.swp-btn-allow {
  color: var(--swp-primary, #0284c7);
  font-weight: 700;
}

.swp-btn-allow:hover {
  background: #f0f9ff;
}

@keyframes swp-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes swp-pop-in {
  from { transform: scale(0.9) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
