/* ===========================
   TOP HEADER
=========================== */

.topbar{
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:9999;

    height:70px;
    background:#ff2d8d;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 18px;
    box-shadow:0 3px 10px rgba(0,0,0,.12);
}

.logo-link{
display:flex;
align-items:center;
text-decoration:none;
color:#fff;
font-weight:800;
font-size:22px;
}

.logo{
width:46px;
height:46px;
margin-right:10px;
}

.top-icon{
display:flex;
align-items:center;
gap:18px;
}

.top-icon a{
color:#fff;
font-size:26px;
text-decoration:none;
transition:.2s;
}

.top-icon a:hover{
transform:scale(1.1);
}

/* ===========================
   NAVBAR BAWAH
=========================== */

.navbar-mobile{

background:#ffffff;

display:grid;

grid-template-columns:repeat(5,1fr);

height:72px;

border-top:1px solid #e5e5e5;

box-shadow:0 -3px 10px rgba(0,0,0,.08);

position:sticky;

top:70px;

z-index:998;

}

.navbar-mobile a,
.navbar-mobile button{

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

text-decoration:none;

background:none;

border:none;

color:#666;

cursor:pointer;

transition:.2s;

}

.navbar-mobile a:hover,
.navbar-mobile button:hover{

background:#f8f8f8;

}

.navbar-mobile .icon{

font-size:26px;

margin-bottom:4px;

}

.navbar-mobile .text{

font-size:13px;

font-weight:700;

}

.navbar-mobile a.active{

background:#fff3f8;

color:#ff2d8d;

}

.navbar-mobile a.active .icon,
.navbar-mobile a.active .text{

color:#ff2d8d;

}

/* ===========================
   SIDE MENU
=========================== */

.side-overlay{

position:fixed;

left:0;
top:0;

width:100%;
height:100%;

background:rgba(0,0,0,.45);

display:none;

z-index:9998;

}

.side-overlay.show{

display:block;

}

.side-menu{
    position:fixed;
    top:0;
    right:-100%;
    width:100%;
    height:100vh;
    background:#fff;
    transition:.35s ease;
    z-index:9999;
    overflow-y:auto;
}

.side-menu.show{
    right:0;
}

.side-header{

height:70px;

background:#ff2d8d;

display:flex;

align-items:center;

justify-content:space-between;

padding:0 20px;

color:white;

font-size:20px;

font-weight:bold;

}

.side-header button{

border:none;

background:none;

font-size:28px;

color:white;

cursor:pointer;

}

.side-menu a{

display:flex;

align-items:center;

padding:18px 20px;

text-decoration:none;

color:#333;

font-size:16px;

font-weight:600;

border-bottom:1px solid #eee;

transition:.2s;

}

.side-menu a:hover{

background:#fff1f7;

padding-left:28px;

}

/* ===========================
   HP
=========================== */

@media(max-width:768px){

.topbar{

height:64px;

padding:0 14px;

}

.logo{

width:40px;

height:40px;

}

.logo-link{

font-size:18px;

}

.top-icon{

gap:14px;

}

.top-icon a{

font-size:24px;

}

.navbar-mobile{

height:68px;

top:64px;

}

.navbar-mobile .icon{

font-size:24px;

}

.navbar-mobile .text{

font-size:12px;

}

/* ===========================
   JARAK KONTEN DARI NAVBAR
=========================== */

.page-content{
    padding-top:100px;
}

}

.chat-btn{

position:relative;

display:flex;

align-items:center;

justify-content:center;

font-size:24px;

text-decoration:none;

color:#fff;

}

.notif-chat{

position:absolute;

top:-4px;

right:-8px;

min-width:20px;

height:20px;

padding:0 5px;

background:#ff0000;

color:#fff;

border-radius:50px;

font-size:11px;

font-weight:bold;

display:flex;

align-items:center;

justify-content:center;

border:2px solid #ff2d8d;

box-sizing:border-box;

}

/* ==========================
   PROFILE MENU
========================== */

.menu-profile{
    display:flex;
    align-items:center;
    gap:15px;
    padding:20px;
    background:linear-gradient(135deg,#ff2d8d,#ff5cab);
    text-decoration:none;
}

.menu-avatar{
    width:65px;
    height:65px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #fff;
    background:#fff;
}

.menu-user{
    flex:1;
}

.menu-name{
    color:#fff;
    font-size:18px;
    font-weight:bold;
}

.menu-username{
    color:rgba(255,255,255,.85);
    margin-top:3px;
    font-size:14px;
}

/* ==========================
   LOGIN BOX
========================== */

.menu-login-box{
    padding:30px 20px;
    text-align:center;
    background:linear-gradient(135deg,#ff2d8d,#ff5cab);
}

.login-icon{
    font-size:55px;
    margin-bottom:10px;
}

.login-title{
    color:#fff;
    font-size:20px;
    font-weight:bold;
}

.login-subtitle{
    color:rgba(255,255,255,.9);
    font-size:14px;
    margin-top:8px;
    line-height:22px;
}

.btn-login-menu{
    display:inline-block;
    margin-top:18px;
    padding:12px 30px;
    background:#fff;
    color:#ff2d8d;
    border-radius:30px;
    font-weight:bold;
    text-decoration:none;
}

.menu-avatar-default{
    width:65px;
    height:65px;
    border-radius:50%;
    background:#fff;
    color:#ff2d8d;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    font-weight:bold;
    border:3px solid #fff;
}