.navbar {
    display: flex;
    justify-content: space-between;
    background-color: var(--primary-bg);
    position: relative;
    border-bottom: 1.5px solid #63636380;
    padding: 11px 5px;
    background: var(--bg-secondary);
    align-items: center;
}

.navbar-left,
.navbar-right {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.navbar-logo a {
    font-size: 25px;
    font-weight: 600;
    text-decoration: none;
    color: var(--txt-primary);
    text-align: center;
    font-family: Outfit;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.page-name {
    font-size: 1rem;
    font-weight: bold;
    color: var(--txt-primary);
    margin-top: 5px;
    text-align: center;
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--txt-primary);
    font-size: large;
    text-decoration: none;
}

/* setting size of icons  */
/* .icon-btn .hamburger {
    font-size: 1.9rem;
    color: black;
} */
.icon-btn .hamburger {
    width: 45px;
    /* Adjust the width as needed */
    /* height: 45px; */
    /* Adjust the height as needed */
}

.icon-btn .heart {
    font-size: 1.9rem;
    color: black;
}

.icon-btn .help {
    font-size: 1.9rem;
    /* color: black; */
}

.icon-btn .stats {
    font-size: 1.9rem;
    /* color: black; */
}

.icon-btn:hover {
    /* color: #000; */
}

.sidebar .close-btn .cross {
    font-size: 1.9rem;
}

.heart-icon {
    /* color: #e25555; */
}


/* Sidebar Overlay */
.sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: flex-start;
    z-index: 11;
    transition: background-color 0.3s ease;
}

/* Sidebar overlay opening animation */
.sidebar-overlay.opening {
    background: rgba(0, 0, 0, 0.4);
}

/* Sidebar overlay closing animation */
.sidebar-overlay.closing {
    background: rgba(0, 0, 0, 0);
}

/* Sidebar Container */
.sidebar {
    background: var(--bg-primary);
    width: 348px;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Sidebar opening animation */
.sidebar.opening {
    transform: translateX(0);
}

/* Sidebar closing animation */
.sidebar.closing {
    transform: translateX(-100%);
}

/* Close Button */
.sidebar .close-btn {
    position: absolute;
    right: 19px;
    top: 17px;
    background: none;
    border: none;
    font-size: 1.6rem;
    /* color: #222; */
    cursor: pointer;
    z-index: 2;
}

.close-btn img {}

/* Menu Header */
.menu-head {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--txt-primary);
    /* padding: 55px; */
    margin: 22px;
}

/* Sidebar menu layout */
.sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Header Section */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    /* border: 1px solid; */
    background: var(--bg-secondary);
    /* width: 10%; */
    height: 76px;
    width: 345pxpx;
}

.menu-header .menu-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--txt-primary);
    letter-spacing: 1.6px;
    font-family: 'Outfit';
}

/* Body Section */
.menu-body {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 16px;
    background-color: var(--bg-primary);
    padding: 21px 0px 0px 18px;
    gap: 7px;
}

.menu-group {
    display: flex;
    flex-direction: column;
}

/* .menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 10px;
   
    transition: background 0.3s;
    text-decoration: none;
    border: none;
    
    background: none;
} */

hr.menu-divider {
    border: none;
    border-top: 1px solid var(--bg-secondary);
    margin: 8px 0;
    width: 100%;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: var(--txt-primary);
}

.menu-item:hover {
    /* background: #f0f0f0; */
}

.menu-item .menu-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.menu-item .menu-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--txt-primary);
    text-transform: capitalize;
    font-family: outfit;
    font-size: 20px;
}

/* Footer Section */
/* .menu-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-top: 1px solid #ccc;
} */



.copy-btn {
    padding: 4px 8px;
    font-size: 0.8rem;
    border: 1px solid #999;
    background: none;
    cursor: pointer;
    color: var(--txt-primary);
}

.copy-btn:hover {
    /* background:var(--bg-primary); */
}

/* Menu Links */
.menu-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.menu-item:hover {
    /* background: #f9f9f9; */
}

.menu-icon {
    /* font-size: 1.8rem; */
    /* color: #333; */
    width: 30px;
}

.menu-title {}

.menu-description {
    font-size: 0.8rem;
    color: var(--txt-secondary);
    margin-top: -5px;
    /* Adjust spacing between title and description */
}

/* Footer Section (Optional for Waffle Icon) */
.menu-footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    /* width: 234px; */
    height: 96px;
    background-color: var(--bg-secondary);
    position: relative;
}

.menu-footer img {
    width: 110px;
    height: 110px;
}

/* Menu emoji styles */
.menu-emoji {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.menu-emoji-left {
    position: absolute;
    right: 20px;
    top: -94px;
}

.menu-emoji-right {
    position: absolute;
    right: 20px;
    top: -94px;
}

/* .menu-divider {
    border-bottom: 1px solid #91919161;
    width: 111%;
    /* margin-left: -3%; */
/* height: 0px; */


.menu-divider_1 {
    /* stroke-width: 63.16px; */
    stroke: #636363;
    opacity: 0.5;
    width: 113%;
    height: 0px;
    flex-shrink: 0;
    margin-left: -20px;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.player-id {
    width: 260px;
    height: 60px;
    border-radius: 10px;
    border: 1px solid #B0B0B0;
    background: var(--bg-primary);
    box-shadow: 0px 4px 0px 0px rgba(0, 0, 0, 0.25);
    color: var(--txt-primary);
    font-family: Poppins;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    cursor: pointer;
}

.user-email {
    color: var(--txt-secondary);
    font-family: Poppins;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    max-width: 260px;
    word-break: break-word;
    opacity: 0.8;
}



@media (max-width: 768px) {
    .navbar {
        width: 100vw;
        /* height: 48px; */
        flex-shrink: 0;
        background: var(--bg-secondary);
        /* padding: 30px 0px; */
        /* min-height: unset; */
        align-items: center;
        /* padding-bottom: 2px; */
    }

    .navbar-left,
    .navbar-right {
        gap: 4px;
    }

    .close-btn img {
        width: 14px;
        height: 14px;
    }

    .navbar-logo a {
        font-size: 20px;
        text-align: center;
        width: 100%;
        display: block;
        margin: 0 auto;
        font-family: 'Outfit';
        font-weight: 600;
    }

    .icon-btn .hamburger {
        width: 36px;
        /* height: 32px; */
    }

    .icon-btn img {
        width: 36px;
        /* height: 32px; */
        flex-shrink: 0;
        aspect-ratio: 1/1;
        margin: 0 2px;
    }

    .icon-btn,
    .icon-btn .help,
    .icon-btn .stats,
    .icon-btn .heart {
        font-size: 1.1rem;
    }

    .sidebar {
        width: 70vw;
        min-width: 220px;
        max-width: 320px;
        /* padding: 12px; */
        gap: 10px;
    }

    .sidebar .close-btn {
        position: absolute;
        right: 23px;
        top: 25px;
    }

    .menu-head {
        margin: 12px 0;
        font-size: 1rem;
    }

    .menu-header {
        /* align-items: flex-end; */
        padding-bottom: 2px;
    }

    .menu-title {
        font-size: 1rem;
    }

    .menu-icon {
        width: 22px;
    }

    .playerId {
        font-size: 14px;
        margin-top: 40px;
        padding: 4px 0;
    }

    .menu-body {
        flex: 1 1;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        padding: 0 16px;
        /* background-color: var(--primary-bg); */
        padding: 30px 0px 0px 24px;
        /* gap: 8px; */
    }

    .menu-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    hr.menu-divider {
        border: none;
        border-top: 1px solid #ccc;
        /* margin: 8px 0; */
        width: 109%;
        margin-left: -22px;
    }

    .player-id {
        width: 207px;
        height: 48px;
        font-size: 14px;
    }

    .user-email {
        font-size: 12px;
        max-width: 207px;
    }
}
    
@media (max-width: 480px) {
    .menu-footer img {
        width: 86px;
        height: 86px;
    }
    .menu-emoji-left {
    position: absolute;
     right: 20px;
    top: -66px;
}

.menu-emoji-right {
    position: absolute;
    right: 20px;
    top: -66px;
}
}