/* =========================
   Overlay
========================= */
#neprb-confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65); /* slate-900 */
  backdrop-filter: blur(2px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   Modal Card
========================= */
.neprb-confirm-modal {
  background: #ffffff;
  width: 440px;
  max-width: 92%;
  border-radius: 16px;
  padding: 24px 26px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    0 4px 12px rgba(0,0,0,.08);
  animation: neprbFadeIn .28s cubic-bezier(.16,1,.3,1);
  position: relative;
}

/* Accent bar (top) */
.neprb-confirm-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #2563eb, #38bdf8);
  border-radius: 16px 16px 0 0;
}

/* =========================
   Title & Text
========================= */
.neprb-confirm-modal h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 600;
  color: #0f172a; /* slate-900 */
  letter-spacing: -0.01em;
}

.neprb-confirm-text {
  font-size: 14px;
  color: #475569; /* slate-600 */
  margin-bottom: 16px;
  line-height: 1.5;
}

/* =========================
   Email Box
========================= */
.neprb-confirm-box {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 14px;
  margin-bottom: 16px;
}

.neprb-confirm-box div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  font-size: 13px;
  padding: 6px 0;
}

.neprb-confirm-box div + div {
  border-top: 1px dashed #e5e7eb;
  margin-top: 6px;
  padding-top: 10px;
}

.neprb-confirm-box span {
  color: #64748b; /* slate-500 */
}

.neprb-confirm-box strong {
  color: #0f172a;
  font-weight: 600;
  word-break: break-all;
}

/* =========================
   Warning Text
========================= */
.neprb-confirm-warning {
  font-size: 14px;
  color: #1e293b;
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
}

/* Warning icon */
.neprb-confirm-warning::before {
  content: "⚠️";
  position: absolute;
  left: 0;
  top: 0;
}

/* =========================
   Actions
========================= */
.neprb-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Base button */
.neprb-btn {
  border: none;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s ease;
}

/* Cancel */
.neprb-btn.cancel {
  background: #e5e7eb;
  color: #374151;
}

.neprb-btn.cancel:hover {
  background: #d1d5db;
}

/* Confirm (Primary) */
.neprb-btn.confirm {
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37,99,235,.35);
}

.neprb-btn.confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(37,99,235,.45);
}

.neprb-btn.confirm:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(37,99,235,.35);
}

/* =========================
   Animation
========================= */
@keyframes neprbFadeIn {
  from {
    transform: translateY(6px) scale(.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
