html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-size: 16px;
}

.app-frame {
    width: 100%;
    height: calc(100dvh - 60px);
    border: none;
    margin: 0;
    padding: 0;
    display: block;
}

.app-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid #e0e0e0;
    height: 60px;
}

.app-bar-item {
    display: flex;
    flex-direction: column;
    align-items:  center;
    justify-content: center;
    color: #757575;
    text-decoration: none;
    flex-grow: 1;
    padding: 5px 0;
    height: 100%;
}

.app-bar-item i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.app-bar-item span {
    font-size: 0.75rem;
    padding: 1px 10px;
    height: 1.2rem;
}

.app-bar-item.active {
    color: #56035F;
}
a.app-bar-item.active span, a.app-bar-item.show span, a.app-bar-item:focus span {
    background-color: #56035F;
    color: #fff;
    border-radius: 4px 4px 0 0;
}

.app-bar-item .dropdown-toggle::after {
    display: none;
}

.app-bar .dropup .dropdown-menu {
    bottom: 100%;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
}
.app-bar-item-account span { 
    max-width: 5rem;
    overflow:clip;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .app-bar {
        height: 50px;
    }

    .app-bar-item i {
        font-size: 1.2rem;
    }

    .app-bar-item span {
        font-size: 0.7rem;
    }

    .app-frame {
        height: calc(100dvh - 50px);
    }
}