/* Work Request wizard preview — chrome only; fields use live Bootstrap form-* */

/* Paper page behind white form card (request-preview = chrome hook) */
main.olc.request-preview {
  background: var(--color-paper, #f3efe6);
}

.request-form-section {
  padding: 3.5rem 0 5rem;
  background: var(--color-paper, #f3efe6);
  border-bottom: 1px solid var(--color-line, #d4cfc3);
}

/* ONE shared card/wrap width for every wizard step (~800px) */
.request-form-wrap,
.request-form-wrap--wide {
  width: min(50rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.request-login-hint {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md, 0.75rem);
  border: 1px solid rgb(122 46 26 / 0.2);
  background: #faf6ee;
  color: var(--color-ink, #12141a);
  font-size: 0.95rem;
}
.request-login-hint p { margin: 0; }
.request-login-hint a {
  color: var(--color-steel, #3a5668);
  font-weight: 600;
  text-underline-offset: 0.15em;
}
.request-login-hint a:hover { color: var(--color-navy, #0c141c); }

/* Page chrome INSIDE the white form card: title → lede → progress */
.request-page-chrome {
  margin-bottom: 1.75rem;
  text-align: center;
}

.request-page-chrome .request-form-card__title,
.request-form-card__title {
  margin: 0;
  font-family: var(--font-display, Newsreader, Georgia, serif);
  font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--color-ink, #12141a);
}

.request-page-chrome .request-form-card__lede,
.request-form-card__lede {
  margin: 0.65rem 0 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--color-muted, #5a574f);
}

.request-page-chrome .request-steps {
  margin: 1rem 0 0;
}

.request-steps {
  margin: 0;
  font-size: var(--text-micro, 0.6875rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtle, #8a857a);
  line-height: 1.6;
}
.request-steps__current {
  color: var(--color-steel, #3a5668);
  font-weight: 700;
}
.request-steps__sep {
  margin: 0 0.2em;
  opacity: 0.55;
}
.request-steps a {
  color: inherit;
  text-decoration: none;
}
.request-steps a:hover {
  color: var(--color-steel, #3a5668);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* White form panel on paper */
.request-form-card {
  background: #fff;
  border: 1px solid var(--color-line, #d4cfc3);
  border-radius: var(--radius-lg, 1rem);
  box-shadow: var(--shadow-border);
  padding: 2rem 1.75rem 2.25rem;
}

/* Review page section rhythm: keep each detail block distinct. */
.request-form-card > .row.gx-5.justify-content-center > [class*="col-"] > h3 {
  margin: 1.5rem 0 0.75rem;
}
.request-form-card > .row.gx-5.justify-content-center > [class*="col-"] > h3:first-of-type {
  margin-top: 0;
}

/* Legacy head (if any leftover) */
.request-form-card__head {
  margin-bottom: 1.75rem;
  text-align: center;
}

.request-deadline-help {
  margin: 0.65rem 0 0;
  padding: 0 0.15rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--color-muted, #5a574f);
}

.request-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.request-form-actions-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Keep Bootstrap floating labels readable on white card */
.request-form-card .form-control,
.request-form-card .form-select {
  border-color: var(--color-line, #d4cfc3);
}
.request-form-card .form-control:focus,
.request-form-card .form-select:focus {
  border-color: var(--color-steel, #3a5668);
  box-shadow: 0 0 0 0.2rem rgb(58 86 104 / 0.18);
}

.request-form-card .row {
  --bs-gutter-x: 1.5rem;
}

/* Soften leftover bootstrap cols inside the card */
.request-form-card > .row.gx-5.justify-content-center > .col-lg-8,
.request-form-card > .row.gx-5.justify-content-center > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

/* Dropzone sits cleanly on white card */
.request-form-card .dropzone {
  border-color: var(--color-line, #d4cfc3);
  border-radius: var(--radius-md, 0.75rem);
  background: #faf6ee;
}

@media (min-width: 640px) {
  .request-form-card {
    padding: 2.5rem 2.5rem 2.75rem;
  }
}

/* Step 2: let the option list and its description use the full card width.
   The legacy Bootstrap columns only occupied 25% + 33.333% at desktop. */
.request-job-type-layout > .request-job-type-options,
.request-job-type-layout > .request-job-type-description {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

.request-job-type-options .radio,
.request-job-type-options .form-check-label {
  width: 100%;
}

.request-job-type-description > div {
  padding-inline: 0.5rem !important;
}

@media (min-width: 992px) {
  .request-job-type-layout > .request-job-type-options {
    width: 42%;
    flex-basis: 42%;
  }

  .request-job-type-layout > .request-job-type-description {
    width: 58%;
    flex-basis: 58%;
  }
}
