.sidebar {
    height: calc(100% - 46px); /* 26px Header + 2x 10px Padding*/
    flex-direction: column;
    overflow-y: auto; /* Scrollbar nur vertikal */
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    padding-right: 10px; /* Optional für Innenabstand */
    background-color: #2C2C2E; /* Hintergrundfarbe, wie Fenster */
}

.sidebar::-webkit-scrollbar {
    width: 6px; /* Breite der Scrollbar */
    background-color: #2C2C2E;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #6c757d;
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background-color: #2C2C2E;
    border-radius: 6px;
}

.device {
    padding: 3px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.devicesettings {
    flex-grow: 1;
    text-align: left;
    font-size: 14px;
    color: white;
}

.trailtime {
    flex-grow: 1;
    text-align: center;
    font-size: 14px;
    color: white;
}

.deviceassets   {
    margin-left: 5px;
    text-align: left;
    font-size: 14px;
    color: white;
    margin-bottom: 5px;
}

.show-all-assets-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
}

.device-name {
    flex-grow: 1;
    text-align: left;
    font-size: 14px;
    color: white;
}

.device-id {
    flex-grow: 1;
    text-align: right;
    font-size: 14px;
    color: white;
}

.asset-name {
    flex-grow: 1;
    text-align: left;
    font-size: 14px;
    color: white;
}

.asset-value {
    flex-grow: 1;
    text-align: right;
    font-size: 14px;
    color: white;
}

.asset-value a {
    color: #66b3ff;          /* helle Linkfarbe */
    text-decoration: none;   /* optional */
}

.asset-value a:visited {
    color: #66b3ff;          /* oder leicht anders, z. B. #8ec5ff */
}

.asset-value a:hover,
.asset-value a:focus {
    color: #99d1ff;
    text-decoration: underline;
}

.asset-icon {
    flex-grow: 1;
    text-align: left;
    font-size: 20px;
    color: white;
}

.asset-icon i::before {
    margin-right: 6px;
}

.asset-icon-value {
    flex-grow: 1;
    text-align: right;
    font-size: 28px;
    color: white;
}


.time-box-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    margin-right: 10px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
}

.collapsable-row {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 10px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.collapsable-row.visible {
    max-height: 800px; /* maximale Höhe anpassen */
    opacity: 1;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 0;
    padding-right: 10px;
}