/* /biz/leads on the US site (templates/biz-leads-us.html.twig): the "Leads on sale now" preview.
   Shipped flat because Encore is not rebuilt on deploy. A change here needs a new ?v= in the template. */

.lead-preview {
  margin: 0 0 24px;
  border: 1px solid #e1e4e8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
  overflow: hidden;
}

.lead-preview__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 18px;
  background: #f4f5f7;
  border-bottom: 1px solid #e1e4e8;
}

.lead-preview__count {
  margin: 0;
  font-size: 17px;
  color: #333;
}

.lead-preview__count strong {
  font-size: 22px;
  color: #1d7d5a;
}

.lead-preview__live {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, .2);
  vertical-align: 2px;
}

.lead-preview__updated {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.lead-preview__table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.35;
}

.lead-preview__table th {
  padding: 10px 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: left;
  color: #6b7280;
  border-bottom: 1px solid #e1e4e8;
  white-space: nowrap;
}

.lead-preview__table td {
  padding: 12px 10px;
  vertical-align: middle;
  border-bottom: 1px solid #eef0f2;
}

.lead-preview__table th:first-child,
.lead-preview__table td:first-child {
  padding-left: 18px;
}

.lead-preview__table th:last-child,
.lead-preview__table td:last-child {
  padding-right: 18px;
}

.lead-preview__table tbody tr:last-child td {
  border-bottom: 0;
}

.lead-preview__table tbody tr:hover td {
  background: #fafbfc;
}

.lead-preview__place {
  font-weight: 600;
  color: #222;
  white-space: nowrap;
}

.lead-preview__arrow {
  margin: 0 4px;
  font-size: 13px;
  color: #1d7d5a;
}

.lead-preview__tags {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}

.lead-preview__tag {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #eef0f2;
  white-space: nowrap;
}

.lead-preview__tag--checked {
  color: #1d7d5a;
  background: #e6f4ee;
}

.lead-preview__tag--checked i {
  margin-right: 4px;
}

.lead-preview__nowrap {
  white-space: nowrap;
}

.lead-preview__age {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 14px;
  color: #555;
  background: #f4f5f7;
  white-space: nowrap;
}

.lead-preview__note {
  margin: 0;
  padding: 12px 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
  background: #fafbfc;
  border-top: 1px solid #e1e4e8;
}

.lead-preview__note i {
  margin-right: 6px;
  color: #1d7d5a;
}

.lead-preview__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px 18px;
  border-top: 1px solid #e1e4e8;
}

.lead-preview__cta p {
  flex: 1 1 260px;
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
}

.lead-preview--empty .lead-preview__count {
  padding: 18px;
}

/* Narrow screens: each lead becomes a small card, the column names move next to the values */
@media (max-width: 991.98px) {
  .lead-preview__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .lead-preview__table,
  .lead-preview__table tbody,
  .lead-preview__table tr,
  .lead-preview__table td {
    display: block;
  }

  .lead-preview__table tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 6px 14px;
    align-items: baseline;
    padding: 12px 16px;
    border-bottom: 1px solid #eef0f2;
  }

  .lead-preview__table tbody tr:last-child {
    border-bottom: 0;
  }

  .lead-preview__table td {
    padding: 0;
    border: 0;
  }

  .lead-preview__table tbody tr:hover td {
    background: none;
  }

  .lead-preview__table td:first-child,
  .lead-preview__table td:last-child {
    padding: 0;
  }

  .lead-preview__table td.lead-preview__route {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .lead-preview__table td.lead-preview__when {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }

  .lead-preview__table td.lead-preview__size {
    grid-column: 2 / 4;
  }

  .lead-preview__table td[data-label]:not(.lead-preview__route)::before {
    content: attr(data-label) ": ";
    color: #6b7280;
  }

  .lead-preview__place {
    white-space: normal;
  }

  .lead-preview__summary,
  .lead-preview__note,
  .lead-preview__cta {
    padding-left: 16px;
    padding-right: 16px;
  }
}

.lead-preview__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.biz-leads-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.biz-leads-faq {
  margin: 12px 0 28px;
  border: 1px solid #e1e4e8;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.biz-leads-faq details {
  border-bottom: 1px solid #eef0f2;
}

.biz-leads-faq details:last-child {
  border-bottom: 0;
}

.biz-leads-faq summary {
  padding: 14px 18px;
  font-weight: 600;
  color: #222;
  cursor: pointer;
  background: #fff;
  transition: background .15s ease;
}

.biz-leads-faq summary:hover {
  background: #fafbfc;
}

.biz-leads-faq details[open] summary {
  border-bottom: 1px solid #eef0f2;
  background: #f8faf9;
  color: #1d7d5a;
}

.biz-leads-faq details p {
  margin: 0;
  padding: 14px 18px;
  color: #4b5563;
  line-height: 1.55;
}

