/* Mobile Menü Styles für VoiceOne PWA
 * Speziell optimiert für Touch-Geräte und PWA
 */

.mobile-menu-container {
    display: none; /* Standardmäßig ausgeblendet, wird für mobile Geräte aktiviert */
}

@media (max-width: 768px) {
    .mobile-menu-container {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #ffffff;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 10px 0;
        transition: transform 0.3s ease;
    }
    
    /* Verstecke Standard-Sidebar auf mobilen Geräten */
    .sidebar, .sidebar2 {
        display: none !important;
    }
    
    /* Hauptcontainer-Anpassung für Mobil */
    .main-content {
        margin-left: 0 !important;
        padding-bottom: 70px !important; /* Platz für das mobile Menü */
    }
}

/* Mobile Menü Navigation */
.mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    text-align: center;
    width: 20%; /* 5 Items in einer Reihe */
}

.mobile-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.mobile-nav-link.active {
    color: #2196F3;
}

.mobile-nav-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

/* Erweitertes Menü */
.mobile-menu-expanded {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    background-color: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
}

.mobile-menu-expanded.open {
    max-height: 300px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-submenu-item {
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
}

.mobile-submenu-link {
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.mobile-submenu-icon {
    margin-right: 15px;
    font-size: 18px;
    color: #2196F3;
    width: 20px;
    text-align: center;
}

/* Mehr-Button */
.more-button {
    position: relative;
}

.more-button::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background-color: #2196F3;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.more-button.has-notifications::after {
    opacity: 1;
}

/* Aktiver Menüpunkt */
.mobile-nav-item.active .mobile-nav-link {
    color: #2196F3;
}

/* Touch-freundliche Elemente */
.mobile-nav-link, .mobile-submenu-link {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .mobile-menu-container,
    .mobile-menu-expanded {
        background-color: #222;
        border-color: #333;
    }
    
    .mobile-nav-link {
        color: #aaa;
    }
    
    .mobile-nav-link.active {
        color: #4dabf7;
    }
    
    .mobile-submenu-item {
        border-color: #333;
    }
    
    .mobile-submenu-link {
        color: #ddd;
    }
    
    .mobile-submenu-icon {
        color: #4dabf7;
    }
} 