:root {
            --bg: #232149;
            --bg2: #1a214d;
            --main: #3394e3;
            --text: #333333;
            --control: #69778e;
        }

               .brdr {
            border: 1.2px solid #bcbcbc;
        }


.header img,
svg {
  vertical-align: middle;
}



       
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: var(--bg);
            padding: 6px;
            height: 50px;
            width: 100%;
            position: relative;
        }

        
        .header .logo img {
            width: 155px;
        }

       
        .header .profile {
            display: flex;
            align-items: center;
            position: relative;
            cursor: pointer;
        }

.header .profile-pic {
    width: 39px;
    height: 39px;
    border-radius: 50%;
    cursor: pointer;
    object-fit: cover;
}

        
        @media only screen and (max-width: 767px) {
            .header {
                height: 47px;
            }
        }

       
        .header #login {
            background: #3394e300;
            width: 100px;
            text-align: center;
            border-radius: 5px;
            padding: 6px;
            position: absolute;
            right: 103px;
            color: var(--main);
            cursor: pointer;
            margin: 1px;
            border: 1px solid var(--main);
        }
        .header #login:hover {
            background: var(--main);
            color: #ffffff;
        }

        
        .header .dropdown-menu {
    position: absolute;
    top: 48px;
    right: -2px !important;
    width: 214px;
    border: 1px solid #393478;
    background-color: #1e1c41;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 3;
    overflow: hidden;
    font-size: 0.85em;
    font-weight: 300;
    color: #c1d5ff;
}

.header .dropdown-header {
    display: flex;
    align-items: center;
    padding: 15px;
    justify-content: center;
}



.header .dropdown-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}
.header .dropdown-header .username {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 0; 
}






.header .dropdown-content {
    padding: 10px;
}

        .header .dropdown-content ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .header .dropdown-content ul li {
            border-bottom: none;
        }
        .header .dropdown-content ul li svg {
            margin-right: 10px;
            width: 18px;
            height: 18px;
        }
        .header .dropdown-menu a {
            text-decoration: none;
            color: inherit;
        }


.header .rovno {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    max-width: 100%;
}

.header .rovno img {
   width: 14px;
height:14px;
}


        .header .dropdown-content ul.menu {
            list-style-type: none;
            padding: 0.1rem 0;
        }
        .header .dropdown-content ul.menu li {
            margin-bottom: 5px;
        }
        .header .dropdown-content ul.menu li a {
            display: flex;
            align-items: center;
            color: #c1d5ff;
            font-size: 0.80rem;
            padding: 8px 10px;
            border-radius: 5px;
            text-decoration: none;
        }
        .header .dropdown-content ul.menu li a:hover {
            background-color: var(--main);
            color: #ffffff;
        }
        .header .dropdown-content hr {
            border: 0;
            height: 1px;
            background-color: #3e3e77;
            opacity: 0.3;
        }

        .standard {
            background: var(--control);
            padding: 5px;
            color: #ffffff;
            margin: 0px 15px; 
            border-radius: 5px;
            text-align: center;
            font-size: 1.2em;
        }

        .premiumblue {
            background: #009ffc;
            padding: 5px;
            color: #ffffff;
            margin: 0px 15px;
            border-radius: 5px;
            text-align: center;
            font-size: 1.2em;
        }
        .premiumgold {
            background: #c7a53e;
            padding: 5px;
            color: #ffefbf;
            margin: 0px 15px;
            border-radius: 5px;
            text-align: center;
            font-size: 1.2em;
        }
        .premiumblack {
            background: #7faeff;
            padding: 5px;
            color: #ffffff;
            margin: 0px 15px;
            border-radius: 5px;
            text-align: center;
            font-size: 1.2em;
        }

.premiumpink {
    background: #ff057b;
    padding: 5px;
    color: #ffffff;
    margin: 0px 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 1.2em;
}

        .header .myflag {
            position: absolute;
            margin-left: 25px;
            padding-top: 20px;
            pointer-events: none;
        }
        .topuser {
            position: absolute;
            font-size: 9px;
            background: #faa81b;
            border-radius: 3px;
            padding: 0px 1px;
            bottom: -3px;
            color: white;
            text-align: center;
            width: 40px;
            z-index: 1;
            pointer-events: none;
        }
        #selfCountryflag {
            margin-top: -50px !important;
            pointer-events: none;
        }

       
        .icon-wrappers {
            position: absolute;
            right: 55px;
            top: 5px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 38px;
            height: 38px;
            background-color: var(--primary-color);
            border-radius: 50%;
            cursor: pointer;
        }
        .messenger-icon {
            width: 24px;
            height: 24px;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23FFFFFF" class="bi bi-chat-text-fill" viewBox="0 0 16 16"><path d="M16 8c0 3.866-3.582 7-8 7a9 9 0 0 1-2.347-.306c-.584.296-1.925.864-4.181 1.234-.2.032-.352-.176-.273-.362.354-.836.674-1.95.77-2.966C.744 11.37 0 9.76 0 8c0-3.866 3.582-7 8-7s8 3.134 8 7M4.5 5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1zm0 2.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1zm0 2.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1z"/></svg>');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
        }

.messenger-icon:hover {

            box-shadow: 0 0 18px rgb(44 121 254 / 46%);
      transform: scale(1.05);
}
        
        .icon-wrappers::after {
            content: attr(data-count);
            position: absolute;
            top: -2px;
            right: -3px;
            min-width: 16px;
            height: 16px;
            padding: 0 4px;
            background-color: #29d814;
            color: #ffffff;
            font-size: 12px;
            font-weight: 300;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50px;
        }
       
        .icon-wrappers[data-count="0"]::after {
            display: none;
        }

       
        .profile::after {
            content: attr(data-support);
            position: absolute;
            top: -4px;
            right: -3px;
            min-width: 16px;
            height: 16px;
            padding: 0 4px;
            background-color: #d81414;
            color: #ffffff;
            font-size: 12px;
            font-weight: 300;
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 50px;
        }
        .profile[data-support="0"]::after {
            display: none;
        }

        
        .token {
            position: absolute;
            right: 105px;
            top: 7px;
            cursor: pointer;
                display: flex
;
    gap: 7px;
    align-items: center;
        }
        .header .navheader img,
        .header .navheader svg {
            vertical-align: middle;
        }


@media only screen and (max-width: 325px) {
    .header .logo img {
        width: 111px;
        
    }
}