.adminbar {
    transition: transform 0.3s;
    z-index: 999999;
    width: 42px;
    text-align: left;
    border-top: 1px solid #fd4825;
    border-right: 1px solid #fd4825;
}

.adminbar:not(.adminbar-active) .adminbar-bar,
.adminbar,
.adminbar-animating .adminbar-bar {
    height: 42px;
}

.adminbar-position {
    position: fixed;
    left: 0;
    bottom: 0;
    margin: 0;
}

.adminbar-active {
    width: 100%;
}

.adminbar-resize-handle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    cursor: ns-resize;
    /* Zeigt, dass die Höhe verändert werden kann */
    background: transparent;
    /* Optional: für Sichtbarkeit */
    z-index: 200000;
}

.adminbar-icon {
    position: absolute;
    top: 0;
    left: 0;
    background: #fd4825;
}

.adminbar-toggle {
    cursor: pointer;
    position: absolute;
    width: 40px;
    height: 40px;
    font-size: 25px;
    font-weight: 100;
    line-height: 28px;
    color: #ffffff;
    text-align: center;
    transition: opacity .3s ease;
    padding: 8px 5px 5px 5px;
}

.adminbar-bar {
    position: relative;
    padding: 0 0 0 39px;
    font: 13px Verdana, Arial, sans-serif;
    text-align: left;
    overflow: hidden;
    box-sizing: content-box;
    display: flex;
    flex-wrap: wrap;
    /* background: #fff; */
    /* background: -moz-linear-gradient(top, #fff 0%, #f7f7f7 100%); */
    /* background: -webkit-linear-gradient(top, #fff 0%, #f7f7f7 100%); */
    background: linear-gradient(to bottom, #fff 0%, #f7f7f7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f7f7f7', GradientType=0);
    border: 1px solid rgba(0, 0, 0, 0.11);
    direction: ltr;
}

.adminbar-bar::after {
    content: '';
    display: table;
    clear: both;
}

.adminbar.adminbar-active:not(.adminbar-animating) .adminbar-bar {
    overflow: visible;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.adminbar-block {
    margin: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.11);
    border-bottom: 1px solid rgba(0, 0, 0, 0.11);
    padding: 4px 8px;
    line-height: 32px;
    white-space: nowrap;
}

.adminbar-view {
    min-height: 100px;
    height: inherit;
    overflow: auto;
    background: white;
}

.adminbar-view iframe {
    margin: 0;
    padding: 10px 0 0;
    height: 100%;
    width: 100%;
    border: 0;
}

.adminbar.active {
    transform: translateX(0);
}

.server-icon {
    width: 20px;
    height: 22px;
    background-color: #333;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}

.server-icon:hover {
    cursor: pointer;
    background-color: #888;
}

.server-top,
.server-middle,
.server-bottom {
    width: 16px;
    height: 4px;
    background-color: #444;
    border-radius: 2px;
    margin: 2px auto;
    position: relative;
}

.server-top::before,
.server-middle::before,
.server-bottom::before {
    content: '';
    width: 2px;
    height: 2px;
    background-color: #00ff00;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 2px;
    transform: translateY(-50%);
}

.server-top::after,
.server-middle::after,
.server-bottom::after {
    content: '';
    width: 10px;
    height: 1px;
    background-color: #888;
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
}

#adminbar .team-icon {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

#adminbar .team-icon:hover .person {
    background-color: #666;
}

/* Personen */
#adminbar .person {
    width: 6px;
    height: 6px;
    background-color: #333;
    border-radius: 50%;
    position: absolute;
}

/* Erste Person (Mitte) */
#adminbar .person1 {
    top: 5px;
    left: 12px;
    background-color: #666;
}

#adminbar .person1::after {
    content: '';
    width: 10px;
    height: 12px;
    background-color: #666;
    position: absolute;
    top: 6px;
    left: -2px;
    border-radius: 5px 5px 0 0;
}

#adminbar .team-icon:hover .person1,
#adminbar .team-icon:hover .person1::after {
    background-color: #999;
}


/* Zweite Person (links) */
#adminbar .person2 {
    top: 10px;
    left: 4px;
}

#adminbar .person2::after {
    content: '';
    width: 8px;
    height: 10px;
    background-color: #333;
    position: absolute;
    top: 6px;
    left: -1px;
    border-radius: 4px 4px 0 0;
}

/* Dritte Person (rechts) */
#adminbar .person3 {
    top: 10px;
    left: 20px;
}

#adminbar .person3::after {
    content: '';
    width: 8px;
    height: 10px;
    background-color: #333;
    position: absolute;
    top: 6px;
    left: -1px;
    border-radius: 4px 4px 0 0;
}

#adminbar .team-icon:hover .person2::after,
#adminbar .team-icon:hover .person3::after {
    background-color: #666;
}



#adminbar .adminbar-block .dropdown-menu {
    display: none;
    /* Anfangszustand: Menü versteckt */
    position: fixed;
    top: unset;
    bottom: 42px;
    /* Direkt unter dem Toggle Button */
    left: 38px;
    background-color: transparent;
    border-radius: 5px;
    box-shadow: none;
    border: 0;
    z-index: 2002;
    padding: 0;
    /* Sicherstellen, dass das Menü über anderen Inhalten liegt */
}

/* Dropdown Menü anzeigen bei Mouseover */
#adminbar .menu-container:hover .dropdown-menu {
    display: block;
    /* Menü wird angezeigt */
}

/* Menü Einträge */
#adminbar .dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    background: #444;
    padding: 0;
    border-radius: 2px;
}

#adminbar .dropdown-menu ul li {
    padding: 2px;
}

#adminbar .dropdown-menu ul li:not(:first-child) a {
    border-top: 1px solid #666;
}

#adminbar .dropdown-menu ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 0px 10px;
    margin: 0 5px;
}

#adminbar .dropdown-menu ul li a:hover {
    text-decoration: underline;
}

#adminbar .table-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Ermöglicht Umbruch bei kleinen Bildschirmen */
}

.speed-kit-dynamic-loading .speed-kit-dynamic {
    visibility: hidden;
}

@keyframes speed-kit-loading {
    0% {
        box-shadow: 8px 0 #C8C8CD, 20px 0 #DDDDE0, 32px 0 #EDEDEE;
    }

    33% {
        box-shadow: 8px 0 #EDEDEE, 20px 0 #C8C8CD, 32px 0 #DDDDE0;
    }

    66% {
        box-shadow: 8px 0 #DDDDE0, 20px 0 #EDEDEE, 32px 0 #C8C8CD;
    }
}

.speed-kit-dynamic-loading .speed-kit-dynamic::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -24px;
    border-radius: 50%;
    box-shadow: 8px 0 #C8C8CD, 20px 0 #DDDDE0, 32px 0 #EDEDEE;
    will-change: box-shadow;
    animation-name: speed-kit-loading;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
    visibility: visible !important;
    z-index: 1000 !important;
}
