/*
 * PropNook Wave 4
 * Free Dashboard
 *
 * Scoped exclusively to .pn-free-dashboard.
 */

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

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

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

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

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

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

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

.pn-free-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;
}

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

.pn-free-kpi-label {
    margin-bottom: 7px;
    color: #667085;
    font-size: 12px;
    font-weight: 700;
}

.pn-free-kpi strong {
    color: #0F1D2E;
    font-size: 30px;
    line-height: 1;
}

.pn-free-kpi > span:last-child {
    margin-top: 9px;
    color: #7A8492;
    font-size: 12px;
}

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

.pn-free-primary,
.pn-free-side {
    display: grid;
    gap: 20px;
}

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

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

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

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

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

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

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

.pn-free-property-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    padding: 18px 22px;
    border-bottom: 1px solid #EAECF0;
}

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

.pn-free-property-photo {
    display: flex;
    min-height: 100px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #EAECF0;
    border-radius: 7px;
    background: #F5F7FA;
    color: #98A2B3;
    font-size: 12px;
    font-weight: 700;
}

.pn-free-property-photo img {
    width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: cover;
}

.pn-free-property-copy {
    min-width: 0;
}

.pn-free-property-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.pn-free-property-top h3 {
    margin: 0;
    color: #0F1D2E;
    font-size: 16px;
    line-height: 1.35;
}

.pn-free-property-top p {
    margin: 4px 0 0;
    color: #7A8492;
    font-size: 13px;
}

.pn-free-property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

.pn-free-property-meta span {
    padding: 5px 8px;
    border: 1px solid #E4E7EC;
    border-radius: 6px;
    background: #F8FAFC;
    color: #475467;
    font-size: 11px;
    font-weight: 700;
}

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

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

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

.pn-free-stage-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.pn-free-stage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 22px;
    border-right: 1px solid #EAECF0;
    border-bottom: 1px solid #EAECF0;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.pn-free-stage:nth-child(even) {
    border-right: 0;
}

.pn-free-stage strong {
    min-width: 28px;
    padding: 4px 7px;
    border-radius: 6px;
    background: #F2F4F7;
    color: #0F1D2E;
    text-align: center;
}

.pn-free-reminders {
    display: grid;
}

.pn-free-reminder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #EAECF0;
}

.pn-free-reminder:last-child {
    border-bottom: 0;
}

.pn-free-reminder > div {
    min-width: 0;
}

.pn-free-reminder strong,
.pn-free-reminder span {
    display: block;
}

.pn-free-reminder strong {
    overflow: hidden;
    color: #344054;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pn-free-reminder span {
    margin-top: 4px;
    color: #7A8492;
    font-size: 11px;
}

.pn-free-reminder time {
    flex: 0 0 auto;
    color: #475467;
    font-size: 11px;
    font-weight: 700;
}

.pn-free-actions {
    display: grid;
}

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

.pn-free-actions a:last-child {
    border-bottom: 0;
}

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

.pn-free-actions a:hover {
    background: #F8FAFC;
}

.pn-free-actions strong,
.pn-free-actions span {
    display: block;
}

.pn-free-actions strong {
    color: #344054;
    font-size: 13px;
}

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

.pn-free-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-free-freddy img {
    display: block;
    width: 100px;
    max-height: 120px;
    object-fit: contain;
}

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

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

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

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

.pn-free-empty {
    display: flex;
    min-height: 260px;
    align-items: center;
    justify-content: center;
    gap: 26px;
    padding: 35px;
    text-align: left;
}

.pn-free-empty img {
    width: 115px;
    max-height: 140px;
    object-fit: contain;
}

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

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

.pn-free-mini-empty {
    padding: 25px 22px;
    color: #7A8492;
    font-size: 13px;
    line-height: 1.55;
}

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

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

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

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

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

    .pn-free-property-row {
        grid-template-columns: 1fr;
    }

    .pn-free-property-photo {
        max-height: 190px;
    }

    .pn-free-stage-list {
        grid-template-columns: 1fr;
    }

    .pn-free-stage {
        border-right: 0;
    }

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

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

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

/* =========================================================
   PROPNOOK FREE — NAVY/ORANGE PRODUCT SKIN
   Matches Small Landlord visual system
   ========================================================= */

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

.pn-free-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-free-head h1 {
    color: #fff !important;
}

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

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

.pn-free-kpi,
.pn-free-panel,
.pn-free-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-free-kpi {
    border-radius: 14px !important;
}

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

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

.pn-free-kpi-label,
.pn-free-panel p,
.pn-free-panel small,
.pn-free-freddy p {
    color: #91a5b5 !important;
}

.pn-free-property-row,
.pn-free-stage,
.pn-free-reminder {
    background: rgba(255,255,255,.035) !important;
    border-color: rgba(255,255,255,.08) !important;
    color: #edf5fb !important;
}

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

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

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

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

.pn-free-dashboard input,
.pn-free-dashboard select,
.pn-free-dashboard textarea {
    background: #0a2335 !important;
    color: #fff !important;
    border-color: rgba(255,255,255,.12) !important;
}

