/* === LL_FILE_START ===
 * File: business-finder.css
 * Description: Styles autocomplete business search, shared sales messaging, account resolution, and onboarding save transitions.
 */

.ll-business-finder {
    display: flex;
    min-height: clamp(480px, 56vh, 560px);
    flex-direction: column;
    gap: 22px;
    width: min(100%, 900px);
    margin: 0 auto;
}

.ll-business-finder h2,
.ll-business-finder p {
    margin-top: 0;
}

.ll-business-finder-intro {
    display: grid;
    gap: 8px;
}


.ll-business-finder-overview {
    margin-bottom: 4px;
    color: #374151;
    font-size: 17px;
}

/* Release 2026.08.28.6: one sales component is reused on add-search and claim-registration. */
.ll-business-finder-sales {
    margin: 6px 0 10px;
    padding: 16px 18px;
    border: 1px solid #d9e4ef;
    border-radius: 10px;
    background: #fff;
}

.ll-business-finder-sales h3 {
    margin: 0 0 10px;
    color: #111827;
    font-size: 18px;
}

.ll-business-finder-sales h3:not(:first-child) {
    margin-top: 14px;
}

.ll-business-finder-sales ul {
    margin: 0;
    padding-left: 22px;
}

.ll-business-finder-sales li {
    margin: 7px 0;
    color: #334155;
    line-height: 1.5;
}

.ll-business-finder-sales p {
    margin: 0;
    color: #334155;
    line-height: 1.55;
}

.ll-business-finder-sales a {
    color: #0b63ce;
    font-weight: 700;
}


.ll-business-finder-intro p,
.ll-business-finder-account-form > p,
.ll-business-finder-selection p,
.ll-business-finder-no-profile p,
.ll-business-finder-check-email p {
    color: #4b5563;
    line-height: 1.55;
}

.ll-business-finder-identity-note {
    font-size: 14px;
}

.ll-business-finder-search-instructions {
    margin-bottom: 0;
}

.ll-business-finder-start-heading {
    margin-bottom: 0;
}

.ll-business-finder-start-arrow {
    display: inline-flex;
    width: 38px;
    height: 38px;
    margin-right: 9px;
    vertical-align: -9px;
}

.ll-business-finder-start-arrow-svg {
    display: block;
    width: 100%;
    height: 100%;
}

.ll-business-finder-start-arrow-svg circle {
    fill: #16a34a;
}

.ll-business-finder-start-arrow-svg path {
    fill: #fff;
}

.ll-business-finder-start-label {
    white-space: nowrap;
}

.ll-business-finder-entry-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
    gap: 20px;
    align-items: start;
}

.ll-business-finder--standard .ll-business-finder-entry-row {
    margin-top: -16px;
}

.ll-business-finder-search-column {
    min-width: 0;
}

.ll-business-finder-search-shell {
    position: relative;
    margin-bottom: 0;
}

.ll-business-finder-search-icon {
    position: absolute;
    top: 50%;
    left: 17px;
    z-index: 2;
    transform: translateY(-50%);
    color: #4b5563;
    font-size: 25px;
    line-height: 1;
    pointer-events: none;
}

.ll-business-finder-search-shell > input {
    width: 100%;
    min-height: 58px;
    padding: 12px 54px 12px 52px;
    border: 2px solid #9ca3af;
    border-radius: 14px;
    background: #fff;
    font-size: 17px;
    box-sizing: border-box;
}

.ll-business-finder-search-shell > input:focus {
    border-color: #177ab5;
    outline: 4px solid rgb(23 122 181 / 14%);
}

.ll-business-finder-clear {
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #4b5563;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.ll-business-finder-clear:hover,
.ll-business-finder-clear:focus-visible {
    background: #eef2f7;
    color: #111827;
}

.ll-business-finder-results {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    z-index: 20;
}

.ll-business-finder-google-content {
    overflow: hidden;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 34px rgb(15 23 42 / 18%);
}

.ll-business-finder-result {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    cursor: pointer;
    text-align: left;
}

.ll-business-finder-result:hover,
.ll-business-finder-result:focus-visible {
    background: #f3f8fc;
    outline: 0;
}

.ll-business-finder-result-icon {
    color: #4b5563;
    font-size: 22px;
    line-height: 1.2;
}

.ll-business-finder-result-copy {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.ll-business-finder-result-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ll-business-finder-result-copy span {
    overflow: hidden;
    color: #6b7280;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ll-business-finder-attribution {
    padding: 8px 12px;
    color: #5e5e5e;
    font-family: Roboto, Arial, sans-serif;
    font-size: 13px;
    text-align: right;
    white-space: nowrap;
}

.ll-business-finder-empty,
.ll-business-finder-selection,
.ll-business-finder-no-profile,
.ll-business-finder-check-email {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    padding: 16px;
}

.ll-business-finder-empty {
    box-shadow: 0 16px 34px rgb(15 23 42 / 18%);
}

.ll-business-finder-empty p,
.ll-business-finder-selection p {
    margin: 4px 0 0;
}

.ll-business-finder-selection {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    border-color: #8bc49b;
    background: #f4fbf6;
}

.ll-business-finder-selection-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #137333;
    color: #fff;
    font-weight: 800;
}

.ll-business-finder-no-profile {
    margin-top: auto;
    border-color: #93b4df;
    background: #f7fbff;
}

.ll-business-finder-entry-row .ll-business-finder-no-profile {
    margin-top: 0;
}

.ll-business-finder-status {
    padding: 10px 12px;
    border-radius: 7px;
    background: #eef5ff;
    color: #1f4e88;
}

.ll-business-finder-status.is-error {
    background: #fff1f1;
    color: #9b1c1c;
}

.ll-business-finder-account-form {
    display: grid;
    gap: 10px;
}

.ll-business-finder-account-form label {
    margin-top: 4px;
    font-weight: 700;
}

.ll-business-finder-account-business {
    display: grid;
    gap: 3px;
    margin-bottom: 8px;
    padding: 13px 15px;
    border: 1px solid #bfdbfe;
    border-radius: 9px;
    background: #f7fbff;
    color: #1f2937;
}

.ll-business-finder-account-business span {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.035em;
}

.ll-business-finder-account-business strong {
    font-size: 18px;
    line-height: 1.35;
}

.ll-business-finder-authorization {
    display: grid;
    gap: 9px;
    margin: 10px 0 4px;
    padding: 15px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #f8fafc;
}

.ll-business-finder-authorization h3,
.ll-business-finder-authorization p {
    margin: 0;
}

.ll-business-finder-authorization h3 {
    font-size: 17px;
    color: #111827;
}

.ll-business-finder-authorization p {
    color: #475569;
    line-height: 1.5;
}

.ll-business-finder-account-form .ll-business-finder-authorization-check {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin-top: 2px;
    padding: 11px 12px;
    border: 1px solid #d7dee8;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    line-height: 1.45;
}

.ll-business-finder-account-form .ll-business-finder-authorization-check input {
    width: 18px;
    min-height: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
}

.ll-business-finder-account-form input {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #9ca3af;
    border-radius: 7px;
    background: #fff;
    font-size: 16px;
    box-sizing: border-box;
}

.ll-business-finder-account-form input:focus {
    border-color: #0d6efd;
    outline: 3px solid rgb(13 110 253 / 16%);
}

.ll-business-finder-conditional {
    margin-left: 4px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 500;
}


.ll-business-finder-change {
    justify-self: start;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0d6efd;
    cursor: pointer;
    text-decoration: underline;
}

.ll-onboarding-save-transition {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 42px 24px;
    text-align: center;
}

.ll-onboarding-save-transition h2,
.ll-onboarding-save-transition p {
    margin: 0;
}

@media (max-width: 760px) {
    .ll-business-finder-entry-row {
        grid-template-columns: 1fr;
    }

    .ll-business-finder--standard .ll-business-finder-entry-row {
        margin-top: -14px;
    }

}

@media (max-width: 640px) {
    .ll-business-finder {
        min-height: 440px;
    }

    .ll-business-finder-result-copy span,
    .ll-business-finder-result-copy strong {
        white-space: normal;
    }

}


/* Explicit confirmation before the selected Google business opens the form. */
.ll-business-finder-confirm .ll-business-finder-selection {
    margin-top: 18px;
}

.ll-business-finder-confirm-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

@media (max-width: 680px) {
    .ll-business-finder-confirm-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ll-business-finder-confirm-actions .ll-btn {
        width: 100%;
    }

    .ll-business-finder-confirm-actions .ll-btn--primary {
        order: -1;
    }
}

@media (min-width: 761px) {
    .ll-business-finder-entry-row .ll-business-finder-no-profile {
        display: flex;
        align-items: center;
        gap: 14px;
        min-height: 58px;
        padding: 10px 14px;
    }

    .ll-business-finder-entry-row .ll-business-finder-no-profile p {
        margin: 0;
        white-space: nowrap;
    }

    .ll-business-finder-entry-row .ll-business-finder-no-profile .ll-btn {
        flex: 0 0 auto;
        margin: 0;
        white-space: nowrap;
    }
}


/* Business identity details shown above the account/authorization form. */
.ll-business-finder-account-business .ll-business-finder-account-business-address {
    margin-top: 2px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.45;
}

/* ===================================================================
   Canonical business-finder review/result presentation
   Consolidated after the Styling Batch 1 ownership move.
   =================================================================== */
body .ll-business-finder .ll-business-finder-entry-row {
  display: block;
  width: 100%;
}
body .ll-business-finder .ll-business-finder-search-column {
  display: block;
  width: 100%;
  min-width: 0;
}
body .ll-business-finder .ll-business-finder-no-profile--below-search {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 7px;
  width: 100%;
  min-height: 0;
  margin: 8px 2px 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #475467;
  font-size: 16px;
  line-height: 1.4;
}
body .ll-business-finder .ll-business-finder-no-profile-copy {
  margin: 0;
  padding: 0;
}
body .ll-business-finder a.ll-business-finder-manual-link {
  display: inline;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ll-color-link);
  font: inherit;
  font-weight: 700;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body .ll-business-finder a.ll-business-finder-manual-link:hover,
body .ll-business-finder a.ll-business-finder-manual-link:focus-visible {
  color: var(--ll-color-link-hover);
  background: transparent;
  text-decoration-thickness: 2px;
}
body .ll-business-finder a.ll-business-finder-manual-link[aria-disabled="true"] {
  color: #98a2b3;
  cursor: wait;
  pointer-events: none;
}
body .ll-business-finder .ll-business-finder-results--in-flow {
  position: static;
  inset: auto;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: auto;
  width: 100%;
  max-width: none;
  margin: 4px 0 0;
  transform: none;
}
body .ll-business-finder .ll-business-finder-results-heading {
  margin: 0 0 8px;
  color: #101828;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}
body .ll-business-finder .ll-business-finder-google-content {
  overflow: hidden;
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 22px rgb(16 24 40 / 9%);
}
body .ll-business-finder button.ll-business-finder-result {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #eaecf0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  color: #101828;
  text-align: left;
  cursor: pointer;
}
body .ll-business-finder button.ll-business-finder-result:hover,
body .ll-business-finder button.ll-business-finder-result:focus-visible {
  background: #f0fdf4;
  outline: 3px solid rgb(22 163 74 / 18%);
  outline-offset: -3px;
}
body .ll-business-finder .ll-business-finder-result-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #16794a;
  font-size: 1.25rem;
  font-weight: 900;
}
body .ll-business-finder .ll-business-finder-result-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}
body .ll-business-finder .ll-business-finder-result-copy strong {
  color: #101828;
  font-size: 16px;
  line-height: 1.3;
}
body .ll-business-finder .ll-business-finder-result-copy > span {
  color: #667085;
  font-size: 14px;
  line-height: 1.35;
}
body .ll-business-finder .ll-business-finder-result-select {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #16794a;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
body .ll-business-finder .ll-business-finder-attribution {
  padding: 7px 14px 8px;
  color: #667085;
  background: #f9fafb;
  font-size: 0.72rem;
  line-height: 1.2;
  text-align: right;
}

@media (max-width: 640px) {
  body .ll-business-finder button.ll-business-finder-result {
    grid-template-columns: 24px minmax(0, 1fr);
  }
  body .ll-business-finder .ll-business-finder-result-select {
    grid-column: 2;
    justify-self: start;
  }
}
