/* ==========================================
   GoalVanta Header CSS v2.0
========================================== */

.header{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    align-items:center;
    justify-content:space-between;

    height:70px;
    padding:0 25px;

    background:var(--card);
    border-bottom:1px solid var(--border);
    box-shadow:0 2px 10px rgba(0,0,0,.04);
}

/* Left */

.header-left{
    display:flex;
    align-items:center;
    gap:15px;
}

.menu-toggle{
    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:none;
    outline:none;

    border-radius:12px;

    background:transparent;

    cursor:pointer;

    transition:.3s;
}

.menu-toggle:hover{

    background:rgba(0,0,0,.05);

}

.logo{

    font-size:22px;

    font-weight:800;

    color:var(--primary);

    text-decoration:none;

}

/* Search */

.search-box{

    width:420px;

    max-width:100%;

    position:relative;

}

.search-box input{

    width:100%;

    height:46px;

    padding:0 18px;

    border-radius:14px;

    border:1px solid var(--border);

    background:var(--background);

    color:var(--text);

    outline:none;

    transition:.3s;

}

.search-box input:focus{

    border-color:var(--primary);

}

/* Right */

.header-right{

    display:flex;

    align-items:center;

    gap:12px;

}

.icon-btn{

    width:42px;

    height:42px;

    border:none;

    border-radius:12px;

    background:transparent;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:.3s;

    font-size:18px;

    color:var(--text);

}

.icon-btn:hover{

    background:rgba(0,0,0,.05);

}

.avatar{

    width:42px;

    height:42px;

    border-radius:50%;

    object-fit:cover;

    border:2px solid var(--border);

}

/* Notification */

.notification{

    position:relative;

}

.notification::after{

    content:"";

    position:absolute;

    top:10px;

    right:10px;

    width:8px;

    height:8px;

    border-radius:50%;

    background:#EF4444;

}

/* Tablet */

@media(max-width:992px){

.search-box{

width:260px;

}

}

/* Mobile */

@media(max-width:768px){

.header{

padding:0 15px;

}

.search-box{

display:none;

}

.logo{

font-size:20px;

}

.header-right{

gap:8px;

}

.icon-btn{

width:40px;

height:40px;

}

}

/* Small Mobile */

@media(max-width:480px){

.header{

height:64px;

}

.logo{

font-size:18px;

}

.menu-toggle{

width:38px;

height:38px;

}

.icon-btn{

width:38px;

height:38px;

font-size:16px;

}

.avatar{

width:36px;

height:36px;

}

}