/* Cars with Jacob — Search Alerts (v1, 2026-11-03). Brand: navy #0d2137,
   gold #FFB224. Classes are cwj-al-* prefixed to stay out of the theme's
   way; this file is enqueued by the plugin only where the form lives. */

.cwj-alerts-bar {
  background: #0d2137;
  border-radius: 10px;
  margin: 0 0 16px;
  overflow: hidden;
}
.cwj-al-bar-btn {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  width: 100%; background: none; border: 0; cursor: pointer;
  color: #fff; text-align: left; padding: 13px 16px;
  font: inherit;
}
.cwj-al-bar-btn strong { color: #FFB224; }
.cwj-al-bell { font-size: 19px; }
.cwj-al-bar-text { font-size: 15px; }
.cwj-al-bar-summary { font-size: 13px; color: #c8d2dd; width: 100%; }
@media (min-width: 700px) { .cwj-al-bar-summary { width: auto; margin-left: auto; } }
.cwj-al-panel { background: #fff; padding: 18px; border-top: 3px solid #FFB224; }

.cwj-alerts-wrap {
  background: #fff; border: 1px solid #e3e6ea; border-radius: 10px;
  padding: 20px; margin: 18px 0;
}
.cwj-al-manage {
  background: #f4f7fa; border: 1px solid #d8e0e8; border-radius: 10px;
  padding: 18px 20px; margin: 18px 0;
}
.cwj-al-notice {
  border-radius: 8px; padding: 12px 16px; margin: 16px 0; font-size: 15px;
}
.cwj-al-notice.ok { background: #e8f5e9; border: 1px solid #7cb342; }
.cwj-al-notice.err { background: #fdecea; border: 1px solid #d9534f; }

.cwj-alerts-form .cwj-al-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px; margin-bottom: 6px;
}
.cwj-al-field { display: block; margin: 0 0 12px; }
.cwj-al-field span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #0d2137; }
.cwj-al-field span em { font-weight: 400; color: #667; font-style: normal; }
.cwj-al-field input, .cwj-al-field select {
  width: 100%; box-sizing: border-box; padding: 10px;
  border: 1px solid #b9c2cc; border-radius: 6px; font: inherit; background: #fff;
}
.cwj-al-feats, .cwj-al-cadence {
  border: 1px solid #e3e6ea; border-radius: 8px; padding: 10px 14px 12px; margin: 0 0 14px;
}
.cwj-al-feats legend, .cwj-al-cadence legend { font-size: 13px; font-weight: 600; color: #0d2137; padding: 0 4px; }
.cwj-al-feats label { display: inline-block; margin: 3px 14px 3px 0; font-size: 14px; }
.cwj-al-cadence label { display: block; margin: 4px 0; font-size: 14px; }
.cwj-al-check { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; margin: 0 0 14px; }
.cwj-al-check input { margin-top: 3px; }
.cwj-al-summary { font-size: 15px; margin: 0 0 14px; }
.cwj-al-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.cwj-al-submit {
  background: #FFB224; color: #0d2137; font-weight: 700; font-size: 16px;
  border: 0; border-radius: 8px; padding: 13px 22px; cursor: pointer; width: 100%;
}
@media (min-width: 700px) { .cwj-al-submit { width: auto; } }
.cwj-al-submit:disabled { opacity: .55; cursor: default; }
.cwj-al-fine { font-size: 12.5px; color: #667; margin: 10px 0 0; }
.cwj-al-status { font-size: 14.5px; margin-top: 12px; }
.cwj-al-status.ok { color: #2e7d32; font-weight: 600; }
.cwj-al-status.err { color: #b3261e; font-weight: 600; }
.cwj-al-manage-form { margin: 8px 0; }
.cwj-al-manage-form button {
  background: #0d2137; color: #FFB224; border: 0; border-radius: 6px;
  padding: 8px 14px; font-weight: 600; cursor: pointer;
}
.cwj-al-manage-form .cwj-al-unsub-btn { background: #fff; color: #b3261e; border: 1px solid #b3261e; }
