.kor-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}
.kor-overlay.kor-show {
  opacity: 1;
  pointer-events: auto;
}
.kor-popup {
  background: #fff;
  max-width: 420px;
  width: 90%;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  text-align: center;
}
.kor-popup p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}
.kor-actions a,
.kor-actions button {
  display: inline-block;
  margin: 5px;
  padding: 12px 18px;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s;
  border: none;
}
.kor-clear { background: #d9534f; color: #fff; }
.kor-clear:hover { background: #c9302c; }
.kor-back  { background: #0275d8; color: #fff; }
.kor-back:hover  { background: #025aa5; }
.kor-close { background: #6c757d; color: #fff; }
.kor-close:hover { background: #5a6268; }

@media (max-width: 480px) {
  .kor-popup { padding: 16px; }
  .kor-actions a, .kor-actions button { width: 100%; margin-top: 10px; }
}