
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
    background: #F6F6F6;
}

#chart_description{
    text-align: center;
    font-size: 14px !important;
}


@media (min-width: 1025px) {
    html, body {
        overflow: hidden !important;   
        height: 100vh;
    }

    .container {
        height: calc(100vh - 60px);    
        overflow: hidden;
    }

    .main {
        overflow-y: auto !important;   
        -webkit-overflow-scrolling: touch;
    }

    .left-sidebar {

        -webkit-overflow-scrolling: touch;
    }
}


@media (max-width: 1024px) {
    html, body {
        overflow-y: auto !important;
        overflow-x: hidden;
        height: auto;
    }
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #6d6d6d;
    min-height: 100vh;
}


.container.sidebar-open .left-sidebar {
    transition: none !important;
}


.container.sidebar-open .left-sidebar.animation-enabled {
    transition: width 0.3s ease, padding 0.3s ease !important;
}


.accordion-item.open .accordion-content {
    transition: none !important;
}


.accordion-item.open.animation-enabled .accordion-content {
    transition: max-height 0.35s ease !important;
}


.accordion-header.active .arrow {
    transition: none !important;
}


.accordion-header.active.animation-enabled .arrow {
    transition: transform 0.3s ease !important;
}

.navbar-logo {
    height: 50px;
    display: flex;
    align-items: center;
}

.navbar-logo svg {
    height: 40px;
    width: auto;
}

.navbar {
    background: #F6F6F6;
    height: 50px;
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100% !important;
    border-bottom: 1px solid #d6d6d6;
    z-index: 1000;
    padding-top: 0px;
}

.navbar-content {
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-links{
    font-size: 14px;
    margin-left: 40px;
}
.nav-link {
    margin-left: 20px;
    color: #6d6d6d;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover { 
    color: #4d4d4d;
    text-decoration: underline;
}


@media (max-width: 1024px) {
    .navbar-links {
        display: none !important;
    }

}









@media (min-width: 1025px) {
    .navbar-links-desktop { display: flex; gap: 30px; align-items: center; margin-left: auto; margin-right: 30px; }
    .mobile-menu-right { display: none; }
}


@media (max-width: 1024px) {
    .navbar-links-desktop { display: none; }

    .navbar-content {
        justify-content: space-between; 
    }

    .mobile-menu-right {
        display: flex;
        align-items: center;
        position: relative;
    }

    .dropdown-toggle {
        background: none;
        border: none;
        font-size: 18px;
        font-weight: 500;
        color: #4d4d4d;
        cursor: pointer;
        padding: 8px 12px;
    }

    .mobile-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        background: #F6F6F6;
        border: 1px solid #d6d6d6;
        min-width: auto;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 9999;
        
        
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: max-height 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    }
    
    
    .mobile-dropdown.open {
        max-height: 300px;  
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-dropdown a {
        display: block;
        padding: 12px 20px;
        color: #4d4d4d;
        text-decoration: none;
        font-size: 15px;
    }

    .mobile-dropdown a:hover {
        background: #e0e0e0;
    }
}













.container {
    display: flex;
    margin-top: 40px;
    min-height: calc(100vh - 60px);
    transition: all 0.3s ease;
}


.left-sidebar {
    width: 0;
    padding: 20px 0;
    overflow: hidden;
    background: #F6F6F6;
    
    transition: width 0.3s ease, padding 0.3s ease;
}

.container.sidebar-open .left-sidebar {
    width: 500px !important;
    padding: 20px;
}

@media (min-width: 1025px){

    
    .container.sidebar-open .left-sidebar {
        width: 500px !important;
        min-width: 500px !important;
        max-width: 500px !important;
        padding: 20px;
    }
}


.main {
    flex-grow: 1;
    padding: 30px;
    padding-top: 40px;
    min-width: 0;
    background: #F6F6F6;
}

.main-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.main-header h1 {
    margin: 0;
    font-size: 1.8rem;
}

#chart_title{
    font-size: 1.3em;
}


.sidebar-toggle {
    background: #f6f6f6;
    border: 1px solid #d6d6d6;
    padding: 11px 16px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
    color: #6d6d6d;
}

.sidebar-toggle:hover {
    background: #e8e8e8;
}


.right-sidebar {
    width: 180px;
    flex-shrink: 0;
    padding: 20px;
    background: #F6F6F6;
    
}



.menu-group-title {
    padding: 20px 20px 8px 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #4d4d4d6b;
    user-select: none;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    font-weight: normal;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
    color: #4d4d4d;
    
}

.accordion-header:hover {
    background: #D6D6D6;
    color: #4d4d4d;
    border-radius: 10px;      
}

.accordion-header.active {
    background: transparent !important;
    border-radius: 8px;
    color: #4d4d4d;
}
.arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #6d6d6d;
}
.accordion-header.active .arrow {
    transform: rotate(180deg);
    color: #6d6d6d;
}
.accordion-content {
    max-height: 0; 
    overflow: hidden;
    transition: max-height 0.35s ease; 
}
.accordion-item.open .accordion-content {
    max-height: 500px; 
}
.accordion-content a {
    display: block;
    padding: 10px 20px 10px 40px;
    color: #6d6d6d;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.accordion-content a.active {
    font-weight: normal !important;   
    background: #D6D6D6;
    color: #4d4d4d;
    padding-left: 40px !important;
    border-radius: 8px;
    transition: all 0.2s;
}

.accordion-content a:hover:not(.active) {
    background: #D6D6D6;
    padding-left: 44px;
    border-radius: 8px;
}


.accordion-content a:hover,
.accordion-content a.active {
    border-radius: 8px;          

    padding-left: 40px !important;   
}


.accordion-content a.active {
    padding-left: 40px !important;
}


.sidebar-search {
    position: relative;
    padding: 20px 20px 10px 20px;
}



.accordion-item.hidden {
    display: none;
    border-radius: 8px;
}


.sidebar-search {
    padding: 20px 20px 10px 20px;  
}

.sidebar-search i {
    position: absolute;
    left: 32px;                   
    top: 34px;
    color: #6d6d6d;
    font-size: 15px;
    pointer-events: none;         
    z-index: 1;
}

.sidebar-search input {
    width: 100%;
    max-width: none;                
    padding: 11px 14px 11px 36px;
    border: 1px solid #D6D6D6;
    border-radius: 8px;
    font-size: 14px;
    background: #F6F6F6;
    outline: none;
    box-sizing: border-box;         
    transition: all 0.2s;
}

.sidebar-search input:focus {
    border-color: #D6D6D6;
    background: #F6F6F6;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}


.time-switch {
    display: flex;
    justify-content: flex-start;
    margin: 16px 0;
    margin-inline-end: 10px;
}

.time-segmented {
    display: flex;
    background: #f6f6f6;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.time-btn {
    flex: 1;
    background: transparent;
    border: none;
    border-radius: 5px;
    padding: 11px 20px;
    font-size: 14px;
    color: #6d6d6d;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.time-btn:hover {
    background: #e8e8e8;
}

.time-btn.active {
    background: #D6D6D6;
    color: #4d4d4d;
    font-weight: 300;
}

.time-btn.disabled,
.time-btn[disabled] {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.time-btn:not(:last-child) {
}



.chart-controls {
    display: flex;
    justify-content:left;
    align-items: center;
    margin-bottom: 16px;
}


.chart-type-toggle {
    display: flex;
    background: #f6f6f6;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    overflow: hidden;
}

.chart-type-btn {
    background: transparent;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    color: #6d6d6d;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 4px;
}

.chart-type-btn:hover {
    background: #e8e8e8;
    border-radius: 4px;
}

.chart-type-btn.active {
    background: #D6D6D6;
    color: #4d4d4d;
    border-radius: 4px;
}


.chart-type-btn:first-child {
    border-radius: 8px;
}




.chart-actions-right {      
    margin-left: auto;         
    display: flex;
    gap: 8px;
  }


@media (max-width: 1024px) {

    #chart_title{
        font-size: 1.5em;
    }
    
    .sidebar-toggle:hover {
        background: #f6f6f6 !important;
    }
    

    .chart-type-btn {
        background: transparent;
        border: none;
        padding: 5px 8px;
        font-size: 14px;
        color: #6d6d6d;
        cursor: pointer;
        transition: all 0.2s;
        border-radius: 4px;
    }

    .time-btn {
        flex: 1;
        background: transparent;
        border: none;
        border-radius: 5px;
        padding: 5px 8px;
        font-size: 14px;
        color: #6d6d6d;
        cursor: pointer;
        transition: all 0.2s;
        position: relative;
    }


    .right-sidebar { 
        display: none; 
    }

    .container{
        margin-top: 60px;
    }
    
    .left-sidebar {
        width: 0;
        z-index: 999;
        padding: 20px 0;
        transition: width 0.3s ease, padding 0.3s ease;
    }
    
    .container.sidebar-open .left-sidebar {
        position: fixed !important;            
        left: 0;
        top: 60px;                             
        height: calc(100vh - 60px) !important; 
        width: 90vw !important;               
        padding: 20px;
        overflow-y: hidden;      
        overflow-x: hidden;                     
        z-index: 999;                          
        background: #F6F6F6;
    }
}

@media (max-width: 480px) {
    .main { padding: 20px; }
    .main-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .sidebar-toggle { width: 100%; }
}

@media (max-width: 1024px) {

    .container.sidebar-open .sidebar-toggle {
        position: sticky;
        z-index: 999;
        color: #6d6d6d;
        background: #f6f6f6;
        
    }

    
    .container.sidebar-open .sidebar-search{
        margin-top: 50px;
        z-index: 999;
    }
    .container.sidebar-open .accordion-menu {
        margin-top: 20px;   
        z-index: 999;
    }


@media (max-width: 1024px) {
    
    .container.sidebar-open,
    .container.sidebar-open body,
    .container.sidebar-open html {
        overflow: hidden !important;
        height: 100vh !important;
        position: fixed !important;
        width: 100% !important;
    }

    
    .container.sidebar-open .left-sidebar {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;   
        overscroll-behavior: contain;                  
        margin-top: 30px;
    }
    .container.sidebar-open .sidebar-toggle {
        pointer-events: auto !important;
        z-index: 1001 !important;
    }
    .container.sidebar-open .sidebar-search {
        margin-top: 20px !important;   
    }

    
    .container.sidebar-open .main,
    .container.sidebar-open .right-sidebar {
        pointer-events: none;
        user-select: none;
    }
}
}


.sidebar-search {
    position: sticky;
    top: 0;
    background: #F6F6F6;
    z-index: 10;
    padding: 20px 20px 10px 20px;
    margin: 0;
}


.container.sidebar-open .accordion-menu {
    margin-top: 10px !important;
}

@media (min-width: 1025px) {
    .container{
        margin-top: 30px;
    }
}




.main footer {
    background: #d6d6d6;
    color: #4d4d4d;
    padding: 40px 20px 60px 20px;
    margin: 60px -30px -30px -30px;         

    font-family: Arial, Helvetica, sans-serif;
}

.main footer .footer-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
}


.main footer font[size="1"],
.main footer .small {
    font-size: 12px;
    line-height: 1.6;
}


.main footer a {
    color: #4d4d4d;
    text-decoration: none;
    transition: opacity 0.2s;
}

.main footer a:hover {
    opacity: 0.7;
    text-decoration: underline;
}


.main footer strong {
    font-weight: 700;
}


.main footer .copyright {


    font-size: 12px;

}


@media (max-width: 1024px) {
    .main footer {
        margin: 40px -20px -30px -20px;
        padding: 35px 20px 50px;
    }

    #chart{
        width: 100%;
        height: 40vh;
    }
}

#chart{
    width: 100%;
    height: 60vh;
}



.holders-table-container {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    margin-top: 10px;
    max-height: calc(100vh - 200px);
}

.holders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 60px;
    
}

@media (max-width: 1024px) {
    .holders-table {
        margin-bottom: 300px;
        overflow-x: auto !important;
    }


}

.holders-table th {
    background: #c7c7c7;
    padding: 10px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
    
}

.holders-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #d6d6d6;
    
}

.holders-table tbody tr {
    background: #f6f6f6; 
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.holders-table tbody tr:hover {
    background: #e8e8e8 !important; 
}


@media (max-width: 1024px) {
    .holders-table {
        min-width: 350px;
        overflow-x: auto !important;
    }
    .holders-table tbody tr:hover {
        background: #f6f6f6 !important; 
    }
    
    .holders-table-container {
        overflow-x: auto;          
        overflow-y: auto;


        -webkit-overflow-scrolling: auto; 
        overscroll-behavior-y: contain;   
        overscroll-behavior-x: none;      

        max-height: calc(100vh - 200px);
    }
}


.holders-table tr.highlighted {
    background-color: #d6d6d6 !important;
    color: #6d6d6d !important;


}

.holders-table tr.highlighted td {
    color: #6d6d6d;
}

.copy-icon {
    font-size: 16px;

    transition: opacity 0.3s ease;
    margin-bottom: 3px;
}

