/* Main Navigation Styles */
.main-nav {
    background-color: #0B181B;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    background-color: #1a1a1a;
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    min-width: 5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#loggedInButtons{
    align-items: center;
    gap: 0.5rem;
}

#guestButtons{
    gap: 0.5rem;
}

.login-btn {
    background: transparent;
    border: 1px solid #00FF90;
    color: #00FF90;
    padding: 0.625rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 2.5rem;
    width: 6.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


.join-btn {
    background: #00FF90;
    border: none;
    color: #0B181B;
    padding: 0.625rem 0;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    height: 2.3125rem;
    width: 6.25rem;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 174, 0.3), 0 3px 0 #02B085, inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logged In Navigation Styles */
.main-nav.logged-in {
    background: #0B181B;
    padding: 1.155rem 1.7325rem;
    border-bottom: 1px solid #354959;
}

/* Apply logged-in styles to main-nav elements */
.main-nav.logged-in .wallet-section {
    display: flex;
    align-items: center;
    background: #263440;
    border: 1px solid #354959;
    border-radius: 8px;
    padding-bottom: 0.125rem;
}

.main-nav.logged-in .balance-btn {
    background: #263440;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.main-nav.logged-in .flag-icon {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
}

.main-nav.logged-in .balance-text {
    color: #00FF90;
    font-size: 0.875rem;
    font-weight: 600;
}

.main-nav.logged-in .dropdown-arrow {
    width: 1rem;
    height: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(90deg);
}


.main-nav.logged-in .deposit-btn {
    background: #00FF90;
    border: none;
    color: #0B181B;
    padding: 0;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    height: 2.5rem;
    width: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0, 255, 174, 0.3), 0 3px 0 #02B085, inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.main-nav.logged-in .wallet-log-icon {
    width: 1rem;
    height: 1rem;
}

.main-nav.logged-in .notification-btn {
    background: #263440;
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    width: 1.5625rem;
    height: 1.5625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-nav.logged-in .notification-btn:hover {
    background: #2a2a2a;
}

.main-nav.logged-in .bell-icon {
    width: 0.9375rem;
    height: 0.9375rem;
}

.main-nav.logged-in .user-section {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.main-nav.logged-in .user-section:hover {
    opacity: 0.8;
}

.main-nav.logged-in .profile-picture {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid #00FF90;
    object-fit: cover;
}

/* Desktop Hamburger Menu - Hidden on mobile */
.desktop-hamburger-btn {
    display: none;
}

.desktop-ui-elements{
    display: none;
}

/* ========================================
   TABLET & DESKTOP STYLES
   ======================================== */
@media (min-width: 768px) {
    .desktop-hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0.5775rem;
        transition: all 0.3s ease;
        margin-right: 1.155rem;
    }

    .desktop-hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 1.7325rem;
        height: 1.7325rem;
        cursor: pointer;
        gap: 0.28875rem;
    }

    .desktop-hamburger-line,
    .desktop-hamburger-middle {
        width: 100%;
        height: 0.125rem;
        background-color: #929AAA;
        transition: all 0.3s ease;
    }

    .desktop-hamburger-middle {
        background-color: #00FF90;
    }

    .desktop-hamburger-btn:hover .desktop-hamburger-line,
    .desktop-hamburger-btn:hover .desktop-hamburger-middle {
        background-color: #00FF90;
    }

    .main-nav{
        padding:0.5775rem;
    }

    .logo {
        padding: 0.5775rem 1.155rem;
        font-size: 0.86625rem;
        height: 2.31rem;
        min-width: 4.62rem;
    }

    .login-btn {
        height: 2.31rem;
        width: 5.775rem;
        font-size: 0.9384375rem;
        padding: 0.5775rem 0.86625rem;
    }

    .join-btn {
        height: 2.079rem;
        width: 5.775rem;
        font-size: 0.9384375rem;
        padding: 0.5775rem 0;
    }

    .desktop-ui-elements {
        display: flex;
        align-items: center;
        gap: 0.5775rem;
    }

    .desktop-flag-settings-btn {
        background: #263440;
        border: 1px solid #354959;
        border-radius: 8px;
        padding: 0.433125rem 0.5775rem;
        display: flex;
        align-items: center;
        gap: 0.5775rem;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .desktop-flag-settings-btn:hover {
        background: #2a2a2a;
        border-color: #00FF90;
    }

    .desktop-flag-icon {
        width: 1.15rem;
        height: 1.15rem;
        border-radius: 50%;
    }

    .desktop-divider {
        width: 1px;
        height: 0.8625rem;
        background-color: #354959;
    }

    .desktop-settings-icon {
        color: #929AAA;
        width: 1.15rem;
        height: 1.15rem;
    }

    .desktop-chat-offline-btn {
        background: #263440;
        border: 1px solid #354959;
        border-radius: 8px;
        padding: 0.433125rem 0.5775rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
    }

    .desktop-chat-offline-btn:hover {
        background: #2a2a2a;
        border-color: #00FF90;
    }

    .desktop-chat-icon {
        color: #929AAA;
        width: 1.15rem;
        height: 1.15rem;
    }

    .desktop-minus-icon {
        position: absolute;
        color: #929AAA;
        font-size: 0.8625rem;
        font-weight: bold;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
