/* ===== Get Back on the Trails Application ===== */

.application-form{
    max-width:900px;
    margin:auto;
}

.application-form h3{
    color:#184E77;
    font-size:26px;
    margin-top:40px;
    margin-bottom:20px;
    border-bottom:2px solid #E5E7EB;
    padding-bottom:10px;
}

.application-form label{
    display:block;
    font-weight:600;
    color:#374151;
    margin-bottom:18px;
}

.application-form input,
.application-form textarea,
.application-form select{
    width:100%;
    padding:14px 16px;
    margin-top:8px;
    border:1px solid #D1D5DB;
    border-radius:10px;
    background:#F8FAFC;
    font-size:16px;
    box-sizing:border-box;
    transition:.25s;
}

.application-form textarea{
    min-height:180px;
    resize:vertical;
}

.application-form input:focus,
.application-form textarea:focus,
.application-form select:focus{
    outline:none;
    border-color:#2A9D8F;
    box-shadow:0 0 0 3px rgba(42,157,143,.15);
    background:white;
}

.form-row{
    display:flex;
    gap:20px;
}

.form-half{
    flex:1;
}

.form-third{
    flex:1;
}

.optional-text{
    color:#777;
    font-size:14px;
    font-weight:400;
}

.agreement-section{
    margin-top:35px;
}

.agreement-section label{
    display:flex;
    align-items:flex-start;
    gap:12px;
    font-weight:400;
}

.submit-wrap{
    text-align:center;
    margin-top:40px;
}

.application-form input[type=submit]{
    background:#2A9D8F;
    color:white;
    border:none;
    border-radius:8px;
    padding:16px 42px;
    font-size:18px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
    width:auto;
}

.application-form input[type=submit]:hover{
    background:#23867A;
    transform:translateY(-2px);
}

@media(max-width:768px){

.form-row{
    display:block;
}

.form-half,
.form-third{
    width:100%;
    margin-bottom:15px;
}

}


/* Volunteer signup form */
.volunteer-form {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.volunteer-grid > div {
  min-width: 0;
}

.volunteer-form input:not([type="checkbox"]),
.volunteer-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #CDBFA9;
  border-radius: 6px;
  padding: 12px;
}

.volunteer-form textarea {
  min-height: 110px;
}

.volunteer-submit {
  text-align: center;
  margin-top: 25px;
}

.volunteer-submit input[type="submit"] {
  background: #A34E24;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 15px 35px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .volunteer-grid {
    grid-template-columns: 1fr;
  }
}


/* Tighten volunteer form spacing */
.volunteer-form label {
  display: block;
  margin-bottom: 0;
}

.volunteer-form .volunteer-grid {
  row-gap: 12px;
}

.volunteer-form label input,
.volunteer-form label textarea {
  margin-top: 8px;
  margin-bottom: 0;
}

.volunteer-form .volunteer-grid p {
  margin-top: 0;
  margin-bottom: 10px;
}

.volunteer-form .volunteer-grid > div:nth-child(5) {
  padding-top: 20px;
}


/* Volunteer submit button - final styling */
.volunteer-form .volunteer-submit {
  text-align: center;
  margin-top: 35px;
  margin-bottom: 25px;
}

.volunteer-form .volunteer-submit input[type="submit"] {
  display: inline-block;
  width: auto;
  min-width: 240px;
  max-width: 100%;
  padding: 14px 30px;
  background-color: #A34E24;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Bring volunteer signup button in front of mountains */
.volunteer-form .volunteer-submit {
  position: relative;
  z-index: 10;
}

.volunteer-form .volunteer-submit input[type="submit"] {
  position: relative;
  z-index: 11;
}

