/* Paid lead modal + vendor table (front + vendor hub) */
.psh-lead-modal[hidden] {
  display: none !important;
}

.psh-lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.45);
}

@media (min-width: 600px) {
  .psh-lead-modal {
    align-items: center;
  }
}

.psh-lead-modal__dialog {
  background: #fff;
  color: #1d2327;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow: auto;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 1.25rem 1.5rem;
}

.psh-lead-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.psh-lead-modal__head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.psh-lead-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem;
}

.psh-lead-modal__form label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.psh-lead-modal__form input,
.psh-lead-modal__form textarea {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  box-sizing: border-box;
}

.psh-lead-modal__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.psh-table-wrap {
  overflow-x: auto;
}

.psh-leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.psh-leads-table th,
.psh-leads-table td {
  padding: 0.5rem 0.4rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #dcdcde;
}

.psh-btn--small {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
}

.psh-lead-detail {
  padding: 0.75rem 0;
}

.psh-lead-detail-row[hidden] {
  display: none;
}

.psh-intent-badge {
  display: inline-block;
  font-size: 0.78rem;
  line-height: 1.3;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

.psh-intent--high {
  background: #fff0f0;
  color: #6b1c1c;
}

.psh-intent--med {
  background: #fff8e6;
  color: #5c4a00;
}

.psh-intent--low {
  background: #f6f7f7;
  color: #50575e;
}

.psh-intent--verified {
  background: #e7f5e9;
  color: #1e4620;
  font-weight: 600;
}
