/* Profile Drawer Styles */
.profile-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-drawer-overlay.active {
    display: block;
    opacity: 1;
}

.profile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #0B141B;
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.profile-drawer.active {
    right: 0;
}

.profile-drawer-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Menu Drawer Styles */
.menu-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.menu-drawer-overlay.active {
    display: block;
    opacity: 1;
}

.menu-drawer {
    position: fixed;
    top: 0;
    left: -90%;
    width: 90%;
    height: 100%;
    background: #0B141B;
    z-index: 9999;
    transition: left 0.15s ease;
    overflow-y: auto;
}

.menu-drawer.active {
    left: 0;
}

.menu-drawer-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.menu-drawer-content {
    padding: 1rem;
    height: 100%;
    overflow-y: auto;
}

/* Menu Drawer Specific Styles - Uniform spacing and styling */
.menu-drawer-content .setting-item,
.menu-drawer-content .menu-item {
    display: flex;
    align-items: center;
    padding: 16px;
    margin: 5px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    min-height: 56px;
}

.menu-drawer-content .menu-items{
    gap:0;
}

/* Guest Auth Buttons */
.guest-auth-buttons {
    display: flex;
    gap: 12px;
    padding: 0 1rem;
    margin-bottom: 20px;
}

.guest-auth-buttons .guest-login-btn,
.guest-auth-buttons .guest-join-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.guest-auth-buttons .guest-login-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.guest-auth-buttons .guest-login-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.guest-auth-buttons .guest-join-btn {
    background: #00ff87;
    color: #000000;
}

.guest-auth-buttons .guest-join-btn:hover {
    background: #00e077;
}

.menu-drawer-content .setting-item:hover,
.menu-drawer-content .menu-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.menu-drawer-content .accordion-content {
    background: transparent;
    margin: 0;
    padding: 0;
}

.menu-drawer-content .accordion-sub-item {
    display: flex;
    align-items: center;
    padding: 16px;
    margin: 4px 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    min-height: 48px;
}

.menu-drawer-content .accordion-sub-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.menu-drawer-content .setting-icon,
.menu-drawer-content .menu-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.menu-drawer-content .setting-icon img,
.menu-drawer-content .menu-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.menu-drawer-content .setting-text,
.menu-drawer-content .menu-item span:not(.setting-arrow):not(.accordion-arrow) {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    flex: 1;
}

.menu-drawer-content .accordion-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    flex: 1;
}

.menu-drawer-content .accordion-arrow {
    margin-left: auto;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


.menu-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.menu-drawer-header h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.menu-close-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.menu-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.menu-items .menu-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    gap: 0;
    transition: background-color 0.2s ease;
}

.menu-items .menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-items .menu-item .menu-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-items .menu-item .menu-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.menu-items .menu-item span {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
}

/* Drawer Close Button for Guest Profile */
.drawer-close-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background: #30313A;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: background 0.2s ease;
}

.drawer-close-btn:hover {
    background: #3a3b44;
}

.drawer-close-btn svg {
    width: 20px;
    height: 20px;
}

.nav-wallet-icon {
    width:2.5rem;
    height: auto;   
}

/* User Info Section (Menu Drawer) */
.user-info-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
    position:relative;
}

.user-info-section::after{
    content:'';
    position:absolute;
    top:0;
    left:0;
    border: 1px solid rgba(255,255,255,0.1);
    width:100vw;
    right:0;
    margin-left:-1.5rem;
}

.user-profile-picture {
    flex-shrink: 0;
}

.profile-image {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    border: 2px solid #00FF90;
    object-fit: cover;
}

.user-details {
    flex: 1;
}

.user-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.user-id {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.id-text {
    color: white;
    font-size: 0.875rem;
    font-weight: 400;
}

.copy-icon {
    background: transparent;
    border: none;
    color: #8F949C;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Tier Progress Card (Menu Drawer) */
.tier-progress-card {
    background: url('../../images/register/confirmation-modal/modal-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 1px 0 0 #00FF90;
}

.tier-progress-card::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-25%;
    border: 1px solid rgba(255,255,255,0.1);
    width:100vw;
    right:0;
    margin-left:-1.5rem;
}

.tier-progress-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 48, 43, 0.85);
    border-radius: 12px;
    pointer-events: none;
    z-index: 1;
}

.tier-progress-card > * {
    position: relative;
    z-index: 2;
}

.tier-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35%;
    height: auto;
}

.tier-icon img {
    width: 100%;
    height: auto;
}

.tier-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
}

.tier-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    text-align: right;
}

.tier-action {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin: 0;
    text-align: right;
    align-self: flex-end;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    height: 0.5rem;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 0 0.5rem auto;
    width: 100%;
    max-width: 12.5rem;
    align-self: flex-end;
}

.progress-fill {
    background: linear-gradient(90deg, #00FF90, #00E680);
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 255, 144, 0.4);
}

.progress-text {
    color: white;
    font-size: 0.8125rem;
    margin: 0;
    text-align: right;
}

/* Profile Header Wallet (Menu Drawer) */
.profile-header-wallet{
    padding:1.5rem;
}

.wallet-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    border-left:4px solid #00FF90;
    padding-left:1rem;
    line-height:1.6rem;
}

.balance-amount-wrapper{
    display:flex;
    align-items: center;
    justify-content: center;
}

.balance-amount {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-left: auto;
}

.wallet-title {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
}

.profile-wallet-icon {
    width: 2.1875rem;
    height: 2.1875rem;
    margin-left:0.3rem;
}

.wallet-actions {
    display: flex;
    gap: 0.75rem;
}

.withdrawal-btn,
.deposit-btn {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.withdrawal-btn {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.accordion-content.active {
    display: block;
}

/* Accordion Content */
.accordion-content {
    display: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

