        /* Universal Hidden Scrollbar for Native App Feel across all browsers */
        *, html, body {
            scrollbar-width: none !important;
            -ms-overflow-style: none !important;
        }
        *::-webkit-scrollbar, html::-webkit-scrollbar, body::-webkit-scrollbar {
            display: none !important;
            width: 0 !important;
            height: 0 !important;
            background: transparent !important;
        }
        
        /* Scoped Premium Styling for Mobile Emulator Showcase Page */
        :root {
            --dark-space-bg: #030712;
            --glass-bg: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.08);
            --neon-blue: #00d1ff;
            --neon-purple: #9d50bb;
            --active-tab: #007cf0;
            --whatsapp-green: #25d366;
            --gold-stars: #fbbf24;
        }

        body.app-showcase-theme {
            background-color: var(--dark-space-bg);
            color: #ffffff;
            font-family: 'Outfit', sans-serif;
            overflow-x: hidden;
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(157, 80, 187, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 209, 255, 0.08) 0%, transparent 40%);
            touch-action: pan-x pan-y;
        }

        /* Scrolled navbar space theme styling */
        header.app-nav {
            background: rgba(3, 7, 18, 0.8) !important;
            backdrop-filter: blur(12px) !important;
            border-bottom: 1px solid var(--glass-border);
        }

        header.app-nav .logo {
            color: #ffffff !important;
        }

        header.app-nav nav a {
            color: rgba(255, 255, 255, 0.7) !important;
        }

        header.app-nav nav a:hover {
            color: var(--neon-blue) !important;
        }

        .header-actions .btn-glass-space {
            background: rgba(255, 255, 255, 0.05);
            color: white;
            border: 1px solid var(--glass-border);
        }

        /* Main Split Container Layout */
        .showcase-hero-container {
            padding: 130px 0 60px;
            min-height: 100vh;
            display: flex;
            align-items: center;
        }

        .showcase-grid {
            display: grid;
            grid-template-columns: 1fr 500px;
            gap: 60px;
            align-items: center;
        }

        .showcase-left-info {
            padding-right: 40px;
        }

        .app-brand-tag {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 209, 255, 0.1);
            border: 1px solid rgba(0, 209, 255, 0.2);
            color: var(--neon-blue);
            font-size: 0.75rem;
            font-weight: 800;
            padding: 6px 14px;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 24px;
        }

        .showcase-left-info h1 {
            font-size: 3.2rem;
            font-weight: 850;
            line-height: 1.1;
            margin-bottom: 20px;
        }
        .showcase-left-info h1 span {
            background: linear-gradient(135deg, var(--neon-blue) 0%, var(--neon-purple) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .showcase-left-info p.app-subtitle {
            font-size: 1.1rem;
            color: #9ca3af;
            line-height: 1.6;
            margin-bottom: 35px;
        }

        /* Features List block */
        .app-features-vertical-list {
            display: flex;
            flex-direction: column;
            gap: 24px;
            margin-bottom: 40px;
        }

        .app-feature-row-item {
            display: flex;
            align-items: flex-start;
            gap: 18px;
        }

        .feature-icon-bullet-box {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--glass-border);
            color: var(--neon-blue);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .feature-texts-bullet h4 {
            font-size: 1rem;
            font-weight: 700;
            color: #ffffff;
        }
        .feature-texts-bullet p {
            font-size: 0.85rem;
            color: #9ca3af;
            margin-top: 4px;
            line-height: 1.4;
        }

        /* App Store download badges */
        .download-store-badges-row {
            display: flex;
            gap: 16px;
            align-items: center;
        }
        .store-badge-btn {
            height: 46px;
            transition: all 0.3s ease;
        }
        .store-badge-btn img {
            height: 100%;
            object-fit: contain;
        }
        .store-badge-btn:hover {
            transform: translateY(-3px);
            opacity: 0.9;
        }

        /* RIGHT COLUMN: HIGH-FIDELITY PHONE EMULATOR WRAPPER */
        .emulator-smartphone-frame-wrapper {
            display: flex;
            justify-content: center;
            position: relative;
        }

        /* Dynamic background glows behind the phone */
        .emulator-behind-glow {
            position: absolute;
            width: 350px;
            height: 550px;
            background: linear-gradient(135deg, var(--neon-purple) 0%, var(--neon-blue) 100%);
            filter: blur(120px);
            opacity: 0.15;
            z-index: 1;
            border-radius: 50px;
            top: 40px;
        }

        /* High fidelity smartphone outer shell */
        .smartphone-bezel-shell {
            width: 375px;
            height: 760px;
            background: #1e293b;
            border: 12px solid #0f172a;
            border-radius: 48px;
            box-shadow: 
                0 25px 60px rgba(0, 0, 0, 0.8),
                0 0 0 4px rgba(255, 255, 255, 0.05),
                inset 0 0 10px rgba(255, 255, 255, 0.1);
            position: relative;
            z-index: 10;
            overflow: hidden;
            user-select: none;
        }

        /* Dynamic Island camera notch on top */
        .smartphone-dynamic-island {
            width: 110px;
            height: 28px;
            background: #000000;
            border-radius: 20px;
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 100;
            box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding-right: 12px;
        }
        .smartphone-dynamic-island::after {
            content: '';
            width: 8px;
            height: 8px;
            background: #1e1e2f;
            border-radius: 50%;
            opacity: 0.8;
        }

        /* Smartphone inner screen body */
        .smartphone-inner-screen {
            width: 100%;
            height: 100%;
            background: #f6f8fb; /* Property Finder light neutral canvas */
            color: #0f172a;
            display: flex;
            flex-direction: column;
            position: relative;
            font-family: 'Outfit', sans-serif;
            touch-action: pan-x pan-y;
        }

        /* Mock Smartphone Status Bar */
        .smartphone-status-bar {
            height: 44px;
            padding: 0 24px;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            font-size: 0.7rem;
            font-weight: 700;
            color: #0f172a;
            z-index: 90;
            padding-bottom: 6px;
        }
        .status-bar-icons {
            display: flex;
            gap: 6px;
            align-items: center;
        }

        /* App Screens Container Panel */
        .app-screen-content-panel {
            flex-grow: 1;
            overflow-y: auto;
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            background: #f6f8fb;
            padding-bottom: 60px; /* space for tab bar */
        }
        /* Hide scrollbars inside phone screens */
        .app-screen-content-panel::-webkit-scrollbar,
        .app-details-scroll-container::-webkit-scrollbar {
            display: none !important;
            width: 0 !important;
            height: 0 !important;
        }

        /* MOCK MOBILE APP SCREENS */
        .app-screen-view {
            display: none;
            width: 100%;
            background: #f6f8fb;
            animation: fadeInScreen 0.3s ease;
        }
        .app-screen-view.active {
            display: block;
        }

        @keyframes fadeInScreen {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* SCREEN 1: APP HOME SCREEN STYLING */
        .app-home-header {
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .app-home-title {
            font-size: 1.15rem;
            font-weight: 800;
            color: #0a192f;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .app-home-title i {
            color: var(--active-tab);
            font-size: 0.95rem;
        }
        .app-loc-bar {
            padding: 0 20px;
            font-size: 0.75rem;
            color: #64748b;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 4px;
            margin-top: -2px;
        }
        .app-loc-bar i {
            color: #ef4444;
        }

        /* Smartphone App Banner Card */
        .app-banner-card {
            margin: 16px 16px 8px;
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            border-radius: 20px;
            padding: 20px;
            color: white;
            position: relative;
            overflow: hidden;
            box-shadow: none;
            background-image: 
                radial-gradient(circle at 100% 100%, rgba(0, 209, 255, 0.15) 0%, transparent 60%);
        }
        .app-banner-card h2 {
            font-size: 1.15rem;
            font-weight: 850;
            line-height: 1.2;
        }
        .app-banner-card p {
            font-size: 0.65rem;
            color: #cbd5e1;
            margin-top: 4px;
            font-weight: 500;
        }

        /* Selector pills buy/rent */
        .app-buy-rent-selector {
            display: flex;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 8px;
            padding: 3px;
            width: 120px;
            margin-top: 14px;
        }
        .app-selector-btn {
            flex-grow: 1;
            height: 24px;
            border-radius: 6px;
            border: none;
            background: transparent;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.65rem;
            font-weight: 700;
            cursor: pointer;
        }
        .app-selector-btn.active {
            background: #ffffff;
            color: #0f172a;
        }

        /* Inline Input Search bar */
        .app-search-input-wrapper {
            margin-top: 14px;
            position: relative;
        }
        .app-search-input-wrapper input {
            width: 100%;
            height: 38px;
            background: #ffffff;
            border: none;
            border-radius: 8px;
            padding: 0 14px 0 34px;
            font-size: 0.75rem;
            color: #0f172a;
            outline: none;
        }
        .app-search-input-wrapper i.fa-search {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 0.75rem;
            color: #64748b;
        }
        .app-search-input-wrapper i.fa-sliders-h {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 0.75rem;
            color: #64748b;
            cursor: pointer;
        }

        /* Categories horizontal slider */
        .app-section-title-row {
            padding: 16px 20px 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .app-section-title-row h3 {
            font-size: 0.85rem;
            font-weight: 800;
            color: #0a192f;
        }
        .app-section-title-row a {
            font-size: 0.7rem;
            color: var(--active-tab);
            font-weight: 700;
            text-decoration: none;
        }

        .app-categories-slider {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            padding: 4px 16px;
        }
        .app-categories-slider::-webkit-scrollbar {
            display: none;
        }
        .app-cat-circle-card {
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
        }
        .app-cat-icon-wrapper {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--active-tab);
            font-size: 0.9rem;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
            transition: all 0.3s ease;
        }
        .app-cat-circle-card.active .app-cat-icon-wrapper, .app-cat-circle-card:hover .app-cat-icon-wrapper {
            background: var(--active-tab);
            color: white;
        }
        .app-cat-circle-card p {
            font-size: 0.6rem;
            font-weight: 700;
            color: #64748b;
            margin-top: 6px;
        }

        /* Premium Properties Horizontal Cards slider */
        .app-featured-horizontal-scroller {
            display: flex;
            gap: 14px;
            overflow-x: auto;
            padding: 8px 16px;
        }
        .app-featured-horizontal-scroller::-webkit-scrollbar {
            display: none;
        }
        .app-mobile-prop-card {
            width: 220px;
            flex-shrink: 0;
            background: #ffffff;
            border: 1px solid rgba(0,0,0,0.05);
            border-radius: 0 0 14px 14px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .app-mobile-prop-card:hover {
            transform: translateY(-2px);
            border-color: rgba(0, 124, 240, 0.15);
        }
        .app-mobile-prop-img {
            height: 105px;
            position: relative;
        }
        .app-mobile-prop-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .app-mobile-prop-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            font-size: 0.55rem;
            font-weight: 800;
            color: white;
            background: var(--active-tab);
            padding: 2px 6px;
            border-radius: 4px;
        }
        .app-mobile-prop-details {
            padding: 10px;
        }
        .app-mobile-prop-title {
            font-size: 0.75rem;
            font-weight: 800;
            color: #0a192f;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            text-decoration: none !important;
        }
        .app-mobile-prop-loc {
            font-size: 0.6rem;
            color: #64748b;
            margin-top: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .app-mobile-prop-price {
            font-size: 0.8rem;
            font-weight: 850;
            color: var(--active-tab);
            margin-top: 6px;
        }
        .app-mobile-prop-specs {
            display: flex;
            gap: 8px;
            margin-top: 6px;
            font-size: 0.6rem;
            color: #64748b;
            font-weight: 600;
        }

        /* Locations circles scroller */
        .app-locations-scroller {
            display: flex;
            gap: 14px;
            overflow-x: auto;
            padding: 4px 16px;
        }
        .app-locations-scroller::-webkit-scrollbar {
            display: none;
        }
        .app-location-circle-card {
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
        }
        .app-loc-circle-img {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid white;
            box-shadow: 0 4px 8px rgba(0,0,0,0.05);
        }
        .app-loc-circle-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .app-location-circle-card p {
            font-size: 0.6rem;
            font-weight: 700;
            color: #64748b;
            margin-top: 6px;
        }

        /* SCREEN 2: SEARCH LIST VIEW SCREEN */
        .app-search-header-row {
            padding: 10px 16px;
        }
        .app-horizontal-tags-row {
            display: flex;
            gap: 8px;
            padding: 0 16px 12px;
            overflow-x: auto;
        }
        .app-horizontal-tags-row::-webkit-scrollbar {
            display: none;
        }
        .app-tag-filter-pill {
            flex-shrink: 0;
            height: 28px;
            padding: 0 12px;
            border-radius: 20px;
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.05);
            font-size: 0.65rem;
            font-weight: 700;
            color: #64748b;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
        }
        .app-tag-filter-pill.active {
            background: rgba(0, 124, 240, 0.08);
            border-color: rgba(0, 124, 240, 0.2);
            color: var(--active-tab);
        }

        .app-search-mode-tabs {
            display: flex;
            background: #f1f5f9;
            padding: 4px;
            border-radius: 12px;
            margin: 0 16px 20px;
            gap: 4px;
            font-family: 'Outfit', sans-serif;
        }
        .app-search-mode-btn {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 0.78rem;
            font-weight: 700;
            padding: 10px 6px;
            border-radius: 10px;
            cursor: pointer;
            color: #64748b;
            transition: all 0.2s;
        }
        .app-search-mode-btn.active {
            background: #ffffff !important;
            color: #0f172a !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }


        /* Vertical Property list */
        .app-vertical-list-container {
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .app-vertical-list-container .app-search-property-card {
            margin: 0 16px;
        }
        .app-vertical-list-container .app-vertical-list-item-card {
            margin: 0 16px;
        }
        .app-vertical-list-container.app-grid-view {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 12px !important;
            padding: 0 12px !important;
        }
        .app-vertical-list-container.app-grid-view .app-vertical-list-item-card {
            flex-direction: column !important;
            border-radius: 12px !important;
            height: 100% !important;
            background: #ffffff !important;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
            border: 1px solid rgba(0,0,0,0.06) !important;
            display: flex !important;
            overflow: hidden !important;
            margin: 0 !important;
        }
        .app-vertical-list-container.app-grid-view .app-vertical-item-img {
            width: 100% !important;
            height: 105px !important;
            position: relative !important;
        }
        .app-vertical-list-container.app-grid-view .app-vertical-item-img img {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover !important;
        }
        .app-vertical-list-container.app-grid-view .app-vertical-item-details {
            padding: 8px 10px !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 4px !important;
            justify-content: flex-start !important;
            flex-grow: 1 !important;
            height: auto !important;
        }
        .app-vertical-list-container.app-grid-view .app-vertical-item-title {
            font-size: 0.78rem !important;
            font-weight: 700 !important;
            color: #0f172a !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            margin: 0 !important;
            line-height: 1.3 !important;
        }
        .app-vertical-list-container.app-grid-view .app-vertical-item-loc {
            font-size: 0.65rem !important;
            color: #64748b !important;
            white-space: nowrap !important;
            overflow: hidden !important;
            text-overflow: ellipsis !important;
            margin: 0 !important;
            display: flex !important;
            align-items: center !important;
            gap: 3px !important;
        }
        .app-vertical-list-container.app-grid-view .app-vertical-item-price {
            font-size: 0.85rem !important;
            font-weight: 800 !important;
            color: #007cf0 !important;
            margin-top: auto !important;
            padding-top: 4px !important;
        }
        .app-vertical-list-item-card {
            display: flex;
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid rgba(0, 0, 0, 0.05);
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.01);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .app-vertical-list-item-card:hover {
            border-color: rgba(0, 124, 240, 0.15);
        }

        /* Premium Single Column Property Card Styles */
        .app-search-property-card {
            display: flex;
            flex-direction: column;
            background: #ffffff;
            border-radius: 0 0 24px 24px;
            border: 1.5px solid #e2e8f0;
            overflow: hidden;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
        }
        .app-search-property-card.is-featured {
            border-color: #8b5cf6 !important;
            box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08) !important;
        }
        .app-search-property-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
        }
        .app-search-prop-img {
            width: 100%;
            height: 200px;
            position: relative;
            overflow: hidden;
        }
        .app-search-prop-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .app-search-prop-type {
            position: absolute;
            top: 12px;
            left: 12px;
            font-size: 0.68rem;
            font-weight: 800;
            color: white;
            background: rgba(15, 23, 42, 0.85);
            padding: 4px 10px;
            border-radius: 8px;
            text-transform: uppercase;
            z-index: 5;
            letter-spacing: 0.5px;
        }
        .app-search-prop-featured {
            position: absolute;
            top: 12px;
            right: 12px;
            font-size: 0.68rem;
            font-weight: 800;
            color: white;
            background: #8b5cf6;
            padding: 4px 10px;
            border-radius: 8px;
            z-index: 5;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            letter-spacing: 0.5px;
        }
        .app-search-prop-actions {
            position: absolute;
            top: 50px;
            right: 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
            z-index: 5;
        }
        .app-search-prop-action-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(15, 23, 42, 0.6);
            border: none;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .app-search-prop-action-btn:hover {
            background: rgba(15, 23, 42, 0.8);
            transform: scale(1.05);
        }
        .app-search-prop-details {
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .app-search-prop-price {
            font-size: 1.25rem;
            font-weight: 800;
            color: #007cf0;
            line-height: 1.2;
        }
        .app-search-prop-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: #0f172a;
            margin: 0;
            line-height: 1.3;
        }
        .app-search-prop-loc {
            font-size: 0.78rem;
            color: #64748b;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .app-search-prop-specs {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 2px;
        }
        .app-search-prop-spec-badge {
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 4px 10px;
            font-size: 0.72rem;
            color: #64748b;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .app-search-prop-divider {
            height: 1px;
            background: #f1f5f9;
            margin: 4px 0;
        }
        .app-search-prop-agent-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .app-search-prop-agent-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .app-search-prop-agent-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid #f1f5f9;
        }
        .app-search-prop-agent-text {
            display: flex;
            flex-direction: column;
        }
        .app-search-prop-agent-name {
            font-size: 0.82rem;
            font-weight: 700;
            color: #0f172a;
            line-height: 1.2;
        }
        .app-search-prop-agent-agency {
            font-size: 0.7rem;
            color: #64748b;
            margin-top: 1px;
        }
        .app-search-prop-contact-buttons {
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .app-search-prop-contact-btn {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: none;
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
        }
        .app-search-prop-contact-btn.call {
            background: #e0f2fe;
            color: #0369a1;
            border: 1px solid #bae6fd;
        }
        .app-search-prop-contact-btn.call:hover {
            background: #bae6fd;
        }
        .app-search-prop-contact-btn.whatsapp {
            background: #dcfce7;
            color: #15803d;
            border: 1px solid #bbf7d0;
        }
        .app-search-prop-contact-btn.whatsapp:hover {
            background: #bbf7d0;
        }
        .app-vertical-item-img {
            width: 100px;
            height: 100px;
            position: relative;
            flex-shrink: 0;
        }
        .app-vertical-item-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .app-vertical-item-badge {
            position: absolute;
            top: 6px;
            left: 6px;
            font-size: 0.5rem;
            font-weight: 800;
            color: white;
            background: var(--active-tab);
            padding: 1px 4px;
            border-radius: 3px;
        }
        .app-vertical-item-details {
            padding: 8px 10px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .app-vertical-item-title {
            font-size: 0.75rem;
            font-weight: 750;
            color: #0a192f;
            line-height: 1.2;
        }
        .app-vertical-item-loc {
            font-size: 0.55rem;
            color: #64748b;
            margin-top: 1px;
        }
        .app-vertical-item-price {
            font-size: 0.8rem;
            font-weight: 850;
            color: var(--active-tab);
        }

        /* SCREEN 3: PROPERTY DETAILS VIEW STYLING */
        #screen-details {
            position: absolute !important;
            top: 0 !important;
            bottom: 0 !important;
            left: 0 !important;
            right: 0 !important;
            overflow: hidden !important;
            background: #ffffff !important;
        }
        
        /* Location Autocomplete Tags & Suggestion Dropdown */
        .loc-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
            color: #0066ff;
            border: 1.5px solid #bfdbfe;
            border-radius: 20px;
            font-size: 0.72rem;
            font-weight: 750;
            font-family: 'Outfit', sans-serif;
            padding: 4px 10px 4px 12px;
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(0, 102, 255, 0.12);
            animation: tagPop 0.2s cubic-bezier(0.34,1.56,0.64,1);
            flex-shrink: 0;
        }
        @keyframes tagPop {
            from { transform: scale(0.7); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }
        .loc-tag-remove {
            cursor: pointer;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #cbd5e1;
            color: #475569;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.65rem;
            margin-left: 2px;
            transition: all 0.15s ease;
            font-weight: 800;
        }
        .loc-tag-remove:hover {
            background: #ef4444;
            color: #ffffff;
            transform: scale(1.15);
        }
        .loc-drop-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 12px;
            font-size: 0.78rem;
            font-weight: 600;
            color: #334155;
            cursor: pointer;
            border-bottom: 1px solid rgba(0,0,0,0.04);
            transition: background 0.12s ease, padding-left 0.12s ease;
        }
        .loc-drop-item:last-child { border-bottom: none; }
        .loc-drop-item:hover {
            background: linear-gradient(90deg, rgba(0,209,255,0.08) 0%, transparent 100%);
            padding-left: 16px;
        }
        .loc-drop-item.selected {
            color: #0066ff;
            font-weight: 700;
        }
        .loc-drop-item i { color: #00d1ff; font-size: 0.72rem; }
        .loc-no-results {
            padding: 12px;
            text-align: center;
            color: #94a3b8;
            font-size: 0.75rem;
        }
        
        .app-details-top-nav-bar {
            background: #ffffff;
            border-bottom: 1px solid rgba(0,0,0,0.03);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            position: sticky;
            top: 0;
            z-index: 100;
            height: 60px;
        }
        .app-details-top-nav-bar button {
            background: transparent;
            border: none;
            cursor: pointer;
            color: #0a192f;
            font-size: 1.05rem;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            transition: background 0.2s;
        }
        .app-details-top-nav-bar button:hover {
            background: #f1f5f9;
        }
        .app-details-scroll-container {
            height: calc(100% - 60px); /* height accounting for sticky header only */
            overflow-y: auto;
            padding-bottom: 96px; /* extra padding to allow scrolling past the floating contact capsule */
            background: #f8fafc;
        }
        .app-details-gallery-wrapper {
            position: relative;
            padding: 12px 16px 0;
        }
        .app-details-header-gallery {
            width: 100%;
            aspect-ratio: 4 / 3;
            height: auto;
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }
        .app-details-header-gallery img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .gallery-fade {
            animation: galleryFade 0.2s ease-in-out;
        }
        @keyframes galleryFade {
            from { opacity: 0.7; }
            to { opacity: 1; }
        }
        .app-details-gallery-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.85);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.62rem;
            color: #0f172a;
            cursor: pointer;
            z-index: 15;
            transition: all 0.2s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.12);
        }
        .app-details-gallery-nav-btn:hover {
            background: #ffffff;
            transform: translateY(-50%) scale(1.05);
        }
        .app-details-gallery-nav-btn.prev {
            left: 10px;
        }
        .app-details-gallery-nav-btn.next {
            right: 10px;
        }
        .app-details-gallery-badge-featured {
            position: absolute;
            top: 12px;
            left: 12px;
            background: #4f46e5;
            color: white;
            font-size: 0.52rem;
            font-weight: 800;
            padding: 4px 8px;
            border-radius: 6px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            z-index: 20;
        }
        .app-details-gallery-badge-verified {
            position: absolute;
            top: 12px;
            right: 12px;
            background: #10b981;
            color: white;
            font-size: 0.52rem;
            font-weight: 800;
            padding: 4px 8px;
            border-radius: 6px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            display: flex;
            align-items: center;
            gap: 3px;
            z-index: 20;
        }
        .app-details-gallery-photos-pill {
            position: absolute;
            bottom: 12px;
            left: 12px;
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(4px);
            color: white;
            font-size: 0.58rem;
            font-weight: 700;
            padding: 4px 8px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 4px;
            z-index: 20;
        }
        .app-details-gallery-counter {
            position: absolute;
            bottom: 12px;
            right: 12px;
            background: rgba(15, 23, 42, 0.75);
            backdrop-filter: blur(4px);
            color: white;
            font-size: 0.58rem;
            font-weight: 700;
            padding: 4px 8px;
            border-radius: 8px;
            z-index: 20;
        }
        .app-details-thumbnails-row {
            display: flex;
            gap: 8px;
            margin-top: 10px;
            padding: 0 16px;
        }
        .app-details-thumbnail-box {
            flex: 1;
            aspect-ratio: 4/3;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            border: 1.5px solid transparent;
            transition: all 0.2s;
        }
        .app-details-thumbnail-box.active {
            border-color: #007cf0;
        }
        .app-details-thumbnail-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .app-details-thumbnail-play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .app-details-thumbnail-play-btn {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            background: #007cf0;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.55rem;
            box-shadow: 0 2px 6px rgba(0, 124, 240, 0.4);
            padding-left: 1px;
        }
        .app-details-thumbnail-more-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.65);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.72rem;
            font-weight: 700;
        }
        .app-details-content-box {
            padding: 16px;
        }
        .app-details-title-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 12px;
            padding-left: 8px;
            padding-right: 8px;
        }
        .app-details-title-left {
            flex-grow: 1;
            text-align: left;
        }
        .app-details-title-badge-rent {
            background: #8b5cf6;
            color: white;
            font-size: 0.58rem;
            font-weight: 800;
            padding: 3px 6px;
            border-radius: 4px;
            text-transform: uppercase;
            margin-right: 6px;
            display: inline-block;
            vertical-align: middle;
        }
        .app-details-title-text {
            font-size: 1.15rem;
            font-weight: 800;
            color: #0a192f;
            line-height: 1.25;
            display: inline;
            vertical-align: middle;
            font-family: 'Outfit', sans-serif;
        }
        .app-details-title-actions {
            display: flex;
            gap: 8px;
            flex-shrink: 0;
        }
        .app-details-title-circle-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 1px solid #e2e8f0;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            color: #64748b;
            cursor: pointer;
            transition: all 0.2s;
        }
        .app-details-title-circle-btn:hover {
            border-color: #cbd5e1;
            color: #0f172a;
            background: #f8fafc;
        }
        .app-details-location-row {
            margin-top: 6px;
            display: flex;
            align-items: center;
            font-size: 0.68rem;
            color: #64748b;
            text-align: left;
            padding-left: 8px;
            padding-right: 8px;
        }
        .app-details-location-row i {
            color: #64748b;
            margin-right: 4px;
        }
        .app-details-location-map-link {
            color: #007cf0;
            font-weight: 750;
            margin-left: 8px;
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 2px;
        }
        .app-details-price {
            font-size: 1.25rem;
            font-weight: 850;
            color: #007cf0;
            margin-top: 8px;
            text-align: left;
        }
        .app-details-specs-strip {
            display: flex;
            gap: 14px;
            margin-top: 10px;
            padding: 8px 0;
            border-top: 1px solid rgba(0, 0, 0, 0.04);
            border-bottom: 1px solid rgba(0, 0, 0, 0.04);
            font-size: 0.68rem;
            color: #64748b;
            font-weight: 600;
        }
        .app-details-specs-strip span {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .app-details-specs-strip span i {
            color: #94a3b8;
            font-size: 0.72rem;
        }
        .app-details-key-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            border: 1px solid #f1f5f9;
            border-radius: 12px;
            overflow: hidden;
            background: white;
            margin-top: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.01);
        }
        .app-details-grid-cell {
            padding: 8px 12px;
            border-bottom: 1px solid #f1f5f9;
            border-right: 1px solid #f1f5f9;
            display: flex;
            align-items: center;
            gap: 8px;
            text-align: left;
        }
        .app-details-grid-cell:nth-child(2n) {
            border-right: none;
        }
        .app-details-grid-cell:nth-last-child(-n+2) {
            border-bottom: none;
        }
        .app-details-grid-icon-box {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: #f8fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #64748b;
            font-size: 0.72rem;
            flex-shrink: 0;
        }
        .app-details-grid-cell-label {
            font-size: 0.54rem;
            color: #94a3b8;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 0.2px;
        }
        .app-details-grid-cell-val {
            font-size: 0.68rem;
            color: #1e293b;
            font-weight: 750;
            margin-top: 1px;
        }
        .app-details-mid-actions {
            display: flex;
            gap: 10px;
            margin-top: 16px;
        }
        .app-details-mid-btn {
            flex: 1;
            height: 38px;
            border-radius: 8px;
            font-size: 0.72rem;
            font-weight: 750;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.2s;
        }
        .app-details-mid-btn.primary {
            background: #007cf0;
            color: white;
            border: none;
            box-shadow: 0 4px 12px rgba(0, 124, 240, 0.2);
        }
        .app-details-mid-btn.primary:hover {
            background: #0069cc;
        }
        .app-details-mid-btn.secondary {
            background: white;
            color: #007cf0;
            border: 1.5px solid #007cf0;
        }
        .app-details-mid-btn.secondary:hover {
            background: #eff6ff;
        }
        .app-details-section-title {
            font-size: 0.98rem;
            font-weight: 850;
            color: #0a192f;
            margin-top: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: 'Outfit', sans-serif;
            text-align: left;
        }
        .app-details-section-title-link {
            font-size: 0.8rem;
            color: #007cf0;
            font-weight: 700;
            text-decoration: none;
        }
        .app-details-about-p {
            font-size: 0.86rem;
            color: #475569;
            line-height: 1.6;
            margin-top: 6px;
            text-align: left;
        }
        .app-details-about-toggle {
            color: #007cf0;
            font-size: 0.85rem;
            font-weight: 750;
            display: inline-flex;
            align-items: center;
            gap: 2px;
            margin-top: 4px;
            text-decoration: none;
            cursor: pointer;
        }
        #appDetailsRentDetailsCard span {
            font-size: 0.85rem !important;
        }
        #appDetailsRentDetailsCard i {
            font-size: 0.95rem !important;
            width: 16px !important;
        }
        .app-details-amenities-six-grid {
            display: flex;
            overflow-x: auto;
            scroll-behavior: smooth;
            gap: 12px;
            margin-top: 10px;
            padding-bottom: 8px;
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }
        .app-details-amenities-six-grid::-webkit-scrollbar {
            display: none; /* Chrome, Safari and Opera */
        }
        .app-details-amenity-six-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            flex-shrink: 0;
            width: 80px;
        }
        .app-details-amenity-icon-box {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.0rem;
            transition: all 0.2s;
        }
        .app-details-amenity-icon-box.pool { background: #e0f2fe; color: #0284c7; }
        .app-details-amenity-icon-box.pool:hover { background: #bae6fd; }
        .app-details-amenity-icon-box.wind { background: #ccfbf1; color: #0d9488; }
        .app-details-amenity-icon-box.wind:hover { background: #99f6e4; }
        .app-details-amenity-icon-box.tshirt { background: #f3e8ff; color: #7c3aed; }
        .app-details-amenity-icon-box.tshirt:hover { background: #e9d5ff; }
        .app-details-amenity-icon-box.utensils { background: #fef3c7; color: #d97706; }
        .app-details-amenity-icon-box.utensils:hover { background: #fde68a; }
        .app-details-amenity-icon-box.parking { background: #e0e7ff; color: #4f46e5; }
        .app-details-amenity-icon-box.parking:hover { background: #c7d2fe; }
        .app-details-amenity-icon-box.seedling { background: #dcfce7; color: #059669; }
        .app-details-amenity-icon-box.seedling:hover { background: #bbf7d0; }
        .app-details-amenity-icon-box.dumbbell { background: #fee2e2; color: #dc2626; }
        .app-details-amenity-icon-box.dumbbell:hover { background: #fecaca; }
        .app-details-amenity-icon-box.wifi { background: #ecfeff; color: #0891b2; }
        .app-details-amenity-icon-box.wifi:hover { background: #cffafe; }
        .app-details-amenity-icon-box.security { background: #ffedd5; color: #ea580c; }
        .app-details-amenity-icon-box.security:hover { background: #fed7aa; }
        .app-details-amenity-icon-box.default { background: #f1f5f9; color: #475569; }
        .app-details-amenity-icon-box.default:hover { background: #e2e8f0; }
        .app-details-amenity-six-item span {
            font-size: 0.68rem;
            color: #64748b;
            font-weight: 600;
            margin-top: 4px;
            line-height: 1.2;
            word-break: break-word;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .app-details-location-card {
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid #f1f5f9;
            padding: 12px;
            margin-top: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.01);
        }
        .app-details-location-info-row {
            display: flex;
            gap: 12px;
            align-items: center;
        }
        .app-details-location-map-thumb {
            width: 80px;
            height: 52px;
            border-radius: 6px;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
        }
        .app-details-location-map-thumb i {
            color: #007cf0;
            font-size: 1.4rem;
            filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
        }
        .app-details-location-text-box {
            flex-grow: 1;
            text-align: left;
        }
        .app-details-location-text-title {
            font-size: 0.85rem;
            font-weight: 800;
            color: #0f172a;
        }
        .app-details-location-text-sub {
            font-size: 0.74rem;
            color: #64748b;
            margin-top: 2px;
            font-weight: 550;
        }
        .app-details-location-actions {
            display: flex;
            gap: 8px;
            margin-top: 10px;
        }
        .app-details-location-btn {
            flex: 1;
            height: 34px;
            background: white;
            border: 1px solid #3b82f6;
            border-radius: 6px;
            color: #3b82f6;
            font-size: 0.76rem;
            font-weight: 750;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.2s;
        }
        .app-details-location-btn:hover {
            background: #eff6ff;
        }
        .app-details-nearby-scroller {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            margin-top: 8px;
            padding-bottom: 6px;
            scroll-snap-type: x mandatory;
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }
        .app-details-nearby-scroller::-webkit-scrollbar {
            display: none; /* Chrome, Safari and Opera */
        }
        .app-details-nearby-card {
            flex-shrink: 0;
            min-width: 155px;
            background: white;
            border-radius: 10px;
            padding: 10px 12px;
            display: flex;
            align-items: center;
            gap: 8px;
            border: 1px solid #f1f5f9;
            box-shadow: 0 2px 4px rgba(0,0,0,0.01);
            scroll-snap-align: start;
        }
        .app-details-nearby-icon-circle {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            flex-shrink: 0;
        }
        .app-details-nearby-texts {
            text-align: left;
            overflow: hidden;
        }
        .app-details-nearby-name {
            font-size: 0.74rem;
            font-weight: 800;
            color: #1e293b;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 95px;
        }
        .app-details-nearby-dist {
            font-size: 0.64rem;
            color: #64748b;
            margin-top: 1px;
            font-weight: 600;
        }
        .app-details-sticky-bottom-bar {
            display: none;
        }
        .app-details-bottom-left {
            text-align: left;
        }
        .app-details-bottom-price {
            font-size: 0.85rem;
            font-weight: 850;
            color: #0f172a;
            font-family: 'Outfit', sans-serif;
        }
        .app-details-bottom-title {
            font-size: 0.58rem;
            color: #94a3b8;
            font-weight: bold;
            margin-top: 1px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 130px;
        }
        .app-details-bottom-actions {
            display: flex;
            gap: 8px;
            align-items: center;
        }
        .app-details-bottom-btn {
            height: 32px;
            padding: 0 12px;
            border-radius: 6px;
            font-size: 0.68rem;
            font-weight: 750;
            display: flex;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.2s;
            text-decoration: none;
        }
        .app-details-bottom-btn.call {
            background: white;
            color: #007cf0;
            border: 1.5px solid #007cf0;
        }
        .app-details-bottom-btn.call:hover {
            background: #eff6ff;
        }
        .app-details-bottom-btn.chat {
            background: #007cf0;
            color: white;
            border: none;
            box-shadow: 0 2px 8px rgba(0, 124, 240, 0.2);
        }
        .app-details-bottom-btn.chat:hover {
            background: #0069cc;
        }


        /* SCREEN 4: SAVED PROPERTIES */
        .app-saved-list {
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .app-saved-empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #64748b;
        }
        .app-saved-empty-state i {
            font-size: 2.2rem;
            color: #cbd5e1;
            margin-bottom: 12px;
        }
        .app-saved-empty-state h4 {
            font-size: 0.85rem;
            font-weight: 800;
            color: #0a192f;
        }
        .app-saved-empty-state p {
            font-size: 0.65rem;
            margin-top: 4px;
        }

        /* SCREEN 5: MESSAGES / SMART AGENT CHAT */
        .app-chats-list {
            padding: 10px 16px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .app-chat-row-card {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px;
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.05);
            border-radius: 12px;
            cursor: pointer;
        }
        .app-chat-avatar {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            object-fit: cover;
            position: relative;
        }
        .app-chat-avatar-wrapper {
            position: relative;
        }
        .app-chat-online-dot {
            width: 10px;
            height: 10px;
            background: var(--whatsapp-green);
            border: 2px solid white;
            border-radius: 50%;
            position: absolute;
            bottom: 0;
            right: 0;
        }
        .app-chat-info-block {
            flex-grow: 1;
        }
        .app-chat-info-block h4 {
            font-size: 0.75rem;
            font-weight: 750;
            color: #0a192f;
        }
        .app-chat-info-block p {
            font-size: 0.6rem;
            color: #64748b;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-top: 2px;
        }
        .app-chat-time-tag {
            font-size: 0.55rem;
            color: #94a3b8;
            font-weight: 600;
        }

        /* Dedicated simulated active chat screen window inside the phone */
        .app-active-chat-view {
            display: none;
            position: absolute;
            top: 44px;
            left: 0;
            width: 100%;
            height: calc(100% - 44px);
            background: #f8fafc;
            z-index: 150;
            flex-direction: column;
        }
        .app-active-chat-view.active {
            display: flex;
        }
        .app-active-chat-header {
            height: 48px;
            background: #ffffff;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            padding: 0 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .app-active-chat-header-info {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .app-active-chat-header-info img {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            object-fit: cover;
        }
        .app-active-chat-header-info h4 {
            font-size: 0.7rem;
            font-weight: 750;
            color: #0a192f;
        }
        .app-active-chat-header-info p {
            font-size: 0.5rem;
            color: var(--whatsapp-green);
            font-weight: 600;
        }
        
        .app-chat-bubbles-container {
            flex-grow: 1;
            padding: 12px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .app-chat-bubble {
            max-width: 75%;
            padding: 8px 12px;
            border-radius: 12px;
            font-size: 0.65rem;
            line-height: 1.4;
        }
        .app-chat-bubble.left {
            background: #ffffff;
            border: 1px solid rgba(0,0,0,0.05);
            color: #0f172a;
            align-self: flex-start;
            border-bottom-left-radius: 2px;
        }
        .app-chat-bubble.right {
            background: var(--active-tab);
            color: white;
            align-self: flex-end;
            border-bottom-right-radius: 2px;
        }

        .app-chat-input-bar {
            height: 48px;
            background: #ffffff;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            padding: 0 12px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .app-chat-input-bar input {
            flex-grow: 1;
            height: 32px;
            border-radius: 20px;
            background: #f1f5f9;
            border: none;
            padding: 0 14px;
            font-size: 0.65rem;
            outline: none;
        }
        .app-chat-send-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--active-tab);
            color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.65rem;
            cursor: pointer;
        }

        /* SCREEN 6: USER PROFILE */
        .app-profile-view {
            padding: 16px;
        }
        .app-profile-user-card {
            background: #ffffff;
            border: 1px solid rgba(0,0,0,0.05);
            border-radius: 14px;
            padding: 16px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.01);
            margin-bottom: 16px;
        }
        .app-profile-user-card img {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--active-tab);
            display: inline-block;
        }
        .app-profile-user-card h4 {
            font-size: 0.85rem;
            font-weight: 800;
            color: #0a192f;
            margin-top: 10px;
        }
        .app-profile-user-card p {
            font-size: 0.65rem;
            color: #64748b;
        }

        .app-profile-menu-list {
            background: #ffffff;
            border: 1px solid rgba(0,0,0,0.05);
            border-radius: 14px;
            overflow: hidden;
        }
        .app-profile-menu-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            font-size: 0.75rem;
            color: #0f172a;
            cursor: pointer;
            font-weight: 550;
        }
        .app-profile-menu-row:last-child {
            border: none;
        }
        .app-profile-menu-row:hover {
            background: #f8fafc;
        }
        .app-profile-menu-row i {
            color: var(--active-tab);
        }

        /* Mock Notification Popup Overlay */
        .app-notification-popup {
            position: absolute;
            top: -120px;
            left: 10px;
            width: calc(100% - 20px);
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(8px);
            border: 1px solid rgba(0,0,0,0.05);
            border-radius: 12px;
            padding: 10px 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
            z-index: 200;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .app-notification-popup.show {
            top: 54px;
        }
        .app-notif-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: var(--active-tab);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.6rem;
        }
        .app-notif-texts h5 {
            font-size: 0.65rem;
            font-weight: 800;
            color: #0a192f;
        }
        .app-notif-texts p {
            font-size: 0.55rem;
            color: #64748b;
            margin-top: 1px;
        }

        /* Draggable Circular Floating Filter Button (White Theme) */
        .app-floating-filter-btn {
            position: absolute !important;
            bottom: 84px !important;
            right: 18px !important;
            width: 48px !important;
            height: 48px !important;
            min-width: 48px !important;
            border-radius: 50% !important;
            background: #ffffff !important;
            color: #0f172a !important;
            border: 1.5px solid #e2e8f0 !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
            z-index: 850 !important;
            cursor: grab !important;
            outline: none !important;
            opacity: 0 !important;
            pointer-events: none !important;
            transform: scale(0.7) translateY(15px);
            transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, border-color 0.2s ease !important;
            backdrop-filter: blur(14px) !important;
            -webkit-backdrop-filter: blur(14px) !important;
            user-select: none !important;
            -webkit-user-select: none !important;
            touch-action: none !important;
        }

        .app-floating-filter-btn.visible {
            opacity: 1 !important;
            pointer-events: auto !important;
            transform: scale(1) translateY(0) !important;
        }

        .app-floating-filter-btn.is-dragging {
            cursor: grabbing !important;
            border-color: #007cf0 !important;
            transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
            transform: scale(1.1) !important;
            box-shadow: 0 16px 36px rgba(0, 124, 240, 0.28), 0 4px 14px rgba(0, 0, 0, 0.12) !important;
            z-index: 9999 !important;
        }

        .app-floating-filter-btn:hover {
            border-color: #007cf0 !important;
            box-shadow: 0 10px 28px rgba(0, 124, 240, 0.22), 0 4px 10px rgba(0, 0, 0, 0.1) !important;
        }

        .app-floating-filter-btn i {
            font-size: 1.2rem !important;
            color: #007cf0 !important;
            pointer-events: none !important;
        }

        .app-floating-filter-btn .filter-badge {
            position: absolute !important;
            top: -4px !important;
            right: -4px !important;
            background: #ef4444 !important;
            color: #ffffff !important;
            font-size: 0.65rem !important;
            font-weight: 800 !important;
            min-width: 18px !important;
            height: 18px !important;
            border-radius: 50% !important;
            display: inline-flex;
            align-items: center !important;
            justify-content: center !important;
            padding: 0 3px !important;
            box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4) !important;
            border: 2px solid #ffffff !important;
            pointer-events: none !important;
        }

        /* Mock Smartphone Bottom Tab Navigation Bar - Elevated Native Mobile Dock */
        .smartphone-tab-bar {
            position: absolute !important;
            bottom: 0px !important;
            left: 0px !important;
            right: 0px !important;
            width: 100% !important;
            height: 64px !important;
            background: #ffffff !important;
            border-top: 1px solid #f1f5f9 !important;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05), 0 -1px 3px rgba(0, 0, 0, 0.02) !important;
            display: flex !important;
            align-items: center !important;
            justify-content: space-around !important;
            padding: 4px 12px 10px !important;
            z-index: 1000 !important;
            box-sizing: border-box !important;
        }
        .tab-bar-item {
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            height: 100% !important;
            flex: 1 !important;
            color: #94a3b8 !important;
            cursor: pointer !important;
            transition: all 0.2s ease !important;
            background: transparent !important;
            position: relative !important;
            flex-direction: column !important;
            gap: 4px !important;
        }
        .tab-bar-item i {
            font-size: 1.15rem !important;
            color: #94a3b8 !important;
            transition: all 0.2s ease !important;
        }
        .tab-bar-item p {
            display: block !important;
            font-size: 0.62rem !important;
            font-weight: 750 !important;
            margin: 0 !important;
            color: #94a3b8 !important;
            transition: all 0.2s ease !important;
        }
        /* Active Tab Highlight (matching 2nd screenshot) */
        .tab-bar-item.active {
            color: #007cf0 !important;
        }
        .tab-bar-item.active i {
            color: #007cf0 !important;
            transform: scale(1.1) !important;
        }
        .tab-bar-item.active p {
            color: #007cf0 !important;
            font-weight: 850 !important;
        }
        .tab-bar-item p, .tab-bar-item a {
            text-decoration: none !important;
        }

        /* Simulated active calling overlay popup inside the phone */
        .app-calling-popup-overlay {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(15, 23, 42, 0.95);
            z-index: 300;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
        }
        .app-calling-popup-overlay.active {
            display: flex;
        }
        .calling-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid rgba(255,255,255,0.2);
            animation: pulse-border 1.5s infinite;
        }
        @keyframes pulse-border {
            0%, 100% { box-shadow: 0 0 0 0px rgba(0, 124, 240, 0.4); }
            50% { box-shadow: 0 0 0 15px rgba(0, 124, 240, 0); }
        }

        @keyframes livePulse {
            0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
            50% { opacity: 0.7; transform: scale(1.3); box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
        }

        @keyframes countUp {
            from { opacity: 0; transform: translateY(4px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        .btn-end-call-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: #ef4444;
            color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            margin-top: 40px;
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
            transition: all 0.3s ease;
        }
        .btn-end-call-circle:hover {
            transform: scale(1.1);
        }

        /* Bottom stats block on the left section */
        .app-showcase-stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-top: 50px;
            padding-top: 40px;
            border-top: 1px solid var(--glass-border);
        }
        .app-showcase-stat-item h3 {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--neon-blue);
            line-height: 1.1;
        }
        .app-showcase-stat-item p {
            font-size: 0.7rem;
            color: #9ca3af;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 2px;
        }

        /* Floating simulated WhatsApp modal */
        .wa-chat-simulation-overlay {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #eae6df;
            z-index: 300;
            flex-direction: column;
        }
        .wa-chat-simulation-overlay.active {
            display: flex;
        }
        .wa-header {
            height: 48px;
            background: #075e54;
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 12px;
        }
        .wa-footer {
            height: 48px;
            background: #f0f0f0;
            padding: 0 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .wa-footer input {
            flex-grow: 1;
            height: 32px;
            border-radius: 20px;
            border: none;
            padding: 0 12px;
            font-size: 0.65rem;
            outline: none;
        }
        .wa-send-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #128c7e;
            color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.65rem;
        }

        /* High Fidelity Upgrades matching Ahmed's Screenshot design */
        .app-welcome-section {
            padding: 12px 16px 4px;
        }
        .app-welcome-greeting {
            font-size: 0.75rem;
            color: #64748b;
            font-weight: 550;
        }
        .app-welcome-main-title {
            font-size: 1.15rem;
            font-weight: 800;
            color: #0f172a;
            margin-top: 2px;
        }
        
        /* Categories circle filters override */
        .app-categories-slider-v2 {
            display: flex;
            justify-content: space-between;
            padding: 12px 24px;
        }
        .app-categories-slider-v2::-webkit-scrollbar {
            display: none;
        }
        .app-cat-circle-v2 {
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
        }
        .app-cat-icon-v2 {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.35rem;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
            transition: all 0.3s ease;
        }
        .app-cat-icon-v2.buy { background: rgba(0, 124, 240, 0.08); color: #007cf0; }
        .app-cat-icon-v2.rent { background: rgba(157, 80, 187, 0.08); color: #9d50bb; }
        .app-cat-icon-v2.agency { background: rgba(16, 185, 129, 0.08); color: #10b981; }
        .app-cat-icon-v2.agent { background: rgba(244, 63, 94, 0.08); color: #f43f5e; }
        .app-cat-circle-v2 p {
            font-size: 0.72rem;
            font-weight: 700;
            color: #64748b;
            margin-top: 8px;
        }

        /* Explore by Location Cards */
        .app-locations-scroller-v2 {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            padding: 8px 16px;
        }
        .app-locations-scroller-v2::-webkit-scrollbar {
            display: none;
        }
        .app-location-card-v2 {
            width: 100px;
            height: 120px;
            border-radius: 14px;
            overflow: hidden;
            position: relative;
            flex-shrink: 0;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
            cursor: pointer;
        }
        .app-location-card-v2 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .app-location-overlay-v2 {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 8px;
            background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
            color: white;
        }
        .app-location-overlay-v2 h4 {
            font-size: 0.65rem;
            font-weight: 800;
        }
        .app-location-overlay-v2 p {
            font-size: 0.5rem;
            color: rgba(255,255,255,0.7);
            margin-top: 2px;
        }

        /* Recommended cards vertical override */
        .app-recommended-list-v2 {
            padding: 0 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .app-rec-card-v2 {
            display: flex;
            background: white;
            border-radius: 14px;
            border: 1px solid rgba(0,0,0,0.04);
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .app-rec-card-v2:hover {
            transform: translateY(-2px);
            border-color: rgba(0, 124, 240, 0.12);
        }
        .app-rec-img-v2 {
            width: 90px;
            height: 90px;
            flex-shrink: 0;
        }
        .app-rec-img-v2 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .app-rec-details-v2 {
            padding: 8px 12px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .app-rec-title-v2 {
            font-size: 0.75rem;
            font-weight: 750;
            color: #0f172a;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .app-rec-loc-v2 {
            font-size: 0.55rem;
            color: #64748b;
            margin-top: 1px;
        }
        .app-rec-price-v2 {
            font-size: 0.8rem;
            font-weight: 850;
            color: #007cf0;
            margin-top: 2px;
        }
        .app-rec-specs-v2 {
            font-size: 0.55rem;
            color: #94a3b8;
            font-weight: 600;
            margin-top: 4px;
        }

        /* Browse by Property Type V2 */
        .app-property-type-grid-v2 {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            padding: 8px 16px;
        }
        .app-prop-type-card-v2 {
            background: white;
            border: 1px solid rgba(0,0,0,0.04);
            border-radius: 12px;
            padding: 10px 4px;
            text-align: center;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0,0,0,0.01);
            transition: all 0.3s ease;
        }
        .app-prop-type-card-v2:hover {
            border-color: rgba(0,124,240,0.12);
            background: rgba(0,124,240,0.01);
        }
        .app-prop-type-card-v2 i {
            font-size: 0.95rem;
            color: #007cf0;
            margin-bottom: 4px;
        }
        .app-prop-type-card-v2 h4 {
            font-size: 0.6rem;
            font-weight: 750;
            color: #0f172a;
        }
        .app-prop-type-card-v2 p {
            font-size: 0.5rem;
            color: #94a3b8;
            margin-top: 1px;
            font-weight: 600;
        }

        /* My Saved Properties row scroller */
        .app-saved-scroller-v2 {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            padding: 4px 16px 12px;
        }
        .app-saved-scroller-v2::-webkit-scrollbar {
            display: none;
        }
        .app-saved-card-v2 {
            width: 170px;
            flex-shrink: 0;
            background: white;
            border-radius: 12px;
            border: 1px solid rgba(0,0,0,0.04);
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0,0,0,0.01);
            cursor: pointer;
        }
        .app-saved-img-v2 {
            height: 80px;
            position: relative;
        }
        .app-saved-img-v2 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .app-saved-details-v2 {
            padding: 8px;
        }
        .app-saved-details-v2 h4 {
            font-size: 0.7rem;
            font-weight: 750;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: #0f172a;
        }
        .app-saved-details-v2 p.loc {
            font-size: 0.55rem;
            color: #64748b;
            margin-top: 1px;
        }
        .app-saved-details-v2 h5.price {
            font-size: 0.75rem;
            font-weight: 850;
            color: #007cf0;
            margin-top: 4px;
        }
        .app-saved-details-v2 p.specs {
            font-size: 0.55rem;
            color: #94a3b8;
            margin-top: 2px;
            font-weight: 600;
        }

        /* Recent Searches */
        .app-recent-searches-box {
            padding: 0 16px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .app-recent-search-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: white;
            border-radius: 10px;
            padding: 10px 12px;
            border: 1px solid rgba(0,0,0,0.03);
            cursor: pointer;
        }
        .app-recent-search-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(0, 124, 240, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #007cf0;
            font-size: 0.65rem;
        }
        .app-recent-search-texts h4 {
            font-size: 0.65rem;
            font-weight: 750;
            color: #0f172a;
        }
        .app-recent-search-texts p {
            font-size: 0.55rem;
            color: #64748b;
            margin-top: 1px;
        }

        /* Callout cards for leadgen */
        .app-callout-banner-card {
            margin: 16px;
            background: linear-gradient(135deg, #007cf0 0%, #00d1ff 100%);
            border-radius: 16px;
            padding: 14px 18px;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 8px 20px rgba(0, 124, 240, 0.15);
            cursor: pointer;
        }
        .app-callout-banner-card.purple {
            background: linear-gradient(135deg, #7c3aed 0%, #9d50bb 100%);
            box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
        }
        .app-callout-texts h4 {
            font-size: 0.8rem;
            font-weight: 855;
        }
        .app-callout-texts p {
            font-size: 0.55rem;
            color: rgba(255,255,255,0.85);
            margin-top: 2px;
            line-height: 1.2;
        }
        .app-callout-btn-v2 {
            background: white;
            color: #007cf0;
            font-size: 0.6rem;
            font-weight: 800;
            padding: 5px 12px;
            border-radius: 8px;
            border: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        }
        .app-callout-banner-card.purple .app-callout-btn-v2 {
            color: #7c3aed;
        }

        /* SVG Line Graph Market Insights styling */
        .app-insights-card-v2 {
            margin: 16px;
            background: white;
            border: 1px solid rgba(0,0,0,0.04);
            border-radius: 16px;
            padding: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.01);
        }
        .app-insights-header-row {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
        }
        .app-insights-price-block h4 {
            font-size: 1rem;
            font-weight: 850;
            color: #0f172a;
        }
        .app-insights-price-block p {
            font-size: 0.55rem;
            color: #64748b;
        }
        .app-insights-trend-pill {
            font-size: 0.55rem;
            font-weight: 800;
            color: #10b981;
            background: rgba(16, 185, 129, 0.08);
            padding: 2px 6px;
            border-radius: 4px;
        }
        .app-chart-graph-svg {
            width: 100%;
            height: 90px;
            margin-top: 8px;
        }
        .app-chart-month-labels {
            display: flex;
            justify-content: space-between;
            padding: 4px 6px 0;
            font-size: 0.5rem;
            color: #94a3b8;
            font-weight: 700;
            text-transform: uppercase;
        }

        /* Toggle switches alerts */
        .app-price-alerts-box {
            padding: 0 16px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .app-price-alert-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: white;
            border-radius: 10px;
            padding: 10px 12px;
            border: 1px solid rgba(0,0,0,0.03);
        }
        .app-alert-left {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .app-alert-bell-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background: rgba(16, 185, 129, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #10b981;
            font-size: 0.65rem;
        }
        .app-alert-texts h4 {
            font-size: 0.65rem;
            font-weight: 750;
            color: #0f172a;
        }
        .app-alert-texts p {
            font-size: 0.55rem;
            color: #64748b;
            margin-top: 1px;
        }
        /* Customized mobile toggle switch */
        .app-mobile-switch {
            position: relative;
            display: inline-block;
            width: 32px;
            height: 18px;
        }
        .app-mobile-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        .app-switch-slider {
            position: absolute;
            cursor: pointer;
            top: 0; left: 0; right: 0; bottom: 0;
            background-color: #cbd5e1;
            transition: .3s;
            border-radius: 18px;
        }
        .app-switch-slider:before {
            position: absolute;
            content: "";
            height: 14px;
            width: 14px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            transition: .3s;
            border-radius: 50%;
        }
        .app-mobile-switch input:checked + .app-switch-slider {
            background-color: #007cf0;
        }
        .app-mobile-switch input:checked + .app-switch-slider:before {
            transform: translateX(14px);
        }

        /* Profile Screen Upgrades */
        .app-profile-gradient-header {
            background: linear-gradient(135deg, #007cf0 0%, #00d1ff 100%);
            padding: 24px 16px 20px;
            border-bottom-left-radius: 24px;
            border-bottom-right-radius: 24px;
            text-align: center;
            color: white;
            position: relative;
        }
        .app-profile-avatar-box {
            position: relative;
            width: 64px;
            height: 64px;
            margin: 0 auto 10px;
        }
        .app-profile-avatar-box img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 2px solid white;
            object-fit: cover;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .app-profile-avatar-edit-badge {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 18px;
            height: 18px;
            background: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #007cf0;
            font-size: 0.55rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .app-profile-gradient-header h3 {
            font-size: 0.95rem;
            font-weight: 800;
        }
        .app-profile-gradient-header p {
            font-size: 0.65rem;
            color: rgba(255,255,255,0.85);
            margin-top: 1px;
        }
        .app-profile-verified-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: #ffffff;
            color: #10b981;
            font-size: 0.55rem;
            font-weight: 750;
            padding: 2px 8px;
            border-radius: 12px;
            margin-top: 6px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        }

        /* Quick Stats Grid */
        .app-profile-stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 6px;
            padding: 12px 16px;
            margin-top: -12px;
            position: relative;
            z-index: 10;
        }
        .app-profile-stat-box {
            background: white;
            border-radius: 10px;
            border: 1px solid rgba(0,0,0,0.04);
            padding: 8px 4px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0,0,0,0.02);
        }
        .app-profile-stat-box h4 {
            font-size: 0.85rem;
            font-weight: 855;
            color: #0f172a;
        }
        .app-profile-stat-box p {
            font-size: 0.5rem;
            color: #94a3b8;
            font-weight: 600;
            margin-top: 1px;
            text-transform: uppercase;
        }

        /* New custom profile styles from screenshot */
        .user-profile-menu-item {
            color: #64748b;
            background: transparent;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-weight: 700;
            font-size: 0.78rem;
            font-family: 'Outfit', sans-serif;
        }
        .user-profile-menu-item i {
            font-size: 0.85rem;
            width: 20px;
            text-align: center;
            color: #64748b;
        }
        .user-profile-menu-item.active {
            color: white !important;
            background: #0a192f !important;
            box-shadow: 0 4px 12px rgba(10, 25, 47, 0.15);
        }
        .user-profile-menu-item.active i {
            color: white !important;
        }
        .user-profile-menu-item:not(.active):hover {
            background: #f8fafc;
            color: #007cf0;
        }
        .user-profile-menu-item:not(.active):hover i {
            color: #007cf0;
        }

        /* New custom profile styles from screenshot */
        .user-profile-menu-item {
            color: #64748b;
            background: transparent;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-weight: 700;
            font-size: 0.78rem;
            font-family: 'Outfit', sans-serif;
        }
        .user-profile-menu-item i {
            font-size: 0.85rem;
            width: 20px;
            text-align: center;
            color: #64748b;
        }
        .user-profile-menu-item.active {
            color: white !important;
            background: #0a192f !important;
            box-shadow: 0 4px 12px rgba(10, 25, 47, 0.15);
        }
        .user-profile-menu-item.active i {
            color: white !important;
        }
        .user-profile-menu-item:not(.active):hover {
            background: #f8fafc;
            color: #007cf0;
        }
        .user-profile-menu-item:not(.active):hover i {
            color: #007cf0;
        }

        /* User Menu Sections */
        .app-profile-list-v2 {
            padding: 4px 16px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .app-profile-list-row-v2 {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: white;
            border: 1px solid rgba(0,0,0,0.03);
            border-radius: 10px;
            padding: 10px 14px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .app-profile-list-row-v2:hover {
            background: #f8fafc;
            border-color: rgba(0,124,240,0.08);
        }
        .app-row-left-v2 {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.7rem;
            font-weight: 650;
            color: #0f172a;
        }
        .app-row-left-v2 i {
            width: 16px;
            color: #64748b;
            text-align: center;
        }
        .app-row-left-v2.logout {
            color: #ef4444;
        }
        .app-row-left-v2.logout i {
            color: #ef4444;
        }
        .app-row-count-badge {
            background: rgba(0, 124, 240, 0.08);
            color: #007cf0;
            font-size: 0.55rem;
            font-weight: 800;
            padding: 1px 5px;
            border-radius: 8px;
        }

        /* Recently viewed scroller */
        .app-recent-properties-scroller {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            padding: 4px 16px 12px;
        }
        .app-recent-properties-scroller::-webkit-scrollbar {
            display: none;
        }

        /* Need Help headphones styling */
        .app-support-card-v2 {
            margin: 16px;
            background: white;
            border: 1px solid rgba(0,0,0,0.04);
            border-radius: 14px;
            padding: 12px 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 4px 10px rgba(0,0,0,0.01);
        }
        .app-support-left {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .app-support-icon-headphones {
            font-size: 1.5rem;
            color: #007cf0;
        }
        .app-support-texts h4 {
            font-size: 0.65rem;
            font-weight: 800;
            color: #0f172a;
        }
        .app-support-texts p {
            font-size: 0.55rem;
            color: #64748b;
            margin-top: 1px;
        }

        /* Segmented App Selector Styles */
        .app-mode-selector-segmented {
            display: inline-flex;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 4px;
            border-radius: 12px;
            margin-bottom: 24px;
            gap: 4px;
            z-index: 10;
            position: relative;
        }
        .mode-segment {
            background: transparent;
            border: none;
            color: #94a3b8;
            font-size: 0.8rem;
            font-weight: 700;
            padding: 8px 16px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
        }
        .mode-segment.active {
            background: #ffffff;
            color: #0f172a;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .mode-segment:hover:not(.active) {
            color: #ffffff;
            background: rgba(255,255,255,0.03);
        }

        /* Agent App Specific CSS Classes */
        .agent-app-profile-card {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            border-radius: 14px;
            padding: 16px;
            margin: 12px;
            color: #ffffff;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
            position: relative;
            overflow: hidden;
        }
        .agent-app-profile-card::after {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, rgba(0, 124, 240, 0.15) 0%, transparent 70%);
            pointer-events: none;
        }
        .agent-profile-header-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }
        .agent-profile-avatar-info {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .agent-profile-avatar-info img {
            width: 44px;
            height: 44px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid rgba(255,255,255,0.1);
        }
        .agent-profile-texts h4 {
            font-size: 0.75rem;
            font-weight: 800;
            color: #ffffff;
        }
        .agent-profile-texts p {
            font-size: 0.55rem;
            color: #94a3b8;
            margin-top: 1px;
        }
        .agent-rating-badge {
            font-size: 0.55rem;
            color: #f59e0b;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 3px;
            margin-top: 2px;
        }
        .agent-profile-view-btn {
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 6px;
            color: #ffffff;
            font-size: 0.55rem;
            font-weight: 700;
            padding: 4px 8px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .agent-profile-view-btn:hover {
            background: rgba(255,255,255,0.2);
        }
        .agent-profile-stats-row {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            border-top: 1px solid rgba(255,255,255,0.06);
            padding-top: 12px;
            text-align: center;
        }
        .agent-profile-stat-item h5 {
            font-size: 0.85rem;
            font-weight: 850;
            color: #ffffff;
        }
        .agent-profile-stat-item p {
            font-size: 0.45rem;
            color: #64748b;
            text-transform: uppercase;
            font-weight: 750;
            margin-top: 1px;
        }

        .agent-metrics-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            padding: 0 12px;
            margin-bottom: 16px;
        }
        .agent-metric-card {
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid rgba(0,0,0,0.03);
            padding: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.01);
            transition: all 0.3s ease;
        }
        .agent-metric-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.03);
        }
        .agent-metric-icon {
            width: 32px;
            height: 32px;
            border-radius: 10px;
            background: rgba(0, 124, 240, 0.06);
            color: #007cf0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
        }
        .agent-metric-icon.leads {
            background: rgba(20, 184, 166, 0.06);
            color: #14b8a6;
        }
        .agent-metric-icon.inquiries {
            background: rgba(139, 92, 246, 0.06);
            color: #8b5cf6;
        }
        .agent-metric-icon.bookings {
            background: rgba(249, 115, 22, 0.06);
            color: #f97316;
        }
        .agent-metric-info h5 {
            font-size: 0.55rem;
            color: #64748b;
            font-weight: 600;
        }
        .agent-metric-info h4 {
            font-size: 0.8rem;
            font-weight: 800;
            color: #0f172a;
            margin-top: 1px;
        }
        .agent-metric-change {
            font-size: 0.45rem;
            font-weight: 700;
            margin-top: 1px;
            display: flex;
            align-items: center;
            gap: 2px;
        }
        .agent-metric-change.positive {
            color: #10b981;
        }
        .agent-metric-change.negative {
            color: #ef4444;
        }

        .agent-donut-card {
            background: #ffffff;
            border-radius: 14px;
            border: 1px solid rgba(0,0,0,0.03);
            margin: 0 12px 16px;
            padding: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.01);
        }
        .donut-chart-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 12px;
        }
        .donut-graphic {
            position: relative;
            width: 90px;
            height: 90px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .donut-graphic-label {
            position: absolute;
            text-align: center;
        }
        .donut-graphic-label h4 {
            font-size: 0.95rem;
            font-weight: 850;
            color: #0f172a;
        }
        .donut-graphic-label p {
            font-size: 0.45rem;
            color: #94a3b8;
            font-weight: 700;
            text-transform: uppercase;
        }
        .donut-chart-legend {
            flex-grow: 1;
            padding-left: 16px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        .donut-legend-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.55rem;
        }
        .donut-legend-left {
            display: flex;
            align-items: center;
            gap: 6px;
            font-weight: 650;
            color: #475569;
        }
        .donut-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
        }
        .donut-dot.new { background: #007cf0; }
        .donut-dot.contacted { background: #14b8a6; }
        .donut-dot.qualified { background: #8b5cf6; }
        .donut-dot.converted { background: #f97316; }
        .donut-legend-right {
            font-weight: 750;
            color: #0f172a;
        }

        .agent-list-container {
            padding: 0 12px 12px;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .agent-lead-row {
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid rgba(0,0,0,0.03);
            padding: 10px 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 8px rgba(0,0,0,0.005);
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .agent-lead-row:hover {
            border-color: rgba(0,124,240,0.15);
            transform: translateX(2px);
        }
        .agent-lead-left {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .agent-lead-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            object-fit: cover;
        }
        .agent-lead-info h5 {
            font-size: 0.65rem;
            font-weight: 750;
            color: #0f172a;
        }
        .agent-lead-info p {
            font-size: 0.5rem;
            color: #64748b;
            margin-top: 1px;
        }
        .agent-lead-right {
            text-align: right;
        }
        .agent-badge-pill {
            font-size: 0.45rem;
            font-weight: 800;
            padding: 2px 6px;
            border-radius: 10px;
            text-transform: uppercase;
        }
        .agent-badge-pill.new { background: rgba(0, 124, 240, 0.08); color: #007cf0; }
        .agent-badge-pill.contacted { background: rgba(20, 184, 166, 0.08); color: #14b8a6; }
        .agent-badge-pill.qualified { background: rgba(139, 92, 246, 0.08); color: #8b5cf6; }
        .agent-badge-pill.converted { background: rgba(249, 115, 22, 0.08); color: #f97316; }
        .agent-lead-time {
            font-size: 0.45rem;
            color: #94a3b8;
            margin-top: 3px;
        }

        .agent-appointment-card {
            background: #ffffff;
            border-radius: 12px;
            border: 1px solid rgba(0,0,0,0.03);
            margin: 0 12px 12px;
            padding: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 4px 12px rgba(0,0,0,0.01);
        }
        .agent-app-date-box {
            width: 42px;
            height: 42px;
            border-radius: 8px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .agent-app-date-box h4 {
            font-size: 0.8rem;
            font-weight: 850;
            color: #0f172a;
            line-height: 1;
        }
        .agent-app-date-box p {
            font-size: 0.45rem;
            font-weight: 750;
            color: #64748b;
            text-transform: uppercase;
            margin-top: 1px;
        }
        .agent-app-details {
            flex-grow: 1;
            padding-left: 12px;
        }
        .agent-app-details h5 {
            font-size: 0.65rem;
            font-weight: 750;
            color: #0f172a;
        }
        .agent-app-details p {
            font-size: 0.5rem;
            color: #64748b;
            margin-top: 1px;
        }
        .agent-app-time-badge {
            font-size: 0.5rem;
            color: #007cf0;
            background: rgba(0, 124, 240, 0.06);
            padding: 2px 6px;
            border-radius: 6px;
            font-weight: 700;
        }

        .agent-promo-banner {
            background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
            border-radius: 14px;
            margin: 12px;
            padding: 16px;
            color: #ffffff;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .agent-promo-texts {
            max-width: 65%;
        }
        .agent-promo-texts h4 {
            font-size: 0.75rem;
            font-weight: 800;
            color: #ffffff;
        }
        .agent-promo-texts p {
            font-size: 0.55rem;
            color: rgba(255,255,255,0.85);
            margin-top: 3px;
            line-height: 1.3;
        }
        .agent-promo-btn {
            background: #ffffff;
            border: none;
            border-radius: 6px;
            color: #4f46e5;
            font-size: 0.55rem;
            font-weight: 750;
            padding: 6px 10px;
            margin-top: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .agent-promo-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        .agent-promo-graphic {
            font-size: 2.2rem;
            color: rgba(255,255,255,0.25);
            transform: rotate(-15deg);
        }

        .agent-chart-card {
            background: #ffffff;
            border-radius: 14px;
            border: 1px solid rgba(0,0,0,0.03);
            margin: 12px;
            padding: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.01);
        }
        .agent-chart-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 12px;
        }
        .chart-legend-horizontal {
            display: flex;
            gap: 10px;
        }
        .chart-legend-pill {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.5rem;
            font-weight: 600;
            color: #475569;
        }
        .chart-dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
        }
        .chart-dot.leads { background: #007cf0; }
        .chart-dot.inquiries { background: #10b981; }
        .chart-dot.appointments { background: #8b5cf6; }

        .agent-form-container {
            padding: 16px;
            background: #ffffff;
            border-radius: 14px;
            margin: 12px;
            border: 1px solid rgba(0,0,0,0.03);
            box-shadow: 0 4px 12px rgba(0,0,0,0.01);
        }
        .agent-form-title {
            font-size: 0.8rem;
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .agent-form-group {
            margin-bottom: 12px;
            text-align: left;
        }
        .agent-form-group label {
            display: block;
            font-size: 0.55rem;
            font-weight: 750;
            color: #334155;
            margin-bottom: 4px;
            text-transform: uppercase;
        }
        .agent-form-group input, .agent-form-group select {
            width: 100%;
            height: 32px;
            background: #f8fafc;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            padding: 0 10px;
            font-size: 0.65rem;
            color: #0f172a;
            transition: all 0.3s ease;
        }
        .agent-form-group input:focus, .agent-form-group select:focus {
            border-color: #007cf0;
            background: #ffffff;
            outline: none;
            box-shadow: 0 0 0 3px rgba(0,124,240,0.06);
        }
        .agent-form-row-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        .agent-submit-btn {
            width: 100%;
            height: 36px;
            background: #007cf0;
            color: #ffffff;
            font-size: 0.7rem;
            font-weight: 750;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .agent-submit-btn:hover {
            background: #0066c7;
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0,124,240,0.2);
        }
    
        
        /* Dedicated Full-Screen Mobile Overrides */
        html, body {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            background-color: #f8fafc;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        }

        .smartphone-inner-screen {
            width: 100vw !important;
            height: 100vh !important;
            max-width: 100% !important;
            max-height: 100% !important;
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            border-radius: 0 !important;
            border: none !important;
            box-shadow: none !important;
            display: block !important; /* use block not flex - avoids flex child height issues */
        }

        /* Content panel: absolutely fill entire screen except tab bar space */
        .app-screen-content-panel {
            position: absolute !important;
            top: 0 !important;
            left: 0 !important;
            right: 0 !important;
            bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important; /* leave room for tab bar including safe area */
            padding-bottom: 0px !important;
            background: #f6f8fb !important;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            -webkit-overflow-scrolling: touch !important;
        }

        /* Tab bars: stick to bottom */
        #buyer-tab-bar, #agent-tab-bar {
            position: absolute !important;
            bottom: 0 !important;
            left: 0 !important;
            right: 0 !important;
            z-index: 100 !important;
        }

        /* Support safe-area constraints for iPhones and modern Androids */
        .smartphone-inner-screen {
            padding-top: env(safe-area-inset-top, 0px);
            padding-bottom: env(safe-area-inset-bottom, 0px);
        }

        /* Hide fake status bar & Dynamic Island in native-mode */
        body.is-native .smartphone-status-bar,
        body.is-native .smartphone-dynamic-island {
            display: none !important;
        }

        body.is-native .smartphone-inner-screen {
            padding-top: 0 !important; /* Managed by device safe area */
            padding-bottom: 0 !important;
        }
        
        /* Floating Role Mode Selector inside page header */
        .mode-switch-header-btn {
            background: rgba(0, 124, 240, 0.1);
            color: #007cf0;
            border: none;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .mode-switch-header-btn:hover {
            transform: scale(1.05);
            background: rgba(0, 124, 240, 0.2);
        }
        
        .agent-mode-switch-header-btn {
            background: rgba(139, 92, 246, 0.1);
            color: #8b5cf6;
        }

        /* Platform Safe Areas for Top Headers in Full Screen / Native Mode */
        .app-home-header,
        .app-search-page-header,
        .app-profile-gradient-header,
        #screen-agent-details > div:first-of-type,
        #screen-agency-details > div:first-of-type {
            padding-top: calc(12px + env(safe-area-inset-top, 0px)) !important;
            box-sizing: content-box !important;
        }

        .app-details-top-nav-bar {
            height: calc(60px + env(safe-area-inset-top, 0px)) !important;
            padding-top: calc(12px + env(safe-area-inset-top, 0px)) !important;
            padding-bottom: 12px !important;
            box-sizing: border-box !important;
        }

        .app-active-chat-header {
            height: calc(48px + env(safe-area-inset-top, 0px)) !important;
            padding-top: env(safe-area-inset-top, 0px) !important;
            box-sizing: border-box !important;
        }

        /* Safe Areas for Bottom Navigation Bars and Sticky Elements */
        .smartphone-tab-bar {
            height: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
            padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px)) !important;
            box-sizing: border-box !important;
        }

        @keyframes gentle-slow-bounce {
            0%, 100% {
                transform: translate3d(-50%, 0, 0);
            }
            50% {
                transform: translate3d(-50%, -6px, 0);
            }
        }

        /* When property details screen is active, expand content panel to bottom 0 */
        body.details-active .app-screen-content-panel,
        .smartphone-inner-screen:has(#screen-details.active) .app-screen-content-panel,
        .app-screen-content-panel:has(#screen-details.active) {
            bottom: 0px !important;
        }

        .app-details-sticky-bottom-bar {
            position: absolute !important;
            bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
            left: 50% !important;
            width: calc(100% - 32px) !important;
            max-width: 360px !important;
            height: 58px !important;
            background: #090d16 !important;
            border: 1.5px solid rgba(255, 255, 255, 0.14) !important;
            border-radius: 30px !important;
            padding: 0 10px 0 7px !important;
            display: none !important;
            justify-content: space-between !important;
            align-items: center !important;
            z-index: 1100 !important;
            box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45) !important;
            box-sizing: border-box !important;
            animation: gentle-slow-bounce 2.6s ease-in-out infinite !important;
        }

        #screen-details.active .app-details-sticky-bottom-bar {
            display: flex !important;
        }

        /* Hide bottom navigation bar while splash loading or property details screen is active */
        body.splash-active .smartphone-tab-bar,
        body.splash-active .app-3d-floating-nav-container,
        body.splash-active #appFloatingNavContainer,
        body.splash-active .app-floating-filter-btn,
        body.splash-active #appFloatingFilterBtn,
        body.details-active .smartphone-tab-bar,
        .smartphone-inner-screen:has(#screen-details.active) .smartphone-tab-bar,
        .app-screen-view#screen-details.active ~ .smartphone-tab-bar {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
            pointer-events: none !important;
        }

        /* ===== DP 3D Flip Full View Modal CSS ===== */
        .dp-flip-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(3, 7, 18, 0.88);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            z-index: 999999;
            display: none;
            align-items: center;
            justify-content: center;
            perspective: 1000px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .dp-flip-modal-overlay.active {
            display: flex;
            opacity: 1;
        }
        .dp-flip-modal-card {
            position: relative;
            max-width: 85%;
            max-height: 80vh;
            background: #090d16;
            border: 1.5px solid rgba(255, 255, 255, 0.15);
            border-radius: 24px;
            padding: 16px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
            transform-style: preserve-3d;
            transform: rotateY(90deg) scale(0.7);
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .dp-flip-modal-overlay.active .dp-flip-modal-card {
            transform: rotateY(0deg) scale(1);
        }
        .dp-flip-modal-card img {
            max-width: 100%;
            max-height: 65vh;
            border-radius: 16px;
            object-fit: contain;
            box-shadow: 0 4px 20px rgba(0,0,0,0.4);
            border: 1px solid rgba(255,255,255,0.1);
        }
        .dp-flip-modal-title {
            margin-top: 12px;
            color: #ffffff;
            font-family: 'Outfit', sans-serif;
            font-size: 1rem;
            font-weight: 800;
            text-align: center;
        }
        .dp-flip-close-btn {
            position: absolute;
            top: -12px;
            right: -12px;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: #ef4444;
            color: white;
            border: 2.5px solid white;
            font-size: 1.2rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            z-index: 10;
        }

        /* Native iOS Smooth Scrolling */
        .app-screen-content-panel,
        .app-details-scroll-container,
        .app-chat-bubbles-container,
        .app-saved-list,
        .app-chats-list,
        .app-profile-view {
            -webkit-overflow-scrolling: touch !important;
        }

        /* Disable user text selection and touch delays for app-like feeling */
        .smartphone-tab-bar,
        .tab-bar-item,
        .app-home-header,
        .app-search-page-header,
        .app-details-top-nav-bar,
        .app-details-sticky-bottom-bar,
        .app-cat-card,
        button,
        a {
            user-select: none !important;
            -webkit-user-select: none !important;
            -webkit-tap-highlight-color: transparent !important;
        }

        /* Tactile Tap Interactions for Buttons and Cards */
        .tab-bar-item:active,
        .app-cat-card:active,
        .app-search-page-header-btn:active,
        .app-details-top-nav-bar button:active,
        .app-search-prop-heart-btn:active,
        .app-details-bottom-btn:active,
        .app-details-mid-btn:active,
        .app-details-circle-action-btn:active,
        .agent-submit-btn:active {
            transform: scale(0.96) !important;
            opacity: 0.85 !important;
            transition: transform 0.1s ease !important;
        }

        /* Prevent Auto Zooming on Form Input fields in iOS */
        @media (max-width: 768px) {
            input, select, textarea {
                font-size: 16px !important;
            }
        }

        /* Screenshot design enhancements */
        .no-scrollbar {
            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
        }
        .no-scrollbar::-webkit-scrollbar {
            display: none;
        }

        /* Agency Details Tabs Scrollable Bar styling */
        .app-agency-details-tab-bar {
            display: flex;
            overflow-x: auto;
            border-bottom: 1.5px solid #f1f5f9;
            background: #ffffff;
            position: sticky;
            top: 0;
            z-index: 50;
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        .app-agency-details-tab-bar::-webkit-scrollbar {
            display: none;
        }
        .app-agency-details-tab-item {
            flex: 1;
            text-align: center;
            padding: 12px 4px;
            font-size: 0.74rem;
            font-weight: 700;
            color: #64748b;
            cursor: pointer;
            white-space: nowrap;
            border-bottom: 2px solid transparent;
            transition: all 0.2s;
            font-family: 'Outfit', sans-serif;
        }
        .app-agency-details-tab-item.active {
            color: #007cf0;
            border-bottom-color: #007cf0;
            font-weight: 800;
        }
        .app-cat-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.04) !important;
            border-color: #cbd5e1 !important;
        }
        .app-premium-prop-card {
            width: 290px;
            flex-shrink: 0;
            background: #ffffff;
            border: 1.5px solid #f1f5f9;
            border-radius: 0 0 20px 20px;
            padding: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .app-premium-prop-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 124, 240, 0.06);
            border-color: rgba(0, 124, 240, 0.15);
        }
        .app-featured-prop-card {
            width: 290px;
            flex-shrink: 0;
            background: #ffffff;
            border: 1.5px solid #f1f5f9;
            border-radius: 0 0 20px 20px;
            padding: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .app-featured-prop-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(139, 92, 246, 0.06);
            border-color: rgba(139, 92, 246, 0.15);
        }
        .app-home-row-card {
            display: flex;
            align-items: center;
            gap: 12px;
            background: #ffffff;
            border: 1px solid #f1f5f9;
            border-radius: 16px;
            padding: 8px 12px;
            min-width: 165px;
            flex-shrink: 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.01);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .app-home-row-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
            border-color: rgba(0, 0, 0, 0.05);
        }
        .tab-bar-item {
            position: relative;
        }
        .tab-bar-item.active::after {
            content: none;
        }

        /* Search Screen Header */
        .app-search-page-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px 8px;
            font-family: 'Outfit', sans-serif;
            border-bottom: 1.5px solid #f1f5f9;
            position: relative;
            margin-bottom: 12px;
        }
        .app-search-page-header h2 {
            font-size: 1.15rem;
            font-weight: 800;
            color: #0a192f;
            margin: 0;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }
        .app-search-page-header-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #ffffff;
            border: 1.5px solid #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #475569;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 2px 6px rgba(0,0,0,0.02);
        }
        .app-search-page-header-btn:hover {
            background: #f1f5f9;
            transform: scale(1.05);
        }

        /* Buy/Rent Segmented Tabs */
        .app-search-buyrent-tabs {
            display: flex;
            gap: 16px;
            font-family: 'Outfit', sans-serif;
            position: relative;
        }
        .app-search-buyrent-btn {
            background: transparent;
            border: none;
            font-size: 0.85rem;
            font-weight: 700;
            padding: 4px 0;
            color: #64748b;
            cursor: pointer;
            text-align: center;
            position: relative;
            transition: color 0.2s;
        }
        .app-search-buyrent-btn.active {
            color: #007cf0;
        }
        .app-search-buyrent-btn.active::after {
            content: '';
            position: absolute;
            bottom: -9.5px;
            left: 0;
            right: 0;
            height: 3px;
            background: #007cf0;
            border-radius: 3px 3px 0 0;
        }

        /* Search Box and Filter Card */
        .app-search-filter-card {
            background: #ffffff;
            border: 1.5px solid #f1f5f9;
            border-radius: 20px;
            margin: 0 16px 14px;
            padding: 14px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
            font-family: 'Outfit', sans-serif;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .app-search-location-select {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 8px 12px;
            font-size: 0.8rem;
            color: #0f172a;
            font-weight: 750;
            cursor: pointer;
        }
        .app-search-location-select select {
            border: none;
            background: transparent;
            font-size: 0.8rem;
            color: #0f172a;
            font-weight: 750;
            outline: none;
            width: 100%;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
        }
        .app-search-location-select i {
            color: #007cf0;
        }
        .app-search-bar-row {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 8px 12px;
        }
        .app-search-bar-row i {
            color: #94a3b8;
            font-size: 0.85rem;
        }
        .app-search-bar-row input {
            border: none;
            background: transparent;
            outline: none;
            font-size: 0.78rem;
            color: #0f172a;
            width: 100%;
            font-family: inherit;
        }
        
        /* Grid of 4 Filters inside Search Card */
        .app-search-grid-filters {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }
        .app-search-grid-filter-item {
            background: #ffffff;
            border: 1.5px solid #f1f5f9;
            border-radius: 12px;
            padding: 6px 10px;
            display: flex;
            flex-direction: column;
            gap: 3px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .app-search-grid-filter-item:hover {
            border-color: #cbd5e1;
            background: #f8fafc;
        }
        .app-search-grid-filter-label {
            font-size: 0.58rem;
            font-weight: 800;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }
        .app-search-grid-filter-value {
            font-size: 0.74rem;
            font-weight: 700;
            color: #0f172a;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .app-search-grid-filter-value select {
            border: none;
            background: transparent;
            font-size: 0.74rem;
            font-weight: 700;
            color: #0f172a;
            outline: none;
            width: 100%;
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            padding: 0;
            margin: 0;
        }

        /* Horizontal Pills Scroller */
        .app-search-pills-scroller {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding: 4px 16px 12px;
            scrollbar-width: none;
            font-family: 'Outfit', sans-serif;
        }
        .app-search-pills-scroller::-webkit-scrollbar {
            display: none;
        }
        .app-search-pill-badge {
            display: flex;
            align-items: center;
            gap: 6px;
            background: #ffffff;
            border: 1.5px solid #f1f5f9;
            border-radius: 20px;
            padding: 5px 12px;
            font-size: 0.7rem;
            font-weight: 700;
            color: #475569;
            white-space: nowrap;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 2px 6px rgba(0,0,0,0.01);
        }
        .app-search-pill-badge.active {
            background: rgba(0, 124, 240, 0.08);
            border-color: rgba(0, 124, 240, 0.2);
            color: #007cf0;
        }
        .app-search-pill-badge i {
            font-size: 0.72rem;
        }

        /* Results Count Row */
        .app-search-results-count-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 4px 16px 10px;
            font-family: 'Outfit', sans-serif;
        }
        .app-search-results-count-text {
            font-size: 0.75rem;
            font-weight: 850;
            color: #64748b;
        }
        #appSearchSortSelect {
            font-size: 10px !important;
            font-weight: 600 !important;
            font-family: 'Outfit', sans-serif !important;
            -webkit-text-size-adjust: none !important;
        }
        .app-search-save-search-btn {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 0.7rem;
            font-weight: 800;
            color: #007cf0;
            background: transparent;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
        }
        .app-search-save-search-btn:hover {
            opacity: 0.8;
            transform: scale(1.02);
        }

        /* Horizontal Search Result Card Row */
        .app-search-property-card-row {
            display: flex;
            background: #ffffff;
            border: 1.5px solid #f1f5f9;
            border-radius: 18px;
            overflow: hidden;
            margin: 0 16px 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Outfit', sans-serif;
            height: 165px;
        }
        .app-search-property-card-row:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
            border-color: #e2e8f0;
        }
        
        .app-search-prop-img-box {
            position: relative;
            width: 190px;
            height: 100%;
            flex-shrink: 0;
            overflow: hidden;
        }
        .app-search-prop-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .app-search-prop-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            font-size: 0.55rem;
            font-weight: 800;
            color: white;
            background: rgba(15, 23, 42, 0.85);
            padding: 3px 8px;
            border-radius: 6px;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            z-index: 5;
        }
        .app-search-prop-badge.featured {
            background: #8b5cf6;
        }
        .app-search-prop-badge.new {
            background: #007cf0;
        }
        .app-search-prop-badge.hot-deal {
            background: #ef4444;
        }
        .app-search-prop-photo-count {
            position: absolute;
            bottom: 8px;
            left: 8px;
            font-size: 0.55rem;
            font-weight: 700;
            color: white;
            background: rgba(15, 23, 42, 0.65);
            padding: 3px 6px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            gap: 4px;
            z-index: 5;
        }
        .app-search-prop-heart-btn {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.9);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 5;
            transition: all 0.2s;
            box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        }
        .app-search-prop-heart-btn:hover {
            transform: scale(1.05);
            background: #ffffff;
        }
        .app-search-prop-heart-btn i {
            font-size: 0.75rem;
        }
        
        .app-search-prop-info-box {
            flex: 1;
            padding: 10px 12px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-width: 0;
        }
        .app-search-prop-title-row {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .app-search-prop-title-row h4 {
            font-size: 0.8rem;
            font-weight: 800;
            color: #0f172a;
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .app-search-prop-loc-text {
            font-size: 0.62rem;
            color: #64748b;
            display: flex;
            align-items: center;
            gap: 3px;
        }
        .app-search-prop-loc-text i {
            color: #ef4444;
            font-size: 0.62rem;
        }
        .app-search-prop-price-bold {
            font-size: 0.9rem;
            font-weight: 800;
            color: #007cf0;
            margin-top: 1px;
        }
        
        /* Specs display */
        .app-search-prop-specs-row {
            display: flex;
            gap: 8px;
            margin-top: 2px;
        }
        .app-search-prop-spec-text {
            font-size: 0.62rem;
            color: #64748b;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .app-search-prop-spec-text i {
            color: #94a3b8;
            font-size: 0.62rem;
        }
        
        /* Tags in details */
        .app-search-prop-tags-row {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            margin-top: 2px;
        }
        .app-search-prop-tag-badge {
            font-size: 0.55rem;
            font-weight: 700;
            padding: 2px 6px;
            border-radius: 4px;
            text-transform: uppercase;
        }
        .app-search-prop-tag-badge.ready-to-move {
            background: #ecfdf5;
            color: #059669;
        }
        .app-search-prop-tag-badge.premium {
            background: #f5f3ff;
            color: #7c3aed;
        }
        .app-search-prop-tag-badge.furnished {
            background: #eff6ff;
            color: #2563eb;
        }
        
        /* Agency verification row and View details button */
        .app-search-prop-footer-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 4px;
            border-top: 1px solid #f1f5f9;
            padding-top: 4px;
        }
        .app-search-prop-agency-info {
            display: flex;
            align-items: center;
            gap: 4px;
            min-width: 0;
        }
        .app-search-prop-agency-logo {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            object-fit: cover;
        }
        .app-search-prop-agency-name {
            font-size: 0.58rem;
            font-weight: 700;
            color: #475569;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 70px;
        }
        .app-search-prop-verified-icon {
            color: #007cf0;
            font-size: 0.58rem;
        }
        .app-search-prop-view-details-btn {
            background: transparent;
            border: 1px solid #007cf0;
            color: #007cf0;
            font-size: 0.6rem;
            font-weight: 800;
            padding: 3px 8px;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s;
        }
        .app-search-prop-view-details-btn:hover {
            background: #007cf0;
            color: #ffffff;
        }

        /* Save Search Notification Banner */
        .app-search-save-search-banner {
            background: linear-gradient(135deg, #007cf0 0%, #0056b3 100%);
            border-radius: 18px;
            margin: 16px;
            padding: 14px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: white;
            font-family: 'Outfit', sans-serif;
            box-shadow: 0 4px 14px rgba(0, 124, 240, 0.2);
        }
        .app-search-banner-text-box {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        .app-search-banner-title {
            font-size: 0.78rem;
            font-weight: 800;
        }
        .app-search-banner-desc {
            font-size: 0.62rem;
            opacity: 0.85;
            font-weight: 500;
        }
        .app-search-banner-btn {
            background: #ffffff;
            color: #007cf0;
            border: none;
            border-radius: 8px;
            font-size: 0.68rem;
            font-weight: 800;
            padding: 6px 10px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .app-search-banner-btn:hover {
            transform: scale(1.03);
            background: #f8fafc;
        }

        /* Mobile Refine Search Drawer Overlay */
        .app-refine-drawer-overlay {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            background: rgba(15, 23, 42, 0.5) !important;
            backdrop-filter: blur(6px) !important;
            -webkit-backdrop-filter: blur(6px) !important;
            z-index: 99991 !important;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        .app-refine-drawer-overlay.active {
            opacity: 1 !important;
            pointer-events: auto !important;
        }
        
        .app-refine-drawer-sheet {
            position: fixed !important;
            bottom: 0 !important;
            left: 0 !important;
            right: 0 !important;
            width: 100% !important;
            background: #ffffff !important;
            border-radius: 24px 24px 0 0 !important;
            max-height: 85vh !important;
            overflow-y: auto !important;
            z-index: 99992 !important;
            transform: translateY(100%);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
            padding: 20px 16px 30px !important;
            font-family: 'Outfit', sans-serif !important;
            box-shadow: 0 -8px 32px rgba(0,0,0,0.2) !important;
            display: flex !important;
            flex-direction: column !important;
            gap: 16px !important;
            box-sizing: border-box !important;
        }
        .app-refine-drawer-sheet.active {
            transform: translateY(0) !important;
        }
        
        /* Mobile Side Navigation Sidebar Overlay */
        .app-sidebar-overlay {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            width: 100vw !important;
            height: 100vh !important;
            background: rgba(15, 23, 42, 0.5) !important;
            backdrop-filter: blur(6px) !important;
            -webkit-backdrop-filter: blur(6px) !important;
            z-index: 99993 !important;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        .app-sidebar-overlay.active {
            opacity: 1 !important;
            pointer-events: auto !important;
        }
        
        .app-sidebar-sheet {
            position: fixed !important;
            top: 0 !important;
            bottom: 0 !important;
            left: 0 !important;
            width: 280px !important;
            background: #ffffff !important;
            z-index: 99994 !important;
            transform: translateX(-100%);
            transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
            box-shadow: 8px 0 32px rgba(0,0,0,0.2) !important;
            display: flex !important;
            flex-direction: column !important;
            box-sizing: border-box !important;
            font-family: 'Outfit', sans-serif !important;
        }
        .app-sidebar-sheet.active {
            transform: translateX(0) !important;
        }

        .app-sidebar-header {
            background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
            padding: calc(24px + env(safe-area-inset-top, 0px)) 20px 24px;
            color: #ffffff;
            display: flex;
            flex-direction: column;
            gap: 12px;
            position: relative;
        }
        .app-sidebar-header-close {
            position: absolute;
            top: calc(12px + env(safe-area-inset-top, 0px));
            right: 16px;
            background: rgba(255,255,255,0.1);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            cursor: pointer;
            transition: background 0.2s;
        }
        .app-sidebar-header-close:hover {
            background: rgba(255,255,255,0.2);
        }
        
        .app-sidebar-menu-list {
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 4px;
            overflow-y: auto;
            flex-grow: 1;
        }
        .app-sidebar-menu-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: 12px;
            color: #475569;
            font-size: 0.88rem;
            font-weight: 700;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        .app-sidebar-menu-item:hover {
            background: #f1f5f9;
            color: #007cf0;
        }
        .app-sidebar-menu-item i {
            font-size: 1.1rem;
            width: 24px;
            text-align: center;
            color: #94a3b8;
            transition: color 0.2s ease;
        }
        .app-sidebar-menu-item:hover i {
            color: #007cf0;
        }
        
        .app-sidebar-footer {
            padding: 16px 20px;
            border-top: 1px solid #e2e8f0;
            font-size: 0.72rem;
            color: #94a3b8;
            font-weight: 600;
            text-align: center;
            background: #f8fafc;
        }
        
        /* Drawer sheet header */
        .app-refine-sheet-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1.5px solid #f1f5f9;
            padding-bottom: 12px;
        }
        .app-refine-sheet-header h3 {
            font-size: 1.05rem;
            font-weight: 800;
            color: #0a192f;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .app-refine-sheet-header h3 i {
            color: #007cf0;
            font-size: 0.95rem;
        }
        .app-refine-sheet-close {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #f8fafc;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #64748b;
            cursor: pointer;
            transition: all 0.2s;
        }
        .app-refine-sheet-close:hover {
            background: #f1f5f9;
            color: #334155;
        }
        
        #refine-property-filters,
        #refine-agency-filters,
        #refine-agent-filters {
            display: flex;
            flex-direction: column;
            gap: 22px;
        }

        /* Section styling */
        .app-refine-section {
            display: flex;
            flex-direction: column;
            gap: 10px;
            text-align: left;
        }
        .app-refine-section-title {
            font-size: 0.72rem;
            font-weight: 800;
            color: #475569;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            margin-bottom: 2px;
        }
        
        /* Pill selector */
        .app-refine-pills-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .app-refine-pill-btn {
            background: #ffffff;
            border: 1.5px solid #f1f5f9;
            border-radius: 12px;
            padding: 8px 14px;
            font-size: 0.76rem;
            font-weight: 700;
            color: #64748b;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .app-refine-pill-btn.active {
            background: rgba(0, 124, 240, 0.08);
            border-color: rgba(0, 124, 240, 0.2);
            color: #007cf0;
        }
        
        /* Checkbox grid */
        .app-refine-checkbox-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px 16px;
        }
        .app-refine-checkbox-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.74rem;
            font-weight: 600;
            color: #475569;
            cursor: pointer;
        }
        .app-refine-checkbox-item input {
            width: 16px;
            height: 16px;
            border-radius: 4px;
            border: 1.5px solid #cbd5e1;
            accent-color: #007cf0;
            cursor: pointer;
        }
        
        /* Double Input (Min/Max) */
        .app-refine-double-input {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }
        .app-refine-input-wrapper {
            position: relative;
        }
        .app-refine-input-wrapper input {
            width: 100%;
            height: 36px;
            border-radius: 10px;
            border: 1.5px solid #cbd5e1;
            background: #ffffff;
            padding: 0 10px;
            font-size: 0.75rem;
            font-weight: 600;
            color: #1e293b;
            font-family: inherit;
            outline: none;
            box-sizing: border-box;
        }
        .app-refine-input-wrapper input:focus {
            border-color: #007cf0;
        }

        /* Slider toggle styling */
        .app-refine-switch input:checked + .app-refine-slider {
            background-color: #007cf0;
        }
        .app-refine-switch input:checked + .app-refine-slider:before {
            transform: translateX(16px);
        }
        .app-refine-slider:before {
            position: absolute;
            content: "";
            height: 14px;
            width: 14px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            transition: .3s;
            border-radius: 50%;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        /* App Open Loader Animations */
        @keyframes spin-loader {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        @keyframes pulse-rocket {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.08); }
        }
        @keyframes fade-blink {
            0%, 100% { opacity: 0.5; }
            50% { opacity: 1; }
        }
        .app-card-slider-slides::-webkit-scrollbar,
        #appDetailsSlidesContainer::-webkit-scrollbar {
            display: none !important;
        }

        /* Image Protection (Block right-click & drag on list/grid images) */
        .app-mobile-prop-img img,
        .app-search-prop-img img,
        .app-search-prop-img-box img {
            pointer-events: none !important;
            user-select: none !important;
            -webkit-user-drag: none !important;
        }

        /* ==========================================================================
           EXACT NATIVE MOBILE APP MODE (Full Screen Standalone & Mobile Viewport)
           ========================================================================== */
        @media (max-width: 1024px), (display-mode: standalone) {
            html, body {
                width: 100vw !important;
                height: 100vh !important;
                height: 100dvh !important;
                margin: 0 !important;
                padding: 0 !important;
                overflow: hidden !important;
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                background: #f6f8fb !important;
            }

            /* Hide Desktop Showcase Nav, Outer Glow, Dynamic Island Notch & Fake Status Bar on Real Mobile Screens */
            header.app-nav, 
            .showcase-left-info, 
            .emulator-behind-glow, 
            .smartphone-dynamic-island,
            .smartphone-status-bar {
                display: none !important;
            }

            .showcase-hero-container {
                padding: 0 !important;
                margin: 0 !important;
                min-height: 100vh !important;
                height: 100vh !important;
                height: 100dvh !important;
                width: 100vw !important;
            }

            .showcase-grid {
                display: block !important;
                width: 100vw !important;
                height: 100vh !important;
                height: 100dvh !important;
                padding: 0 !important;
                margin: 0 !important;
            }

            .emulator-smartphone-frame-wrapper {
                width: 100vw !important;
                height: 100vh !important;
                height: 100dvh !important;
                padding: 0 !important;
                margin: 0 !important;
            }

            .smartphone-bezel-shell {
                width: 100vw !important;
                height: 100vh !important;
                height: 100dvh !important;
                max-width: 100% !important;
                max-height: 100% !important;
                border: none !important;
                border-radius: 0 !important;
                box-shadow: none !important;
                background: #ffffff !important;
            }

            .smartphone-inner-screen {
                width: 100vw !important;
                height: 100vh !important;
                height: 100dvh !important;
                border-radius: 0 !important;
                padding-top: env(safe-area-inset-top, 0px) !important;
                padding-bottom: 0 !important;
            }

            .smartphone-tab-bar {
                position: fixed !important;
                bottom: 0 !important;
                left: 0 !important;
                right: 0 !important;
                width: 100vw !important;
                height: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
                padding-bottom: env(safe-area-inset-bottom, 0px) !important;
                background: rgba(9, 13, 22, 0.94) !important;
                backdrop-filter: blur(20px) saturate(180%) !important;
                -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
                box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.25) !important;
            }

            .app-screen-content-panel {
                padding-bottom: 0 !important;
                -webkit-overflow-scrolling: touch !important;
                overscroll-behavior-y: contain !important;
            }
        }

        /* Explicit Full Native App Override Class for Desktop Previewing */
        body.force-native-app-mode {
            width: 100vw !important;
            height: 100vh !important;
            height: 100dvh !important;
            margin: 0 !important;
            padding: 0 !important;
            overflow: hidden !important;
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            background: #ffffff !important;
        }

        body.force-native-app-mode header.app-nav, 
        body.force-native-app-mode .showcase-left-info, 
        body.force-native-app-mode .emulator-behind-glow, 
        body.force-native-app-mode .smartphone-dynamic-island,
        body.force-native-app-mode .smartphone-status-bar {
            display: none !important;
        }

        body.force-native-app-mode .smartphone-bezel-shell {
            width: 100vw !important;
            height: 100vh !important;
            height: 100dvh !important;
            max-width: 100% !important;
            max-height: 100% !important;
            border: none !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            background: #ffffff !important;
        }

        body.force-native-app-mode .smartphone-inner-screen {
            width: 100vw !important;
            height: 100vh !important;
            height: 100dvh !important;
            border-radius: 0 !important;
            padding-bottom: 0 !important;
        }

        body.force-native-app-mode .smartphone-tab-bar {
            position: fixed !important;
            bottom: 0 !important;
            left: 0 !important;
            right: 0 !important;
            width: 100vw !important;
            height: calc(58px + env(safe-area-inset-bottom, 0px)) !important;
            padding-bottom: env(safe-area-inset-bottom, 0px) !important;
        }

        body.force-native-app-mode .app-screen-content-panel {
            padding-bottom: 0 !important;
        }

        /* Floating Mode Switcher Button on top-right of page - removed */

.app-profile-btn-v3 {
    background: #ffffff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}
.app-profile-btn-v3:active {
    transform: scale(0.9);
    background: #f1f5f9;
}
.app-profile-list-row-v3 {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1.5px solid #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
}
.app-profile-list-row-v3:active {
    background-color: #f8fafc;
    transform: scale(0.99);
}
.app-profile-list-row-v3:last-child {
    border-bottom: none;
}

/* ==========================================================================
   3D PROPERTYFINDER-INSPIRED NATIVE UI STYLES
   ========================================================================== */

/* 1. 3D Floating Bottom Island Navigation & Map Pill */
.app-3d-floating-nav-container {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    pointer-events: none;
}

.app-3d-map-pill-btn {
    pointer-events: auto;
    background: #ffffff;
    border: 1.5px solid rgba(226, 232, 240, 0.9);
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    padding: 9px 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(0,0,0,0.04), inset 0 1px 0 #ffffff;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-3d-map-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16), 0 4px 10px rgba(0,0,0,0.06), inset 0 1px 0 #ffffff;
}

.app-3d-map-pill-btn:active {
    transform: scale(0.94) translateY(1px);
}

.app-3d-map-pill-btn i {
    font-size: 0.95rem;
    color: #007cf0;
}

.app-3d-bottom-nav-island {
    pointer-events: auto;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 36px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
    box-sizing: border-box;
}

.app-3d-nav-item {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    padding: 4px 0;
    user-select: none;
}

.app-3d-nav-item i {
    font-size: 1.25rem;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-3d-nav-item span {
    font-size: 0.68rem;
    font-weight: 750;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.1px;
}

.app-3d-nav-item.active {
    color: #e11d48;
}

.app-3d-nav-item.active i {
    transform: scale(1.1);
    color: #e11d48;
    filter: drop-shadow(0 2px 8px rgba(225, 29, 72, 0.35));
}

.app-3d-nav-item:active {
    transform: scale(0.92);
}

/* 2. 3D Property Card Architecture */
.app-3d-property-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(0, 0, 0, 0.02);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    margin: 14px 16px 20px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-3d-property-card:hover {
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.app-3d-card-media {
    position: relative;
    width: 100%;
    height: 230px;
    background: #0f172a;
    overflow: hidden;
}

.app-3d-superagent-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 30px;
    padding: 3px 12px 3px 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 5;
    pointer-events: none;
}

.app-3d-superagent-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #ffffff;
}

.app-3d-superagent-info {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.app-3d-superagent-label {
    font-size: 0.52rem;
    font-weight: 800;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.app-3d-superagent-name {
    font-size: 0.74rem;
    font-weight: 850;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}

.app-3d-tier-watermark {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 850;
    padding: 4px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    pointer-events: none;
}

.app-3d-time-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 750;
    padding: 3px 9px;
    border-radius: 8px;
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.app-3d-slider-dots-box {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    align-items: center;
    z-index: 5;
    pointer-events: none;
}

.app-3d-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    background: #ffffff;
}

.app-3d-inclusive-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.64rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    align-self: flex-start;
}

.app-3d-inclusive-tag i {
    color: #0284c7;
    font-size: 0.68rem;
}

.app-3d-price-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.app-3d-price-text {
    font-size: 1.28rem;
    font-weight: 850;
    color: #0f172a;
    letter-spacing: -0.3px;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
}

.app-3d-action-orbs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.app-3d-circle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.05), inset 0 1px 0 #ffffff;
    transition: all 0.15s ease;
}

.app-3d-circle-btn:active {
    transform: scale(0.9);
    background: #f8fafc;
}

.app-3d-circle-btn.is-saved {
    color: #ef4444;
}

.app-3d-location-text {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-3d-location-text span.sub-gov {
    color: #64748b;
    font-weight: 600;
}

.app-3d-specs-text {
    font-size: 0.74rem;
    color: #475569;
    font-weight: 650;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-3d-contact-buttons-row {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    width: 100%;
}

.app-3d-btn-call, .app-3d-btn-whatsapp {
    flex: 1;
    height: 44px;
    border-radius: 50px;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03), inset 0 1px 0 #ffffff;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-3d-btn-call:hover, .app-3d-btn-whatsapp:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.app-3d-btn-call:active, .app-3d-btn-whatsapp:active {
    transform: scale(0.96) translateY(1px);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.app-3d-btn-call i {
    font-size: 0.9rem;
    color: #0f172a;
}

.app-3d-btn-whatsapp i {
    font-size: 1.05rem;
    color: #22c55e;
}

/* 3. 3D Top Search & Header */
.app-3d-search-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px 4px;
    background: #f6f8fb;
    box-sizing: border-box;
}

.app-3d-search-input-pill {
    flex: 1;
    height: 46px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 0 14px 0 16px;
    gap: 10px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.app-3d-search-input-pill:focus-within {
    border-color: #007cf0;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 124, 240, 0.1), inset 0 1px 0 #ffffff;
}

.app-3d-search-input-pill input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 650;
    color: #0f172a;
}

.app-3d-notif-orb {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04), inset 0 1px 0 #ffffff;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.app-3d-notif-orb:active {
    transform: scale(0.92);
}

/* 4. Horizontal 3D Filter Pills */
.app-3d-filter-chips-scroller {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 16px 8px;
    scrollbar-width: none;
    background: #f6f8fb;
}

.app-3d-chip-btn {
    flex-shrink: 0;
    height: 36px;
    padding: 0 14px;
    border-radius: 50px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0f172a;
    font-family: 'Outfit', sans-serif;
    font-size: 0.74rem;
    font-weight: 750;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03), inset 0 1px 0 #ffffff;
    transition: all 0.15s ease;
}

.app-3d-chip-btn:active {
    transform: scale(0.95);
}

.app-3d-chip-btn.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.app-3d-chip-btn.active i {
    color: #ffffff !important;
}

.app-3d-sort-pill {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

/* ==========================================================================
   3D PROPERTYFINDER UPGRADE STYLES (Cards, Floating Island Nav & Action Orbs)
   ========================================================================== */

/* 3D Floating Bottom Navigation Island */
.app-3d-floating-nav-container {
    position: fixed !important;
    bottom: 18px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 400px !important;
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    z-index: 99999 !important;
    pointer-events: none !important;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

body.splash-active .app-3d-floating-nav-container,
body.splash-active #appFloatingNavContainer,
body.details-active .app-3d-floating-nav-container,
#appFloatingNavContainer.is-hidden {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.app-3d-map-pill-btn {
    pointer-events: auto !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px !important;
    padding: 9px 22px !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    font-family: 'Outfit', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.38), 0 4px 10px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.app-3d-map-pill-btn:active {
    transform: scale(0.93) translateY(2px) !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.3), inset 0 2px 4px rgba(0,0,0,0.3) !important;
}

.app-3d-bottom-nav-island {
    pointer-events: auto !important;
    width: 100% !important;
    height: 62px !important;
    background: rgba(255, 255, 255, 0.74) !important;
    backdrop-filter: blur(28px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(210%) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.88) !important;
    border-radius: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 4px 12px !important;
    box-shadow: 0 24px 50px -10px rgba(15, 23, 42, 0.22), 0 10px 20px -5px rgba(15, 23, 42, 0.08), inset 0 2px 0 rgba(255, 255, 255, 0.95) !important;
    box-sizing: border-box !important;
}

.app-3d-nav-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    color: #64748b !important;
    font-size: 0.65rem !important;
    font-weight: 750 !important;
    font-family: 'Outfit', sans-serif !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 6px 0 !important;
    border-radius: 20px !important;
}

.app-3d-nav-item i {
    font-size: 1.18rem !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.app-3d-nav-item.active {
    color: #e11d48 !important;
}

.app-3d-nav-item.active i {
    transform: translateY(-2px) scale(1.1) !important;
    color: #e11d48 !important;
    filter: drop-shadow(0 2px 6px rgba(225, 29, 72, 0.35)) !important;
}

/* 3D Property Card Architecture */
.app-3d-property-card {
    background: #ffffff !important;
    border-radius: 28px !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 6px 16px -4px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.9) inset !important;
    margin: 16px 16px 26px !important;
    overflow: hidden !important;
    position: relative !important;
    cursor: pointer !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
}

.app-3d-property-card:hover {
    transform: translateY(-3px) scale(1.008) !important;
    box-shadow: 0 26px 55px -12px rgba(15, 23, 42, 0.18), 0 10px 24px -4px rgba(15, 23, 42, 0.08) !important;
}

.app-3d-property-card:active {
    transform: scale(0.985) translateY(1px) !important;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.12) !important;
}

.app-3d-card-media-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 235px !important;
    background: #0f172a !important;
    overflow: hidden !important;
}

.app-3d-superagent-pill {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 10 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 50px !important;
    padding: 3px 10px 3px 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    max-width: 65% !important;
}

.app-3d-superagent-pill img {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1.5px solid #ffffff !important;
    display: block !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
}

.app-3d-superagent-pill span {
    color: #ffffff !important;
    font-size: 0.66rem !important;
    font-weight: 750 !important;
    font-family: 'Outfit', sans-serif !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
}

.app-3d-superagent-pill i.verified-icon {
    color: #38bdf8 !important;
    font-size: 0.7rem !important;
    flex-shrink: 0 !important;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)) !important;
}

.app-3d-time-pill {
    position: absolute !important;
    bottom: 12px !important;
    left: 12px !important;
    z-index: 10 !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(10px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 50px !important;
    padding: 4px 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: #ffffff !important;
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    font-family: 'Outfit', sans-serif !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

.app-3d-card-body {
    padding: 16px 18px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    background: #ffffff !important;
}

.app-3d-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
}

.app-3d-inclusive-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    background: #ecfdf5 !important;
    color: #059669 !important;
    border: 1px solid #a7f3d0 !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    font-size: 0.63rem !important;
    font-weight: 800 !important;
    text-transform: capitalize !important;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.08) !important;
}

.app-3d-price-val {
    font-size: 1.18rem !important;
    font-weight: 850 !important;
    color: #0f172a !important;
    font-family: 'Outfit', sans-serif !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px !important;
}

.app-3d-action-orbs {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.app-3d-circle-btn {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1.5px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #0f172a !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04), inset 0 2px 0 #ffffff !important;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.app-3d-circle-btn:active {
    transform: scale(0.92) !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08), inset 0 2px 4px rgba(0,0,0,0.06) !important;
    background: #f1f5f9 !important;
}

.app-3d-circle-btn.is-saved {
    color: #ef4444 !important;
    border-color: #fecaca !important;
    background: #fff5f5 !important;
}

.app-3d-location-text {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-family: 'Outfit', sans-serif !important;
}

.app-3d-location-text span.sub-gov {
    color: #64748b !important;
    font-weight: 600 !important;
}

.app-3d-specs-text {
    font-size: 0.76rem !important;
    color: #475569 !important;
    font-weight: 650 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-family: 'Outfit', sans-serif !important;
}

.app-3d-contact-buttons-row {
    display: flex !important;
    gap: 10px !important;
    margin-top: 6px !important;
    width: 100% !important;
}

.app-3d-btn-call, .app-3d-btn-whatsapp {
    flex: 1 !important;
    height: 44px !important;
    border-radius: 50px !important;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #0f172a !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    font-family: 'Outfit', sans-serif !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05), inset 0 1.5px 0 #ffffff !important;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.app-3d-btn-call:active, .app-3d-btn-whatsapp:active {
    transform: scale(0.96) translateY(1px) !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.08) !important;
}

.app-3d-btn-call i {
    font-size: 0.88rem !important;
    color: #0f172a !important;
}

.app-3d-btn-whatsapp i {
    font-size: 1.05rem !important;
    color: #22c55e !important;
}

#appSearchVerticalContainer {
    padding-bottom: 120px !important;
}

/* ==========================================================================
   INSTAGRAM-STYLE REAL ESTATE DISCOVERY CARDS (Exact User Mockup)
   ========================================================================== */

.app-ig-property-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(226, 232, 240, 0.75) !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 2px 6px -1px rgba(15, 23, 42, 0.02) !important;
    margin: 12px 14px 16px !important;
    padding: 0 !important;
    width: calc(100% - 28px) !important;
    overflow: hidden !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

#appSearchVerticalContainer,
.app-vertical-list-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 1. Profile Header */
.app-ig-profile-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 11px 14px 11px 12px !important;
    background: #ffffff !important;
}

.app-ig-profile-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    flex: 1 !important;
    cursor: pointer !important;
}

.app-ig-avatar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #007cf0 !important;
    padding: 1px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 124, 240, 0.22), 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

.app-ig-profile-info {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    line-height: 1.25 !important;
}

.app-ig-name {
    font-size: 0.88rem !important;
    font-weight: 850 !important;
    color: #0f172a !important;
    font-family: 'Outfit', sans-serif !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.app-ig-subtext {
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    font-family: 'Outfit', sans-serif !important;
}

.app-ig-dots-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05) !important;
    transition: all 0.15s ease !important;
}

.app-ig-dots-btn:active {
    background: #f1f5f9 !important;
    transform: scale(0.92) !important;
}

/* 2. Media Carousel */
.app-ig-media-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 300px !important;
    background: #0f172a !important;
    overflow: hidden !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -4px 12px rgba(0, 0, 0, 0.15) !important;
}

.app-ig-photo-counter {
    position: absolute !important;
    bottom: 12px !important;
    right: 12px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    color: #ffffff !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    font-family: 'Outfit', sans-serif !important;
    padding: 3px 9px !important;
    border-radius: 20px !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important;
    z-index: 6 !important;
}

.app-ig-video-badge {
    position: absolute !important;
    bottom: 12px !important;
    left: 12px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    color: #ffffff !important;
    font-size: 0.62rem !important;
    font-weight: 800 !important;
    font-family: 'Outfit', sans-serif !important;
    padding: 3px 9px !important;
    border-radius: 20px !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3) !important;
    z-index: 6 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: transform 0.15s ease, background 0.15s ease !important;
}

.app-ig-video-badge:hover,
.app-ig-video-badge:active {
    background: rgba(239, 68, 68, 0.95) !important;
    transform: scale(1.06) !important;
}

.app-ig-video-badge i {
    color: #ef4444 !important;
    font-size: 0.62rem !important;
    transition: color 0.15s ease !important;
}

.app-ig-video-badge:hover i,
.app-ig-video-badge:active i {
    color: #ffffff !important;
}

/* 3. Specs Row & Bookmark */
.app-ig-specs-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 13px 14px 4px !important;
    gap: 8px !important;
}

.app-ig-specs-pills {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    flex: 1 !important;
}

.app-ig-spec-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 0.73rem !important;
    font-weight: 750 !important;
    font-family: 'Outfit', sans-serif !important;
    padding: 5px 11px !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}

.app-ig-spec-badge i {
    font-size: 0.76rem !important;
}

.app-ig-spec-badge.bed i {
    color: #0284c7 !important;
}

.app-ig-spec-badge.bath i {
    color: #16a34a !important;
}

.app-ig-spec-badge.area i {
    color: #db2777 !important;
}

.app-ig-spec-badge.furnish i {
    color: #7c3aed !important;
}

.app-ig-bookmark-btn {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    color: #64748b !important;
    font-size: 1.05rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
    transition: transform 0.15s ease, color 0.15s ease, border-color 0.15s ease, background 0.15s ease !important;
    flex-shrink: 0 !important;
}

.app-ig-bookmark-btn:active {
    transform: scale(0.9) !important;
}

.app-ig-bookmark-btn.is-saved {
    color: #ef4444 !important;
    border-color: #fecaca !important;
    background: #fef2f2 !important;
}

/* 4. Body Content (Price, Title, Location, Contact) */
.app-ig-card-body {
    padding: 6px 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.app-ig-price-row {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.app-ig-price-val {
    font-size: 1.24rem !important;
    font-weight: 850 !important;
    color: #0055ff !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.2px !important;
}

.app-card-inclusions-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin-left: 2px !important;
}

.app-card-util-pill {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: none !important;
}

.app-card-util-pill:hover,
.app-card-util-pill:active {
    transform: scale(1.15) !important;
}

.app-card-util-pill.ewa i {
    color: #16a34a !important;
    font-size: 0.72rem !important;
}

.app-card-util-pill.wifi i {
    color: #2563eb !important;
    font-size: 0.65rem !important;
}

.app-card-util-pill.maint i {
    color: #d97706 !important;
    font-size: 0.62rem !important;
}

.app-card-util-pill.hk i {
    color: #7c3aed !important;
    font-size: 0.62rem !important;
}

.app-card-util-pill.negotiable i {
    color: #9333ea !important;
    font-size: 0.65rem !important;
}

/* Watermark Badge Overlay on Card Photos (From 2nd photo onwards) */
.app-card-watermark-overlay {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 5 !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.app-ig-title {
    font-size: 0.9rem !important;
    font-weight: 850 !important;
    color: #0f172a !important;
    font-family: 'Outfit', sans-serif !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.2px !important;
    line-height: 1.35 !important;
}

.app-ig-location {
    font-size: 0.74rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
}

.app-ig-contact-row {
    display: flex !important;
    gap: 10px !important;
    margin-top: 10px !important;
    width: 100% !important;
}

.app-ig-btn-call, .app-ig-btn-whatsapp {
    flex: 1 !important;
    height: 42px !important;
    border-radius: 50px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #0f172a !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    font-family: 'Outfit', sans-serif !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), inset 0 1px 0 #ffffff !important;
    transition: all 0.15s ease !important;
}

.app-ig-btn-call:active, .app-ig-btn-whatsapp:active {
    transform: scale(0.96) !important;
    background: #f8fafc !important;
}

.app-ig-btn-call i {
    color: #0f172a !important;
    font-size: 0.88rem !important;
}

.app-ig-btn-whatsapp {
    background: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04), inset 0 1px 0 #ffffff !important;
}

.app-ig-btn-whatsapp i {
    color: #22c55e !important;
    font-size: 1.05rem !important;
}

/* ==========================================================================
   EXPLORE TAB 3D DEPTH & SHADOW ENHANCEMENTS (All Cards, Tiles & Elements)
   ========================================================================== */

/* 1. Header Buttons */
.app-home-header button {
    box-shadow: none !important;
    border: 1.5px solid #edf2f7 !important;
    transition: all 0.2s ease !important;
}

.app-home-header button:active {
    transform: scale(0.92) translateY(1px) !important;
    box-shadow: none !important;
}

/* 2. Hero Banner Card */
.app-banner-card {
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    position: relative !important;
}

.app-banner-card .app-search-input-wrapper input {
    box-shadow: none !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* 3. Category Tiles (Buy, Rent, Agencies, Agents, Projects) */
.app-3d-cat-tile {
    background: #ffffff !important;
    border: 1.5px solid #edf2f7 !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.app-3d-cat-tile:active {
    transform: scale(0.95) !important;
    box-shadow: none !important;
}

.app-3d-cat-tile > div {
    box-shadow: none !important;
}

/* 4. Hot Listings Scroller Cards */
#appHomePremiumContainer > div,
#appHomeHotSection .app-card-slider-item {
    border-radius: 22px !important;
    box-shadow: none !important;
    border: 1.5px solid #edf2f7 !important;
    transition: transform 0.2s ease !important;
}

#appHomePremiumContainer > div:active {
    transform: scale(0.97) !important;
}

/* 5. Premium Properties Banner Cards */
.app-premium-banner-wrap,
.app-premium-banner-wrap * {
    filter: none !important;
    box-shadow: none !important;
}

.app-premium-banner-wrap > div:last-child {
    box-shadow: none !important;
    border: 1.5px solid #edf2f7 !important;
}

#appHomeFeaturedContainer > div {
    box-shadow: none !important;
    border-radius: 22px !important;
}

/* 6. Top Agencies Cards Carousel */
#appHomeAgenciesContainer > div,
#appHomeAgenciesContainer > div * {
    box-shadow: none !important;
}

#appHomeAgenciesContainer > div {
    border-radius: 22px !important;
    border: 1.5px solid rgba(226, 232, 240, 0.6) !important;
    transition: transform 0.2s ease !important;
}

#appHomeAgenciesContainer > div:active {
    transform: scale(0.97) !important;
}

/* 7. Top Agents Cards Carousel */
#appHomeAgentsContainer > div,
#appHomeAgentsContainer > div * {
    box-shadow: none !important;
}

#appHomeAgentsContainer > div {
    border-radius: 22px !important;
    border: 1.5px solid rgba(226, 232, 240, 0.6) !important;
    transition: transform 0.2s ease !important;
}

#appHomeAgentsContainer > div:active {
    transform: scale(0.97) !important;
}

/* 8. Global Section Spacing & Bottom Nav Clearance */
.app-screen-view {
    padding-bottom: 115px !important;
    background: #f6f8fb !important;
}

.app-section-title-row {
    margin-bottom: 4px !important;
}

/* 9. Agency Logo Badge on Property Image */
.app-ig-agency-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    z-index: 7 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 50px !important;
    padding: 3px 10px 3px 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
    max-width: 60% !important;
}

.app-ig-agency-badge:active {
    transform: scale(0.94) !important;
}

.app-ig-agency-badge img {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
}

.app-ig-agency-badge span {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.1px !important;
}

/* =========================================================
   PREMIUM 3D SECTION BOX CARDS & DEPTH SYSTEM (Property Details)
========================================================= */
.app-details-3d-card,
.app-details-content-box > div,
.app-details-agent-card,
#appDetailsRentDetailsCard {
    background: #ffffff !important;
    border: 1.5px solid #edf2f7 !important;
    border-radius: 24px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.app-details-3d-card:hover {
    box-shadow: none !important;
}

/* 3D Specs Grid Squircle Badges */
.app-details-spec-badge-blue {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
}
.app-details-spec-badge-blue i {
    color: #0284c7 !important;
}

.app-details-spec-badge-green {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
}
.app-details-spec-badge-green i {
    color: #16a34a !important;
}

.app-details-spec-badge-purple {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
}
.app-details-spec-badge-purple i {
    color: #7c3aed !important;
}

.app-details-spec-badge-orange {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 6px !important;
}
.app-details-spec-badge-orange i {
    color: #ea580c !important;
}

/* 3D Property Tags */
.app-details-tag-3d {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 14px !important;
    border-radius: 24px !important;
    font-size: 0.68rem !important;
    font-weight: 850 !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
}
.app-details-tag-3d i {
    font-size: 0.74rem !important;
}
.app-details-tag-3d.residential {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    box-shadow: none !important;
}
.app-details-tag-3d.residential i {
    color: #0066ff !important;
}
.app-details-tag-3d.commercial {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    box-shadow: none !important;
}
.app-details-tag-3d.commercial i {
    color: #d97706 !important;
}
.app-details-tag-3d.type {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    box-shadow: none !important;
}
.app-details-tag-3d.type i {
    color: #7c3aed !important;
}
.app-details-tag-3d.purpose {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #1e293b !important;
    box-shadow: none !important;
}
.app-details-tag-3d.purpose i {
    color: #ea580c !important;
}

/* 3D Utility Circular Badges (Price Row) */
.app-details-util-badge-3d {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.app-details-util-badge-3d:hover {
    transform: scale(1.08) !important;
}
.app-details-util-badge-3d.ewa {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #16a34a !important;
}
.app-details-util-badge-3d.ewa i {
    color: #16a34a !important;
}
.app-details-util-badge-3d.maint {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #d97706 !important;
}
.app-details-util-badge-3d.maint i {
    color: #d97706 !important;
}
.app-details-util-badge-3d.wifi {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #2563eb !important;
}
.app-details-util-badge-3d.wifi i {
    color: #2563eb !important;
}
.app-details-util-badge-3d.hk {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #7c3aed !important;
}
.app-details-util-badge-3d.hk i {
    color: #7c3aed !important;
}

/* 3D Amenities and Feature Chips */
.app-details-amenity-chip-3d {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1.5px solid #edf2f7 !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04), inset 0 1px 0 #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.2s ease !important;
}
.app-details-amenity-chip-3d:hover {
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.08), inset 0 1px 0 #ffffff !important;
    border-color: #bfdbfe !important;
}

/* =========================================================
   APP UTILITY & INCLUSIONS POPUP BUBBLE / TOOLTIP
========================================================= */
.app-details-util-badge-3d,
.app-details-spec-badge-blue,
.app-details-spec-badge-green,
.app-details-spec-badge-purple,
.app-details-spec-badge-orange,
.app-details-tag-3d {
    cursor: pointer !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.app-util-tooltip-bubble {
    position: fixed !important;
    z-index: 999999 !important;
    background: #0f172a !important;
    color: #ffffff !important;
    padding: 7px 14px !important;
    border-radius: 999px !important;
    font-size: 0.76rem !important;
    font-weight: 750 !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: 0.2px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    white-space: nowrap !important;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.45), 0 4px 10px -2px rgba(15, 23, 42, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    animation: appBubblePopIn 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important;
    pointer-events: auto !important;
}

.app-util-tooltip-bubble.fade-out {
    animation: appBubbleFadeOut 0.18s ease-in forwards !important;
}

.app-util-tooltip-arrow {
    position: absolute !important;
    bottom: -6px !important;
    width: 12px !important;
    height: 6px !important;
    clip-path: polygon(0 0, 100% 0, 50% 100%) !important;
    background: #0f172a !important;
}

.app-util-tooltip-bubble.arrow-top .app-util-tooltip-arrow {
    bottom: auto !important;
    top: -6px !important;
    clip-path: polygon(50% 0, 0 100%, 100% 100%) !important;
}

@keyframes appBubblePopIn {
    0% {
        opacity: 0;
        transform: translateY(6px) scale(0.85);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes appBubbleFadeOut {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-4px) scale(0.92);
    }
}








