/* Overlay */
.sp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 16px;
}

/* Popup */
.sp-modal {
  width: min(640px, 100%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  font-family: inherit;
}

.sp-modal-header {
  padding: 16px 18px;
  font-weight: 700;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.sp-modal-body {
  padding: 18px;
  font-size: 16px;
  line-height: 1.45;
}

.sp-modal-actions {
  padding: 14px 18px 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.sp-btn {
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 600;
}

.sp-btn-primary {
  background: #111;
  color: #fff;
}

.sp-btn-ghost {
  background: rgba(0,0,0,0.06);
  color: #111;
}
