.modal-bg {
  position: fixed; z-index: 99999; inset: 0;
  background: rgba(30,41,59,0.65);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh;
}
.modal-box {
  background: #fff;
  padding: 2.2rem 1.7rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  text-align: center;
  max-width: 98vw; width: 410px;
  animation: modalFadeIn 0.45s;
  font-family: "Inter", sans-serif;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95);}
  to { opacity: 1; transform: scale(1);}
}
.modal-box h2 {
  font-size: 1.28rem; margin-bottom: 0.8rem; font-weight: 700;
}
.modal-box.success h2 { color: #10b981; }
.modal-box.error h2   { color: #ef4444; }
.modal-box p, .modal-box ul { font-size: 1.12rem; }
.btn-vissza {
  display: inline-block;
  background: linear-gradient(90deg, #3b82f6 60%, #06b6d4 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 0.85rem 2.1rem;
  border-radius: 0.85rem;
  border: none;
  box-shadow: 0 2px 8px rgba(59,130,246,0.09);
  cursor: pointer;
  transition: background 0.2s, transform 0.14s;
  text-decoration: none;
  margin-top: 0.5rem;
}
.btn-vissza:hover {
  background: linear-gradient(90deg, #2563eb 70%, #0891b2 100%);
  transform: scale(1.04);
}
@media (max-width: 600px) {
  .modal-box {
    width: 97vw !important;
    max-width: 98vw !important;
    padding: 2.2rem 0.6rem !important;
    border-radius: 1.2rem !important;
    font-size: 1.18rem !important;
  }
  .modal-box h2 { font-size: 1.22rem !important;}
  .modal-box p, .modal-box ul { font-size: 1.11rem !important;}
  .btn-vissza { font-size: 1.12rem !important; padding: 1rem 2.3rem !important;}
}
