
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal {
  background: #fff;
  padding: 20px 30px;
  border-radius: 10px;
  min-width: 300px;
  position: relative;
  text-align: center;
  transform: translateY(-50px);
  opacity: 0;
  animation: slideIn 0.4s forwards;
}
.modal .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #999;
}
.buttons {
  margin-top: 20px;
}
.buttons button {
  padding: 8px 16px;
  margin: 0 8px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}
.ok-btn {
  background: #4caf50;
  color: #fff;
}
.cancel-btn {
  background: #f44336;
  color: #fff;
}
@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
