/* ---------------------------------------------------
   RFP FORM — TWO COLUMN LAYOUT
--------------------------------------------------- */

.rfp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  font-family: Arial, sans-serif;
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.form-column {
  flex: 1;
  min-width: 280px;
}

/* ---------------------------------------------------
   FORM INPUTS, SELECTS, TEXTAREAS
--------------------------------------------------- */

.rfp-form input,
.rfp-form select,
.rfp-form textarea {
  width: 100%;
  padding: 12px;
  background: #fafafa;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.2s ease;
  color: #333;
}

.rfp-form input:focus,
.rfp-form select:focus,
.rfp-form textarea:focus {
  border-color: #7a4c31;
  box-shadow: 0 0 4px rgba(122,76,49,0.4);
  outline: none;
}

/* ---------------------------------------------------
   LABELS
--------------------------------------------------- */

.rfp-form label {
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 4px;
  display: block;
  color: #333;
}

/* ---------------------------------------------------
   CHECKBOX GROUP
--------------------------------------------------- */

.checkbox-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: normal;
  cursor: pointer;
}

/* ---------------------------------------------------
   FILE INPUT
--------------------------------------------------- */

.rfp-form input[type="file"] {
  padding: 6px;
  background: #fff;
  border: 1px dashed #c7c7c7;
  cursor: pointer;
}

/* ---------------------------------------------------
   SUBMIT BUTTON
--------------------------------------------------- */

.rfp-form .button,
#thankYouPopup .button {
  background-color: #7a4c31;
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s ease;
  text-decoration: none;
}

.rfp-form .button:hover,
#thankYouPopup .button:hover {
  background-color: #6b3f28;
}

/* ---------------------------------------------------
   POPUP THANK YOU MODAL
--------------------------------------------------- */

.thank-you-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  display: none; /* JS toggles to flex */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0,0,0,0.35);
}

.popup-content h2 {
  margin-bottom: 10px;
  font-size: 26px;
  color: #333;
}

.popup-content p {
  margin-bottom: 20px;
  font-size: 16px;
}

/* ---------------------------------------------------
   RESPONSIVE BEHAVIOR
--------------------------------------------------- */

@media (max-width: 650px) {
  .two-column {
    flex-direction: column;
  }

  .form-column {
    min-width: 100%;
  }

  .rfp-form .button {
    width: 100%;
    text-align: center;
  }
}
