/* 统一导航栏样式 */
.system-navbar {
    background: rgba(17, 24, 39, 0.95);
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 12px 25px;
    gap: 30px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex-shrink: 0;
}

.navbar-brand img {
    height: 45px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    color: #00d4ff;
    font-size: 1.1rem;
    font-weight: 700;
}

.system-name {
    color: #94a3b8;
    font-size: 0.85rem;
}

.navbar-menu {
    display: flex;
    gap: 5px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.nav-item:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
}

.nav-item.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.nav-icon {
    font-size: 1.2rem;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.user-info {
    text-align: right;
}

.user-name {
    display: block;
    color: #00d4ff;
    font-weight: 600;
    font-size: 0.95rem;
}

.user-role {
    display: block;
    color: #94a3b8;
    font-size: 0.8rem;
}

.btn-logout {
    background: rgba(255, 71, 87, 0.2);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.btn-logout:hover {
    background: rgba(255, 71, 87, 0.3);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: #00d4ff;
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .navbar-menu {
        display: none;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(17, 24, 39, 0.98);
        padding: 20px;
        gap: 10px;
    }
}
