/* --- extracted style block 1 from profile.php --- */
        /* Global scrollbar hiding */
        ::-webkit-scrollbar { display: none; }
        html { scrollbar-width: none; }
        body { -ms-overflow-style: none; }
        :root {
            --primary: #c62828;
            --primary-dark: #8e0000;
            --primary-light: #ff5f52;
            --secondary: #1565c0;
            --muted: #f1f4f6;
            --card-bg: #eef0f3;
            --dark-text: #333;
            --light-text: #666;
            --white: #fff;
            --shadow: 0 4px 12px rgba(0,0,0,0.08);
            --transition: all 0.3s ease;
        }
        body {
            font-family: 'Nunito', system-ui;
            background:#fff;
            color: var(--dark-text);
            padding-bottom: 70px;
            max-width: 1200px;
            margin: 0 auto;
            box-shadow: 0 0 20px rgba(0,0,0,0.05);
        }
        a { all: unset; cursor: pointer; }
        .site-header {
            background: var(--white);
            border-bottom: 1px solid #eee;
            padding: 12px 20px;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .brand { font-family: 'Montserrat'; font-weight: 700; color: var(--primary); letter-spacing: 2px; font-size: 1.4rem; }
        .nav-icon { font-size: 1.2rem; color: #444; position: relative; }
        .btn-post-property {
            background: var(--primary);
            color: white;
            border-radius: 30px;
            padding: 8px 16px;
            font-weight: 700;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: var(--transition);
        }
        .btn-post-property:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(198,40,40,0.3); }
        .btn-logout {
            background: transparent;
            border: 1px solid #dc3545;
            color: #dc3545;
            border-radius: 30px;
            padding: 6px 14px;
            font-size: 0.85rem;
            transition: var(--transition);
        }
        .btn-logout:hover {
            background: #dc3545;
            color: white;
        }
        .profile-container { padding: 15px; }

        /* Avatar + user details side by side */
        .profile-header-row {
            display: flex;
            align-items: center;
            gap: 20px;
            background: var(--white);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: var(--shadow);
            flex-wrap: wrap;
        }
        .profile-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            flex-shrink: 0;
        }
        .profile-avatar i { font-size: 2.5rem; color: white; }
        .edit-avatar {
            position: absolute;
            bottom: 5px;
            right: 5px;
            background: var(--primary);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            cursor: pointer;
            border: 2px solid white;
        }
        .user-details {
            flex: 1;
        }
        .user-details h3 {
            font-weight: 800;
            margin-bottom: 5px;
        }
        .user-details .user-phone {
            color: var(--light-text);
            margin-bottom: 10px;
        }
        .profile-stats {
            display: flex;
            gap: 20px;
            margin-top: 10px;
        }
        .stat-item {
            text-align: center;
            padding: 8px 12px;
            border-radius: 10px;
            background: var(--muted);
            transition: var(--transition);
        }
        .stat-item:hover { background: rgba(198,40,40,0.1); }
        .stat-value { font-weight: 800; font-size: 1.2rem; color: var(--primary); }
        .stat-label { font-size: 0.75rem; color: var(--light-text); }

        /* Sidebar navigation */
        .profile-nav {
            list-style: none;
            padding: 0;
            margin: 0;
            background: var(--white);
            border-radius: 12px;
            box-shadow: var(--shadow);
            overflow: hidden;
        }
        .profile-nav li {
            border-bottom: 1px solid #eee;
        }
        .profile-nav li:last-child {
            border-bottom: none;
        }
        .profile-nav a {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            font-weight: 600;
            color: var(--dark-text);
            transition: var(--transition);
            cursor: pointer;
        }
        .profile-nav a:hover,
        .profile-nav a.active {
            background: var(--primary-light);
            color: white;
            padding-left: 25px;
        }
        .badge-count {
            background: var(--primary);
            color: white;
            border-radius: 20px;
            padding: 2px 8px;
            font-size: 0.7rem;
            font-weight: 600;
        }
        .profile-nav a:hover .badge-count {
            background: white;
            color: var(--primary);
        }

        /* Content area */
        .welcome-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: var(--shadow);
        }
        .welcome-card h4 {
            font-weight: 700;
            margin-bottom: 15px;
        }
        
        .fab {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--primary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            cursor: pointer;
            z-index: 1000;
            border: none;
            transition: var(--transition);
        }

        @media (max-width: 576px) {
            .profile-header-row { flex-direction: column; text-align: center; }
            .profile-stats { justify-content: center; }
        }
    
