/* ==============================================================
   HOME — Step 1: Remove Kadence default page-title hero
   ============================================================== */

/*
 * The Home page uses our plugin content below. Kadence's automatic
 * "Home" page-title/hero is not part of the approved design, so hide
 * only that theme-generated section on the Home page.
 *
 * This does not alter the plugin markup, PHP processing, or JavaScript.
 */
body.home .entry-hero,
body.home .page-hero-section,
body.home section.entry-hero,
body.page-id-85 .entry-hero,
body.page-id-85 .page-hero-section,
body.page-id-85 section.entry-hero {
    display:none !important;
}

/* Prevent the hidden theme hero from leaving vertical spacing behind. */
body.home #content,
body.home .site-content,
body.home .content-area,
body.home .site-main,
body.page-id-85 #content,
body.page-id-85 .site-content,
body.page-id-85 .content-area,
body.page-id-85 .site-main {
    margin-top:0 !important;
    padding-top:0 !important;
}

/*
 * Simple Property Listings — Frontend Stylesheet
 *
 * v1.56 stable baseline.
 * This file contains presentation only: layout, spacing, typography,
 * colors, components and responsive rules. PHP/JS logic remains separate.
 *
 * IMPORTANT: This pass only organizes documentation/headings. Existing CSS
 * declarations are intentionally preserved to avoid visual regressions.
 */

/* ==============================================================
   1. List Your Property — Base, Hero & Form
   ============================================================== */

/*
         * FINAL CUSTOMER-FACING DESIGN
         * List Your Property page (page ID 51).
         *
         * The page is intentionally self-contained here so the old Customizer
         * Additional CSS is no longer required.
         */

        /* --------------------------------------------------------------
         * Page / theme cleanup
         * -------------------------------------------------------------- */
        .spl-property-submission {
            width:100%;
            margin:0 auto;
            box-sizing:border-box;
        }

        body.page-id-51,
        body.page-id-51 #page,
        body.page-id-51 .site,
        body.page-id-51 #content,
        body.page-id-51 .site-content,
        body.page-id-51 .content-area,
        body.page-id-51 .site-main,
        body.page-id-51 .content-wrap,
        body.page-id-51 .entry-content-wrap,
        body.page-id-51 article.entry {
            background:#fff !important;
        }

        /* Remove Kadence/theme spacing that created the blue strip above the hero. */
        body.page-id-51 #content,
        body.page-id-51 .site-content,
        body.page-id-51 .content-area,
        body.page-id-51 .site-main,
        body.page-id-51 .content-wrap,
        body.page-id-51 .entry-content-wrap,
        body.page-id-51 .entry-content.single-content,
        body.page-id-51 article.entry {
            width:100% !important;
            max-width:none !important;
            margin-top:0 !important;
            padding-top:0 !important;
        }

        body.page-id-51 .entry-content-wrap,
        body.page-id-51 .entry-content.single-content {
            margin-bottom:0 !important;
            padding-left:0 !important;
            padding-right:0 !important;
            padding-bottom:0 !important;
        }

        /* Hide every theme-generated title/hero. Our custom hero is the only one. */
        body.page-id-51 .entry-hero,
        body.page-id-51 .page-hero-section,
        body.page-id-51 section.entry-hero,
        body.page-id-51 article.entry > .entry-header,
        body.page-id-51 article.entry .entry-header,
        body.page-id-51 article.entry .entry-title {
            display:none !important;
        }

        /* --------------------------------------------------------------
         * Approved hero
         * -------------------------------------------------------------- */
        .spl-custom-hero {
            position:relative;
            z-index:1;
            width:100vw;
            height:315px;
            min-height:315px;
            margin:0 0 0 calc(50% - 50vw) !important;
            padding:0 !important;
            display:flex;
            align-items:center;
            box-sizing:border-box;
            overflow:hidden;
            background-color:#f7f5f1;
            background-image:url('../homeforrent-hero-final-image.png');
            background-size:cover;
            background-repeat:no-repeat;
            background-position:center center;
        }

        .spl-custom-hero-inner {
            width:min(1200px, calc(100% - 120px));
            margin:0 auto;
            padding:0 !important;
            box-sizing:border-box;
            text-align:left;
        }

        .spl-custom-hero h1 {
            margin:0 !important;
            padding:0 !important;
            color:#102f52 !important;
            font-size:44px !important;
            line-height:1.15 !important;
            font-weight:700 !important;
            letter-spacing:-.7px !important;
        }

        .spl-custom-hero p {
            margin:12px 0 0 !important;
            padding:0 !important;
            color:#647184 !important;
            font-size:18px !important;
            line-height:1.45 !important;
            font-weight:400 !important;
        }

        /* Make sure hidden theme hero wrappers cannot add spacing back. */
        body.page-id-51 .entry-hero .entry-header,
        body.page-id-51 .entry-hero .kt-row-column-wrap,
        body.page-id-51 .entry-hero .container,
        body.page-id-51 .page-hero-section .entry-header {
            background:transparent !important;
            box-shadow:none !important;
            border:0 !important;
        }

        /* --------------------------------------------------------------
         * Approved form card
         * -------------------------------------------------------------- */
        .spl-property-form {
            position:relative;
            z-index:2;
            display:block !important;
            width:min(1180px, calc(100% - 48px)) !important;
            max-width:1180px !important;
            margin:-60px auto 42px !important;
            padding:30px 34px 28px !important;
            box-sizing:border-box;
            background:rgba(255,255,255,.985) !important;
            border:1px solid #edf0f3 !important;
            border-radius:16px !important;
            box-shadow:0 10px 35px rgba(16,47,82,.10) !important;
        }

        .spl-form-section {
            display:block !important;
            width:100% !important;
            margin:0 !important;
            padding:0 !important;
            box-sizing:border-box;
        }

        .spl-form-section + .spl-form-section {
            margin-top:24px !important;
        }

        .spl-form-section-title {
            display:flex;
            align-items:center;
            gap:12px;
            margin:0 0 22px !important;
            padding:0 0 10px !important;
            border-bottom:2px solid #f6a21a !important;
            color:#102f52 !important;
            font-size:18px !important;
            line-height:1.3 !important;
            font-weight:700 !important;
        }

        .spl-section-icon {
            color:#f6a21a;
            font-size:21px;
            line-height:1;
            width:22px;
            text-align:center;
            font-weight:400;
            flex:0 0 22px;
        }

        .spl-user-icon { font-size:24px; }

        .spl-form-field {
            margin:0 0 18px !important;
            padding:0 !important;
            min-width:0;
        }

        .spl-form-field label {
            display:block;
            margin:0 0 7px !important;
            color:#102f52 !important;
            font-size:12px !important;
            line-height:1.35 !important;
            font-weight:600 !important;
        }

        .spl-form-field input:not([type="file"]),
        .spl-form-field select,
        .spl-form-field textarea {
            display:block !important;
            width:100% !important;
            min-height:42px !important;
            padding:10px 12px !important;
            box-sizing:border-box !important;
            border:1px solid #d6dee7 !important;
            border-radius:6px !important;
            background:#fff !important;
            color:#26384d !important;
            font-size:13px !important;
            line-height:1.4 !important;
            outline:none !important;
            box-shadow:none !important;
            transition:border-color .18s ease, box-shadow .18s ease;
        }

        .spl-form-field textarea {
            min-height:116px !important;
            resize:vertical;
        }

        .spl-form-field input:not([type="file"]):focus,
        .spl-form-field select:focus,
        .spl-form-field textarea:focus {
            border-color:#91abc4 !important;
            box-shadow:0 0 0 3px rgba(16,47,82,.06) !important;
        }

        .spl-form-field input::placeholder,
        .spl-form-field textarea::placeholder {
            color:#9aa8b8 !important;
            opacity:1;
        }

        .spl-form-field small {
            display:block;
            margin-top:5px;
            color:#6c7d90;
            font-size:10px;
            line-height:1.45;
        }

        /* Property Title / Property Type = 2 columns. */
        /* City / Area = 2 columns. */
        /* Rent / Bedrooms / Bathrooms / Size = 4 columns. */
        /* Owner Name / Owner Type and Phone / Password = 2 columns. */
        .spl-form-grid {
            display:grid !important;
            width:100% !important;
            column-gap:24px !important;
            row-gap:0 !important;
        }

        .spl-grid-title-type,
        .spl-grid-city-area,
        .spl-owner-information .spl-form-grid {
            grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        }

        .spl-grid-four {
            grid-template-columns:repeat(4,minmax(0,1fr)) !important;
            column-gap:24px !important;
        }

        .spl-form-grid .spl-form-field { min-width:0; }

        .spl-owner-information { margin-top:0 !important; }
        .spl-form-section-photos { margin-top:24px !important; }
        .spl-form-section-photos .spl-form-field { margin-bottom:0 !important; }

        .spl-form-field input[type="file"] {
            display:block !important;
            width:100% !important;
            min-height:44px !important;
            padding:8px 10px !important;
            box-sizing:border-box !important;
            border:1px solid #d6dee7 !important;
            border-radius:6px !important;
            background:#fff !important;
            color:#4b5d70 !important;
            font-size:12px !important;
        }

        .spl-existing-owner-notice {
            margin:0 0 2px;
            padding:11px 13px;
            border:1px solid #d7e8f5;
            border-radius:6px;
            background:#f5faff;
            color:#244b6d;
            font-size:12px;
            line-height:1.5;
        }

        .spl-form-actions {
            display:block !important;
            width:100% !important;
            margin-top:22px !important;
            clear:both;
        }

        .spl-form-actions button {
            display:inline-flex !important;
            align-items:center !important;
            justify-content:center !important;
            gap:9px !important;
            min-height:48px !important;
            padding:0 22px !important;
            border:0 !important;
            border-radius:6px !important;
            background:#102f52 !important;
            color:#fff !important;
            font-size:13px !important;
            line-height:1 !important;
            font-weight:700 !important;
            cursor:pointer !important;
            box-shadow:none !important;
            transition:background .18s ease, transform .18s ease;
        }

        .spl-form-actions button:hover {
            background:#0b2744 !important;
            transform:translateY(-1px);
        }

        .spl-send-icon { font-size:14px; line-height:1; }

        /* Prevent Kadence from treating the form as a page-level grid. */
        #primary .entry-content.single-content form.spl-property-form,
        .entry-content form.spl-property-form,
        form.spl-property-form {
            display:block !important;
            grid-template-columns:none !important;
        }

        form.spl-property-form > .spl-form-section,
        form.spl-property-form > .spl-form-actions {
            grid-column:1 / -1 !important;
        }

        /* --------------------------------------------------------------
         * Responsive
         * -------------------------------------------------------------- */
        @media (max-width:900px) {
            .spl-custom-hero {
                min-height:280px !important;
                height:280px !important;
            }

            .spl-custom-hero-inner {
                width:calc(100% - 72px) !important;
            }

            .spl-custom-hero h1 {
                font-size:38px !important;
            }

            .spl-grid-four {
                grid-template-columns:repeat(2,minmax(0,1fr)) !important;
            }
        }

        @media (max-width:700px) {
            .spl-custom-hero {
                min-height:250px !important;
                height:250px !important;
                background-position:center !important;
            }

            .spl-custom-hero-inner {
                width:calc(100% - 34px) !important;
            }

            .spl-custom-hero h1 {
                font-size:32px !important;
            }

            .spl-custom-hero p {
                font-size:15px !important;
            }

            .spl-property-form {
                width:calc(100% - 28px) !important;
                margin:-32px auto 30px !important;
                padding:24px 20px 24px !important;
                border-radius:12px !important;
            }

            .spl-grid-title-type,
            .spl-grid-city-area,
            .spl-grid-four,
            .spl-owner-information .spl-form-grid {
                grid-template-columns:1fr !important;
                column-gap:0 !important;
            }
        }

        @media (max-width:480px) {
            .spl-property-form {
                width:calc(100% - 20px) !important;
                padding:21px 16px 22px !important;
            }

            .spl-form-section-title {
                font-size:17px !important;
            }

            .spl-form-actions button {
                width:100% !important;
            }
        }

/* ==============================================================
   2. Edit Listing — Owner Edit Form
   ============================================================== */

.spl-owner-edit{max-width:900px;margin:0 auto 30px}
        .spl-owner-edit h1{margin:0 0 7px;font-size:32px}
        .spl-owner-edit-subtitle{margin:0 0 25px;color:#666}
        .spl-owner-edit form{padding:25px;border:1px solid #e5e5e5;border-radius:12px;background:#fff}
        .spl-owner-edit form>p{margin:0 0 18px}
        .spl-owner-edit label{display:block;margin-bottom:6px}
        .spl-owner-edit input[type=text],.spl-owner-edit input[type=number],.spl-owner-edit input[type=file],.spl-owner-edit textarea,.spl-owner-edit select{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #ccc;border-radius:6px;background:#fff}
        .spl-owner-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
        .spl-owner-edit-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
        .spl-owner-edit-photo{padding:8px;border:1px solid #ddd;border-radius:8px;background:#fafafa}
        .spl-owner-edit-photo img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:5px;margin-bottom:7px}
        .spl-owner-edit-photo span{font-size:13px;color:#555}
        .spl-owner-edit-buttons{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
        .spl-owner-edit-buttons button{padding:12px 22px;border:0;border-radius:6px;background:#111;color:#fff;cursor:pointer;font-weight:600}
        .spl-owner-edit-buttons button:disabled{opacity:.6;cursor:wait}
        .spl-owner-edit-buttons a{padding:11px 18px;border:1px solid #ccc;border-radius:6px;color:#333;text-decoration:none}
        .spl-owner-edit-message{margin-bottom:20px;padding:12px 15px;border:1px solid #b8d8bd;border-radius:6px;background:#f2fff4}
        .spl-edit-error{padding:14px;border:1px solid #e2b8b8;border-radius:6px;background:#fff4f4}
        @media(max-width:600px){.spl-owner-edit-grid{grid-template-columns:1fr}.spl-owner-edit-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.spl-owner-edit form{padding:18px}.spl-owner-edit h1{font-size:27px}}

/* ==============================================================
   3. Manage Listings — Owner Dashboard
   ============================================================== */

.spl-manage-listings {
            max-width:900px;
            margin:0 auto 30px;
        }

        .spl-manage-loading {
            padding:25px;
            text-align:center;
            color:#666;
        }

        .spl-manage-login {
            max-width:520px;
        }

        .spl-manage-intro {
            margin-bottom:25px;
        }

        .spl-manage-intro h1 {
            margin:0 0 8px;
            font-size:32px;
        }

        .spl-manage-intro p {
            margin:0 0 10px;
            color:#666;
        }

        .spl-manage-form {
            max-width:520px;
            padding:25px;
            border:1px solid #e5e5e5;
            border-radius:12px;
            background:#fff;
        }

        .spl-manage-form p {
            margin:0 0 18px;
        }

        .spl-manage-form label {
            display:inline-block;
            margin-bottom:6px;
        }

        .spl-manage-form input {
            width:100%;
            box-sizing:border-box;
            padding:12px;
            border:1px solid #ccc;
            border-radius:6px;
        }

        .spl-manage-form button {
            padding:12px 22px;
            border:0;
            border-radius:6px;
            background:#111;
            color:#fff;
            cursor:pointer;
            font-weight:600;
        }

        .spl-manage-error {
            margin-bottom:20px;
            padding:12px 15px;
            border:1px solid #e2b8b8;
            border-radius:6px;
            background:#fff4f4;
        }

        .spl-owner-signout {
            margin-top:10px;
            padding:8px 13px;
            border:1px solid #ccc;
            border-radius:6px;
            background:#fff;
            color:#333;
            cursor:pointer;
            font-size:13px;
        }

        .spl-owner-list {
            display:grid;
            gap:18px;
        }

        .spl-owner-listing {
            display:flex;
            gap:18px;
            overflow:hidden;
            border:1px solid #e5e5e5;
            border-radius:12px;
            background:#fff;
        }

        .spl-owner-listing-image {
            flex:0 0 180px;
            min-height:160px;
            display:flex;
            align-items:center;
            justify-content:center;
            overflow:hidden;
            background:#f5f5f5;
            font-size:42px;
        }

        .spl-owner-listing-image img {
            width:100%;
            height:100%;
            object-fit:cover;
        }

        .spl-owner-listing-content {
            flex:1;
            padding:20px 20px 20px 0;
        }

        .spl-owner-listing-content h2 {
            margin:0 0 7px;
            font-size:21px;
        }

        .spl-owner-listing-content p {
            margin:0 0 9px;
            color:#666;
        }

        .spl-owner-listing-content > strong {
            display:block;
            margin-bottom:10px;
            font-size:18px;
        }

        .spl-owner-listing-status {
            display:inline-block;
            margin-bottom:15px;
            padding:5px 9px;
            border-radius:5px;
            background:#f1f1f1;
            font-size:13px;
            font-weight:600;
        }

        .spl-owner-listing-actions a {
            display:inline-block;
            padding:10px 15px;
            border-radius:6px;
            background:#111;
            color:#fff;
            text-decoration:none;
            font-weight:600;
        }

        .spl-owner-pending {
            color:#777;
            font-size:14px;
            font-weight:600;
        }

        .spl-owner-edit-link {
            display:inline-block;
            margin-left:8px;
            padding:10px 15px;
            border:1px solid #ccc;
            border-radius:6px;
            color:#333 !important;
            background:#fff;
            text-decoration:none;
            font-weight:600;
        }

        .spl-owner-delete-link {
            display:inline-block;
            margin-left:8px;
            padding:10px 15px;
            border:1px solid #d8b0b0;
            border-radius:6px;
            color:#a40000;
            background:#fff;
            font-weight:600;
            cursor:pointer;
        }

        .spl-owner-delete-link:disabled {
            opacity:.6;
            cursor:wait;
        }

        @media (max-width:600px) {

            .spl-owner-listing {
                display:block;
            }

            .spl-owner-listing-image {
                width:100%;
                height:190px;
                min-height:0;
            }

            .spl-owner-listing-content {
                padding:18px;
            }

            .spl-manage-intro h1 {
                font-size:27px;
            }

        }

/* ==============================================================
   4. Latest Properties — Cards
   ============================================================== */

.spl-latest-properties {
                display:grid;
                grid-template-columns:repeat(4,minmax(0,1fr));
                gap:24px;
                margin:20px 0 10px;
            }

            .spl-latest-card {
                overflow:hidden;
                background:#fff;
                border:1px solid #e5e5e5;
                border-radius:12px;
                box-shadow:0 2px 10px rgba(0,0,0,.06);
                transition:transform .2s ease, box-shadow .2s ease;
            }

            .spl-latest-card:hover {
                transform:translateY(-3px);
                box-shadow:0 6px 18px rgba(0,0,0,.10);
            }

            .spl-latest-card-image {
                width:100%;
                height:210px;
                background:#f1f1f1;
                overflow:hidden;
            }

            .spl-latest-card-image img {
                display:block;
                width:100%;
                height:100%;
                object-fit:cover;
            }

            .spl-latest-no-image {
                display:flex;
                flex-direction:column;
                align-items:center;
                justify-content:center;
                width:100%;
                height:100%;
                color:#777;
                font-size:14px;
                font-weight:500;
                text-align:center;
                background:#f7f7f7;
            }

            .spl-latest-no-image::before {
                content:"🏠";
                display:block;
                margin-bottom:8px;
                font-size:32px;
                line-height:1;
                opacity:.55;
            }

            .spl-latest-card-body {
                padding:18px;
            }

            .spl-latest-card-title {
                margin:0 0 8px;
                font-size:20px;
                line-height:1.3;
            }

            .spl-latest-card-location {
                margin:0 0 12px;
                color:#666;
                font-size:14px;
            }

            .spl-latest-card-type {
                display:inline-block;
                padding:5px 9px;
                margin-bottom:12px;
                border-radius:5px;
                background:#f2f2f2;
                font-size:13px;
                font-weight:600;
            }

            .spl-latest-card-rent {
                margin-bottom:14px;
                font-size:20px;
                font-weight:700;
            }

            .spl-latest-card-rent small {
                font-size:13px;
                font-weight:400;
                color:#777;
            }

            .spl-latest-card-features {
                display:flex;
                flex-wrap:wrap;
                gap:8px 12px;
                margin-bottom:18px;
                color:#555;
                font-size:13px;
            }

            .spl-latest-card-button {
                display:block;
                width:100%;
                box-sizing:border-box;
                padding:11px 15px;
                border-radius:6px;
                text-align:center;
                text-decoration:none;
                background:#111;
                color:#fff;
                font-weight:600;
            }

            .spl-latest-card-button:hover {
                color:#fff;
            }

            @media (max-width: 900px) {
                .spl-latest-properties {
                    grid-template-columns:repeat(2,minmax(0,1fr));
                }
            }

            @media (max-width: 600px) {
                .spl-latest-properties {
                    grid-template-columns:1fr;
                    gap:18px;
                }

                .spl-latest-card-image {
                    height:220px;
                }
            }

/* ==============================================================
   5. Search — Form & Responsive
   ============================================================== */

@media (max-width: 768px) {
            .spl-search-fields {
                grid-template-columns: 1fr !important;
            }
        }

/* ==============================================================
   6. Property Listings — Grid & Cards
   ============================================================== */

.spl-property-grid {
                display:grid;
                grid-template-columns:repeat(4,minmax(0,1fr));
                gap:24px;
                margin-top:20px;
            }

            .spl-property-card {
                overflow:hidden;
                background:#fff;
                border:1px solid #e5e5e5;
                border-radius:12px;
                box-shadow:0 2px 10px rgba(0,0,0,.06);
                transition:transform .2s ease, box-shadow .2s ease;
            }

            .spl-property-card:hover {
                transform:translateY(-3px);
                box-shadow:0 6px 18px rgba(0,0,0,.10);
            }

            .spl-property-card-image {
                width:100%;
                height:210px;
                background:#f1f1f1;
                overflow:hidden;
            }

            .spl-property-card-image img {
                display:block;
                width:100%;
                height:100%;
                object-fit:cover;
            }

            .spl-property-no-image {
                display:flex;
                align-items:center;
                justify-content:center;
                width:100%;
                height:100%;
                color:#777;
                font-size:15px;
            }

            .spl-property-card-body {
                padding:18px;
            }

            .spl-property-card-title {
                margin:0 0 8px;
                font-size:20px;
                line-height:1.3;
            }

            .spl-property-card-location {
                margin:0 0 12px;
                color:#666;
                font-size:14px;
            }

            .spl-property-card-type {
                display:inline-block;
                padding:5px 9px;
                margin-bottom:12px;
                border-radius:5px;
                background:#f2f2f2;
                font-size:13px;
                font-weight:600;
            }

            .spl-property-card-rent {
                margin-bottom:14px;
                font-size:20px;
                font-weight:700;
            }

            .spl-property-card-rent small {
                font-size:13px;
                font-weight:400;
                color:#777;
            }

            .spl-property-card-features {
                display:flex;
                flex-wrap:wrap;
                gap:8px 12px;
                margin-bottom:18px;
                color:#555;
                font-size:13px;
            }

            .spl-property-card-button {
                display:block;
                width:100%;
                box-sizing:border-box;
                padding:11px 15px;
                border-radius:6px;
                text-align:center;
                text-decoration:none;
                background:#111;
                color:#fff;
                font-weight:600;
            }

            .spl-property-card-button:hover {
                color:#fff;
            }

            @media (max-width: 900px) {
                .spl-property-grid {
                    grid-template-columns:repeat(2,minmax(0,1fr));
                }
            }

            @media (max-width: 600px) {
                .spl-property-grid {
                    grid-template-columns:1fr;
                    gap:18px;
                }

                .spl-property-card-image {
                    height:220px;
                }
            }

/* ==============================================================
   8. Theme Cleanup & Shared Utility Rules
   ============================================================== */

body.single-property .entry-header {
            display:none !important;
        }

        body.single-property .page-header {
            display:none !important;
        }

        body.single-property .entry-title {
            display:none !important;
        }

        body.single-property .page-title {
            display:none !important;
        }

/* --------------------------------------------------------------------------
 * 9. Shared Notices, Admin Utilities & Search Helpers
 * -------------------------------------------------------------------------- */

/* Admin metabox controls that previously used style="width:100%;". */
.spl-admin-full-width {
    width:100%;
}

/* Elements that are revealed/controlled by JavaScript. */
.spl-js-hidden {
    display:none;
}

/* Submission success notice. */
.spl-success-message {
    padding:25px;
    margin-bottom:25px;
    background:#eaf8ef;
    border:1px solid #b7e4c7;
    border-left:5px solid #28a745;
    border-radius:8px;
}

.spl-success-message-title {
    font-size:20px;
}

.spl-success-message-text {
    margin:10px 0 0;
}

/* Submission error notice. */
.spl-error-message {
    padding:20px;
    margin-bottom:25px;
    background:#fff3cd;
    border-left:5px solid #ffc107;
}

/* Property search form. */
.spl-property-search-form {
    padding:20px;
    background:#f5f5f5;
    margin-bottom:30px;
}

.spl-search-fields {
    display:grid;
    grid-template-columns:1fr 1fr 1fr auto;
    gap:10px;
}

.spl-search-input {
    padding:12px;
}

.spl-search-button {
    padding:12px 25px;
    background:#111;
    color:#fff;
    border:0;
    cursor:pointer;
}


/* ==============================================================
   10. Home — Step 3: Hero Spacing & Background Treatment
   ============================================================== */

body.home .content-area,
body.page-id-85 .content-area {
    background:#f5f8fb !important;
}

body.home .entry-content,
body.page-id-85 .entry-content {
    margin:0 !important;
}

/*
 * The hero is deliberately inset from the page edges. This creates the
 * same calm, framed presentation used by the approved List Your Property
 * design, while leaving all PHP/JS behaviour untouched.
 */
.spl-home-hero {
    position:relative;
    width:min(1120px, calc(100% - 48px));
    min-height:270px;
    margin:24px auto 0;
    overflow:hidden;
    background:#f8f4ef url('../homeforrent-hero-final-image.png') center center / cover no-repeat;
}

/* Keep the left side bright while preserving the warm tone of the photo. */
.spl-home-hero::before {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(255,253,250,.985) 0%, rgba(255,252,248,.94) 32%, rgba(255,250,246,.52) 61%, rgba(255,250,246,.08) 100%);
}

.spl-home-hero-inner {
    position:relative;
    z-index:1;
    width:100%;
    min-height:270px;
    margin:0;
    padding:34px 24px 42px;
    display:flex;
    align-items:center;
    box-sizing:border-box;
}

.spl-home-hero-copy {
    max-width:610px;
    padding:8px 0 18px;
}

.spl-home-hero-kicker {
    margin:0 0 10px;
    color:#f39a18;
    font-size:13px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:1.4px;
}

.spl-home-hero h1 {
    margin:0 0 12px;
    color:#102f52;
    font-size:clamp(34px, 4vw, 54px);
    line-height:1.08;
    letter-spacing:-.8px;
    font-weight:800;
}

.spl-home-hero-copy > p:last-child {
    margin:0;
    max-width:560px;
    color:#52657a;
    font-size:18px;
    line-height:1.6;
}

.spl-property-search-form {
    position:relative;
    z-index:2;
    width:min(1120px, calc(100% - 48px));
    margin:-34px auto 42px;
    padding:24px;
    box-sizing:border-box;
    background:#fff;
    border:1px solid #e4e9ee;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(16,47,82,.10);
}

.spl-search-fields {
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(0,1.05fr) minmax(190px,.95fr) 150px;
    gap:12px;
    align-items:center;
}

.spl-search-input {
    width:100%;
    min-height:52px;
    padding:0 15px;
    box-sizing:border-box;
    border:1px solid #ccd6e0 !important;
    border-radius:6px !important;
    background:#fff !important;
    color:#243b53 !important;
    font-size:15px;
    box-shadow:none !important;
}

.spl-search-input::placeholder {
    color:#718096;
    opacity:1;
}

.spl-search-input:focus {
    border-color:#f39a18 !important;
    outline:none;
    box-shadow:0 0 0 3px rgba(243,154,24,.12) !important;
}

.spl-search-button {
    min-height:52px;
    padding:0 24px;
    border:0 !important;
    border-radius:6px !important;
    background:#102f52 !important;
    color:#fff !important;
    font-size:15px;
    font-weight:700;
    cursor:pointer;
    transition:background .2s ease, transform .2s ease;
}

.spl-search-button:hover {
    background:#0b2440 !important;
    color:#fff !important;
    transform:translateY(-1px);
}

@media (max-width:900px) {
    .spl-home-hero {
        min-height:280px;
        margin-top:18px;
        background-position:center center;
    }

    .spl-home-hero-inner {
        min-height:280px;
    }

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

    .spl-search-button {
        width:100%;
    }
}

@media (max-width:600px) {
    .spl-home-hero {
        min-height:280px;
        background-position:58% center;
    }

    .spl-home-hero::before {
        background:linear-gradient(90deg, rgba(255,255,255,.97), rgba(255,255,255,.82));
    }

    .spl-home-hero-inner {
        width:calc(100% - 32px);
        min-height:280px;
    }

    .spl-home-hero-copy {
        padding:24px 0 42px;
    }

    .spl-home-hero h1 {
        font-size:34px;
    }

    .spl-home-hero-copy > p:last-child {
        font-size:16px;
    }

    .spl-property-search-form {
        width:calc(100% - 32px);
        margin:-34px auto 32px;
        padding:16px;
        border-radius:10px;
    }

    .spl-search-fields {
        grid-template-columns:1fr;
        gap:10px;
    }
}
/* ==============================================================
   11. Home — Step 4: Search Card Refinement
   ============================================================== */

/* The search panel is the primary interaction on the Home page. */
body.home .spl-property-search-form,
body.page-id-85 .spl-property-search-form {
    width:min(1120px, calc(100% - 48px));
    margin:-34px auto 40px;
    padding:18px;
    box-sizing:border-box;
    background:#fff;
    border:1px solid #e1e7ed;
    border-radius:12px;
    box-shadow:0 12px 28px rgba(16,47,82,.09);
}

body.home .spl-search-fields,
body.page-id-85 .spl-search-fields {
    grid-template-columns:minmax(0,1.05fr) minmax(0,1.05fr) minmax(190px,.95fr) 140px;
    gap:10px;
    align-items:center;
}

body.home .spl-search-input,
body.page-id-85 .spl-search-input {
    height:50px;
    min-height:50px;
    padding:0 14px;
    border:1px solid #cbd6e1 !important;
    border-radius:6px !important;
    background:#fff !important;
    color:#243b53 !important;
    font-size:15px;
    line-height:50px;
    box-shadow:none !important;
}

body.home select.spl-search-input,
body.page-id-85 select.spl-search-input {
    line-height:normal;
    cursor:pointer;
}

body.home .spl-search-input:focus,
body.page-id-85 .spl-search-input:focus {
    border-color:#f39a18 !important;
    outline:none;
    box-shadow:0 0 0 3px rgba(243,154,24,.11) !important;
}

body.home .spl-search-button,
body.page-id-85 .spl-search-button {
    height:50px;
    min-height:50px;
    width:100%;
    padding:0 20px;
    border:0 !important;
    border-radius:6px !important;
    background:#102f52 !important;
    color:#fff !important;
    font-size:15px;
    font-weight:700;
    line-height:50px;
    box-shadow:none !important;
    transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
}

body.home .spl-search-button:hover,
body.page-id-85 .spl-search-button:hover {
    background:#0b2440 !important;
    color:#fff !important;
    transform:translateY(-1px);
    box-shadow:0 5px 12px rgba(16,47,82,.16) !important;
}

@media (max-width:900px) {
    body.home .spl-property-search-form,
    body.page-id-85 .spl-property-search-form {
        margin:-30px auto 34px;
    }

    body.home .spl-search-fields,
    body.page-id-85 .spl-search-fields {
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width:600px) {
    body.home .spl-property-search-form,
    body.page-id-85 .spl-property-search-form {
        width:calc(100% - 32px);
        margin:-30px auto 30px;
        padding:14px;
        border-radius:10px;
    }

    body.home .spl-search-fields,
    body.page-id-85 .spl-search-fields {
        grid-template-columns:1fr;
        gap:10px;
    }

    body.home .spl-search-input,
    body.page-id-85 .spl-search-input,
    body.home .spl-search-button,
    body.page-id-85 .spl-search-button {
        width:100%;
    }
}



/* ==============================================================
   HOME — Step 5: Selected HomeForRent.pk Design
   --------------------------------------------------------------
   Visual-only refinement for the Home page. Search/listing logic
   remains unchanged.
   ============================================================== */

/* Home page canvas */
body.home,
body.page-id-85 {
    background:#f7fafc !important;
}

body.home .content-area,
body.page-id-85 .content-area,
body.home .site-main,
body.page-id-85 .site-main,
body.home .entry-content,
body.page-id-85 .entry-content {
    background:#fff !important;
}

body.home .entry-content,
body.page-id-85 .entry-content {
    margin:0 !important;
    padding:0 !important;
}

/* Hero — wider, taller and closer to the approved reference */
body.home .spl-home-hero,
body.page-id-85 .spl-home-hero {
    width:100% !important;
    min-height:345px !important;
    height:345px !important;
    margin:0 !important;
    border-radius:0 !important;
    background-color:#f8f5f1 !important;
    background-position:center center !important;
    background-size:cover !important;
}

body.home .spl-home-hero::before,
body.page-id-85 .spl-home-hero::before {
    background:linear-gradient(
        90deg,
        rgba(255,255,255,.98) 0%,
        rgba(255,255,255,.96) 28%,
        rgba(255,255,255,.76) 48%,
        rgba(255,255,255,.18) 73%,
        rgba(255,255,255,0) 100%
    ) !important;
}

body.home .spl-home-hero-inner,
body.page-id-85 .spl-home-hero-inner {
    width:min(1200px, calc(100% - 74px)) !important;
    min-height:345px !important;
    height:345px !important;
    margin:0 auto !important;
    padding:0 !important;
    align-items:center !important;
}

body.home .spl-home-hero-copy,
body.page-id-85 .spl-home-hero-copy {
    max-width:560px !important;
    padding:0 !important;
    transform:translateY(-4px);
}

body.home .spl-home-hero-kicker,
body.page-id-85 .spl-home-hero-kicker {
    margin:0 0 20px !important;
    color:#ff7900 !important;
    font-size:12px !important;
    font-weight:800 !important;
    letter-spacing:1.5px !important;
}

/*
 * The plugin currently outputs one plain text heading:
 * "Find Your Perfect Rented House".
 * CSS splits the visual presentation into the approved two lines and
 * highlights "Home" in orange without changing search functionality.
 */
body.home .spl-home-hero h1,
body.page-id-85 .spl-home-hero h1 {
    position:relative !important;
    width:100% !important;
    margin:0 0 18px !important;
    color:transparent !important;
    font-size:0 !important;
    line-height:1 !important;
    letter-spacing:0 !important;
}

body.home .spl-home-hero h1::before,
body.page-id-85 .spl-home-hero h1::before {
    content:"Find Your Perfect\A Rental ";
    white-space:pre !important;
    color:#102f52 !important;
    font-size:50px !important;
    line-height:1.08 !important;
    letter-spacing:-1px !important;
    font-weight:800 !important;
}

body.home .spl-home-hero h1::after,
body.page-id-85 .spl-home-hero h1::after {
    content:"Home";
    color:#ff7900 !important;
    font-size:50px !important;
    line-height:1.08 !important;
    letter-spacing:-1px !important;
    font-weight:800 !important;
}

body.home .spl-home-hero-copy > p:last-child,
body.page-id-85 .spl-home-hero-copy > p:last-child {
    max-width:560px !important;
    margin:0 !important;
    color:#52657a !important;
    font-size:17px !important;
    line-height:1.55 !important;
}

/* Search card — floating white card with orange action */
body.home .spl-property-search-form,
body.page-id-85 .spl-property-search-form {
    width:min(1120px, calc(100% - 72px)) !important;
    margin:-56px auto 46px !important;
    padding:26px !important;
    background:rgba(255,255,255,.985) !important;
    border:1px solid #edf0f3 !important;
    border-radius:16px !important;
    box-shadow:0 12px 32px rgba(16,47,82,.11) !important;
}

body.home .spl-search-fields,
body.page-id-85 .spl-search-fields {
    grid-template-columns:minmax(0,1.05fr) minmax(0,1.05fr) minmax(0,.95fr) 150px !important;
    gap:12px !important;
}

body.home .spl-search-input,
body.page-id-85 .spl-search-input {
    height:52px !important;
    min-height:52px !important;
    padding:0 15px !important;
    border:1px solid #d7e0e8 !important;
    border-radius:7px !important;
    background:#fff !important;
    color:#26384d !important;
    font-size:14px !important;
    line-height:52px !important;
}

body.home select.spl-search-input,
body.page-id-85 select.spl-search-input {
    line-height:normal !important;
}

body.home .spl-search-input::placeholder,
body.page-id-85 .spl-search-input::placeholder {
    color:#8291a3 !important;
}

body.home .spl-search-button,
body.page-id-85 .spl-search-button {
    height:52px !important;
    min-height:52px !important;
    padding:0 20px !important;
    border:0 !important;
    border-radius:8px !important;
    background:#ff7900 !important;
    color:#fff !important;
    font-size:15px !important;
    font-weight:700 !important;
    line-height:52px !important;
    box-shadow:none !important;
}

body.home .spl-search-button:hover,
body.page-id-85 .spl-search-button:hover {
    background:#eb6e00 !important;
    color:#fff !important;
    transform:translateY(-1px);
    box-shadow:0 6px 14px rgba(255,121,0,.20) !important;
}

/* Latest properties — compact marketplace cards */
body.home .spl-latest-properties,
body.page-id-85 .spl-latest-properties {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px !important;
    margin:18px 0 12px !important;
}

body.home .spl-latest-card,
body.page-id-85 .spl-latest-card {
    overflow:hidden !important;
    background:#fff !important;
    border:1px solid #e8edf2 !important;
    border-radius:10px !important;
    box-shadow:0 3px 12px rgba(16,47,82,.07) !important;
    transition:transform .2s ease,box-shadow .2s ease !important;
}

body.home .spl-latest-card:hover,
body.page-id-85 .spl-latest-card:hover {
    transform:translateY(-3px) !important;
    box-shadow:0 8px 20px rgba(16,47,82,.11) !important;
}

body.home .spl-latest-card-image,
body.page-id-85 .spl-latest-card-image {
    height:148px !important;
    background:#f4f6f8 !important;
}

body.home .spl-latest-card-body,
body.page-id-85 .spl-latest-card-body {
    padding:14px !important;
}

body.home .spl-latest-card-title,
body.page-id-85 .spl-latest-card-title {
    margin:0 0 7px !important;
    color:#102f52 !important;
    font-size:15px !important;
    line-height:1.3 !important;
    font-weight:700 !important;
}

body.home .spl-latest-card-location,
body.page-id-85 .spl-latest-card-location {
    margin:0 0 10px !important;
    color:#657589 !important;
    font-size:11px !important;
    line-height:1.4 !important;
}

body.home .spl-latest-card-type,
body.page-id-85 .spl-latest-card-type {
    padding:4px 7px !important;
    margin-bottom:9px !important;
    border-radius:4px !important;
    background:#f3f5f7 !important;
    color:#102f52 !important;
    font-size:10px !important;
}

body.home .spl-latest-card-rent,
body.page-id-85 .spl-latest-card-rent {
    margin-bottom:10px !important;
    color:#ff7900 !important;
    font-size:16px !important;
    font-weight:800 !important;
}

body.home .spl-latest-card-rent small,
body.page-id-85 .spl-latest-card-rent small {
    color:#657589 !important;
    font-size:10px !important;
    font-weight:400 !important;
}

body.home .spl-latest-card-features,
body.page-id-85 .spl-latest-card-features {
    gap:5px 8px !important;
    margin-bottom:12px !important;
    color:#596b7e !important;
    font-size:10px !important;
}

body.home .spl-latest-card-button,
body.page-id-85 .spl-latest-card-button {
    padding:9px 10px !important;
    border-radius:6px !important;
    background:#102f52 !important;
    color:#fff !important;
    font-size:11px !important;
    font-weight:700 !important;
}

body.home .spl-latest-card-button:hover,
body.page-id-85 .spl-latest-card-button:hover {
    background:#0b2744 !important;
    color:#fff !important;
}

/* Responsive */
@media (max-width:1100px) {
    body.home .spl-latest-properties,
    body.page-id-85 .spl-latest-properties {
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    }
}

@media (max-width:900px) {
    body.home .spl-home-hero,
    body.page-id-85 .spl-home-hero {
        min-height:300px !important;
        height:300px !important;
    }

    body.home .spl-home-hero-inner,
    body.page-id-85 .spl-home-hero-inner {
        min-height:300px !important;
        height:300px !important;
        width:calc(100% - 48px) !important;
    }

    body.home .spl-home-hero h1::before,
    body.page-id-85 .spl-home-hero h1::before,
    body.home .spl-home-hero h1::after,
    body.page-id-85 .spl-home-hero h1::after {
        font-size:40px !important;
    }

    body.home .spl-property-search-form,
    body.page-id-85 .spl-property-search-form {
        width:calc(100% - 48px) !important;
        margin:-42px auto 38px !important;
    }

    body.home .spl-search-fields,
    body.page-id-85 .spl-search-fields {
        grid-template-columns:1fr 1fr !important;
    }
}

@media (max-width:600px) {
    body.home .spl-home-hero,
    body.page-id-85 .spl-home-hero {
        min-height:270px !important;
        height:270px !important;
        background-position:58% center !important;
    }

    body.home .spl-home-hero-inner,
    body.page-id-85 .spl-home-hero-inner {
        min-height:270px !important;
        height:270px !important;
        width:calc(100% - 32px) !important;
    }

    body.home .spl-home-hero h1::before,
    body.page-id-85 .spl-home-hero h1::before,
    body.home .spl-home-hero h1::after,
    body.page-id-85 .spl-home-hero h1::after {
        font-size:34px !important;
    }

    body.home .spl-home-hero-copy > p:last-child,
    body.page-id-85 .spl-home-hero-copy > p:last-child {
        font-size:15px !important;
    }

    body.home .spl-property-search-form,
    body.page-id-85 .spl-property-search-form {
        width:calc(100% - 28px) !important;
        margin:-34px auto 30px !important;
        padding:16px !important;
        border-radius:12px !important;
    }

    body.home .spl-search-fields,
    body.page-id-85 .spl-search-fields {
        grid-template-columns:1fr !important;
    }

    body.home .spl-latest-properties,
    body.page-id-85 .spl-latest-properties {
        grid-template-columns:1fr !important;
    }
}


/* -------------------------------------------------------------------------
   Shared property-search form
   Homepage presentation lives in assets/css/homepage-v2.css.
   This component is also used by the search-results page.
   ------------------------------------------------------------------------- */
.spl-search-form{position:relative;display:grid;grid-template-columns:1.05fr 1.05fr .95fr 160px;gap:10px;padding:12px;background:#fff;border:1px solid #e6ebf0;border-radius:14px;box-shadow:0 14px 35px rgba(16,47,82,.13);z-index:5}
.spl-search-field{position:relative;display:grid;grid-template-columns:27px 1fr 20px;grid-template-rows:16px 24px;align-items:center;padding:9px 12px;border:1px solid #dbe3ea;border-radius:8px;background:#fff}
.spl-search-field label{grid-column:2;color:#718095;font-size:10px;line-height:1}
.spl-search-field input,.spl-search-field select{grid-column:2;grid-row:2;width:100%;border:0!important;outline:0!important;padding:0!important;height:24px!important;min-height:24px!important;background:transparent!important;color:#102f52;font-size:13px;line-height:24px}
.spl-search-icon{grid-column:1;grid-row:1/3;font-size:20px;color:#102f52;text-align:center}
.spl-search-chevron{grid-column:3;grid-row:1/3;color:#6c7b8c}
.spl-search-button{border:0;border-radius:8px;background:#ff7900;color:#fff;font-size:14px;font-weight:700;cursor:pointer}
.spl-search-button:hover{background:#e96f00;color:#fff}
.spl-search-field select{cursor:pointer}
.spl-search-field select.spl-custom-select-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important}
.spl-custom-select-wrap{position:relative;grid-column:2;grid-row:1/3;min-width:0}
.spl-custom-select-trigger{width:100%;height:40px;padding:0 25px 0 0;border:0;background:transparent;color:#102f52;font:inherit;font-size:13px;font-weight:500;text-align:left;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spl-custom-select-trigger:after{content:"⌄";position:absolute;right:1px;top:50%;transform:translateY(-55%);color:#6c7b8c;font-size:14px;pointer-events:none}
.spl-custom-select-trigger:hover,.spl-custom-select-trigger:focus{color:#102f52;outline:none}
.spl-custom-select-trigger:disabled{cursor:not-allowed;opacity:.55}
.spl-custom-select-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 6px);max-height:200px;overflow:auto;padding:6px;background:#fff;border:1px solid #dce5ed;border-radius:9px;box-shadow:0 12px 28px rgba(16,47,82,.14);z-index:1000}
.spl-custom-select-menu.is-open{display:block}
.spl-custom-select-option{display:block;width:100%;padding:9px 10px;border:0;border-radius:6px;background:#fff;color:#30465e;font:inherit;font-size:12px;text-align:left;cursor:pointer}
.spl-custom-select-option:hover,.spl-custom-select-option.is-selected{background:#f3f7fb;color:#102f52}
.spl-custom-select-option.is-placeholder{color:#718095}
.spl-custom-select-menu::-webkit-scrollbar{width:6px}.spl-custom-select-menu::-webkit-scrollbar-track{background:transparent}.spl-custom-select-menu::-webkit-scrollbar-thumb{background:#c7d3de;border-radius:10px}
@media(max-width:1100px){.spl-search-form{grid-template-columns:repeat(2,1fr)}.spl-search-button{min-height:52px}}
@media(max-width:700px){.spl-search-form{grid-template-columns:1fr;padding:10px}.spl-search-button{min-height:52px}}


/* Step 4 — owner dashboard polish */
.spl-manage-intro{display:flex;justify-content:space-between;align-items:center;gap:24px}.spl-dashboard-kicker{font-size:10px;font-weight:900;letter-spacing:1.5px;color:#ff7100}.spl-dashboard-actions{display:flex;align-items:center;gap:10px}.spl-dashboard-add{display:inline-flex;align-items:center;padding:11px 15px;border-radius:9px;background:#ff7100;color:#fff!important;font-weight:800;text-decoration:none}.spl-dashboard-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:22px 0}.spl-dashboard-stats>div{padding:16px 18px;border:1px solid #e1eaf0;border-radius:12px;background:#fff}.spl-dashboard-stats strong,.spl-dashboard-stats span{display:block}.spl-dashboard-stats strong{font-size:22px;color:#0f3558}.spl-dashboard-stats span{font-size:11px;color:#81919f;margin-top:3px}.spl-dashboard-toolbar{display:flex;gap:12px;justify-content:space-between;margin-bottom:16px;padding:13px;border:1px solid #e2eaf0;border-radius:12px;background:#f8fafc}.spl-dashboard-toolbar label{display:block;flex:1}.spl-dashboard-toolbar label>span{display:block;font-size:10px;font-weight:800;color:#667b8c;margin-bottom:5px}.spl-dashboard-toolbar input,.spl-dashboard-toolbar select{width:100%;box-sizing:border-box;border:1px solid #d8e3ea;border-radius:8px;padding:9px 11px;background:#fff;color:#173d60}.spl-dashboard-toolbar label:last-child{max-width:190px}.spl-owner-listing.is-hidden{display:none}.spl-owner-listing-status{display:inline-block;padding:4px 8px;border-radius:99px;font-size:10px;font-weight:800;background:#edf3f7;color:#506b7e}.spl-owner-listing[data-listing-status="publish"] .spl-owner-listing-status{background:#e9f8ef;color:#187342}.spl-owner-listing[data-listing-status="pending"] .spl-owner-listing-status{background:#fff4df;color:#956000}
@media(max-width:640px){.spl-manage-intro{align-items:flex-start;flex-direction:column}.spl-dashboard-actions{width:100%;justify-content:space-between}.spl-dashboard-stats{grid-template-columns:1fr 1fr}.spl-dashboard-stats>div:last-child{grid-column:1/-1}.spl-dashboard-toolbar{flex-direction:column}.spl-dashboard-toolbar label:last-child{max-width:none}}


/* Owner listing lifecycle */
.spl-owner-listing-expiry{display:block;margin-top:5px;color:#6b7280;font-size:12px}
.spl-owner-renew-link{border:0;background:none;padding:0;cursor:pointer;color:#d97706;font:inherit}
.spl-owner-renew-link:hover{text-decoration:underline}

.spl-owner-listing-views{display:inline-block;margin-top:7px;color:#6b7c88;font-size:12px;font-weight:700}.spl-dashboard-stats>div:last-child strong{color:#ff7100}@media(max-width:900px){.spl-dashboard-stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:640px){.spl-dashboard-stats{grid-template-columns:1fr 1fr}.spl-dashboard-stats>div:last-child{grid-column:auto}}


/* v1.81.0 — owner contact lead metrics */
.spl-owner-listing-views,
.spl-owner-listing-leads { display:inline-block; margin-right:10px; color:#667085; font-size:13px; }
.spl-dashboard-stats > div:last-child strong { color:#16845a; }

/* v1.82.0 owner profile */
.spl-owner-profile-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;margin:0 0 20px;padding:16px 18px;background:#fff;border:1px solid #dfe7ee;border-radius:11px;box-shadow:0 3px 13px rgba(16,47,82,.045)}.spl-owner-profile-avatar{width:54px;height:54px;border-radius:50%;overflow:hidden;background:#edf3f7;display:flex;align-items:center;justify-content:center;color:#7b97aa}.spl-owner-profile-avatar img{width:100%;height:100%;object-fit:cover}.spl-owner-profile-main{min-width:0}.spl-owner-profile-kicker{display:block;margin-bottom:3px;color:#ff7900;font-size:8px;font-weight:900;letter-spacing:1px}.spl-owner-profile-main h2{margin:0;color:#102f52;font-size:18px;line-height:1.2}.spl-owner-profile-main p{margin:3px 0 0;color:#64788c;font-size:10px}.spl-owner-profile-meta{display:flex;gap:25px}.spl-owner-profile-meta div{display:flex;flex-direction:column;gap:3px}.spl-owner-profile-meta strong{color:#102f52;font-size:13px}.spl-owner-profile-meta span{color:#64788c;font-size:9px}@media(max-width:620px){.spl-owner-profile-card{grid-template-columns:auto 1fr}.spl-owner-profile-meta{grid-column:1/-1;padding-top:10px;border-top:1px solid #edf1f4;justify-content:space-between}.spl-owner-profile-meta div{flex:1}}


/* v1.83.0 — owner listing performance analytics */
.spl-owner-performance{margin:18px 0 20px;padding:18px 20px;border:1px solid #dfe7ee;border-radius:12px;background:#f8fafc}.spl-owner-performance-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}.spl-owner-performance-kicker{display:block;margin-bottom:3px;color:#ff7900;font-size:8px;font-weight:900;letter-spacing:1.2px}.spl-owner-performance-heading h2{margin:0;color:#102f52;font-size:18px}.spl-owner-performance-note{color:#718096;font-size:10px}.spl-owner-performance-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.spl-owner-performance-card{min-width:0;padding:14px;border:1px solid #e1e8ee;border-radius:10px;background:#fff}.spl-owner-performance-card strong{display:block;color:#102f52;font-size:19px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.spl-owner-performance-card span{display:block;margin-top:4px;color:#3e5870;font-size:11px;font-weight:800}.spl-owner-performance-card small{display:block;margin-top:4px;color:#7a8c9c;font-size:9px;line-height:1.4}.spl-owner-performance-top strong{font-size:14px}.spl-owner-listing-performance{display:inline-block;margin-top:3px;color:#8493a0;font-size:11px}.spl-dashboard-stats{grid-template-columns:repeat(6,1fr)}
@media(max-width:1000px){.spl-dashboard-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.spl-owner-performance-heading{align-items:flex-start;flex-direction:column;gap:5px}.spl-owner-performance-grid{grid-template-columns:1fr}.spl-dashboard-stats{grid-template-columns:1fr 1fr}}

/* v1.84.0 — listing quality guidance */
.spl-owner-quality{margin:9px 0 4px;border:1px solid #e2e9ee;border-radius:10px;background:#fbfcfd;overflow:hidden}.spl-owner-quality summary{display:flex;align-items:center;gap:8px;padding:9px 11px;cursor:pointer;list-style:none;color:#38536b;font-size:11px;font-weight:800}.spl-owner-quality summary::-webkit-details-marker{display:none}.spl-owner-quality summary span{flex:1}.spl-owner-quality summary strong{color:#0f3558}.spl-owner-quality summary em{font-style:normal;font-size:9px;color:#718394}.spl-owner-quality-bar{height:4px;margin:0 11px 8px;background:#e9eef2;border-radius:99px;overflow:hidden}.spl-owner-quality-bar span{display:block;height:100%;background:#16845a;border-radius:99px}.spl-owner-quality[open] summary{padding-bottom:5px}.spl-owner-quality ul{margin:4px 11px 9px 27px;padding:0;color:#7a5a16;font-size:10px;line-height:1.7}.spl-owner-quality li::marker{content:'•  '}.spl-owner-quality-complete{margin:4px 11px 10px;color:#187342;font-size:10px}.spl-owner-quality[open] .spl-owner-quality-bar span{background:#ff7900}
