/* ===== EVFD Custom (DINFOS) Form Layout ===== */
.df_DINFOS .df_form{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px; /* row x column gaps */
}

/* Default field: about one-third width */
.df_DINFOS .df_form .field{
  flex: 1 1 32%;
  min-width: 260px;
  margin: 0;
  padding: 0;
}

/* Make long rows span the full width */
.df_DINFOS .df_form .field.full,
.df_DINFOS .df_form .field.long,
.g-recaptcha, 
.df_DINFOS .submit,
.df_DINFOS .subextra,
.df_DINFOS .disclaimer{
  flex: 1 1 100%;
  max-width: 100%;
}

/* Widen description textarea */
.df_DINFOS .df_form .field textarea[placeholder^="(Provide information"]{
  min-height: 180px;
}
.df_DINFOS .df_form .field textarea{
  flex: 1 1 100%;
}

/* Address block layout */
div[id*="Form_digAddrPanelctrlDig"]{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
}
.df_form .field[id*="_Form_ctrlDig"][id*="UnitDiv"],
.df_form .field[id*="_Form_ctrlDig"][id*="StreetDiv"]{
  flex: 1 1 calc(50% - 8px);
  max-width: calc(50% - 8px);
  margin: 0 0 6px 0;
}
.df_form .field[id*="_Form_ctrlDig"][id*="CityDiv"],
.df_form .field[id*="_Form_ctrlDig"][id*="RegionList"],
.df_form .field[id*="_Form_ctrlDig"][id*="PostalCode"]{
  flex: 1 1 calc(33.333% - 11px);
  max-width: calc(33.333% - 11px);
  margin: 0 0 12px 0;
}

/* Date field full width */
.df_DINFOS .df_form .field .valtDate,
.df_DINFOS .df_form .field .valtTime{
  width: 100%;
}

/* ===== Visual polish ===== */
.df_DINFOS{
  color: #222;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #f9f9f9;
}

/* Labels */
.df_DINFOS .label{
  color: #444;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 15px;
  margin: 6px 0 6px 0;
  font-weight: 600;
}

/* Required indicator */
.df_DINFOS .required_label{
  color: #ef3340;  /* USACE red for required asterisk */
  font-weight: bold;
}

/* Inputs */
.df_DINFOS .field input,
.df_DINFOS .field textarea{
  border: 1px solid #ccc;
  background: #fff;
  padding: 4px 5px;
  font-size: 15px;
  line-height: 1.4;
  border-radius: 6px;
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
}
.df_DINFOS .field input:focus,
.df_DINFOS .field textarea:focus{
  border-color: #ef3340; /* highlight in red */
  box-shadow: 0 0 0 3px rgba(239,51,64,.15);
}

/* Placeholder */
.df_DINFOS .field input::placeholder,
.df_DINFOS .field textarea::placeholder{
  color: #999;
  font-size: 13px;
}

/* Submit button */
.df_form .submit a,
.df_DINFOS button[type="submit"]{
  background: #ef3340;
  color: #fff !important;
  padding: 5px 9px;
  margin: 10px 0 30px 0;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
}
.df_form .submit a:hover,
.df_DINFOS button[type="submit"]:hover{
  background: #c52834;
}

/* Section panels */
.df_DINFOS .section{
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
  margin-bottom: 5px;
  border-radius: 8px;
  border-left: 6px solid #ef3340; /* red accent stripe */
}
.df_DINFOS .section .header{
  background-color: #f1f1f1;
  padding: 5px 7px;
  border-radius: 8px 8px 0 0;
}
.df_DINFOS .section .header h1{
  font-size: 1.2rem;
  margin: 0;
  color: #111;
  font-weight: 800; /* bolder header */
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Recaptcha */
.g-recaptcha{
  border: 0;
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px){
  .df_DINFOS .df_form .field{ min-width: 240px; }
}
@media (max-width: 720px){
  .df_DINFOS .df_form{ gap: 10px 12px; }
  .df_DINFOS .df_form .field{
    flex: 1 1 100%;
    min-width: 100%;
  }
  .df_form .field[id*="_Form_ctrlDig"]{ max-width: 100%; }
}
