.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.popup.hidden {
  display: none;
}

.popup-content {
  border-radius: 0.5rem;
  padding: 0.8rem 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);

  /* Darker glassmorphic background */
  background: linear-gradient(
    315deg,
    rgba(15, 15, 30, 0.0) 0%,
    rgba(40, 40, 60, 0.95) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);

  color: #f8f8f8;
  max-width: 400px;
  width: 100%;
}

.popup-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}


/* Placeholder color for text fields */
.form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* Hover — green accent */
.form-input:hover {
  border-color: #4caf50;
}

/* Focus — green glow */
.form-input:focus {
  outline: none;
  border-color: #4caf50;
  box-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
}



/* Dark dropdown option list */
select.form-input option {
  background-color: #0f1d30 ;
  color: #ffffff ;
}

/* Hovered or selected option */
select.form-input option:hover,
select.form-input option:checked {
  background-color: #1b3a24 ;
  color: #ffffff ;
}


.form-input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: none;
}

.btn-cancel {
  color: #3e0f0f;
  border: none;
  margin-right: 1rem;
  font-weight: bold;
  text-decoration: underline;

}

.btn-submit {
  background: #007bff;
  color: #fff;
  border: none;
}

.btn-cancel:hover {
  background: #d0d0d0;
}

.btn-submit:hover {
  background: #0056b3;
}
