/*
 * PropNook Wave 5
 * Hunt+ Dashboard
 *
 * Scoped exclusively to .pn-search-dashboard.
 */

.pn-search-dashboard {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 28px 30px 52px;
}

.pn-search-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
}

.pn-search-head > div {
    max-width: 760px;
}

.pn-search-eyebrow,
.pn-search-section-label {
    display: block;
    margin-bottom: 7px;
    color: #667085;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
}

.pn-search-head h1 {
    margin: 0;
    color: #0F1D2E;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.14;
    letter-spacing: -.025em;
}

.pn-search-head p {
    max-width: 700px;
    margin: 9px 0 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.6;
}

.pn-search-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.pn-search-kpi {
    display: flex;
    min-width: 0;
    min-height: 132px;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    border: 1px solid #E4E7EC;
    border-radius: 9px;
    background: #FFFFFF;
    color: inherit;
    text-decoration: none;
    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        transform .16s ease;
}

.pn-search-kpi:hover {
    border-color: #C8CDD3;
    box-shadow: 0 7px 18px rgba(15,29,46,.06);
    transform: translateY(-1px);
}

.pn-search-kpi > span {
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.pn-search-kpi > strong {
    margin-top: 7px;
    color: #0F1D2E;
    font-size: 30px;
    line-height: 1;
}

.pn-search-kpi > small {
    margin-top: 9px;
    color: #7A8492;
    font-size: 12px;
}

.pn-search-kpi-attention {
    border-top: 3px solid #FF8A00;
}

.pn-search-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(300px, .75fr);
    gap: 20px;
    align-items: start;
}

.pn-search-main,
.pn-search-side {
    display: grid;
    gap: 20px;
}

.pn-search-panel {
    overflow: hidden;
    border: 1px solid #E4E7EC;
    border-radius: 9px;
    background: #FFFFFF;
}

.pn-search-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border-bottom: 1px solid #EAECF0;
}

.pn-search-panel-head h2 {
    margin: 0;
    color: #0F1D2E;
    font-size: 18px;
    line-height: 1.3;
}

.pn-search-panel-head p {
    margin: 5px 0 0;
    color: #7A8492;
    font-size: 13px;
    line-height: 1.5;
}

.pn-search-panel-head > a {
    flex: 0 0 auto;
    color: #335D8A;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.pn-search-panel-head > a:hover {
    text-decoration: underline;
}

.pn-search-pipeline {
    display: flex;
    align-items: stretch;
    gap: 5px;
    overflow-x: auto;
    padding: 18px;
}

.pn-search-stage {
    display: flex;
    min-width: 96px;
    flex: 1 0 96px;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    padding: 13px;
    border: 1px solid #E4E7EC;
    border-radius: 7px;
    background: #F8FAFC;
    color: inherit;
    text-decoration: none;
}

.pn-search-stage:hover {
    border-color: #C8CDD3;
    background: #FFFFFF;
}

.pn-search-stage-name {
    color: #667085;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.pn-search-stage strong {
    color: #0F1D2E;
    font-size: 21px;
}

.pn-search-pipeline-arrow {
    display: flex;
    flex: 0 0 12px;
    align-items: center;
    justify-content: center;
    color: #98A2B3;
    font-size: 19px;
}

.pn-search-property-list {
    display: grid;
}

.pn-search-property {
    padding: 19px 22px;
    border-bottom: 1px solid #EAECF0;
}

.pn-search-property:last-child {
    border-bottom: 0;
}

.pn-search-property-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.pn-search-property h3 {
    margin: 8px 0 0;
    color: #0F1D2E;
    font-size: 16px;
}

.pn-search-property p {
    margin: 4px 0 0;
    color: #7A8492;
    font-size: 12px;
}

.pn-search-status {
    display: inline-flex;
    padding: 4px 7px;
    border: 1px solid #E4E7EC;
    border-radius: 6px;
    background: #F8FAFC;
    color: #475467;
    font-size: 10px;
    font-weight: 800;
}

.pn-search-rent {
    flex: 0 0 auto;
    text-align: right;
}

.pn-search-rent span,
.pn-search-rent small {
    display: block;
    color: #7A8492;
    font-size: 10px;
}

.pn-search-rent strong {
    display: block;
    margin: 2px 0;
    color: #0F1D2E;
    font-size: 18px;
}

.pn-search-costs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.pn-search-costs > div {
    padding: 10px;
    border: 1px solid #EAECF0;
    border-radius: 6px;
    background: #F8FAFC;
}

.pn-search-costs span,
.pn-search-costs strong {
    display: block;
}

.pn-search-costs span {
    color: #7A8492;
    font-size: 10px;
}

.pn-search-costs strong {
    margin-top: 4px;
    color: #344054;
    font-size: 12px;
}

.pn-search-property-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 14px;
}

.pn-search-property-actions a {
    color: #335D8A;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.pn-search-property-actions a:hover {
    text-decoration: underline;
}

.pn-search-property-actions span {
    color: #98A2B3;
    font-size: 11px;
}

.pn-search-followups {
    display: grid;
}

.pn-search-followups > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 20px;
    border-bottom: 1px solid #EAECF0;
    color: inherit;
    text-decoration: none;
}

.pn-search-followups > a:last-child {
    border-bottom: 0;
}

.pn-search-followups > a:hover {
    background: #F8FAFC;
}

.pn-search-followups strong,
.pn-search-followups span {
    display: block;
}

.pn-search-followups strong {
    color: #344054;
    font-size: 12px;
}

.pn-search-followups span {
    margin-top: 3px;
    color: #7A8492;
    font-size: 10px;
}

.pn-search-followups small {
    flex: 0 0 auto;
    color: #B54708;
    font-size: 10px;
    font-weight: 700;
}

.pn-search-tools {
    display: grid;
}

.pn-search-tools a {
    position: relative;
    display: block;
    padding: 14px 42px 14px 20px;
    border-bottom: 1px solid #EAECF0;
    color: inherit;
    text-decoration: none;
}

.pn-search-tools a:last-child {
    border-bottom: 0;
}

.pn-search-tools a::after {
    position: absolute;
    top: 50%;
    right: 20px;
    content: "›";
    color: #98A2B3;
    font-size: 20px;
    transform: translateY(-50%);
}

.pn-search-tools a:hover {
    background: #F8FAFC;
}

.pn-search-tools strong,
.pn-search-tools span {
    display: block;
}

.pn-search-tools strong {
    color: #344054;
    font-size: 13px;
}

.pn-search-tools span {
    margin-top: 3px;
    color: #7A8492;
    font-size: 11px;
}

.pn-search-freddy {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 20px;
    border: 1px solid #E4E7EC;
    border-radius: 9px;
    background: #FFFFFF;
}

.pn-search-freddy img {
    display: block;
    width: 100px;
    max-height: 120px;
    object-fit: contain;
}

.pn-search-freddy h2 {
    margin: 0;
    color: #0F1D2E;
    font-size: 17px;
}

.pn-search-freddy p {
    margin: 6px 0 9px;
    color: #667085;
    font-size: 12px;
    line-height: 1.55;
}

.pn-search-freddy a {
    color: #335D8A;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.pn-search-freddy a:hover {
    text-decoration: underline;
}

.pn-search-empty {
    display: flex;
    min-height: 270px;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 35px;
}

.pn-search-empty img {
    width: 120px;
    max-height: 145px;
    object-fit: contain;
}

.pn-search-empty h3 {
    margin: 0;
    color: #0F1D2E;
    font-size: 19px;
}

.pn-search-empty p {
    max-width: 470px;
    margin: 7px 0 17px;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.pn-search-mini-empty {
    padding: 25px 20px;
    color: #7A8492;
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .pn-search-kpis {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pn-search-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .pn-search-dashboard {
        padding: 20px 16px 40px;
    }

    .pn-search-head {
        flex-direction: column;
    }

    .pn-search-kpis {
        grid-template-columns: 1fr;
    }

    .pn-search-property-top {
        flex-direction: column;
    }

    .pn-search-rent {
        text-align: left;
    }

    .pn-search-costs {
        grid-template-columns: 1fr;
    }

    .pn-search-freddy {
        grid-template-columns:
            78px minmax(0, 1fr);
    }

    .pn-search-freddy img {
        width: 78px;
    }

    .pn-search-empty {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================================
   PROPNOOK SEARCH PLUS — NAVY/ORANGE PRODUCT SKIN
   ========================================================= */

.pn-search-dashboard {
    color: #edf5fb !important;
}

.pn-search-head {
    background:
        radial-gradient(circle at 88% 25%, rgba(255,122,26,.15), transparent 28%),
        linear-gradient(135deg,#12334a 0%,#0b263a 55%,#081e30 100%) !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.20) !important;
}

.pn-search-head h1 {
    color: #fff !important;
}

.pn-search-head p {
    color: #afc0cd !important;
}

.pn-search-eyebrow,
.pn-search-section-label {
    color: #ff7a1a !important;
}

.pn-search-kpi,
.pn-search-panel,
.pn-search-freddy {
    background:
        linear-gradient(145deg,#102d41,#0a2233) !important;
    border: 1px solid rgba(255,255,255,.09) !important;
    color: #edf5fb !important;
    box-shadow: 0 12px 32px rgba(0,0,0,.14) !important;
}

.pn-search-kpi {
    border-radius: 14px !important;
}

.pn-search-panel,
.pn-search-freddy {
    border-radius: 16px !important;
}

.pn-search-kpi strong,
.pn-search-panel h2,
.pn-search-panel h3,
.pn-search-freddy h2,
.pn-search-freddy h3 {
    color: #fff !important;
}

.pn-search-kpi > span,
.pn-search-kpi > small,
.pn-search-panel p,
.pn-search-panel small,
.pn-search-freddy p {
    color: #91a5b5 !important;
}

.pn-search-property,
.pn-search-stage,
.pn-search-followups > *,
.pn-search-tools > * {
    background: rgba(255,255,255,.035) !important;
    border-color: rgba(255,255,255,.08) !important;
    color: #edf5fb !important;
}

.pn-search-property:hover {
    background: rgba(255,255,255,.055) !important;
    border-color: rgba(255,122,26,.35) !important;
}

.pn-search-panel-head {
    border-color: rgba(255,255,255,.09) !important;
}

.pn-search-panel-head > a {
    color: #ff8a2b !important;
}

.pn-search-empty,
.pn-search-mini-empty {
    color: #91a5b5 !important;
}

