/*
 * Bureau monitoring — partner enquiry form.
 */

html[data-wd-build="watchdog"] body.wd-bureau .bureau-form-section .landing-form-panel {
  max-width: 68rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--v4-border-light);
  border-top: 4px solid var(--idx-accent);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.045), transparent 48%),
    var(--v4-card);
  box-shadow: var(--v4-card-lift);
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-form-section .landing-form-panel::before {
  display: none;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-form-section .landing-form-panel > header {
  max-width: 44rem;
  margin-bottom: 1.5rem;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--idx-ink);
  font-size: 0.86rem;
  font-weight: 600;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form label[hidden] {
  display: none !important;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form label > span,
html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form legend {
  font-family: var(--idx-display);
  letter-spacing: 0.02em;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form select,
html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form input:not(.honeypot):not([type="checkbox"]) {
  width: 100%;
  min-height: 3.1rem;
  box-sizing: border-box;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--v4-border-light);
  border-radius: 0;
  background: #090a0d;
  color: var(--idx-ink);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form select:focus,
html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form input:not(.honeypot):focus {
  outline: none;
  border-color: var(--idx-accent);
  box-shadow: 0 0 0 3px rgb(var(--idx-accent-rgb) / 0.12);
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-form-wide,
html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form .submit-button {
  grid-column: 1 / -1;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form fieldset {
  margin: 0.25rem 0;
  padding: 1rem;
  border: 1px solid var(--v4-border-light);
  background: rgb(255 255 255 / 0.025);
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-checkbox-grid label {
  display: flex;
  min-height: 2.75rem;
  flex-direction: row;
  gap: 0.6rem;
  align-items: center;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--v4-border-light);
  color: var(--idx-muted);
  font-family: inherit;
  font-weight: 400;
  cursor: pointer;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-checkbox-grid label:hover {
  border-color: rgb(var(--idx-accent-rgb) / 0.42);
  color: var(--idx-ink);
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-checkbox-grid input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--idx-accent);
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-form-microcopy {
  margin: 0.35rem 0 0;
  color: rgb(255 255 255 / 0.65);
  font-size: 0.86rem;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form .submit-button {
  width: fit-content;
  min-width: 15rem;
  max-width: 100%;
  margin-top: 0.25rem;
  padding-inline: 1.5rem;
  white-space: nowrap;
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-form-section .contact-form-note {
  margin-top: 1.1rem;
  color: var(--idx-muted);
}

html[data-wd-build="watchdog"] body.wd-bureau .bureau-form-section .contact-form-note a {
  color: var(--idx-ink);
  text-decoration-color: rgb(var(--idx-accent-rgb) / 0.55);
}

@media (min-width: 640px) {
  html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-wd-build="watchdog"] body.wd-bureau .bureau-checkbox-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  html[data-wd-build="watchdog"] body.wd-bureau .bureau-checkbox-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  html[data-wd-build="watchdog"] body.wd-bureau .bureau-form-section .landing-form-panel {
    padding-inline: 0.9rem;
  }

  html[data-wd-build="watchdog"] body.wd-bureau .bureau-partner-form .submit-button {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
}
