
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  text-align: center;
  position: relative;
  max-height: 80vh; /* Set height constraint */
  overflow-y: auto; /* Better for vertical scrolling */
}

.popup-content h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #000;
}

.popup-content input {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  font-size: 16px;
  background-color: white;
  color: black;
  border: 1px solid #ccc;
  border-radius: 5px;

}

.popup-content button {
  width: 100%;
  padding: 12px;
  background: var(--brand-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: black;
}

/* New styles for horizontally distributed radio buttons and their labels */
#helppricingContainer-form > div {
  /* This div is the container for the radio options in the form */
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  align-items: center;
}

#helppricingContainer-form > div > label {
  /* The first child label spans all 3 columns */
  grid-column: 1 / -1;
  text-align: left;
  margin-bottom: 8px;
  color: black
}

#helppricingContainer-form > div > div > label {
  /* Ensure radio button labels are black */
  color: black;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* spacing between checkbox and label */
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.checkbox-container input[type="checkbox"] {
  margin: 0; /* remove default spacing */
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-container label {
  cursor: pointer;
}


.radio-container {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* spacing between checkbox and label */
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.radio-container input[type="radio"] {
  margin: 0; /* remove default spacing */
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.radio-container label {
  cursor: pointer;
}

.extra-input {
  margin-top: 1rem;
  display: flex; 
  flex-direction: column;
}
.extra-input textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical; /* allows only vertical resize */
  min-height: 60px;
  max-height: 300px;
  color: black;
  background-color: white;
}