/* Seller websites: styles for what public/_sites/site.js adds. Everything
   else is Carrot's own CSS, inlined in each page. */

/* Address suggestions (replaces Google's .pac-container). */
.seller-pac {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1000000;
  margin: 4px 0 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.16);
  text-align: left;
}
.seller-pac.open { display: block; }
.seller-pac li {
  margin: 0;
  padding: 10px 14px;
  font-size: 15px;
  line-height: 1.35;
  color: #1e293b;
  cursor: pointer;
}
.seller-pac li:hover,
.seller-pac li.active { background: #f1f5f9; }

/* "Thanks, we'll be in touch" after the contact/referral forms. */
.seller-confirmation .gform_confirmation_message {
  padding: 18px 20px;
  border-radius: 8px;
  background: #ecfdf3;
  color: #05603a;
  font-weight: 600;
  text-align: center;
}

.gform_validation_errors.seller-error {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 8px;
}
.gform_validation_errors.seller-error h2 {
  margin: 0;
  font-size: 15px !important;
  line-height: 1.4 !important;
}

/* Highlighted text (<mark>): navy instead of the browser's default yellow. */
mark:not([style*="background"]) {
  background-color: #175372;
  color: #fff;
  padding: 0 0.15em;
  border-radius: 2px;
}

/* Links on a navy section (e.g. Alberta's footer) stay readable now that
   the theme's link colour is navy too. */
.has-carrot-color-accent-2-background-color a:where(:not(.wp-element-button)) {
  color: #fff;
}
