/* Generic Pick 3 Provider Lead UI - front-end only */
.lead-shortlist-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(45, 111, 159, 0.22);
  border-radius: 10px;
  background: #f7fbff;
  color: #15364f;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}

.lead-shortlist-control input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #2d6f9f;
}

.lead-shortlist-control-profile {
  margin: 12px 0;
  justify-content: flex-start;
}

.lead-shortlist-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(120%);
  z-index: 9998;
  width: min(720px, calc(100% - 24px));
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.lead-shortlist-bar.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.lead-shortlist-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #15364f;
  color: #fff;
  box-shadow: 0 14px 32px rgba(15, 40, 62, 0.28);
}

.lead-shortlist-bar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lead-shortlist-bar button,
.lead-shortlist-form-actions button {
  border: 0;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 700;
  cursor: pointer;
}

.lead-shortlist-open,
.lead-shortlist-submit {
  background: #2d6f9f;
  color: #fff;
}

.lead-shortlist-clear,
.lead-shortlist-cancel {
  background: #eaf6ff;
  color: #15364f;
}

.lead-shortlist-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.lead-shortlist-modal.is-open {
  display: block;
}

.lead-shortlist-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 39, 0.58);
}

.lead-shortlist-dialog {
  position: relative;
  width: min(620px, calc(100% - 28px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  margin: 24px auto;
  padding: 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  color: #253241;
}

.lead-shortlist-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #edf5fa;
  color: #15364f;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.lead-shortlist-dialog h2 {
  margin: 0 38px 8px 0;
  color: #15364f;
}

.lead-shortlist-intro,
.lead-shortlist-note {
  color: #64748b;
  line-height: 1.45;
}

.lead-selected-list {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f6f9fb;
  border: 1px solid #d8e5ee;
}

.lead-selected-list h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #15364f;
}

.lead-selected-list ul {
  margin: 0;
  padding-left: 18px;
}

.lead-shortlist-form {
  display: grid;
  gap: 12px;
}

.lead-shortlist-form label {
  display: grid;
  gap: 5px;
  font-weight: 700;
  color: #253241;
}

.lead-shortlist-form input[type="text"],
.lead-shortlist-form input[type="email"],
.lead-shortlist-form input[type="tel"],
.lead-shortlist-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cddce7;
  border-radius: 10px;
  padding: 10px 11px;
  font: inherit;
}


.lead-fixed-message {
  background: #f5f9fc;
  border: 1px solid rgba(45,111,159,.18);
  border-radius: 12px;
  padding: 12px 14px;
  color: #344256;
  line-height: 1.45;
}

.lead-fixed-message span {
  display: inline-block;
  margin-top: 4px;
  color: #243244;
}

.lead-consent {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 9px !important;
  font-weight: 400 !important;
  line-height: 1.42;
}

.lead-consent input {
  margin-top: 3px;
}

.lead-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.lead-shortlist-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.lead-shortlist-success {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ecfdf3;
  border: 1px solid #b7ebc8;
  color: #146c2e;
  font-weight: 700;
}

@media (max-width: 640px) {
  .lead-shortlist-bar-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .lead-shortlist-bar-actions {
    width: 100%;
  }

  .lead-shortlist-bar-actions button {
    flex: 1;
  }

  .lead-shortlist-dialog {
    padding: 20px;
    margin: 14px auto;
    max-height: calc(100vh - 28px);
  }

  .lead-shortlist-form-actions {
    flex-direction: column-reverse;
  }
}

.lead-shortlist-success.is-error {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #9f1239;
}
