input:not([type="checkbox"]), select, textarea, .file-input {
    padding: 0.6rem 0.9rem;
    background: transparent;
    border-radius: 0.65rem;
    display: block;
    width: 100%;
    border: 1px solid var(--dark-blue);
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    margin-bottom: 1.5rem;
    color: inherit;

    &::placeholder {
        color: var(--medium-gray);
        opacity: 1; /* Firefox */
    }

    &::-ms-input-placeholder { /* Edge 12 -18 */
        color: var(--medium-gray);
    }

    &:focus {
        outline: 0;
    }
}

label {
    display: block;
    margin: 0;
    width: 100%;
    position: relative;
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.select {
  display: block;
  position: relative;

  select {
    appearance: none;
    width: 100%;

    &:hover {
      outline: 0;
    }

    &::-ms-expand {
      display: none;
    }
  }

  &:after {
    position: absolute;
    content: "\f078";
    font-family: 'Font Awesome 7 Pro';
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
        /*border-top: 8px solid var(--black);
    border-right: 5.33px solid transparent;
    border-bottom: 0;
    border-left: 5.33px solid transparent;*/
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
  }
}

.text-white {
    input, select, textarea, .file-input {
    &::placeholder {
        color: var(--white);
    }

    &::-ms-input-placeholder { /* Edge 12 -18 */
        color: var(--white);
    }                                        }
}

.bg-blue {
  input:not([type="checkbox"]), select, textarea, .file-input {
    background: var(--white);
  }
  label {
    color: var(--white);
  }
}

.captcha a {
    color: inherit;
    text-decoration: underline;
}

/* Custom file upload button */

/* Hide the default file input */
input[type="file"] {
  display: none;
}

/* Style the label as a button */
.custom-file-upload {
  display: inline-block;
  padding: 12px 24px;
  cursor: pointer;
  background-color: var(--off-white);
  border: 1px solid var(--dark-blue);
  border-radius: 0.65rem;
  font-weight: 400;
  transition: all 0.3s ease;
  text-align: center;
}

/* Optional: Display selected filename */
.file-name {
  font-size: var(--fs-sm);
}

/* Custom checkbox */

.form-group {
  margin: 1rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: var(--fs-sm);
  font-weight: 400;
  text-transform: none;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 10px;
  margin-top: 6px;
  cursor: pointer;
}

.checkbox-label a {
  color: var(--orange);
  font-weight: 600;
}

.checkbox-label a:hover {
  text-decoration: none;
}

/* Filter Form */

.filter-form {
  .form-group {
    margin: 0.5rem 0;

    &:first-child {
      margin-top: 0;
    }
  }
}

.input-blue {
  input:not([type="checkbox"]), select, textarea, .file-input {
    background: var(--dark-blue);
    color: var(--orange);
  }
  .select {

    &:after {
      color: var(--orange);
    }
  }
}

#jobfilter-searchform {
  max-width: 35em;
  margin: 1.5rem auto 0;
  position: relative;

  input:not([type="checkbox"]) {
    background: var(--white);
    color: var(--dark-blue);

    &::placeholder {
        color: var(--medium-gray);
        opacity: 1; /* Firefox */
    }

    &::-ms-input-placeholder { /* Edge 12 -18 */
        color: var(--medium-gray);
    }
  }

  button {
        position: absolute;
        right: 0.65rem;
        top: 50%;
        transform: translateY(-50%);
        color: var(--medium-gray);
    }
}