/**
 * Mobile Navigation Styles
 * Nur für Hamburger-Menü und Slide-Out Navigation
 * Alle anderen Styles kommen aus style.css
 */

/* Mobile Header Anpassungen */
.mobile-header-bar .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-header-bar .nav-brand {
    flex: 1;
    justify-content: flex-start;
}

/* Hamburger Button */
.hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.hamburger-btn:hover,
.hamburger-btn:active {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger-btn .icon {
    width: 24px;
    height: 24px;
}

/* Mobile Header Action Button (Profil/Login rechts) */
.mobile-header-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: background 0.2s;
    flex-shrink: 0;
}

.mobile-header-action:hover,
.mobile-header-action:active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.mobile-header-action .icon {
    width: 22px;
    height: 22px;
}

/* Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Slide-Out Navigation Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    max-width: 85vw;
    height: 100%;
    background: var(--bg-secondary, #1a1f2e);
    z-index: 1051;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

/* Drawer Header */
.mobile-nav-drawer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border-color, #2d3748);
    background: var(--bg-tertiary, #232838);
}

.mobile-nav-drawer-header .nav-brand {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.mobile-nav-drawer-header .guild-logo {
    width: 48px;
    height: 48px;
}

.mobile-nav-drawer-header .guild-name {
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer-header .guild-name-main {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #fff);
}

.mobile-nav-drawer-header .guild-name-sub {
    font-size: 12px;
    color: var(--text-muted, #a0aec0);
}

/* Close Button */
.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--text-muted, #a0aec0);
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.mobile-nav-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary, #fff);
}

.mobile-nav-close .icon {
    width: 24px;
    height: 24px;
}

/* Drawer Menu */
.mobile-nav-drawer-menu {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 12px 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
}

.mobile-nav-drawer-menu li {
    width: 100%;
    margin: 0;
}

.mobile-nav-drawer-menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 20px;
    color: var(--text-primary, #e2e8f0);
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s;
    border-radius: 0;
    text-align: left;
}

.mobile-nav-drawer-menu .nav-link:hover,
.mobile-nav-drawer-menu .nav-link:active {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-drawer-menu .nav-link .icon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    color: var(--primary, #3b82f6);
    flex-shrink: 0;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Divider */
.nav-divider {
    height: 1px;
    background: var(--border-color, #2d3748);
    margin: 8px 16px;
}

/* Logout Link */
.nav-link-logout {
    color: var(--error, #ef4444) !important;
}

.nav-link-logout .icon {
    color: var(--error, #ef4444) !important;
}

