/* Page styles for service.html and es/service.html (the request form at the end of the /find funnel). */

/* A phone picked on /find: show that one with a way to change it, not all 31. */
#device-list.collapsed .check:not(:has(input:checked)) {
  display: none;
}
#device-change {
  margin: 0.1rem 0 0.4rem;
  padding-left: 0;
}

/* What you picked on /find sits right under the heading. */
#picked {
  margin: 0 0 1rem;
}
#picked h2 {
  margin-top: 0;
}
#picked .picked-plan {
  margin: 0.4rem 0;
  font-weight: 600;
}

/* Inputs flagged by a server error. */
#service-form [aria-invalid="true"] {
  border-color: var(--bad);
}

@media (max-width: 600px) {
  /* Three squeezed columns read as a word ladder at 375px; stack each column as a labelled row. */
  #service-form .compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  #service-form .compare tr,
  #service-form .compare td {
    display: block;
  }
  #service-form .compare td::before {
    content: attr(data-label);
    display: block;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--sub);
    margin-bottom: 0.15rem;
  }

  /* The send button spans the form on a phone, where the thumb is. */
  #submit {
    width: 100%;
  }
}

/* Ordering is not live yet (checkout is in test mode): say so before any order or deposit wording. */
.preview-notice {
  margin: 0.5rem 0 1rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--warn);
  border-left-width: 5px;
  border-radius: 10px;
  background: var(--warn-bg);
  color: var(--ink);
  font-weight: 650;
  font-size: 0.95rem;
  line-height: 1.4;
}
