.bottom-nav{

    position:fixed;

    left:0;

    bottom:0;

    width:100%;

    height:70px;

    background:#ffffff;

    border-top:
    1px solid
    var(--border);

    display:none;

    z-index:1000;
}

.bottom-nav-item{

    flex:1;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    gap:4px;

    font-size:12px;

    color:var(--text-muted);

    font-weight:600;
}

.bottom-nav-item.active{

    color:#0079FF;
}

.bottom-nav .icon{

    font-size:20px;
}

.create-btn{

    position:relative;

    top:-18px;

    width:58px;

    height:58px;

    border-radius:50%;

    background:#0079FF;

    color:#fff !important;

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:26px;
}

@media(max-width:768px){

    .bottom-nav{

        display:flex;
    }

}

.category-bar{

    position:fixed;

    top:72px;

    left:0;

    width:100%;

    height:58px;

    background:#ffffff;

    border-bottom:
    1px solid
    var(--border);

    z-index:999;
}

.category-container{

    height:100%;

    display:flex;

    align-items:center;

    gap:10px;

    overflow-x:auto;

    overflow-y:hidden;

    padding:0 20px;

    scrollbar-width:none;
}

.category-container::-webkit-scrollbar{

    display:none;
}

.category-item{

    white-space:nowrap;

    padding:10px 18px;

    border-radius:999px;

    color:var(--text);

    font-size:14px;

    font-weight:600;

    transition:.2s;
}

.category-item:hover{

    background:#f3f4f6;
}

.category-item.active{

    background:#0079FF;

    color:#ffffff;
}

.main-header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:72px;

    background:#ffffff;

    border-bottom:
    1px solid
    var(--border);

    z-index:1000;
}

.header-container{

    max-width:1400px;

    height:100%;

    margin:auto;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 20px;
}

.logo{

    font-size:28px;

    font-weight:800;

    color:#0079FF;
}

.header-search{

    flex:1;

    max-width:600px;

    margin:0 30px;
}

.search-input{

    width:100%;

    height:44px;

    border:1px solid var(--border);

    border-radius:999px;

    padding:0 18px;
}

.header-right{

    display:flex;

    align-items:center;

    gap:12px;
}

.header-btn{

    padding:10px 18px;

    border-radius:999px;
}

.header-btn.primary{

    background:#0079FF;

    color:#fff;
}

.icon-btn{

    width:42px;

    height:42px;

    border-radius:50%;

    background:#f3f4f6;

    display:flex;

    align-items:center;

    justify-content:center;

    position:relative;
}

.notification-dot{

    width:10px;

    height:10px;

    background:#FF0060;

    border-radius:50%;

    position:absolute;

    top:8px;

    right:8px;
}

.identity-btn{

    display:flex;

    align-items:center;

    gap:10px;

    padding:8px 12px;

    border:1px solid var(--border);

    border-radius:999px;

    background:#fff;
}

.identity-avatar{

    width:30px;

    height:30px;

    border-radius:50%;
}

@media(max-width:768px){

    .header-search{

        display:none;
    }

    .header-btn{

        display:none;
    }

}

.bottom-nav-item.active{
    color:var(--primary);
}

.bottom-nav-item{
    color:var(--text-light);
    text-decoration:none;
}

.bottom-nav-item svg{
    display:block;
}

.bottom-avatar{
    width:24px;
    height:24px;
    border-radius:50%;
    object-fit:cover;
}

.create-circle{

    width:54px;
    height:54px;

    border-radius:50%;

    background:var(--primary);

    display:flex;
    align-items:center;
    justify-content:center;

    margin-top:-20px;

    box-shadow:
    0 8px 20px
    rgba(0,121,255,.25);
}

.notification-icon{
    position:relative;
}

.notification-badge{

    position:absolute;

    top:-4px;
    right:-8px;

    min-width:18px;
    height:18px;

    background:var(--secondary);

    color:#fff;

    border-radius:999px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:10px;
    font-weight:700;

    padding:0 4px;
}

/* ==========================================
   NEWSTRP LAYOUT SYSTEM
========================================== */

/* ==========================================
   APP WRAPPER
========================================== */

.app{
    min-height:100vh;
    background:var(--bg);
}

/* ==========================================
   HEADER
========================================== */

.header{
    position:fixed;
    top:0;
    left:0;
    right:0;
    height:var(--header-height);

    background:var(--bg-header);

    border-bottom:1px solid var(--border);

    z-index:var(--z-header);

    display:flex;
    align-items:center;
}

.header-container{
    width:100%;
    max-width:var(--container);

    margin:auto;

    padding:0 20px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.header-left{
    display:flex;
    align-items:center;
    gap:16px;
}

.header-center{
    flex:1;
    max-width:650px;
    margin:0 40px;
}

.header-right{
    display:flex;
    align-items:center;
    gap:12px;
}

/* ==========================================
   LOGO
========================================== */

.logo{
    display:flex;
    align-items:center;
    gap:10px;
}

.logo img{
    height:40px;
}

.logo-text{
    font-size:22px;
    font-weight:800;
    color:var(--primary);
}

/* ==========================================
   SEARCH BAR
========================================== */

.search-box{
    width:100%;
    height:48px;

    background:#f3f4f6;

    border-radius:999px;

    display:flex;
    align-items:center;

    padding:0 18px;

    transition:var(--transition);
}

.search-box:focus-within{
    background:#fff;

    box-shadow:
    0 0 0 4px
    rgba(0,121,255,.10);
}

.search-input{
    flex:1;

    border:none;
    background:none;

    font-size:15px;
}

/* ==========================================
   HEADER ICONS
========================================== */

.header-icon{
    width:44px;
    height:44px;

    border-radius:50%;

    background:#f3f4f6;

    display:flex;
    align-items:center;
    justify-content:center;

    transition:var(--transition);
}

.header-icon:hover{
    background:#e5e7eb;
}

/* ==========================================
   CATEGORY BAR
========================================== */

.category-bar{
    position:fixed;

    top:70px;

    left:0;
    right:0;

    height:56px;

    background:#fff;

    border-bottom:1px solid var(--border);

    z-index:900;

    overflow-x:auto;
    overflow-y:hidden;
}

.category-bar::-webkit-scrollbar{
    display:none;
}

.category-container{
    height:100%;

    display:flex;
    align-items:center;

    gap:10px;

    padding:0 20px;

    min-width:max-content;
}

.category-item{
    padding:10px 18px;

    border-radius:999px;

    white-space:nowrap;

    font-size:14px;
    font-weight:600;

    cursor:pointer;

    transition:var(--transition);
}

.category-item:hover{
    background:#f3f4f6;
}

.category-item.active{
    background:var(--primary);
    color:#fff;
}

/* ==========================================
   MAIN CONTENT
========================================== */

.main{
    padding-top:126px;
}

/* ==========================================
   DESKTOP GRID
========================================== */

.layout{
    max-width:var(--container);

    margin:auto;

    display:grid;

    grid-template-columns:
        260px
        minmax(0,760px)
        320px;

    gap:24px;

    padding:24px;
}

/* ==========================================
   LEFT SIDEBAR
========================================== */

.sidebar{
    position:sticky;
    top:150px;

    height:
    calc(
        100vh - 160px
    );

    overflow:auto;
}

.sidebar-card{
    background:#fff;

    border:1px solid var(--border);

    border-radius:20px;

    padding:16px;
}

.sidebar-menu{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.sidebar-link{
    display:flex;
    align-items:center;

    gap:12px;

    padding:12px;

    border-radius:12px;

    font-weight:600;

    transition:var(--transition);
}

.sidebar-link:hover{
    background:#f3f4f6;
}

.sidebar-link.active{
    background:var(--primary-light);
    color:var(--primary);
}

/* ==========================================
   FEED AREA
========================================== */

.feed{
    min-height:100vh;
}

.feed-column{
    display:flex;
    flex-direction:column;
    gap:16px;
}

/* ==========================================
   RIGHT SIDEBAR
========================================== */

.rightbar{
    position:sticky;

    top:150px;

    height:
    calc(
        100vh - 160px
    );

    overflow:auto;

    display:flex;
    flex-direction:column;

    gap:16px;
}

.widget{
    background:#fff;

    border:1px solid var(--border);

    border-radius:20px;

    padding:20px;
}

.widget-title{
    font-size:16px;
    font-weight:700;

    margin-bottom:16px;
}

/* ==========================================
   FEED CARDS
========================================== */

.feed-card{
    background:#fff;

    border:1px solid var(--border);

    border-radius:20px;

    overflow:hidden;
}

.feed-card-header{
    padding:18px;
}

.feed-card-body{
    padding:0 18px 18px;
}

.feed-card-footer{
    border-top:1px solid var(--border);

    padding:14px 18px;

    display:flex;
    align-items:center;
    justify-content:space-between;
}

.feed-image{
    width:100%;
    max-height:500px;

    object-fit:cover;
}

/* ==========================================
   PROFILE HEADER
========================================== */

.profile-cover{
    height:280px;

    border-radius:24px;

    overflow:hidden;

    background:#ddd;
}

.profile-avatar{
    width:140px;
    height:140px;

    border-radius:50%;

    border:6px solid #fff;

    margin-top:-70px;
}

/* ==========================================
   ORGANIZATION COVER
========================================== */

.organization-cover{
    height:300px;

    border-radius:24px;

    overflow:hidden;
}

.organization-logo{
    width:120px;
    height:120px;

    border-radius:24px;

    border:5px solid #fff;

    margin-top:-60px;
}

/* ==========================================
   MODALS
========================================== */

.modal-overlay{
    position:fixed;

    inset:0;

    background:
    rgba(0,0,0,.5);

    display:none;

    align-items:center;
    justify-content:center;

    z-index:1200;
}

.modal{
    width:100%;
    max-width:650px;

    background:#fff;

    border-radius:24px;

    overflow:hidden;
}

/* ==========================================
   MOBILE BOTTOM NAV
========================================== */

.bottom-nav{
    display:none;
}

/* ==========================================
   TABLET
========================================== */

@media(max-width:1200px){

    .layout{

        grid-template-columns:
        240px
        minmax(0,1fr);

    }

    .rightbar{
        display:none;
    }

}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:768px){

    .header{
        height:60px;
    }

    .header-center{
        display:none;
    }

    .header-container{
        padding:0 14px;
    }

    .category-bar{
        top:60px;
    }

    .main{
        padding-top:116px;
    }

    .layout{
        display:block;
        padding:0;
    }

    .sidebar{
        display:none;
    }

    .feed{
        width:100%;
    }

    .feed-card{
        border-radius:0;
        border-left:none;
        border-right:none;
    }

    .profile-cover{
        height:180px;
        border-radius:0;
    }

    .organization-cover{
        height:180px;
        border-radius:0;
    }

    .bottom-nav{

        position:fixed;

        bottom:0;
        left:0;
        right:0;

        height:70px;

        background:#fff;

        border-top:
        1px solid
        var(--border);

        display:flex;

        align-items:center;
        justify-content:space-around;

        z-index:1000;
    }

    .bottom-nav-item{

        display:flex;

        flex-direction:column;

        align-items:center;

        gap:4px;

        font-size:11px;

        font-weight:600;
    }

}

.switcher-modal{

    max-width:620px;
}

.switcher-section{

    margin-bottom:25px;
}

.switcher-title{

    font-size:14px;

    font-weight:700;

    color:var(--text-muted);

    margin-bottom:12px;

    text-transform:uppercase;
}

.switcher-item{

    display:flex;

    align-items:center;

    gap:15px;

    padding:14px;

    border-radius:16px;

    cursor:pointer;

    transition:var(--transition);

    border:1px solid transparent;
}

.switcher-item:hover{

    background:#f8fafc;
}

.switcher-item.active{

    border-color:var(--primary);

    background:var(--primary-light);
}

.organization-avatar{

    width:52px;
    height:52px;

    border-radius:14px;

    background:var(--primary);

    color:#fff;

    display:flex;

    align-items:center;
    justify-content:center;

    font-weight:700;

    font-size:18px;
}