﻿/* Sidebar Styles */
.sidebar {
    width: 310px;
    background-color: #010D56;
    color: white;
    display: flex;
    flex-direction: column;
    border-radius: 24px 24px 24px 24px;
    margin: 24px 0px 24px 24px;
    height: calc(100vh - 48px);
    overflow: hidden;
    min-height: 0;
}

.sidebar-logo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 24px 10px 24px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 24px 10px 24px;
    letter-spacing: 0.4em;
    word-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.sidebar-line {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0px 24px 0px 24px;
    max-width: 100%;
}

.sidebar-logo {
    max-width: 80%;
    height: auto;
}

.collapse-button {
    color: white !important;
}

.sidebar-content {
    padding: 0 24px 32px 24px;
    flex: 1;
    min-height: 0; /* required so the flex child can overflow properly */
    overflow-y: auto; /* enable vertical scrolling */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on touch devices */
}

/* Optional: lightweight custom scrollbar */
.sidebar-content::-webkit-scrollbar {
    width: 8px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-info-content {
    padding: 0 24px 32px 24px;
/*    text-align: justify;
    text-justify: inter-word;*/
    font-size: 12px;
    flex: 1;
    min-height: 0; /* required so the flex child can overflow properly */
    overflow-y: auto; /* enable vertical scrolling */
    -webkit-overflow-scrolling: touch; /* smooth scrolling on touch devices */
}



.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
}

.sidebar-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.sidebar-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 18px;
    font-weight: 600;
    margin-top: 0;
}

.sidebar-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-value {
    font-size: 14px;
    font-weight: 500;
}

.sidebar-chip {
    background-color: #eeeeee !important;
    padding: 1px 1px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-chip .mud-typography {
    color: white;
    font-weight: 400;
}

/*    .sidebar-chip .mud-chip {
        background-color: #e8e8ed;
        color: #1a1a1a;
        font-weight: 500;
        padding: 12px 32px;
        height: auto;
    }*/

.sidebar-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 140px; /* Adjust as needed */
    vertical-align: bottom;
}