#root .header {
    height: var(--c-header-top);
    background-color: var(--aw-primary);
    color: var(--aw-text-light);
    flex-wrap: nowrap;
    font-size: 1.4rem;
    z-index: 1002;
    /* background-image: radial-gradient(ellipse at bottom, rgba(var(--o-light), 0.04) 0%, rgba(var(--o-light), 0) 69%); */
    box-shadow: var(--x-s);
    position: fixed;
    top: 0;
    /* margin: 8px; */
    /* width:  calc(100% - var(--s-2x)); */
}

.theme-dark #root .header {
    background-color: var(--aw-primary);
}

.theme-light #root .header {
    /* background-color: var(--aw-turquoise); */
}
.theme-dark #root .mobile .header,
.theme-light #root .mobile .header{
    background-color: var(--aw-teal-dark);
    color:  var(--aw-turquoise);
}


#root .lang-en .header .logo.el,
#root .lang-el .header .logo.en {
    display: none
}

#root .mobile .header {
    height: var(--c-header-mobile);
    align-items: center;
    position: fixed;
    top: 0px
}

#root .header .logo {
    min-width: var(--c-l-sidebar-min);
    max-width: var(--c-l-sidebar-max);
    width: 100%;
    display: flex;
    /* align-items: center; */
    justify-content: flex-start;
    position: unset;
    padding-left: 16px;
    margin: unset;
    height:auto;
    margin:auto 0;
    width: 100%;
}
.theme-light #root .header .logo.dark, .theme-dark #root .header .logo.light {
    display: none;
}

#root .mobile .header .logo {
    justify-content: flex-start;
    padding-left: var(--s-col-pad);
    min-width: unset;
    max-width: unset;
    margin-left: unset;
    width: auto;
    flex: 1;
}

#root .header .logo img {
    width: var(--c-logo-size);
    /* box-shadow: var(--o-secondary-button-default-style); */
    /* border-radius: 6px; */
    /* object-fit: cover; */
    /* object-position: -2px -35px; */
    /* scale: 1.3; */
}

#root .mobile .header .logo img {
    width: var(--c-logo-size-mobile);
    margin-right:5px;
    /* object-fit: cover; */
    /* object-position: center; */
    /* object-position: 0 -19px; */
    /* scale: 1.5; */
}

#root .header-menu {
    width: 100%;
    justify-content: center
}

#root .header-menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 80px;
    max-width: 230px;
    flex: 0 0 auto;
    border-radius: 0;
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
}

#root .view-page-sports .header-menu-item.sports, #root .view-page-live .header-menu-item.in-play {
    color: var(--aw-turquoise);
    border-color: var(--aw-turquoise);
}

#root .header-menu-item.in-play {
    /* margin-right: auto; */
    padding: 16px;
}

#root .mouse .header-menu-item:hover {
    background-color: var(--aw-teal-dark-hover);
    color: var(--aw-text-light-e);
}

#root .header-menu-item.home {
    /* margin-left: auto; */
}

#root .header-menu-item.sports div, #root .header-menu-item.home div, #root .header-menu-item.homepage div, #root .header-menu-item.promotions div, #root .header-menu-item.world-cup div {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    text-align: center;
}
.header-menu-item.promotions::before {
    content: "\e9bd";
    font-family: 'BIF';
    position: relative;
    width: 28px;
    height: 28px;
    font-size: 23px;
    color: var(--f-promotions);
    display: inline-flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    padding-bottom: 3px;
}

.view-page-todayscoupon .header-menu-item.sports::after,
.view-page- .header-menu-item.homepage::after,
.view-page-live .header-menu-item.in-play::after,
div:is(.view-page-sports-worldcup2026, .view-page-outrights-worldcup2026, .view-page-statistics-worldcup2026-en, .view-page-statistics-worldcup2026-el, .view-page-promotions-worldcup2026) .header-menu-item.world-cup::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    bottom: 0px;
    background-color: var(--aw-turquoise);
}

#root .header-menu-item.in-play data-view {
    color: var(--aw-text-light-s);
    margin-left: 5px;
    box-shadow: 0 0 0 rgb(204 169 44/40%);
    transform: translateZ(0);
    border-radius: 50%
}

#root .header-menu-item.in-play data-view::before {
    content: '(';
}

#root .header-menu-item.in-play data-view::after {
    content: ')';
}

#root .header-menu-item.search {
    flex: 0 0 auto;
    width: auto;
    /* margin-left: auto; */
    /* margin-right: 0; */
    min-width: 60px;
}

#root .header-menu-item.search img {
    height: var(--c-icon-width);
    width: 100%
}

#root .header .login-register-container {
    min-width: var(--c-r-sidebar-min);
    max-width: var(--c-r-sidebar-max);
    flex: 1 1 var(--c-r-sidebar-min);
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

#root .mobile .header .login-register-container {
    min-width: unset;
    max-width: unset;
    justify-content: flex-end;
    /* width: calc(100% - 30px); */
    flex: 1 1 0%;
    width: auto;
    position: relative;
    align-items: center;
}
#root .mobile .header .login-register-container .promo-link {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-right: 13px;
}
#root .mobile .header .login-register-container .promo-link:has(+.login):before{
    background-color: unset;
}
    

#root .mobile .header .login-register-container .promo-link .title {
    font-size:0;
    /* display: none; */
    position: absolute;
    left: 0px;
}
#root .mobile .header .login-register-container .promo-link:before {
    font-size:12px;
    color: var(--c-f-s);
    color: var(--aw-emphasis);
    font:var(--icon-font);
    font-weight: 500;
    content:"\e9bd";
    display:inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    /* background-color: var(--o-blue-a); */
    /* position: absolute; */
    /* left: 0; */
    text-align: center;
    /* top: 0; */
    pointer-events: none;
    border-radius: var(--r-d2);
    /* padding-right: 105px; */
    /* margin-right: -95px; */
    /* padding-left: 4px; */
}
.theme-light #root .mobile .header .login-register-container .promo-link:before {
    );
}
#root .mobile .header .login-register-container .promo-link div{
    width: 32px;
    height: 32px;
}

#root .header .additional-links {
    order: 2;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    /* width: 160px; */
}

#root .mobile .header .additional-links {
    width: 30px;
    order: -1
}

#root .header .additional-links .time {
    font-size: 1rem;
    order: -1;
    width: calc(100% - 30px)
}

#root .header .additional-links .time .filter-time-value {
    white-space: nowrap
}

#root .header .additional-links .settings {
    width: var(--c-icon-width);
    height: var(--c-icon-width);
}

#root .header app-block.login {
    width: auto;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 8px;
    padding-right: 8px;
    margin-left: 16px;
}

#root .mobile .header app-block.login {
    /* width: 100%; */
    justify-content: flex-end;
    margin-left: 8px;
}

#root .login app-button {
    height: 100%;
    display: flex;
    align-items: center;
    width: auto;
}

.theme-light #root .login app-button.register span {
    color: var(--aw-label-button-primary);
}

#root .login app-button {
    /* padding-right: var(--s-col-pad); */
}

#root .login app-button ui-button {
    width: 100%;
}
#root .login app-button button {
    height: 40px;
    /* font-family: OPAP-Ext; */
    width: 100%;
    border-radius: var(--r-d2);
    background-color: var(--aw-button-primary);
    /* color: var(--aw-action); */
    padding: 0 12px;
    font-weight: 700;
}

#root .login app-button button {
}

#root .mobile .login app-button button {
    height: 30px
}

#root .header app-button.login button {
    background-color: unset;
    border: 1px solid var(--aw-action);
    color: var(--aw-text-light);
}

#root .header app-button.register button {
    background-color: var(--aw-action);
}

#root .header app-button.register button:hover {
    background-color: var(--aw-action);
    color: var(--aw-label-button-primary-hover);
}

#root .header app-block.user {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 1rem;
    position: relative
}

#root .header app-block.user {
    display: inline-flex;
    margin-right: 12px;
    flex-direction: row;
    justify-content: flex-end;
    /* flex: 1 1 0%; */
    width: auto;
}
#root .mobile .header app-block.user>app-widget-host>span {
    display:none
}

#root .header app-block.user .account-avatar {
    min-width: 32px;
    width: 33px;
    height: 32px;
    /* background-color: var(--aw-emphasis); */
    border-radius: 50%;
    position: relative;
    color: var(--aw-text-light);
    /* border: 2px solid var(--o-primary-b); */
    /* box-sizing: content-box; */
    /* background-image:  var(--g-3); */
    right: 0px;
}
#root .mobile .header app-block.user .account-avatar {
    color: var(--aw-turquoise)
}

#root .mouse .header app-block.user .account-avatar:hover {
    background-color: var(--o-primary);
    color: var(--aw-text-light-e);
}

#root .header app-block.user .account-avatar::before {
    content: "\e941";
    font-family: 'BIF';
    display: inline-flex;
    max-width: 36px;
    position: absolute;
    height: 32px;
    font-size: 32px;
    text-align: center;
    line-height: 30px;
    background-color: var(--c-f);
    border-radius: 50%;
    /* left: 50%; */
    /* top: 6px; */
    /* border: 2px solid var(--o-green-b); */
    /* transform: translate(-50%,0%); */
    pointer-events: none;
    min-width: unset;
    overflow: hidden;
}

/* #root .header app-block.user .account-avatar::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 8px;
    background-color: var(--c-f);
    left: 50%;
    bottom: 7px;
    transform: translate(-50%,0%);
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    pointer-events: none;
    min-width: unset;
} */

#root app-block.user .unread-messages {
    position: absolute;
    bottom: 12px;
    left: 20px
}

#root .header app-block.user .unread-messages {
    position: relative;
    z-index: 1;
    left: 6px;
}

#root .header app-block.user .unread-messages data-view {
    position: absolute;
    left: 15px;
    top: -5px
}

#root .header app-block.user .unread-messages data-view {
    width: 14px;
    height: 14px;
    font-size: .7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--o-red-a);
    border-radius: 50%;
    color: white;
    line-height: 12px;
}

#root .header app-block.user .account-balance {
    margin: 0px 8px 0 0;
    /* width: calc(100% - 10px); */
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    flex-direction: row;
    /* margin-right: -20px; */
    background-color: var(--c-o3i);
    border-radius: var(--r-d2);
}

#root .header app-block.user .toggle-amount {
    width: 24px;
    height: 18px;
    display: flex;
    background-repeat: no-repeat;
    background-position: center;
}

#root .header app-block.user app-content-block:not(.deposit-link) {
    /* max-width: calc(100% - 24px); */
}

#root .header app-block.user data-view[value="user.balance.total"] {
    background-color: unset;
    /* background-color:  var(--c-o1i); */
    padding: 0px 0 0 8px;
    padding-right: 36px;
    border-radius: 16px;
    margin-right: -24px;
    display: block;
    font-size: 1rem;
    font-weight: 450;
    color: var(--aw-text-light);
}

#root.hide .header app-block.user data-view[value="user.balance.total"] {
    display: none
}

#root .header app-block.user app-content-block.deposit-link {
    min-width: auto;
    padding: 4px 12px;
    order: 3;
    letter-spacing: 0;
    background-color: var(--aw-turquoise);
    /* box-shadow: var(--x-surface); */
    color: var(--aw-teal-dark);
    border-radius: var(--r-d2);
    text-align: center;
    height: 32px;
    line-height: 24px;
    border-radius: var(--r-d2);
    text-align: left;
    /* background-image:  var(--g-1); */
    font-size: 1rem;
    font-weight: 700;
}

#root .mobile .header app-block.user app-content-block.deposit-link {
    margin-left: auto;
    background-color: var(--aw-turquoise);
    font: var(--aw-font-button-primary);
    line-height: 26px;
    color:  var(--aw-teal-dark);
}

#root .mouse .header app-block.user app-content-block.deposit-link:hover {
    color: var(--aw-teal-dark);
    background-color:  var(--aw-turquoise-hover);
}

/* UAT Logo Label */
#root .header .logo:after {
    /* content: "BETA"; */
    width: auto;
    height: 34px;
    position: relative;
    display: inline-block;
    font-size: 8px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-indent: 4px;
    font-style: italic;
    margin-left: -30px;
    line-height: 57px;
    color: var(--c-f);
}

#root .desktop .header .logo:after {
    line-height: 61px
}
.mobile .header .header-button {
    max-width:36px;
    margin-right:8px;
    color:var(--c-s-white)
}
.mobile .header .header-button.worldcup-26 img{
    border:1px solid #ffffff3b;
    border-radius:5px;
    box-shadow: 0 0 2px #0003
}
body .ui-overlaypanel.user-settings {
    left:unset!important;
    right:0!important;;
    z-index:1005!important;
    max-width:50%;
    width:100%;
    border:0px;
    
    border-radius:var(--r)
}
body .ui-overlaypanel.user-settings .settings {
    padding:10px;
}
body .ui-overlaypanel.user-settings .settings .beto-language {
    margin-bottom:10px;
}
body .ui-overlaypanel.user-settings::after {
    display:none;
}
body .ui-overlaypanel.user-settings::before {
    border:0;
    width:14px;
    height:14px;
    background-color:var(--o-primary);
    transform:rotate(45deg);
    content:"";
    display:block;
    min-width:unset;
    right: 23px;
    top: -7px;
}