/* Cheque Centre apply form - new-design skin.
   Loaded AFTER cc-form.css. It only restyles the existing form markup (CC-01);
   nothing here changes how the form works. Selectors start with .apply-card so
   they beat the form's own inline <style> block, which is printed later in the page. */

.apply-card .cqform { background: transparent; border: 0; border-radius: 0; padding: 0; font-family: Inter, system-ui, sans-serif; }

/* Headings and step line */
.apply-card .cqform h2 { font: 700 24px/1.25 Poppins, system-ui, sans-serif; color: var(--navy); border: 0; padding: 0; margin: 0 0 6px; }
.apply-card .cqform .cc-step { text-align: left; margin: 0 0 22px; font: 600 12px/1.2 Poppins, sans-serif; letter-spacing: .08em; color: var(--link); }
.apply-card .cqform hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0 18px; }

/* Labels, inputs, selects */
.apply-card .cqform label { font: 600 14px/1.3 Inter, sans-serif; color: var(--navy); margin: 0 0 6px; }
.apply-card .cqform label small { font-weight: 400; color: var(--muted); }
.apply-card .cqform input[type=text],
.apply-card .cqform input[type=email],
.apply-card .cqform input[type=tel],
.apply-card .cqform input[type=number],
.apply-card .cqform select {
  height: 48px !important; padding: 10px 14px; margin-bottom: 14px;
  border: 1px solid #c9d6e3; border-radius: 10px; background: #fff;
  font: 400 16px/1.2 Inter, sans-serif; color: var(--ink);   /* 16px stops iPhones zooming in */
  transition: border-color .15s, box-shadow .15s;
}
.apply-card .cqform input:focus,
.apply-card .cqform select:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 121, 194, .18); }
.apply-card .cqform .cc-hint { font-size: 13px; color: var(--muted); margin: -8px 0 12px; }
.apply-card .cqform .cc-invalid-msg { font-size: 13px; margin: -10px 0 12px; }

/* Tick boxes (the old stylesheet made every input 100% wide and 40px tall) */
.apply-card .cqform input[type=checkbox] { width: 22px; height: 22px !important; margin: 2px 0 0; accent-color: var(--blue); }
.apply-card .cqform .consent label,
.apply-card .cqform .row .eleven.columns label { font-weight: 400; font-size: 14.5px; line-height: 1.55; color: var(--ink); }

/* Title buttons: colours are set by the form's own script, only the shape changes here */
.apply-card .cqform .cc-btn-title { border-radius: 50px !important; padding: 10px 22px !important; font-size: 15px !important; font-weight: 600; }

/* Buttons */
.apply-card .cqform input[type=submit] {
  height: auto !important; width: auto; margin: 6px 0 0; padding: 15px 30px; border: 0; border-radius: 50px; cursor: pointer;
  background: var(--yellow); color: var(--navy); font: 600 16px/1 Poppins, sans-serif;
  box-shadow: 0 6px 18px rgba(255, 210, 4, .35); transition: background .15s, transform .15s;
}
.apply-card .cqform input[type=submit]:hover { background: var(--orange); transform: translateY(-1px); }
.apply-card .cqform .cc-back { padding: 15px 24px; border-radius: 50px; background: #e7edf3; color: var(--navy); font: 600 15px/1 Poppins, sans-serif; }
.apply-card .cqform .cc-back:hover { background: #d6e0ea; }

/* Messages */
.apply-card .cqform .cc-errormsg { border-radius: 10px; font-size: 15px; }
.apply-card .cqform .rejected { border: 0; border-radius: 14px; background: #fff; color: var(--ink); padding: 24px; font-size: 16px; }

/* Waiting screen */
.apply-card #cc-loading-div { border: 0 !important; border-top: 6px solid var(--yellow) !important; border-radius: 18px !important; max-width: 480px; font-size: 16px; }

@media (max-width: 767px) {
  .apply-card .cqform .cqform_form .row { text-align: left; }   /* old stylesheet centred everything on phones */
  .apply-card .cqform .row .one.column { float: left; width: 34px !important; }
  .apply-card .cqform .row .eleven.columns { margin-left: 34px !important; }
}
