/*
 * CoAd Partner Portal — portal UI
 * Ported verbatim from the legacy portal so the WordPress rebuild keeps the
 * same look. Sources:
 *   - clients/176/css/style.css   (base: fonts, grid, header/footer, .listing)
 *   - clients/176/css/page_2710.css (portal-specific rules)
 * Fonts/icons load from the same CDNs the legacy site used.
 */
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css);
@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,500,700);
@import url(https://fonts.googleapis.com/css?family=Fjalla+One);
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,600');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


body {
   font-family: "Montserrat", sans-serif;
}

/* ---- base (from style.css) ---- */
.coad-portal, .coad-portal * { box-sizing: border-box; }
.coad-portal { font-size: 14px; color: #333; }
.coad-portal h1 { font-size: 2.4em; font-weight: 400; }
.coad-portal h2 { font-size: 2.1em; font-weight: 500; }
/* .coad-portal h3 { font-size: 1.8em; font-weight: 300; } */
.coad-portal p  { font-size: 1.1em; line-height: 1.5em; }
.coad-portal a  { color: #215DA6; text-decoration: none; }
.coad-portal a:hover { text-decoration: underline; }

/* ---- Bootstrap-2 grid essentials (the legacy theme's grid) ---- */
.coad-portal .container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.coad-portal .container-fluid { padding: 0 15px; }
.coad-portal .row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.coad-portal .row > [class^="span"] { padding: 0 15px; }
.coad-portal .span4 { flex: 0 0 33.333%; max-width: 33.333%; }
.coad-portal .span8 { flex: 0 0 66.667%; max-width: 66.667%; }
@media (max-width: 767px){
  .coad-portal .span4, .coad-portal .span8 { flex: 0 0 100%; max-width: 100%; }
}

/* ---- buttons (Bootstrap-2 .btn look) ---- */
.coad-portal .btn {
  display: inline-block; padding: 4px 12px; margin-bottom: 0; font-size: 14px;
  line-height: 20px; text-align: center; cursor: pointer; border: 1px solid #ccc;
  border-radius: 4px; background: #f5f5f5; color: #333;
}
.coad-portal .btn-primary { background: #215DA6; border-color: #1c4f8c; color: #fff; }

/* ---- listing tables (from style.css) ---- */
.coad-portal table.listing {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  border: 0;
}
.coad-portal table.listing th {
  background: #555;
  color: #fff !important;
  font-weight: 700;
  padding: 8px 10px;
  text-align: left;
  border: 0;
  white-space: nowrap;
}
.coad-portal table.listing td {
  padding: 7px 10px;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
}
.coad-portal table.listing tr.alt0 td { background: #fff; }
.coad-portal table.listing tr.alt1 td { background: #f5f5f5; }
.coad-portal table.listing tr.totals td {
  font-weight: 700;
  border-top: 1px solid #999;
  background: #fff;
}
.coad-portal table.listing th.num,
.coad-portal table.listing td.num { text-align: right; }

/* ---- CoAd header (from broker-portal-header.php + style.css) ---- */
.coad-header { background: #fff; border-bottom: 1px solid #ccc; position: sticky; top: 0; z-index: 99;}
.coad-header #head-container2 { position: relative; height: 100px; display: flex; align-items: center; }
.coad-header #coad-logo { width: 300px; }
.coad-header .social_media { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.coad-header .social_media a { color: #5D4E63; margin-left: 10px; font-size: 18px; display: inline-block; }

/* ---- portal shell (page_2710.css) ---- */
.bp_container {
  padding: 30px 0; border-bottom: 1px solid #000; background-color: #FBFBFB;
  /* background-image: url('img/pemco-bar.png');  */
  background-repeat: no-repeat; background-position: 50% top;
}
#broker_portal { margin-top: 20px; margin-bottom: 40px; }
#broker_portal * { font-family: 'Montserrat', helvetica; color: #5D4E63; }
#broker_messaging { font-size: 1.2em; }

/* profile / signout buttons */
a.signout, a.profile { display: block; float: right; color: #fff; padding: 5px 10px; border-radius: 0; }
a.signout { background: #5D4E63; }
a.signout:hover { color: #fff; background: #4a3f4f; text-decoration: none; }
a.profile { background: #76BD22; margin-left: 10px; }
a.profile:hover { color: #fff; text-decoration: none; }
#broker_portal .signout { background-color: #5D4E63; color: #fff; }
#broker_portal .profile { background-color: #76BD22; color: #fff; }

/* commission statement selector + table */
.commission-hint {
  margin: 0 0 12px;
  color: #6a5f70;
  font-size: 0.95em;
}
.commission-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
#commission_statements {
  width: 200px;
  height: 30px;
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
  color: #5D4E63;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.3;
  appearance: auto;
  -webkit-appearance: menulist;
}
#commission_statements:focus {
  outline: 1px solid #5D4E63;
  outline-offset: 1px;
}
.comm_data { margin-top: 14px; overflow-x: auto; }
#comm_data table.listing {
  font-size: 13px;
  min-width: 900px;
}
#comm_data table.listing th {
  background: #555;
  color: #fff !important;
  font-weight: 700;
}
#comm_data table.listing td { color: #5D4E63; }
a.download {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
a.download img { height: 22px; width: auto; vertical-align: middle; }

/* documents accordion */
#broker_documents { width: 55%; }
#broker_documents h3 { cursor: pointer; }
@media (max-width: 767px){ #broker_documents { width: auto; } }

/* login form (page_2710.css) */
#login_form, #request_participation {
  background: #eeeeee; border: 1px solid #d5d5d5; padding: 0 22px 24px; margin: 0 auto 30px; max-width: 385px;
}
.form-forgot  {
  background: transparent;
  border: 0;
  max-width: 460px;
  margin: 0 auto;
}
.form-forgot h2 {
  padding: 0 0 12px;
  color: #1a1a1a;
  background: transparent;
  line-height: 1.2;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0;
  text-align: center;
}
.form-forgot-padding {
  padding: 0 8px 24px;
}
.form-forgot input {
  font-weight: normal !important;
  font-size: 16px !important;
  padding-left: 16px !important;
}
.form-forgot p {
  margin: 0 0 18px;
  text-align: center;
  color: #444;
  font-size: 15px;
  line-height: 1.45;
}
#login_form h3 {
  margin: 0 -22px 20px; padding: 9px 22px 9px; color: #fff; background: #5D4E63; line-height: 1.1;
  font-family: 'Montserrat', helvetica; font-size: 1.65em; font-weight: 500; letter-spacing: .5px;
}
#login_form label { display: block; }
#login_form input[type="text"], #login_form input[type="password"], .common-input {
  width: 100%; box-sizing: border-box; height: 36px; border-radius: 0; padding: 4px 10px 4px 38px;
  border: 1px solid #c9c9c9; background-repeat: no-repeat; background-color: #fff;
  background-image: url('img/user.png'); background-position: 9px center; margin-bottom: 11px;
  font-family: 'Montserrat', Helvetica, sans-serif; font-size: 14px; color: #5D4E63;
}
.forgot-input {
  margin-top: 15px
}
#login_form input[type="text"]::placeholder, #login_form input[type="password"]::placeholder, .common-input::placeholder { color: #9b9b9b; }
#login_form input[type="password"] { background-image: url('img/lock.png'); background-position: 11px center; }
#login_form input[type="checkbox"] { margin: 0 6px 0 0; vertical-align: -1px; }
#login_form label.remember { margin-bottom: 6px; font-size: 14px; color: #5D4E63; }
#login_form a.forgot-link { display: inline-block; margin-bottom: 20px; color: #5D4E63; font-size: 14px; }
#login_form a.forgot-link:hover { text-decoration: underline; }
#login_form input[type="submit"], #login_form input[type="button"] {
  width: 100%; display: block; box-sizing: border-box; border-radius: 4px; padding: 11px; border: 0;
  color: #fff; font-size: 17px; font-weight: 400; cursor: pointer; background: #76BD22;
  font-family: 'Montserrat', Helvetica, sans-serif;
}
#login_form input[type="submit"]:hover, #login_form input[type="button"]:hover {
  transition: ease all .3s; background: #68a81d;
}
.signin { color: #fff !important; background: none !important; background-color: #76BD22 !important; }
.signin:hover { background-color: #68a81d !important; }
.req { color: #ff0000; }

.pemco_awards { text-align: center; }
.pemco_awards p { font-size: 1.3em; }
.coad-brand-message { 
  text-align: center; 
  margin: 20px 0; 
  background: #f7fbf8;
  border-left: 4px solid #1b5e20;
  padding: 18px 20px;
  margin: 20px 0 25px;
  font-size: 12px;
  line-height: 1.7;
  border-radius: 4px;
  word-wrap: break-word;
  color: #5D4E63;
}
.coad-brand-message p { margin-bottom: 12px; }
.coad-program-copy { text-align: left; margin: 10px 0 0; }
.coad-program-copy p { margin-bottom: 16px; }
.coad-program-copy p:last-child { margin-bottom: 0; }
.coad-program-content { margin: 10px 0 0; }
.coad-program-content h3,
.coad-program-content h4 { text-align: center; }
.coad-program-content p { text-align: left; margin-bottom: 16px; }
.coad-program-content p:last-child { margin-bottom: 0; }

/* CoAd footer (broker-portal-footer.php + style.css) */
#coad-footer { background-color: #5D4E63; min-height: 100px; padding: 40px; }
#coad-footer * { color: #fff; }
#coad-footer a { color: #fff; }
#coad-footer-flex { display: flex; align-items: flex-start; flex-wrap: nowrap; justify-content: space-between; }
#coad-footer .footer-section {
  flex: 1 1 0;
  min-width: 0;
  padding: 15px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-weight: 500;
}
#coad-footer .footer-section > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
#coad-footer img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 150px;
  margin: 0 auto 14px;
  object-fit: contain;
  object-position: center center;
}
#coad-footer .footer-section > a br { display: none; }
#coad-footer .footer-section p,
#coad-footer .sales-text,
#coad-footer .footer-section .text-center {
  margin: 0;
}

/* small helpers */
.coad-portal .img-responsive { max-width: 100%; height: auto; }
.coad-portal .text-center { text-align: center; }
.coad-portal .waiting { color: #999; font-style: italic; }
.coad-notice {
  width: 100%;
  max-width: 385px;
  margin: 0 auto 12px;
  padding: 10px 14px;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}
.coad-notice.error { background: #f7e4e0; border: 1px solid #e0b4ab; color: #b23a2c; }
.coad-notice.info  { background: #e2f1e5; border: 1px solid #b4d9bf; color: #0d6b38; }
#login_form input.coad-input-error {
  border-color: #e0b4ab;
  outline: 1px solid #e0b4ab;
  outline-offset: 0;
}

/* documents accordion — match the legacy gray look, not jQuery UI's blue */
#broker_documents.ui-accordion .ui-accordion-header {
  background: #f5f5f5; border: 1px solid #ccc; color: #5D4E63;
  font-family: 'Montserrat', helvetica; font-weight: 600; font-size: 1em;
  margin-top: 2px; padding: 10px 12px 10px 30px; outline: none;
}
#broker_documents.ui-accordion .ui-accordion-header.ui-state-active,
#broker_documents.ui-accordion .ui-accordion-header.ui-state-hover {
  background: #eaeaea; color: #5D4E63;
}
#broker_documents.ui-accordion .ui-accordion-header .ui-icon { background-image: none; }
#broker_documents.ui-accordion .ui-accordion-content {
  border: 1px solid #ccc; border-top: 0; padding: 12px 16px;
}
#broker_documents.ui-accordion .ui-accordion-content a { color: #215DA6; }

/* custom css */
main#wp--skip-link--target {margin-top: 0px !important;}

/* Plugin page template — no theme title/header/footer chrome */
body.coad-portal-template {
  margin: 0;
  padding: 0;
  background: #fff;
}
body.coad-portal-template .coad-portal {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.coad-portal-template .bp_container {
  flex: 1 0 auto;
}
body.coad-portal-template #coad-footer {
  flex-shrink: 0;
  margin-bottom: 0;
}

/* ---- My Account (Profile Management) ---- */
.coad-account-title {
  margin: 10px 0 20px;
  color: #5D4E63;
  font-weight: 400;
}
.coad-account-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0 28px 28px;
}
.coad-account-tabs {
  margin: 15px -28px 16px;
  border-bottom: 1px solid #ddd;
  padding: 0 28px;
}
.coad-account-tab {
  display: inline-block;
  padding: 12px 18px;
  margin-bottom: -1px;
  background: #e8e8e8;
  border: 1px solid #ccc;
  border-bottom-color: #fff;
  border-radius: 4px 4px 0 0;
  color: #5D4E63;
  font-weight: 600;
  font-size: 14px;
}
.coad-account-required {
  margin: 0 0 18px;
  font-size: 0.95em;
  color: #666;
}
.coad-account-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 16px;
}
.coad-account-row > label {
  flex: 0 0 160px;
  padding-top: 8px;
  text-align: right;
  color: #5D4E63;
  font-size: 14px;
}
.coad-account-row input[type="text"],
.coad-account-row input[type="email"],
.coad-account-row input[type="password"] {
  flex: 1 1 auto;
  max-width: 320px;
  height: 34px;
  padding: 4px 10px;
  border: 1px solid #bbb;
  border-radius: 2px;
  background: #fff;
  color: #333;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-size: 14px;
}
.coad-account-field {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.coad-account-field input {
  flex: 0 1 320px;
  max-width: 320px;
  height: 34px;
  padding: 4px 10px;
  border: 1px solid #bbb;
  border-radius: 2px;
  background: #fff;
  color: #333;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-size: 14px;
}
.coad-account-hint {
  color: #777;
  font-size: 13px;
}
.coad-account-actions {
  margin: 22px 0 0 176px;
}
.coad-account-update {
  background: #76BD22;
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 8px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Montserrat', Helvetica, sans-serif;
}
.coad-account-update:hover { background: #68a81d; }
.coad-account-update:disabled { opacity: 0.6; cursor: default; }
.coad-account-signout-wrap {
  max-width: 720px;
  margin: 18px auto 0;
  text-align: left;
}
.coad-account-signout-wrap a {
  color: #5D4E63;
  text-decoration: none;
  font-size: 14px;
}
.coad-account-signout-wrap a:hover { text-decoration: underline; }
#coad_account .coad-notice {
  max-width: none;
  margin: 0 0 16px;
}
#coad_account .coad-notice[hidden] { display: none; }
.coad-account-control {
  flex: 1 1 auto;
  max-width: 320px;
  display: flex;
  flex-direction: column;
}
.coad-account-control input { max-width: 100%; width: 100%; }
.coad-account-field { flex-wrap: wrap; }
.coad-account-field .coad-field-error { flex: 1 1 100%; }
.coad-field-error {
  display: block;
  margin: 6px 0 0;
  padding: 10px 14px;
  border-radius: 4px;
  box-sizing: border-box;
  background: #f7e4e0;
  border: 1px solid #e0b4ab;
  color: #b23a2c;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;

}
.coad-field-error[hidden] { display: none; }
#coad_account input.coad-input-error {
  border-color: #e0b4ab;
  outline: 1px solid #e0b4ab;
  outline-offset: 0;
}
@media (max-width: 640px) {
  .coad-account-row { flex-direction: column; gap: 6px; }
  .coad-account-row > label { flex: none; text-align: left; padding-top: 0; }
  .coad-account-actions { margin-left: 0; }
  .coad-account-row input[type="text"],
  .coad-account-row input[type="email"],
  .coad-account-row input[type="tel"],
  .coad-account-row input[type="password"],.coad-account-row input[type="tel"],
  .coad-account-field input,
  .coad-account-control { max-width: 100%; width: 100%; }
}

/* ---- Username / Password Recovery ---- */
.coad-recovery {
  background: #fff;
}
.coad-recovery .bp_container {
  padding: 30px 16px 40px;
  border-bottom: 0;
  background: #fff;
}
.coad-recovery-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.coad-recovery-form input[type="text"],
.coad-recovery .forgot-input {
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 8px 16px !important;
  border: 1px solid #d5d5d5;
  border-radius: 10px;
  background: #fff;
  background-image: none;
  color: #333;
  font: 16px 'Montserrat', Helvetica, sans-serif;
  box-sizing: border-box;
}
.coad-recovery-form button {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 999px;
  background: #0e3b2c;
  color: #fff;
  font: 17px 'Montserrat', Helvetica, sans-serif;
  cursor: pointer;
}
.coad-recovery-form button:hover { background: #0a2e22; }
.coad-recovery-back {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid #0e3b2c;
  border-radius: 999px;
  box-sizing: border-box;
  background: #fff;
  color: #0e3b2c;
  font: 17px 'Montserrat', Helvetica, sans-serif;
  text-align: center;
  text-decoration: none;
}
.coad-recovery-back:hover { background: #f4f7f5; color: #0e3b2c; text-decoration: none; }
.coad-recovery-links {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}
.coad-recovery-links a { color: #5D4E63; }
.coad-recovery .coad-notice {
  max-width: none;
  margin: 0 0 16px;
}
.coad-recovery #coad-footer {
  border-top: 1px solid #d7d7d7;
  padding: 35px 20px 22px;
}
.coad-recovery #coad-footer-flex {
  align-items: flex-start;
  flex-wrap: nowrap;
  justify-content: space-between;
}
.coad-recovery #coad-footer .footer-section {
  flex: 1 1 33.333%;
  font-size: 12px;
}
.coad-recovery #coad-footer .footer-section p { font-size: 12px; line-height: 1.45; }
.coad-recovery #coad-footer img { max-width: 195px; }
.coad-recovery-legal { margin-top: 10px; }

.coad-reset-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 360px;
  gap: 6px;
  margin: 12px 0 8px;
}
.coad-reset-form label {
  font-size: 13px;
  color: #333;
}
.coad-reset-form input[type="password"] {
  width: 100%;
  height: 34px;
  padding: 4px 10px;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font: 14px 'Roboto', sans-serif;
}
.coad-reset-hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: #666;
}
.coad-reset-form button {
  margin-top: 6px;
  padding: 8px 18px;
  border: 0;
  border-radius: 3px;
  background: #20ad65;
  color: #fff;
  font: 14px 'Roboto', sans-serif;
  cursor: pointer;
}
.coad-reset-form button:hover { background: #198f53; }

@media (max-width: 640px) {
  .coad-recovery-form input[type="text"] { width: 100%; max-width: none; }
  .coad-recovery #coad-footer .footer-section { flex-basis: 100%; }
  .coad-reset-form { max-width: 100%; }
}
.coad-recovery #coad-footer .footer-section p { font-size: 12px; line-height: 1.45; }
.coad-recovery #coad-footer img { max-width: 195px; }
.coad-recovery-legal { margin-top: 10px; }

.coad-reset-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 360px;
  gap: 6px;
  margin: 12px 0 8px;
}
.coad-reset-form label {
  font-size: 13px;
  color: #333;
}
.coad-reset-form input[type="password"] {
  width: 100%;
  height: 34px;
  padding: 4px 10px;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font: 14px 'Roboto', sans-serif;
}
.coad-reset-hint {
  margin: 0 0 8px;
  font-size: 12px;
  color: #666;
}
.coad-reset-form button {
  margin-top: 6px;
  padding: 8px 18px;
  border: 0;
  border-radius: 3px;
  background: #20ad65;
  color: #fff;
  font: 14px 'Roboto', sans-serif;
  cursor: pointer;
}
.coad-reset-form button:hover { background: #198f53; }

@media (max-width: 640px) {
  .coad-recovery-form input[type="text"] { width: 100%; max-width: none; }
  .coad-recovery #coad-footer .footer-section { flex-basis: 100%; }
  .coad-reset-form { max-width: 100%; }
}

/* ------------------------------------------------------------------ */
/* Request Membership (HubSpot form under Account Sign In)             */
/* Matches the legacy #mktoForm_2787 box.                              */
/* ------------------------------------------------------------------ */
.coad-request-membership {
  background: #eeeeee; border: 1px solid #d5d5d5; padding: 30px 22px 30px; margin: 0 auto 30px; max-width: 385px;
  box-sizing: border-box; font-family: 'Montserrat', Helvetica, sans-serif; color: #5D4E63;
  scroll-margin-top: 90px;
}
#request_membership.coad-membership-focus {
  animation: coad-membership-highlight 1.8s ease;
}
@keyframes coad-membership-highlight {
  0% { border-color: #d5d5d5; box-shadow: 0 0 0 0 rgba(93, 78, 99, 0); }
  40% { border-color: #5D4E63; box-shadow: 0 0 0 8px rgba(93, 78, 99, 0.22); }
  100% { border-color: #d5d5d5; box-shadow: none; }
}
.coad-request-membership h3 {
  margin: 0 0 18px; font-size: 1.65em; font-weight: 300; letter-spacing: .5px; color: #5D4E63; text-align: center;
}
.coad-request-membership .coad-membership-intro { text-align: center; padding: 0 0 20px; margin: 0; font-size: 15px; line-height: 1.5; }
.coad-request-membership .coad-membership-fallback { font-size: 14px; line-height: 1.5; text-align: center; }
.coad-request-membership .coad-membership-fallback[hidden] { display: none; }

/* HubSpot-generated markup (theme disabled via css:"") */
#coad-hubspot-form .hs-form-field { margin: 0 0 14px; }
#coad-hubspot-form label { display: block; font-size: 14px; margin: 0 0 4px; }
#coad-hubspot-form .hs-form-field > label:empty { display: none; }
#coad-hubspot-form input[type="text"],
#coad-hubspot-form input[type="email"],
#coad-hubspot-form input[type="tel"],
#coad-hubspot-form input[type="number"],
#coad-hubspot-form select,
#coad-hubspot-form textarea {
  width: 100%; max-width: 100%; box-sizing: border-box; padding: 8px 9px; font-size: 14px;
  border: 1px solid #c9c9c9; background: #fff; color: #333; font-family: inherit;
}
#coad-hubspot-form input::placeholder, #coad-hubspot-form textarea::placeholder { color: #9b9b9b; }
#coad-hubspot-form .inputs-list { list-style: none; margin: 0; padding: 0; }
#coad-hubspot-form .inputs-list label { font-size: 14px; }
#coad-hubspot-form .inputs-list input[type="checkbox"],
#coad-hubspot-form .inputs-list input[type="radio"] { margin: 0 6px 0 0; }
#coad-hubspot-form ul.coad-hs-error-msg,
#coad-hubspot-form ul.hs-error-msgs,
#coad-hubspot-form ul.no-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
}
#coad-hubspot-form ul.coad-hs-error-msg > li,
#coad-hubspot-form ul.hs-error-msgs > li {
  list-style: none;
  display: block;
  margin: 0;
  padding: 0;
}
#coad-hubspot-form ul.coad-hs-error-msg > li::marker,
#coad-hubspot-form ul.hs-error-msgs > li::marker { content: none; }
#coad-hubspot-form label.hs-error-msg,
#coad-hubspot-form .hs-error-msgs label,
#coad-hubspot-form .hs_error_rollup label {
  display: block;
  margin: 0;
  padding: 10px 14px;
  border-radius: 4px;
  box-sizing: border-box;
  background: #f7e4e0;
  border: 1px solid #e0b4ab;
  color: #b23a2c;
  font-family: 'Montserrat', Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}
#coad-hubspot-form input.coad-hs-error,
#coad-hubspot-form select.coad-hs-error,
#coad-hubspot-form textarea.coad-hs-error,
#coad-hubspot-form .hs-input.invalid,
#coad-hubspot-form .hs-input.error {
  border-color: #e0b4ab;
  box-shadow: none;
  outline: 1px solid #e0b4ab;
  outline-offset: 0;
}
#coad-hubspot-form .hs_submit input[type="submit"],
#coad-hubspot-form .coad-hs-submit {
  width: 100%; display: block; box-sizing: border-box; border-radius: 4px; padding: 11px; border: 0;
  color: #fff; font-size: 17px; cursor: pointer; background: #5D4E63; font-family: inherit;
}
#coad-hubspot-form .hs_submit input[type="submit"]:hover,
#coad-hubspot-form .coad-hs-submit:hover { background: #4a3e4f; }
#coad-hubspot-form .submitted-message { text-align: center; font-size: 15px; padding: 10px 0; }
#coad-hubspot-form .legal-consent-container { font-size: 12px; line-height: 1.4; }

.my-account {
  display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 720px;
    margin: 0 auto 15px auto;
}

.sales-text {
  margin-top: 15px;
  margin-bottom: 8px;
}

#coad-footer img.center-block,
.coad-recovery #coad-footer img.center-block {
  max-width: 150px;
}

#coad-footer .footer-section,
#coad-footer .footer-section p,
#coad-footer .footer-section div,
#coad-footer .footer-section a,
.coad-recovery #coad-footer .footer-section,
.coad-recovery #coad-footer .footer-section p {
  font-size: 16px;
  line-height: 1.6;
}

/* Shown only until portal.css arrives, so the theme layout never flashes. */
body.coad-portal-template { visibility: visible; }
#coad-boot-loader { display: none !important; }

#coad-page-loader {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #0e3b2c;
  font: 16px Montserrat, Helvetica, Arial, sans-serif;
}
#coad-page-loader .spin {
  width: 36px; height: 36px; box-sizing: border-box;
  border: 3px solid #d7e3dc; border-top-color: #0e3b2c;
  border-radius: 50%;
  animation: coad-boot-spin 0.7s linear infinite;
}