#main-wrapper {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow: hidden;
    z-index: 1;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background: url('../../dist/img/bg2.png') no-repeat center center/cover;
    z-index: 0;
}

#header {
    height: 10dvh;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    margin-left: 10px;
    z-index: 10;
    color: white;
}

.hamburger span {
    height: 4px;
    width: 100%;
    background: white;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu.hidden {
    display: none;
}

.mobile-menu {
    position: absolute;
    top: 10dvh;
    left: 0;
    width: 100%;
    height: 90dvh;
    background-color: rgb(var(--clr-lightdark));
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    z-index: 100;
}

ul {
    list-style-type: none;
}

.mobile-menu ul li:hover {
    color: rgb(var(--clr-gold));   
}

.left-menu {
    height: 100%;
    background-color: rgb(var(--clr-lightdark));
    display: flex;
    flex-direction: column;
    border-top-right-radius: var(--borderRadiusMedium);
    border-bottom-right-radius: var(--borderRadiusMedium);
    padding: 20px;
    opacity: 0.9;
}

.left-menu-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 10px 10px;
    gap: var(--gapMedium);
    font-size: 18px;
    height: 40px;
    border-radius: var(--borderRadiusMedium);
}

.left-menu-item:hover {
    cursor: pointer;
    background-color:rgb(var(--clr-lighterdark));
}

.left-menu-item.active {
    background-color: rgb(var(--clr-red));
    color: rgb(var(--clr-gold));
    font-weight: bold;
}

.sport-text {
    padding: 10px 0px;
}

.sport-text.active {
    background-color: rgb(var(--clr-red));
    color: rgb(var(--clr-gold));
    padding: 10px 20px;
}

.left-menu-item i {
    font-size: 20px;
}

#main-content {
    height: calc(100dvh - 10dvh);
}

.flexc {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#leagues-bar-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    gap: var(--gapMedium);
}

.leagues-bar-item {
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    height: 40px;
    border-radius: var(--borderRadiusLarge);
    background-color: rgb(var(--clr-lightdark));
    cursor: pointer;
    white-space: nowrap;
    gap:10px;
}

.leagues-bar-item:hover {
    background-color:rgb(var(--clr-lighterdark));
}

.leagues-bar-item.active {
    background-color: rgb(var(--clr-red));
    color: rgb(var(--clr-gold));
    font-weight: bold;
}

.bet-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: rgb(var(--clr-lightdark));
    border-radius: var(--borderRadiusMedium);
    padding: 10px 20px;
    opacity: 0.9;
}

.btn-bet {
    background-color: rgb(var(--clr-red));
    border:1px solid rgb(var(--clr-red));
    color: rgb(var(--clr-gold));
    border-radius: var(--borderRadiusSmall);
    padding: 5px 10px;
    cursor: pointer;
    max-width: var(--max-btnSize);
    width: var(--max-btnSize);
}

.btn-bet:hover,.btn-bet.active {
    background-color: rgb(var(--clr-gold));
    color: rgb(var(--clr-red)) !important;
}

.btn-bet:hover .color-gold, .btn-bet.active .color-gold {
    color: rgb(var(--clr-red)) !important;
}

.btn-bet:focus, .btn-bet:active {
    box-shadow: none;
}

#bets-list-content {
    height: calc(100dvh - 16dvh);
    overflow: hidden auto;
}

.ellipsis {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.color-gold {color: rgb(var(--clr-gold)); }
.color-red { color: rgb(var(--clr-redLabel)); }
.fsMini { font-size: var(--fsMini); }
.fsMicro { font-size: var(--fsMicro); }
.fsMedium { font-size: var(--fsMedium); }
.fsBullet { font-size: var(--fsBullet); }
.ongoing-flag { color: rgb(var(--clr-redLabel)); }

.bullet { 
    width: var(--fsBullet);
    height: var(--fsBullet); 
    border-radius: var(--fsBullet);
}

.cart-menu {
    position: absolute;
    bottom: .5rem;
    right: .5rem;
    width: 350px;
    height: 50dvh;
    background-color: rgb(var(--clr-lightdark));
    border: 1px solid rgb(var(--clr-red));
    display: none;
    flex-direction: column;
    padding: 20px;
    border-radius: var(--borderRadiusLarge);
    z-index: 100;
    overflow: hidden;
    opacity: 0.9;
    box-shadow: 0 6px 20px rgb(var(--clr-red));
}

.cart-menu-minimized {
    display: none;
    position: absolute;
    bottom: .5rem;
    right: .5rem;
    width: var(--cart-minimized-size);
    height: var(--cart-minimized-size);
    border-radius: var(--cart-minimized-size);
    background-color: rgb(var(--clr-lightdark));
    border: 2px solid rgb(var(--clr-gold));
    box-shadow: 0px 6px 20px rgb(var(--clr-gold));
}

.cart-menu.active,.cart-menu-minimized.active {
    display: flex;
}

.cart-menu-header {
    border-bottom: 1px solid rgb(var(--clr-white));
    height: 3dvh;
}

.cart-menu-content {
    display: block;
    height: calc(100% - calc(7dvh + 1rem));
    overflow: hidden auto;
}

.cart-menu-footer {
    border-top: 1px solid rgb(var(--clr-white));
    height: 4dvh;
}

.cart-menu-item {
    background-color: rgb(var(--clr-dark));
    border-radius: var(--borderRadiusMedium);
}

.cart-menu-item-content-header {
    border-bottom: 1px solid rgba(var(--clr-lightGrey), 0.3);
}

.bet-stake-input {
    flex: 1;
    height: 30px;
    padding: .375rem;
    font-size: var(--fsMini);
}

.bet-stake-input:focus, .bet-stake-input:active {
    box-shadow: none;
    outline: none;
    border: none;
}

.card-bet-btn {
    background-color: transparent;
    border:1px solid rgb(var(--clr-red));
    color: rgb(var(--clr-white));
    border-radius: var(--borderRadiusSmall);
    padding: 5px 10px;
    cursor: pointer;
}

.card-bet-btn:hover,.card-bet-btn.active {
    background-color: rgb(var(--clr-red));
    color: rgb(var(--clr-gold)) !important;
}

.card-bet-btn:focus, .card-bet-btn:active {
    box-shadow: none;
}

.btn-bet-confirm {
    background-color: rgb(var(--clr-red));
    color: rgb(var(--clr-gold));
    border:1px solid rgb(var(--clr-red));
    border-radius: var(--borderRadiusSmall);
    padding: 5px 10px;
    cursor: pointer;
}

.btn-bet-confirm:hover, .btn-bet-confirm:active, .btn-bet-confirm:focus {
    color: rgb(var(--clr-gold));
    transform: scale(1.02);
}

.btn-bet-confirm:active, .btn-bet-confirm:focus {
    box-shadow: none;
}

.curPo { cursor:pointer; }

.player-avatar {
    width: var(--avatar-size);
    height: var(--avatar-size);
    border-radius: var(--avatar-size);
    background-color: rgb(var(--clr-white));
}

.player-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-color: rgb(var(--clr-white));
}

.cart-tab {
    padding: 5px 10px;
    cursor: pointer;
}

.cart-tab.active {
    border-bottom: 1px solid rgb(var(--clr-gold));
}

.wrapperLogo {
    width: var(--logoSize);
    height: var(--logoSize);
    border-radius: var(--logoSize);
    margin-left: 20px;
}

.logoImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100px;
}

.bg-red {
    background-color: rgb(var(--clr-red));
}

.playerWrapper {
    border-radius: var(--borderRadiusLarge);
    padding: 8px 12px;
    background-color: rgb(var(--clr-red));
}

.cart-menu-content img {
    width: 20px;
}

#bets-history-list-content {
    overflow: hidden auto;
    height: calc((100% - 10dvh) - 270px);
}

.bets-balance-tag {
    background-color: rgb(var(--clr-red));
    color: rgb(var(--clr-white));
    border-radius: var(--borderRadiusLarge);
    font-weight: bold;
}

.border-bottom-red {
    border-bottom: 1px solid rgb(var(--clr-red));
}

a { text-decoration: none !important; }
.text-gold { color: rgb(var(--clr-gold)) }
.icon { width: var(--iconSize); }
.fwBold { font-weight: bold; }

.login-btn {
    background-color: rgb(var(--clr-red));
    color: rgb(var(--clr-gold));
    border-radius: var(--borderRadiusSmall);
    padding: 5px 10px;
    cursor: pointer;
}

.login-btn:hover,.login-btn.active {
    background-color: rgb(var(--clr-gold));
    color: rgb(var(--clr-red)) !important;
}

.login-btn:focus, .login-btn:active {
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .bet-item {
        display: flex;
        flex-direction: column;
    }

    .bet-item .btn-bet {
        margin-top: 5px;
    }
}