#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));
}

.category-text {
    padding: 10px 20px;
}

.category-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));
}

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

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

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

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

#admin-list-content {
    height: calc((100dvh - 20dvh) - .5rem);
    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)); }

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

.cart-menu {
    position: absolute;
    bottom: 00dvh;
    right: 0;
    width: 350px;
    height: 50dvh;
    background-color: rgb(var(--clr-lighterdark));
    display: none;
    flex-direction: column;
    padding: 20px;
    border-top-left-radius: var(--borderRadiusMedium);
    border-bottom-left-radius: var(--borderRadiusMedium);
    z-index: 100;
    overflow: hidden;
    opacity: 0.9;
}

.cart-menu.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,.player-avatar-row img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background-color: rgb(var(--clr-white));
}

.player-avatar-row {
    width: var(--avatar-row-size);
    height: var(--avatar-row-size);
    border-radius: var(--avatar-row-size);
    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));
}

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

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