/* Unrote - the /test/ page: the free document test, its promises and the request form (sent by
   shared/test-form.js; the button label follows the chosen option, shared/pages/test.js). Linked after base.css
   and components.css, so a class here wins over a class of the same weight there. */

/* the intro */
.test-hero {
  padding: 64px 0 72px;
}
.test-split {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}
.test-intro {
  flex: 0 0 40%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.test-lead {
  max-width: 40ch;
}
.test-ticks {
  font-size: 16px;
}
.test-alt {
  font-size: 16px;
  color: #55544f;
}

/* the form */
.test-form {
  flex: 1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: #dcdcd6;
  padding: 32px;
  box-sizing: border-box;
}
.modes {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modes legend {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
}
/* an option of "How should the files reach us?": the one with the checked radio is dark */
.opt {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 200ms ease;
}
.opt input {
  margin-top: 5px;
  accent-color: #2456d6;
  width: 20px;
  height: 20px;
}
.opt:has(input:checked) {
  background: #181715;
  color: #e8e8e3;
}
.opt b {
  display: block;
  font-weight: 600;
}
.opt-text {
  font-size: 16px;
}
.nda {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 16px;
}
.nda input {
  margin-top: 4px;
  accent-color: #2456d6;
  width: 20px;
  height: 20px;
}
.test-submit {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}
.test-status {
  font-size: 15px;
  color: #55544f;
}
.test-status.is-said {
  color: inherit;
}
.test-status.is-error {
  color: #b3261e;
}
.test-privacy {
  font-size: 14px;
  color: #55544f;
}

@media (hover:hover) and (pointer:fine) {
  .opt:hover {
    background: #ffffff;
  }
  .opt:has(input:checked):hover {
    background: #181715;
  }
}
