#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

#custom-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

.popup-inner h4 {
  margin-top: 0;
}

.popup-inner input {
  width: 100%;
  padding: 8px;
  margin: 10px 0;
}

.popup-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.popup-buttons button {
  padding: 6px 12px;
}

.error {
  color: red;
  font-size: 0.9em;
  min-height: 20px;
}
