/*
 * Feedback for the enquiry and newsletter forms.
 *
 * The legacy site had no inline validation — it redirected to /thank-you on
 * success and used a session flash for failure — so there is nothing to match
 * here. Kept neutral so it reads correctly on the white contact panel and on
 * the dark home-page band.
 */

.pp_field_error {
  display: block;
  margin-top: 6px;
  color: #d93025;
  font-size: 13px;
  line-height: 18px;
}

.pp_form_notice {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 15px;
  line-height: 24px;
}

.pp_form_notice.is_ok {
  border: 1px solid #b7e2c4;
  background: #eaf7ee;
  color: #17603a;
}

.pp_form_notice.is_error {
  border: 1px solid #f3c2bd;
  background: #fdeceb;
  color: #a1231a;
}

/* The submit button while the request is in flight. */
.contact-form button[disabled],
.newsletter-form button[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
}

/* --- Pay Online --------------------------------------------------------- */

.pay_intro {
  max-width: 640px;
  margin: 0 auto 28px;
  color: #47576b;
  line-height: 1.8;
}

.pay_panel {
  padding: 30px;
  border: 1px solid #e6eaf1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(16, 32, 56, 0.07);
}

.pay_panel label {
  display: block;
  margin-bottom: 8px;
  color: #0d1c33;
  font-weight: 600;
}

.pay_optional {
  color: #6b7785;
  font-weight: 400;
}

.pay_card_button {
  width: 100%;
  padding: 13px 30px;
  border: none;
  border-radius: 30px;
  background: #086ad8;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.pay_card_button:hover:not([disabled]) {
  background: #0356b0;
  color: #fff;
}

.pay_card_button[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
}

/* "or" sitting on the rule between the two payment options. */
.pay_divider {
  position: relative;
  margin: 26px 0 20px;
  text-align: center;
}

.pay_divider::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #e6eaf1;
  content: "";
}

.pay_divider span {
  position: relative;
  padding: 0 14px;
  background: #fff;
  color: #6b7785;
  font-size: 14px;
}

.pay_paypal {
  min-height: 52px;
}

.pay_unavailable,
.pay_note {
  margin: 18px 0 0;
  color: #6b7785;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

.pay_help {
  margin-top: 24px;
  color: #47576b;
}

@media (max-width: 575px) {
  .pay_panel {
    padding: 20px 16px;
  }

  .pay_card_button {
    font-size: 16px;
  }
}

/* --- Careers ------------------------------------------------------------ */

.vacancy_card .area_card_body h2 {
  font-size: 20px;
}

.vacancy_subtitle {
  margin-bottom: 6px;
  color: #47576b;
}

.vacancy_meta {
  margin-bottom: 16px;
  color: #6b7785;
  font-size: 14px;
}

.apply_form label {
  display: block;
  margin-bottom: 8px;
  color: #0d1c33;
  font-weight: 600;
}

/* A file input is not a text input; the shared control height crops it. */
.apply_form .apply_file {
  height: auto;
  padding: 9px 12px;
  line-height: 1.5;
}

.apply_hint {
  display: block;
  margin-top: 6px;
  color: #6b7785;
  font-size: 13px;
}

/* --- Referral programme ------------------------------------------------- */

/* Matches the live page, which heads each panel with an h1. */
.referral_legend {
  margin: 26px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e6eaf1;
  color: #0d1c33;
  font-size: 22px;
  font-weight: 700;
}

.referral_legend:first-child {
  margin-top: 0;
}
