/**
 * held page -- supplemental styles only (loads after styles.css + homeModern.css).
 * Parallel to held.php; modern UI. Reuses base components from styles.css:
 * .page, .content-gutter, .hero-spacer, .hero-banner.hero-banner--compact,
 * .btn-okay, .cookies-banner, .site-footer.
 *
 * Footer is rendered via inc/modernApplicantFooter.inc.php OUTSIDE .page so it
 * spans the full viewport width -- see modern/styles.css .site-footer rule.
 */

.held-main {
  margin-top: 48px;
  margin-bottom: 64px;
}

.held-main .container-fluid,
.held-body .hero-spacer .container-fluid {
  padding-left: 0;
  padding-right: 0;
  max-width: var(--content-width);
}

/* ----- Centred notice card ----- */
.held-notice {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 40px;
  border: 1px solid var(--color-neutral-200);
  border-radius: 12px;
  background: var(--color-white);
  text-align: center;
}

.held-notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--color-neutral-50);
  color: var(--color-black);
}

.held-notice__icon .ph {
  font-size: 34px;
}

.held-notice__title {
  margin: 0 0 12px;
  font-family: var(--font-dm);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-black);
}

.held-notice__lead {
  margin: 0;
  font-family: var(--font-dm);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: #807f7e; /* Neutral/600 */
}

/* ----- Invoice sub-notice (only when ?mx= is present) ----- */
.held-notice__invoice {
  margin-top: 28px;
  padding: 20px 24px;
  border-radius: 8px;
  background: var(--color-neutral-50);
  text-align: left;
}

.held-notice__invoice-lead {
  margin: 0 0 4px;
  font-family: var(--font-dm);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: var(--color-black);
}

.held-notice__invoice-note {
  margin: 0;
  font-family: var(--font-dm);
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  color: #807f7e; /* Neutral/600 */
}

.held-notice__invoice a {
  color: var(--color-black);
  text-decoration: underline;
}

/* ----- Actions ----- */
.held-notice__actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.held-notice__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.held-notice__btn:hover,
.held-notice__btn:focus {
  color: var(--color-white);
  text-decoration: none;
  opacity: 0.92;
}

.held-notice__btn .ph {
  font-size: 18px;
  line-height: 1;
}

.held-notice__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-dm);
  font-size: 16px;
  font-weight: 600;
  line-height: 18px;
  color: var(--color-black);
  text-decoration: none;
}

.held-notice__link:hover,
.held-notice__link:focus {
  text-decoration: underline;
}

.held-notice__link .ph {
  font-size: 18px;
  line-height: 1;
}

/* ----- Responsive ----- */
@media (max-width: 767.98px) {
  .held-main {
    margin-top: 32px;
    margin-bottom: 48px;
  }

  .held-notice {
    padding: 36px 20px;
  }

  .held-notice__title {
    font-size: 24px;
  }

  .held-notice__lead {
    font-size: 16px;
    line-height: 26px;
  }

  .held-notice__btn {
    width: 100%;
    justify-content: center;
  }
}
