/*==========================
      LANGUAGE
===========================*/

.language-selector{

    position:relative;

}

.language-btn{

    width:45px;
    height:45px;

    border:none;

    background:transparent;

    cursor:pointer;

    font-size:22px;

    color:#222;

    transition:.3s;
}

.language-btn:hover{

    color:#1840FF;

}

.language-menu{

    position:absolute;

    top:55px;

    right:0;

    width:220px;

    background:white;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.15);

    display:none;

    animation:fade .25s ease;

    z-index:99999;
}

.language-item{

    padding:16px 20px;

    cursor:pointer;

    transition:.2s;

    font-size:16px;

}

.language-item:hover{

    background:#EDF3FF;

}

@keyframes fade{

from{

opacity:0;

transform:translateY(-10px);

}

to{

opacity:1;

transform:translateY(0);

}

}
/*====================================================
            POPUP UTILISATEUR PREMIUM NYA
====================================================*/

.nya-account{
    position:relative;
}

.nya-account-btn{

    display:flex;
    justify-content:center;
    align-items:center;

    width:42px;
    height:42px;

    color:#1840FF;

    text-decoration:none;

    font-size:30px;

    transition:.25s;

}

.nya-account-btn:hover{

    transform:scale(1.08);

}

/*========================
        POPUP
========================*/

.nya-account-menu{

    position:absolute;

    top:60px;
    right:0;

    width:290px;

    background:#FFFFFF;

    border-radius:16px;

    border:1px solid #ECECEC;

    overflow:hidden;

    display:none;

    box-shadow:
        0 10px 35px rgba(0,0,0,.08);

    animation:popup .22s ease;

    z-index:999999;

}

.nya-account-menu.show{

    display:block;

}

@keyframes popup{

from{

opacity:0;
transform:translateY(-8px);

}

to{

opacity:1;
transform:translateY(0);

}

}

/*========================
        PETITE FLECHE
========================*/

.nya-account-menu::before{

    content:"";

    position:absolute;

    top:-8px;

    right:20px;

    width:16px;

    height:16px;

    background:#fff;

    transform:rotate(45deg);

    border-left:1px solid #ECECEC;

    border-top:1px solid #ECECEC;

}

/*========================
        HEADER
========================*/

.nya-user-card{

    display:flex;

    align-items:center;

    gap:14px;

    padding:18px;

}

.nya-avatar{

    width:48px;

    height:48px;

    border-radius:50%;

    background:#1840FF;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:18px;

    font-weight:700;

    flex-shrink:0;

}

.nya-user-details h4{

    font-size:16px;

    color:#1F2937;

    margin-bottom:3px;

}

.nya-user-details p{

    font-size:13px;

    color:#7B7B7B;

}

/*========================
        MENU
========================*/

.nya-menu-links{

    padding:6px 10px 12px;

}

.nya-menu-links a{

    display:flex;

    justify-content:space-between;

    align-items:center;

    text-decoration:none;

    color:#2E2E2E;

    padding:13px 12px;

    border-radius:10px;

    transition:.25s;

}

.nya-menu-links a:hover{

    background:#F5F8FF;

}

.nya-menu-links a span{

    flex:1;

    margin-left:12px;

    font-size:14px;

    font-weight:500;

}

.nya-menu-links a i:first-child{

    color:#1840FF;

    width:18px;

}

.nya-menu-links a::after{

    content:"›";

    color:#9A9A9A;

    font-size:18px;

}

/*========================
        FOOTER
========================*/

.nya-popup-footer{

    padding:14px;

    border-top:1px solid #F1F1F1;

}

/*========================
        BOUTON
========================*/

.logout-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    height:42px;

    background:#1840FF;

    color:#fff !important;

    border-radius:10px;

    text-decoration:none;

    font-size:14px;

    font-weight:600;

    transition:.25s;

}

.logout-btn i{

    color:#fff;

}

.logout-btn:hover{

    background:#1236E6;

}

/*========================
        VISITEUR
========================*/

.login-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    height:42px;

    background:#1840FF;

    color:#fff;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

    margin-bottom:10px;

}

.register-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    height:42px;

    border:1.5px solid #1840FF;

    color:#1840FF;

    border-radius:10px;

    text-decoration:none;

    font-weight:600;

}

.login-btn:hover{

    background:#1236E6;

}

.register-btn:hover{

    background:#1840FF;

    color:#fff;

}