.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2000;
  max-width: 90%;
  text-align: center;
}

.toast.show {
  opacity: 1;
}

.toast-success {
  background: #4caf50;
}

.toast-error {
  background: #e57373;
}

.toast-warning {
  background: #ffb74d;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
}

.modal.show {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #16213e;
  border-radius: 12px;
  padding: 24px;
  min-width: 280px;
  max-width: 90%;
  color: #e0e0e0;
}

.modal-message {
  margin-bottom: 16px;
  font-size: 16px;
}

.modal-input {
  width: 100%;
  padding: 12px;
  background: #1a1a2e;
  border: 1px solid #333;
  border-radius: 8px;
  color: #e0e0e0;
  font-size: 16px;
  margin-bottom: 16px;
}

.modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.modal-btn-cancel,
.modal-btn-ok {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
}

.modal-btn-cancel {
  background: #555;
  color: #e0e0e0;
}

.modal-btn-ok {
  background: #4fc3f7;
  color: #1a1a2e;
}
