/* --- TEMEL AYARLAR --- */
        :root {
            --primary: #3b82f6; /* Ana Mavi Renk */
            --primary-light: #eff6ff;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-500: #6b7280;
            --gray-900: #111827;
            --white: #ffffff;
        }


        /*  * { margin: 0 !important; padding: 0 !important; box-sizing: border-box !important; }  */

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
            background-color: var(--white) !important;
            color: var(--gray-900) !important;
            /* Demo için gövdeye yükseklik verelim */
            min-height: 100vh !important;
            /*display: flex !important;*/ /* Sidebar'ı sola yaslamak için */
        }

        /* --- SOL MENÜ (SIDEBAR - DESKTOP/TABLET) --- */
        .sidebar-left {
            position: fixed !important;
            top: 0 !important;
            left: 0 !important;
            height: 100vh !important;
            width: 80px !important; /* Tablet varsayılanı (Dar mod) */
            z-index: 9999 !important;
            display: none !important; /* Mobilde gizli, media query ile açacağız */
            flex-direction: column !important;
            justify-content: space-between !important;
            border-right: 1px solid var(--gray-100) !important;
            padding: 1rem 0.5rem !important;
            background: var(--white) !important;
            flex-shrink:0 !important;
        }

        .page-content{
            margin-left: 80px !important; /* Sidebar genişliğine göre ayarla */
            padding: 2rem !important;
        }

        /* Logo */
        .logo-box {
            padding: 0.75rem !important;
            border-radius: 9999px !important;
            width: fit-content !important;
            cursor: pointer !important;
            transition: background-color 0.2s !important;
            margin-top: 1.5rem !important; /* <-- LOGOYU AŞAĞI İTMEK İÇİN BU SATIRI EKLEDİK */
            margin-bottom: 1rem !important;
        }
        .logo-box:hover { background-color: var(--primary-light) !important; }
        
        .logo {
            width: 30px !important; height: 30px !important;
            background-color: var(--primary) !important;
            border-radius: 0.5rem !important;
            display: flex !important; align-items: center !important; justify-content: center !important;
            color: white !important; font-weight: bold !important; font-size: 1.25rem !important;
        }

        /* Menü Linkleri */
        .nav-menu {
            display: flex !important; flex-direction: column !important; gap: 0.5rem !important; 
        }

        .nav-item {
            display: flex !important; align-items: center !important; gap: 1rem !important;
            padding: 0.75rem !important;
            border-radius: 9999px !important;
            cursor: pointer !important;
            transition: background-color 0.2s !important;
            color: #1f2937 !important;
        }
        .nav-item:hover { background-color: var(--gray-100) !important; }
        
        .nav-item.active {
            font-weight: bold !important;
            background-color: var(--gray-200) !important; /* Aktif sekme arka planı */
            color: var(--gray-900) !important;
        }
        .nav-item.active i { color: var(--primary) !important; }
        
        .nav-text { display: none !important; font-size: 1.25rem !important; } /* Sadece geniş ekranda görünür */

        /* Paylaş Butonu */
        .btn-post-large {
            display: none !important; /* Sadece geniş ekranda */
            background-color: var(--primary) !important; color: white !important; font-weight: bold !important;
            padding: 0.75rem 1rem !important; border-radius: 9999px !important; width: 100% !important;
            margin-top: 1rem !important; border: none !important; cursor: pointer !important;
            transition: background-color 0.2s !important;
        }
        .btn-post-large:hover { background-color: #2563eb !important; }

        .btn-post-icon {
            background-color: var(--primary) !important; color: white !important;
            padding: 0.75rem !important; 
            border-radius: 9999px !important;
            display: flex !important; 
            justify-content: center !important; 
            align-items: center !important;
            margin-top: 1rem !important;  
            cursor: pointer !important; 
            transition: background-color 0.2s !important;
        }
        .btn-post-icon:hover { background-color: #2563eb !important; }

        /* Profil Alanı */
        .user-mini {
            display: flex !important; 
            align-items: center !important;
            padding: 0.75rem !important; 
            border-radius: 9999px !important;
            cursor: pointer !important; 
            margin-bottom: 1rem !important;
            transition: background-color 0.2s !important;
        }
        .user-mini:hover { background-color: var(--gray-100) !important; }
        .user-mini img { width: 4rem !important; 
            height: 4rem !important; 
            border-radius: 9999px !important; 
            background-color: var(--gray-200)!important; }
        
        .user-info-desktop { display: none !important; margin-left: 0.75rem !important; }
        .user-info-desktop p:first-child { font-weight: bold !important; font-size: 0.910rem !important; }
        .user-info-desktop p:last-child { color: var(--gray-500) !important; font-size: 0.910rem !important; }
        .more-icon { margin-left: auto !important; display: none !important; color: var(--gray-500) !important; }


        /* --- MOBİL ALT MENÜ (BOTTOM NAV) --- */
        .mobile-bottom-nav {
            display: flex !important; 
            justify-content: space-around !important; 
            padding: 0.75rem 0 !important;
            position: fixed !important; 
            bottom: 0 !important; 
            left: 0 !important; 
            right: 0 !important;
            background-color: var(--white) !important;
            border-top: 1px solid var(--gray-200) !important;
            z-index: 50 !important;
            /* iPhone X gibi çentikli telefonlar için alt boşluk */
            padding-bottom: env(safe-area-inset-bottom) !important;
        }
        .mobile-nav-item { cursor: pointer !important; color: var(--gray-500) !important; }
        .mobile-nav-item.active { color: var(--primary) !important; }


        /* --- RESPONSIVE AYARLAR --- */

        /* 767px'den küçükse (Mobil) */
        @media (max-width: 767px) {
            .sidebar-left { display: none !important; padding:0;} /* Sidebar'ı gizle */
            .mobile-bottom-nav { display: flex !important; } /* Mobil menüyü göster */
            /*.page-content { margin-left: 0 !important; }*/ /* İçeriği sola kaydır */
        }


        /* 767px'den büyükse (Tablet ve üstü) */
        @media (min-width: 768px) and (max-width: 1279px) {
            .sidebar-left { display: flex !important; } /* Sidebar'ı göster */
            .mobile-bottom-nav { display: none !important; } /* Mobil menüyü gizle */
        }

        /* 1280px'den büyükse (Geniş Ekran) */
        @media (min-width: 1280px) {
            .sidebar-left { display:flex !important; width: 16rem !important; padding: 1rem !important; } /* Genişlet */
            .mobile-bottom-nav { display: none !important; } /* Mobil menüyü gizle */
            .nav-text { display: block !important; } /* Yazıları göster */
            .btn-post-large { display: block !important; } /* Büyük butonu göster */
            .btn-post-icon { display: none !important; } /* Küçük butonu gizle */
            .user-info-desktop { display: block !important; } /* Kullanıcı bilgisini göster */
            .more-icon { display: block !important; }
            .nav-item i { width: 26px !important; height: 26px !important; } /* İkonları büyüt */
            .page-content { margin-left: 16rem !important; } /* İçeriği sağa kaydır */
        }