/*
 * Find My Match + Rent for Me (app/GuidedSearch). A stylesheet of its own,
 * deliberately kept out of property-home.css -- see
 * resources/themes/property/views/partials/guided-search-banner.blade.php for
 * why. Pushed once by whichever page needs it; safe to load alone.
 */

/* ---------------------------------------------------------------------
   Homepage banner (.hgs-banner-*)
   --------------------------------------------------------------------- */
.hgs-banner__panel {
    background: #eef3ff;
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.hgs-banner__pill {
    display: inline-block;
    background: #0745D9;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 999px;
    margin: 0;
}

.hgs-banner__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #14213d;
}

.hgs-banner__text {
    margin: 0;
    color: #42526b;
    max-width: 640px;
}

.hgs-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    background: #0745D9;
    color: #fff;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    text-decoration: none;
}

/* ---------------------------------------------------------------------
   The flow pages (.hgs-*)
   --------------------------------------------------------------------- */
.hgs-page { padding: 40px 16px 64px; }
.hgs-shell { max-width: 760px; margin: 0 auto; }
.hgs-shell--narrow { max-width: 560px; }
.hgs-shell--center { text-align: center; }

.hgs-progress { color: #6b7280; font-size: 13px; margin-bottom: 8px; }
.hgs-heading { font-size: 24px; font-weight: 700; margin: 0 0 6px; color: #14213d; }
.hgs-sub { color: #42526b; margin: 0 0 22px; }
.hgs-hint { color: #6b7280; font-size: 13px; margin: -8px 0 12px; }
.hgs-notice { background: #fff7e6; border: 1px solid #f5c767; color: #7a5200; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.hgs-honest { color: #6b7280; font-size: 13px; margin: 6px 0 18px; }

.hgs-errors { background: #fdecec; border: 1px solid #f1a9a9; color: #8a1f1f; padding: 10px 14px; border-radius: 10px; margin-bottom: 16px; }
.hgs-errors ul { margin: 0; padding-inline-start: 18px; }

.hgs-form { display: flex; flex-direction: column; gap: 14px; }

.hgs-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: #14213d; }
.hgs-field input, .hgs-field select {
    font-weight: 400;
    border: 1px solid #d7dce5;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 15px;
}

.hgs-readonly { margin: 0; font-weight: 400; border: 1px solid #e5e8ee; background: #f6f7f9; border-radius: 10px; padding: 10px 12px; font-size: 15px; text-align: start; }
.hgs-hint { font-weight: 400; font-size: 13px; color: #6b7280; }

.hgs-options { display: flex; flex-wrap: wrap; gap: 10px; }
.hgs-option { border: 1px solid #d7dce5; border-radius: 999px; padding: 8px 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.hgs-option:has(input:checked) { border-color: #0745D9; background: #eef3ff; }

.hgs-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #42526b; }
.hgs-consent input { margin-top: 3px; }

.hgs-criteria { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-direction: column; gap: 4px; color: #42526b; }

.hgs-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }

.hgs-btn { border-radius: 999px; padding: 10px 24px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; border: 1px solid transparent; cursor: pointer; font-size: 15px; }
.hgs-btn--primary { background: #0745D9; color: #fff; }
.hgs-btn--quiet { background: transparent; color: #42526b; border-color: #d7dce5; }

.hgs-choose { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.hgs-choice { display: block; width: 100%; text-align: start; border-radius: 14px; padding: 18px 20px; border: 1px solid #d7dce5; background: #fff; cursor: pointer; text-decoration: none; }
.hgs-choice--primary { border-color: #0745D9; background: #eef3ff; }
.hgs-choice__title { display: block; font-weight: 700; color: #14213d; margin-bottom: 4px; }
.hgs-choice__text { display: block; color: #42526b; font-size: 14px; }

.hgs-reference { font-weight: 700; font-size: 18px; margin-bottom: 18px; color: #14213d; }

/* Zero-results card on the search page */
.hgs-zero-card { border: 1px dashed #0745D9; border-radius: 12px; padding: 16px 18px; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
