.header {
    position: relative;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    height:64px;
    background-color: #272B29;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    color: #FFFFFF;
}

.header-inner-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
}

.header-inner-mobile {
    display: none;
}

.header-logo, .tab-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;
    letter-spacing: 0.75px;
}

.header-logo-wrapper {
    display: flex;
    gap: 0 8px;
    flex-wrap: wrap;
}

#nav-wrapper {
    display: flex;
}

.nav-item {
    padding: 19px 8px;
    position: relative;
    color: #ACACAC;
    cursor: pointer;
}

.nav-item:hover {
    color: #FFFFFF
}

@media screen and (min-width: 961px) {
    .nav-item::before {
        content: "";
        width: 100%;
        height: 3px;
        position: absolute;
        left: 0;
        bottom: -2px;
        background: #61C59B;
        transition: 0.2s transform ease;
        transform: scale3d(1,0,1);
        transform-origin: 0 50%;
    }
}

.nav-item:hover::before {
    transform: scale3d(1,1,1);
}

.menu, .data-menu {
    width:300px;
    border-radius: 8px;
    text-align: left;
}

.menu {
    background-color: #3A3A3A;
    padding: 8px 0;
}

.data-menu {
    width: 630px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
}

.data-menu .item {
    background: #3A3A3A;
    border: 1px solid #454545;
}

.data-menu .item:nth-child(1) {
    border-top: none;
    border-left: none;
}

.data-menu .item:nth-child(2) {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: none;
    border-right: none;
}

.data-menu .item:nth-child(3) {
    border-bottom: none;
    border-left: none;
}

.data-menu .item:nth-child(4) {
    border-bottom: none;
    border-right: none;
}

.data-menu .item-inner-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    padding: 8px 0;
}

.data-menu .item-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("../../assets/icons/arrow_right_small.svg") center / contain no-repeat;
}

.data-menu .primary-button {
    width: fit-content;
    height: fit-content;
    font-size: 12px;
    padding: 8px;
    text-align: center;
}

.text-highlighting-white {
    color: var(--white);
    font-weight: 700;
}

.item {
    padding:8px 16px;
    font-size: 16px;
    line-height: 18px;
    color: #ACACAC;
}

.item a {
    display: block;
}

.menu-title {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 600;
    border-top: 2px solid #454545;
}

.dropdown {
    position: relative;
}

.dropdown a {
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    display: none;
    min-width: 300px;
    padding: 16px;
    position: absolute;
    top: 100%;
    left: -10px;
    z-index:999999;
}

.submenu-wrapper .item {
    padding: 8px 0;
}

.submenu {
    display: none;
}

.submenu-header {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.expand-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("../../assets/icons/arrow_up.svg") center / contain no-repeat;
    transform: rotate(180deg);
}

.expanded-icon {
    transform: rotate(0deg) !important;
}

.active {
    transform: rotate(0deg);
}

.opened {
    display: block;
}

.shown {
    transform: translateX(0);
}

.hidden {
    transform: translateX(-10000px);
    height: 0;
}

@media screen and (max-width: 960px) {
    .header-inner-desktop {
        display: none;
    }

    .header-inner-mobile {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        padding: 0 15px;
    }

    .burger-menu {
        width: 24px;
        height: 24px;
    }

    .burger-menu-open-icon {
        background: url("../../assets/icons/burger_open.svg") center / contain no-repeat;
    }

    .burger-menu-close-icon {
        background: url("../../assets/icons/burger_close.svg") center / contain no-repeat;
    }

    .header-controls, .tab {
        display: flex;
        justify-content: space-between;
        align-items: center;
        overflow: hidden;
    }

    .nav-wrapper, .tab-nav-wrapper {
        position: absolute;
        z-index: -1000;
        width: 100vw;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-color: #272B29;
        top: 100%;
        left: 0;
    }

    .nav-inner-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .mobile-nav, .tab-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: #272B29;
    }

    .data-menu {
        width: 100%;
        border-radius: unset;
    }

    .data-menu .item {
        background: transparent;
    }

    .data-menu .item:nth-child(1), .data-menu .item:nth-child(2) {
        border-top: 1px solid #454545;
    }

    .data-menu .item:nth-child(3), .data-menu .item:nth-child(4) {
        border-bottom: 1px solid #454545;
    }

    .nav-list {
        height: 100%;
        overflow: scroll;
    }

    .mobile-nav-item-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 19px 16px;
        color: #ACACAC;
    }

    .user-nav .mobile-nav-item-wrapper {
        justify-content: unset;
        padding: 0 16px;
    }

    .expand-icon {
        transform: rotate(90deg);
    }

    .mobile-nav .mobile-nav-item-wrapper .nav-item {
        padding: 0;
    }

    .nav-item {
        display: block;
        height: 100%;
    }

    .secondary-button, .primary-button {
        flex: 1 1;
    }
}

@media screen and (max-width: 590px) {
    .data-menu {
        grid-template-columns: auto;
    }

    .data-menu .item:nth-child(1), .data-menu .item:nth-child(3) {
        border-right: none;
    }

    .data-menu .item:nth-child(2), .data-menu .item:nth-child(4) {
        border-left: none;
    }
}
