/*-- ==========================================================================
    ROCKET NEON  |  Contact page
    The shared building blocks (form layout, info groups, map) live in local.css.
   ========================================================================== */
@media only screen and (min-width: 0em) {
  #form-section .title {
    margin-bottom: 0.5em;
  }
  #form .input-group:last-of-type {
    margin-bottom: 1.25em;
  }
  #contact .form-submit .button-solid {
    width: 100%;
  }
  /* ---- Photo upload ---- */
  #form .input-group label .optional {
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--muted);
    opacity: 0.75;
    margin-left: 0.4em;
  }
  #form .file-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    padding: 1.6em 1.25em;
    text-align: center;
    background: var(--panel);
    border: 0.0625em dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    cursor: pointer;
    -webkit-transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
  }
  #form .file-drop:hover,
  #form .file-drop.is-dragging {
    border-color: var(--green);
    background: var(--panel-2);
  }
  #form .file-drop:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 1em rgba(47, 224, 92, 0.3);
  }
  #form .file-drop input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  #form .file-drop-icon {
    width: 1.9em;
    height: 1.9em;
    color: var(--green-text);
  }
  #form .file-drop-text {
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--text);
  }
  #form .file-drop-browse {
    color: var(--green-text);
    border-bottom: 0.0625em solid currentColor;
  }
  #form .file-drop-hint {
    font-size: 0.8em;
    line-height: 1.5;
    color: var(--muted);
  }
  #form .file-list {
    list-style: none;
    margin: 0.9em 0 0;
    padding: 0;
    display: grid;
    gap: 0.4em;
  }
  #form .file-list li {
    display: flex;
    align-items: center;
    gap: 0.65em;
    padding: 0.6em 0.8em;
    font-size: 0.85em;
    background: var(--panel);
    border: 0.0625em solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
  }
  #form .file-list .file-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #form .file-list .file-size {
    color: var(--muted);
    font-size: 0.92em;
    white-space: nowrap;
  }
  #form .file-list button {
    flex: none;
    width: 1.75em;
    height: 1.75em;
    line-height: 1;
    font-size: 1em;
    color: var(--muted);
    background: transparent;
    border: 0.0625em solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    -webkit-transition: color 0.2s, border-color 0.2s;
    transition: color 0.2s, border-color 0.2s;
  }
  #form .file-list button:hover {
    color: var(--gold-text);
    border-color: var(--gold-text);
  }
  #form .file-note {
    margin-top: 0.6em;
    font-size: 0.82em;
    line-height: 1.5;
    color: var(--gold-text);
  }
  #form .file-note:empty {
    display: none;
  }
  #form .form-status {
    margin-top: 0.75em;
    font-size: 0.9em;
    line-height: 1.5;
    min-height: 1.5em;
  }
  #form .form-status.is-info {
    color: var(--green);
  }
  #form .form-status.is-error {
    color: var(--gold-text);
  }
  .visually-hidden {
    position: absolute;
    width: 0.0625em;
    height: 0.0625em;
    margin: -0.0625em;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}
@media only screen and (min-width: 64em) {
  #contact .form-submit .button-solid {
    width: auto;
  }
}
